I hereby claim:
- I am anuragregmi on github.
- I am anurag_ (https://keybase.io/anurag_) on keybase.
- I have a public key whose fingerprint is 15C2 3DC3 C140 FA27 30FF A802 04C6 82FF 8B83 0D6E
To claim this, I am signing this object:
set -g prefix C-a | |
set -g mouse | |
unbind C-b | |
bind C-a send-prefix # Pass on ctrl-a for other apps | |
unbind % | |
unbind '"' | |
bind '\' split-window -h -c "#{pane_current_path}" | |
bind '"' split-window -v -c "#{pane_current_path}" |
I hereby claim:
To claim this, I am signing this object:
Open settings
of pycharm (Ctrl+Alt+S)
Go to django console
settings (Simply search "django console")
In starting script replace with following
Note: If you have different settings module, then set DJANGO_SETTINGS_MODULE
in environment variable. Eg. DJANGO_SETTINGS_MODULE=config.settings
Note: You must have django_extensions installed
import sys; print('Python %s on %s' % (sys.version, sys.platform))
import django; print('Django %s' % django.get_version())
"" General | |
set number " Show line numbers | |
set linebreak " Break lines at word (requires Wrap lines) | |
set showbreak=+++ " Wrap-broken line prefix | |
set textwidth=100 " Line wrap (number of cols) | |
set showmatch " Highlight matching brace | |
set visualbell " Use visual bell (no beeping) | |
set hlsearch " Highlight all search results | |
set smartcase " Enable smart-case search |
menuentry "Lineage x86" { | |
set root='(hd0, 2)' | |
linux /PhoenixOS/kernel quiet root=/dev/ram0 androidboot.selinux=permissive acpi_sleep=s3_bios,s3_mode SRC=/PhoenixOS | |
initrd /PhoenixOS/initrd.img | |
} |
Name--Maths--English--Science | |
Raju--60--50--70 | |
Shyam--80--45--65 | |
Baburao--40--40--40 |
# include this in your .bashrc or .zshrc | |
function activateVenv() { | |
# if virtual env exits then source | |
if [ -d "./venv" ] | |
then | |
source ./venv/bin/activate | |
fi | |
} |
def get_hello(name): | |
return f"hello {name}" | |
def say_hello(name): | |
print(get_hello(name)) | |
def add(a, b): | |
return a + b |