This file contains 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
@font-face { | |
font-family: "Profont Nerd Font"; | |
font-style: normal; | |
font-weight: 400; | |
src: url('https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/ProFont/profontiix/complete/ProFont%20IIx%20Nerd%20Font%20Complete%20Mono.ttf') format('truetype'); | |
} |
This file contains 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
t.prefs_.set('color-palette-overrides', [ "#1C1C1C", "#AF5F5F", "#5F875F", "#87875F", "#5F87AF", "#5F5F87", "#5F8787", "#6C6C6C", "#444444", "#FF8700", "#87AF87", "#FFFFAF", "#8FAFD7", "#8787AF", "#5FAFAF", "#FFFFFF" ]); | |
t.prefs_.set('foreground-color', "#BCBCBC"); | |
t.prefs_.set('background-color', "#262626"); | |
t.prefs_.set('cursor-color', 'rgba(208,208,208,0.5)'); |
This file contains 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
unmap "d" | |
unmap "u" | |
map "d" quit | |
map "u" lastClosedTab | |
let hintcharacters = "1234567890"; | |
map "ctrl+d" scrollPageDown | |
map "ctrl+u" scrollPageUp |
This file contains 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
tell application "Google Chrome" | |
repeat with windowId from 1 to counts windows | |
if title of window windowId contains "[email protected] - Gmail" then | |
activate window windowId | |
end if | |
end repeat | |
end tell |
This file contains 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
void *alloc2d(size_t item_size, size_t len1, size_t len2){ | |
void ** arr = (void**)malloc(len1*sizeof(void*)); | |
for(int i=0; i<len1; i++){ | |
arr[i] = malloc(len2*item_size); | |
} | |
return arr; | |
} |