Skip to content

Instantly share code, notes, and snippets.

@jafstar
jafstar / Intro.js
Created June 21, 2012 02:25
Limelight Intro v1
//ENTER
function Intro(){
console.log('HOMEPAGE INTRO!!!');
$('#content').animate({opacity: 1},1000,function(){
@jafstar
jafstar / outro.js
Created June 21, 2012 02:24
Limelight Outro v1
//EXIT
function Outro(dfd){
var box = $("#services");
//FOR EACH CHILD
box.children().each(function(i){
$(this).delay(i*160).animate({marginTop: 150,opacity: 0}, 500,function(){
@jafstar
jafstar / gohello.go
Created June 19, 2012 03:50
Go - Hello World
//https://groups.google.com/forum/?fromgroups#!topic/golang-nuts/S9AO_kHktiY
package main
import (
"fmt"
"os"
"bufio"
)
@jafstar
jafstar / GoCheat.txt
Created June 19, 2012 03:09
Go Cheat Sheet
/** Taken From: http://golang.org/cmd/go/ **/
//COMMANDS
build compile packages and dependencies
clean remove object files
doc run godoc on package sources
env print Go environment information
fix run go tool fix on packages
fmt run gofmt on package sources
get download and install packages and dependencies
//WINDOWS INSTALLER
http://code.google.com/p/go/downloads/list?q=OpSys-Windows+Type%3DInstaller
//PACKAGES:FMT
http://golang.org/pkg/fmt/
//RELEASE HISTORY
http://golang.org/doc/devel/release.html
//GROUPS
@jafstar
jafstar / learnC.txt
Created June 10, 2012 23:51
Learn C pt1
Intro to C:
http://www.cprogramming.com/tutorial/c/lesson1.html
C references:
http://www.cplusplus.com/reference/clibrary/
http://www.acm.uiuc.edu/webmonkeys/book/c_guide/
The GNU C Library:
http://www.gnu.org/software/libc/manual/html_node/index.html
@jafstar
jafstar / cbook.txt
Created June 10, 2012 23:42
Computer Science: A Structured Programming Approach Using C (2nd Edition)
Book:
Computer Science: A Structured Programming Approach Using C (2nd Edition)
Amazon:
http://www.amazon.com/gp/product/0534374824/ref=ox_sc_act_title_1?ie=UTF8&m=A26J6JNN8TGTL9
Class:
http://www.postech.ac.kr/class/cs101/html/index.html
Lectures:
@jafstar
jafstar / robots.txt
Created May 26, 2012 04:09
robots.txt
User-agent: *
Disallow: /admin
Disallow: /login
Disallow: /logout
Sitemap: /sitemap
Options +FollowSymLinks All -Indexes -MultiViews
#TIMEZONE
SetEnv TZ America/New_York
#America/Chicago
#America/Phoenix
#America/Los_Angeles
#TURN ON PHP 5.3 FOR SPECIFIC HOSTS
AddHandler application/x-httpd-php53 .php
@jafstar
jafstar / cpanel-gzip.txt
Created May 26, 2012 04:03
cPanel Gzip
text/html text/plain text/xml text/css application/x-javascript application/javascript