Skip to content

Instantly share code, notes, and snippets.

Daniel W. Crompton webhat

Block or report user

Report or block webhat

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
View handout.yml
title: Handout Clojurebridge Amsterdam
meta:
date: 11-02-2017
location: Herengracht 258 - 266
sections:
- title: What is Clojure(Script)?
resources:
- title: What is Clojure?
url: http://www.lispcast.com/what-is-clojure
- title: Lisp (programming language)
View keybase.md

Keybase proof

I hereby claim:

  • I am webhat on github.
  • I am webhat (https://keybase.io/webhat) on keybase.
  • I have a public key whose fingerprint is FAB8 4200 587A 6BB2 9D64 9DB9 D9D8 7346 D4F7 B651

To claim this, I am signing this object:

@webhat
webhat / index.html
Last active Aug 29, 2015
A Pen by Daniel W. Crompton.
View index.html
<body>
<div id='course_list'></div>
</body>
@webhat
webhat / ssh-exchange.sh
Last active Aug 29, 2015
Add your ssh key to a new remote version
View ssh-exchange.sh
#!/bin/sh
KEY="$HOME/.ssh/id_rsa.pub"
U=$2
echo $U
if [ -z "$U" ] ;then
U=deploy
@webhat
webhat / github.cap
Last active Jan 2, 2016
I use this capistrano task to solve the Know Host bug that github has. https://help.github.com/articles/deploying-with-capistrano#known-hosts-bug
View github.cap
namespace :github do
desc 'Add Github to known hosts'
task :ssh do
on roles(:all) do
execute "echo 'github.com,207.97.227.239 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==' >> ~/.ssh/known_hosts"
end
end
end
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
View tmux_cheatsheet.markdown

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

You can’t perform that action at this time.