Skip to content

Instantly share code, notes, and snippets.

@srcspider
srcspider / enter passphrase helper script
Created July 2, 2012 06:01
Remove annoying and stupidly coded "enter passphrase" prompt in git bash
# Place this in git_root/etc/profile to have your passphrase only required once per session.
# This used to be part of the help.github docs; for whatever reason it was removed when their new app come out. =/
SSH_ENV="$HOME/.ssh/environment"
# start the ssh-agent
function start_agent {
echo "Initializing new SSH agent..."
# spawn ssh-agent
@srcspider
srcspider / sublime_text_workflow.md
Last active June 13, 2019 17:28
Sublime Text Cheatsheet

Sublime Text Cheatsheet

Command Line

Sublime executable: (recomended name: edit)

#!/bin/sh
@srcspider
srcspider / golang_community_dependency_management.spec
Created June 9, 2014 21:11
Draft Spec for Community Dependency Management for the Go Language
Specifically written for the Go team. Feel free to fork.
It's unproductive to have preconcieved notions so the following assumes
"any language" and ignores "current language limitations" though Go and node
among others are references quite a bit in some examples where real world
situations are relevant to the point made. Also, the most unideal circumstances
are taken as the "default working circumstances," since that's what serves the
community best.
Community Dependency Management
@srcspider
srcspider / ubuntu.conf.md
Last active October 20, 2018 20:10
Basic Ubuntu Web Dev Essentials

Editor

Recommended Editor:

From here on we'll use edit to denote the command that's meant to open the file in the editor. Replace edit with subl or atom as needed.

@srcspider
srcspider / .emacs
Last active November 13, 2018 07:31
emacs config
;; Startup Options
;; ===============
(defun insert-tab-char ()
(interactive)
(insert "\t"))
(define-key global-map "`" 'insert-tab-char)
;; autocomplete backend
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"vscode-icons-team.vscode-icons",
"editorconfig.editorconfig"
]
}
@srcspider
srcspider / virtualbox.setup.md
Last active April 21, 2024 11:03
VirtualBox Setup