Skip to content

Instantly share code, notes, and snippets.

🖖
coffee

Damon Jablons blackrobot

🖖
coffee
Block or report user

Report or block blackrobot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@blackrobot
blackrobot / minimal.vimrc
Last active Aug 26, 2019
A minimal vimrc for use on remote servers
View minimal.vimrc
syntax enable
colorscheme slate
set ai
set autoread
set background=dark
set backspace=eol,start,indent
set backupdir^=~/.vim/_backup//
set directory^=~/.vim/_temp//
set encoding=utf8
View vs-code_dev-tools-console.log
16:02:26.032 extensionHost.ts:330 [Extension Host] debugger listening on port 21278
16:02:26.512 extensionService.ts:788 Couldn't find message for key python.snippet.launch.unitTests.description.
_logMessageInConsole @ extensionService.ts:788
16:02:26.515 extensionService.ts:788 Couldn't find message for key python.snippet.launch.unitTests.description.
_logMessageInConsole @ extensionService.ts:788
16:02:26.721 textMateService.ts:53 Overwriting grammar scope name to file mapping for scope source.js.jsx.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json.
New grammar file: file:///Users/damon/.vscode/extensions/dzannotti.vscode-babel-coloring-0.0.4/syntaxes/Babel%20Language.json
register @ textMateService.ts:53
16:02:26.722 textMateService.ts:53 Overwriting grammar scope name to file mapping for scope source.python.
View primary-styling.css
/*
* NOTE:
* - The use of browser-specific styles (-moz-, -webkit-) should be avoided.
* If used, they may not render correctly for people reading the email in
* a different browser than the one from which the email was sent.
* - The use of state-dependent styles (like a:hover) don't work because they
* don't match at the time the styles are made explicit. (In email, styles
* must be explicitly applied to all elements -- stylesheets get stripped.)
*/
@blackrobot
blackrobot / duckduckgo.js
Last active Dec 12, 2018
Preference settings for duckduckgo.com / duck.com
View duckduckgo.js
/**
* Duck Duck Go Settings
* https://duckduckgo.com/params
**/
{
// Result Settings
"kl": "us-en", // Language & Region
"kp": "-2", // Safe Search: Off
"kz": "1", // Open Instant answers: On
@blackrobot
blackrobot / vscode-vim.cheatsheet.md
Last active Oct 7, 2018
A cheatsheet of plugin commands built into the VS Code Vim extension
View vscode-vim.cheatsheet.md
@blackrobot
blackrobot / iina-input.conf
Last active Aug 30, 2018
Custom keybinding config for IINA
View iina-input.conf
# ###
# damon.conf - IINA keybindings
# ###
# Copied from the default input config for IINA
#
# Documentation can be found here:
# * https://github.com/lhc70000/iina/wiki/Manage-Key-Bindings
# * https://mpv.io/manual/stable/#command-interface
#@iina Shift+Meta+v video-panel
@blackrobot
blackrobot / chrome-flags.md
Created Dec 13, 2017
Google Chrome Flags
View chrome-flags.md
View settings.py
"""
Here's my sample Django settings for a project I recently did. Visit http://damonjablons.wordpress.com to see the explanation.
"""
import os
import socket
# Set DEBUG = True if on the production server
if socket.gethostname() == 'your.domain.com':
DEBUG = False
View context_wrapper.py
import contextlib
@contextlib.contextmanager
def managed_records(shelve_db_names, file_names):
try:
shelve_dbs = []
for name in shelve_db_names:
db = shelve.open(name, protocol=pickle.HIGHEST_PROTOCOL)
shelve_dbs.append(db)
@blackrobot
blackrobot / github-refined.css
Last active Jul 12, 2018
Github Refined Extra CSS
View github-refined.css
.blob-code-inner,
.blob-num,
.highlight pre,
.files > tbody > tr > td.content a {
font-family: "Operator Mono" !important;
}
.files > tbody > tr > td.content a {
font-size: 13.3px;
}
.pl-c, .pl-e {
You can’t perform that action at this time.