View hacker-news-dark.css
@namespace url(http://www.w3.org/1999/xhtml); | |
body { | |
background-color: #262626 !important; | |
} | |
body > center > table, input, textarea { | |
background-color: #222 !important; | |
} | |
body > center > table > tbody > tr:first-child > td { |
View simplenote.css
/* Increase the font size of the first line of a note. */ | |
.note-detail [data-block]:first-of-type { | |
line-height: 1.5em; | |
font-size: 1.5em; | |
} | |
/* Style the note list scrollbar (in dark mode) in Firefox */ | |
.theme-dark .note-list { | |
scrollbar-color: rgba(255, 255, 255, 0.5) transparent; | |
} |
View keybindings.json
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "cmd+/", | |
"command": "editor.action.blockComment", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+a", | |
"command": "-editor.action.blockComment", |
View dom.js
var dom = (selector, el = null) => { | |
if(el) { | |
return Array.from(el.querySelectorAll(selector)); | |
} else { | |
return Array.from(document.querySelectorAll(selector)); | |
} | |
}; | |
dom.first = (selector, el = null) => { | |
if(el) { |
View Preferences.sublime-settings
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 1, | |
"caret_extra_top": 0, | |
"caret_extra_width": 0, | |
"caret_style": "smooth", | |
"color_scheme": "Packages/User/blake-eighties.tmTheme", | |
"enable_tab_scrolling": false, | |
"font_face": "Operator Mono", |
View bw-eighties.tmTheme
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>Template: Chris Kempson, Scheme: Chris Kempson (http://chriskempson.com)</string> | |
<key>name</key> | |
<string>Base16 Eighties Dark</string> | |
<key>semanticClass</key> | |
<string>base16.eighties.dark</string> |
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |