Skip to content

Instantly share code, notes, and snippets.

@LTNMinh
LTNMinh / Note.MD
Last active November 5, 2024 04:33

How to debug cctx using Devcontainer

1. Create Devcontainer

In your project.

Create .devcontainer folder Create devcontainer.json inside .devcontainer folder

{
@LTNMinh
LTNMinh / private_fork.md
Created April 28, 2024 07:56 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@LTNMinh
LTNMinh / my_color_note.qml
Created May 16, 2022 16:19
My Color Note Plugin Musescore
/=============================================================================
// MuseScore
// Music Composition & Notation
//
// Copyright (C) 2012 Werner Schweer
// Copyright (C) 2013-2017 Nicolas Froment, Joachim Schmitz
// Copyright (C) 2014 Jörn Eichler
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2
@LTNMinh
LTNMinh / setting.json
Last active July 2, 2023 09:03
My VSCode Setting
{
"[go]": {
// "editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.organizeImports": false
},
"editor.semanticHighlighting.enabled": true
},
"[java]": {
// "editor.formatOnSave": false,
@LTNMinh
LTNMinh / iterm2-solarized.md
Created February 5, 2021 06:58 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
import pkbar
import pytorch_lightning as pl
class PKProgressBar(pl.callbacks.progress.ProgressBarBase):
"""
This is a custom progress bar keras style for pytorch-lightning framework
Requirement package pkbar. You could install it by pip:
!pip install pkbar
Usage: