As configured in my dotfiles.
start new:
tmux
start new with session name:
def share_with_facebook_url(opts) | |
# Generates an url that will 'share with Facebook', and can includes title, url, summary, images without need of OG data. | |
# | |
# URL generate will be like | |
# http://www.facebook.com/sharer.php?s=100&p[title]=We also do cookies&p[url]=http://www.wealsodocookies.com&p[images][0]=http://www.wealsodocookies.com/images/logo.jpg&p[summary]=Super developer company | |
# | |
# For this you'll need to pass the options as | |
# | |
# { :url => "http://www.wealsodocookies.com", |
module Colors | |
def colorize(text, color_code) | |
"\033[#{color_code}m#{text}\033[0m" | |
end | |
{ | |
:black => 30, | |
:red => 31, | |
:green => 32, | |
:yellow => 33, |
As configured in my dotfiles.
start new:
tmux
start new with session name:
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
;; TODO: pull author initials from (user-full-name) | |
(setq author-initials "EH") | |
(defun set-pivotal-story-id (id) | |
"sets current pivotal tracker story id" | |
(interactive "spivotal-story-id:") | |
(progn | |
(setq pivotal-story-id id))) | |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
<?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>KeepAlive</key> | |
<false/> | |
<key>Label</key> | |
<string>org.gnu.emacsd</string> | |
<key>ProgramArguments</key> | |
<array> |
# Install QEMU OSX port with ARM support | |
sudo port install qemu +target_arm | |
export QEMU=$(which qemu-system-arm) | |
# Dowload kernel and export location | |
curl -OL \ | |
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie | |
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie | |
# Download filesystem and export location |
SASS Versions of
in Phoenix 1.3 and 1.4 via Webpack
code --install-extension QassimFarid.ejs-language-support | |
code --install-extension SirTori.indenticator | |
code --install-extension TimonVS.ReactSnippetsStandard | |
code --install-extension TwentyChung.jsx | |
code --install-extension abusaidm.html-snippets | |
code --install-extension asvetliakov.move-imports | |
code --install-extension aws-scripting-guy.cform | |
code --install-extension bierner.markdown-preview-github-styles | |
code --install-extension ccitiriga.TSMethodCreator | |
code --install-extension christian-kohler.npm-intellisense |