This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.editorAssociations": { | |
"*.ipynb": "jupyter-notebook" | |
}, | |
"terminal.integrated.tabs.enabled": true, | |
"python.analysis.extraPaths": [ | |
".", | |
"./" | |
], | |
"vim.handleKeys": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "shift+enter", | |
"command": "-workbench.action.terminal.sendSequence", | |
"when": "terminalFocus && terminalShellIntegrationEnabled && !accessibilityModeEnabled && terminalShellType == 'pwsh'", | |
"args": {"text":"\u001b[24~c"} | |
}, | |
{ | |
"key": "shift+enter", | |
"command": "-python.execSelectionInTerminal", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file_headers = '#separator:tab\n#html:true\n' | |
separator = '\t' | |
class AnkiDeck: | |
def __init__(self) -> None: | |
self.deck = [] | |
def add_card(self, front: str, back: str) -> None: | |
self.deck.append([front, back]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disabling Hyper-V | |
- bcdedit /set hypervisorlaunchtype off | |
- reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d 0 /f | |
# Enabling Hyper-V | |
- bcdedit /set hypervisorlaunchtype auto | |
- reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d 1 /f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ls='ls --color' | |
export PS1='\u@\h:\[\e[33m\]\w\[\e[0m\]\$ ' | |
#export PS1="TheNameYouWant\[\e[31m\] \[\e[m\]\[\e[31m\]:\[\e[m\]\[\e[31m\]:\[\e[m\] \[\e[32m\]\w\[\e[m\] \[\e[34m\]»\[\e[m\] " | |
export EDITOR='vim' | |
export CLICOLOR=1 | |
export LSCOLORS=cxgxfxexbxegedabagacad | |
LS_COLORS=$LS_COLORS:'ow=1;34:' ; export LS_COLORS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BackgroundColour=21,21,21 | |
ForegroundColour=208,208,208 | |
CursorColour=208,208,208 | |
Black=21,21,21 | |
BoldBlack=80,80,80 | |
Red=172,65,66 | |
BoldRed=172,65,66 | |
Green=144,169,89 | |
BoldGreen=144,169,89 | |
Yellow=244,191,117 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g status-position bottom | |
set -g status-bg colour234 | |
set -g status-fg colour137 | |
set -g status-left '' | |
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S ' | |
set -g status-right-length 50 | |
set -g status-left-length 20 | |
setw -g mode-keys vi | |
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F ' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
let g:python_recommended_style = 0 | |
filetype plugin indent on | |
" Disable sounds | |
set visualbell | |
" https://github.com/geohot/configuration/blob/master/.vimrc | |
set tabstop=2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
filetype plugin indent on | |
" Disable sounds | |
set visualbell | |
" https://github.com/geohot/configuration/blob/master/.vimrc | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// make syscalls from their ordinals | |
#include <Windows.h> | |
#include <stdio.h> | |
#include <cstdint> | |
#include <vector> | |
struct syscall_bytes { | |
uint8_t | |
header[0x4] , |
NewerOlder