- Create a new public gist on https://gist.github.com/
- Under "Clone this gist", copy the link (i.e., https://gist.github.com/4415518.git)
- If you have the command line git tools, clone this gist to a local folder: git clone https://gist.github.com/4415518.git
- It will add a folder with the gist id as a name (i.e., 4415518) under the current working directory. Navigate to this folder in the command line: cd 4415518 (dir 4415518 on windows)
- Navigate to this folder in your file explorer and add an image (i.e., test.png)
- Add it to git from the command line: git add test.png
- Commit it to git: git commit -m "I just added a file!"
- Push this commit to your remote gist (you will need your Github user name and password): git push
- Go back and refresh your Gist on https://gist.github.com/ to confirm that it worked
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
pushd $(dirname $0) > /dev/null; CURRABSPATH=$(readlink -nf "$(pwd)"); popd > /dev/null; # Get the directory in which the script resides | |
set -x | |
MUSLPKG="musl:musl.tgz:http://www.musl-libc.org/releases/musl-1.1.4.tar.gz" | |
LEVTPKG="libevent:libevent2.tgz:https://cloud.github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz" | |
TMUXPKG="tmux:tmux.tgz:http://iweb.dl.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-1.9a.tar.gz" | |
NCRSPKG="ncurses:ncurses.tgz:http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz" | |
TEMPDIR="$CURRABSPATH/tmp" | |
TMPLIB="tempinstall/lib" | |
TMPINC="tempinstall/include" |
This installs a patched ruby 1.9.3-p545 with the railsexpress patchsets: https://github.com/skaes/rvm-patchsets
You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf
using homebrew.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************************ | |
* Teensy 3.0: Random Numbers on BCD 7-Segment Display Version: 1.00 * | |
* Functions : Random Numbers between 00 & 99. TURBO-mode, FREEZE-mode * | |
* MicroCtrlr: MK20DX128 32 bit ARM Cortex-M4 48 MHz * | |
* Arduino Shield: Alexan Digital Trainer 2 from Alexan Commercial * | |
************************************************************************ | |
* Arduino IDE v1.0.5 from http://arduino.cc/en/Main/Software * | |
* Teensyduino v1.14 from http://www.pjrc.com/teensy/td_download.html * | |
* Configuration: Teensy 3.0 on /dev/ttyACM0 * | |
* Operating System: Xubuntu Linux 13.10 Saucy Salamander (32-bit) * |
Add the following chunk to your existing ISC dhcpd.conf
file.
if exists user-class and ( option user-class = "iPXE" ) {
filename "http://boot.smidsrod.lan/bootstrap.ipxe";
}
else {
filename "undionly.kpxe";
}
(or see https://gist.github.com/4008017 for a more elaborate setup
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 = [email protected]: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: