This file contains hidden or 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
# | |
# A set of bash/zsh functions that provide simple virtual environment | |
# capabilities for node. To install, just copy this file into your home | |
# directory and add the following to your .bashrc or .zshrc file: | |
# | |
# if [[ -f "$HOME/.nenv" ]]; then | |
# source "$HOME/.nenv" | |
# fi | |
# | |
# What this script provides is a set of functions that are activated whenever |
This file contains hidden or 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
(ns hooray-data.core | |
(:gen-class) | |
(:use (incanter core stats charts io)) | |
(:use [incanter.processing :only (norm)])) | |
(def data (read-dataset | |
"https://raw.github.com/liebke/incanter/master/data/iris.dat" | |
:delim \space | |
:header true)) |
This file contains hidden or 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
#include <stdio.h> | |
int fib(n) { | |
if ((n == 0)||(n == 1)) { | |
return n; | |
} else { | |
return fib(n-1) + fib(n-2); | |
} | |
} |
This file contains hidden or 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
def fib(n) | |
if n == 0 || n == 1 | |
n | |
else | |
fib(n - 1) + fib(n - 2) | |
end | |
end | |
if $0 == __FILE__ | |
36.times do |i| |
This file contains hidden or 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
function fib(n) | |
if n <= 1 then | |
return n | |
else | |
return fib(n-1) + fib(n-2) | |
end | |
end | |
for i=0, 35 do print("n = "..i.." => "..fib(i)) end |
This file contains hidden or 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
Host mygitrepo | |
Hostname christopherroach.com | |
Port 2222 | |
User remote_username |
This file contains hidden or 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
#### `.gitattributes` | |
*.pbxproj -crlf -diff -merge |
This file contains hidden or 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
#### `.gitignore` | |
# xcode noise | |
build/* | |
*.mode1v3 | |
# SVN directories | |
.svn | |
# osx noise | |
.DS_Store |
This file contains hidden or 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
#ifndef HEADER_H | |
#define HEADER_H | |
// Contents of the header file | |
#endif |
This file contains hidden or 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
#import <stdio.h> | |
int main(int argc, char **argv) { | |
printf("Hello world"); | |
} |
NewerOlder