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
--------- | |
function GoGo_OnLoad() | |
--------- | |
SLASH_GOGOMOUNT1 = "/gogo" | |
SlashCmdList["GOGOMOUNT"] = function(msg) GoGo_OnSlash(msg) end | |
SLASH_GOGOID1 = "/id" | |
SlashCmdList["GOGOID"] = function(msg) GoGo_Msg(GoGo_Id(msg)) end | |
this:RegisterEvent("VARIABLES_LOADED") |
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
From a9a78aa85012d4ef5bd25ebf74292268a5f90d00 Mon Sep 17 00:00:00 2001 | |
From: Tim Martin <tim.martin@gatech.edu> | |
Date: Sun, 27 Jun 2010 01:44:24 -0400 | |
Subject: [PATCH] mammoths will not be chosen when mounting in capitals | |
--- | |
GoGoMount.lua | 21 +++++++++++++++++++++ | |
GoGoMountData.lua | 38 +++++++++++++++++++------------------- | |
2 files changed, 40 insertions(+), 19 deletions(-) |
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
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_background" --type bool false | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_colors" --type bool false | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/palette" --type string "#070736364242:#D3D301010202:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3" | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/background_color" --type string "#00002B2B3636" | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/foreground_color" --type string "#65657B7B8383" |
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
#include <stdlib.h> | |
#include "grid.h" | |
#include "gbalib.h" | |
#include "game.h" | |
tile* tile_init(void){ | |
tile* t = (tile*) malloc(sizeof(tile)); | |
t->ge = CLEAR; | |
t->gep = NULL; |
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/zsh | |
typeset -U fpath #make fpath unique | |
typeset -U path #make path unique | |
autoload -U colors && colors | |
autoload -Uz vcs_info | |
autoload -U tetris | |
autoload -U compinit | |
export EDITOR='vim' #set editor var, as well as zsh vi mode |
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
import java.util.Random; | |
public class Person2 { | |
/** | |
* This method should take the string | |
* input and return its characters in | |
* random order. | |
* given "gtg123b" it should return | |
* something like "g3tb1g2". | |
* |
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
ERROR=-Wall -Werror -Wextra -pedantic | |
STANDARD=-std=c++0x | |
CC=g++ | |
#implying this is where main is | |
OUTFILE=$(shell basename $(shell pwd)) | |
BUILDFILES=$(shell ls -R | grep "\.cpp") | |
all: run |
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
class AddDeviseLockableColumnsToUser < ActiveRecord::Migration | |
def change | |
change_table :users do |t| | |
t.lockable :maximum_attemps => 3, :lock_strategy => :failed_attempts, :unlock_strategy => :none | |
end | |
end | |
end |
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
Status | |
gst='git status' | |
gss='git status -s' | |
gstv='git status -v' | |
Remotes | |
gp='git push' | |
gl='git pull' | |
glom='git pull origin master' | |
ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)' |
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
#!/bin/sh | |
#Local incremental backup of Windows' drives with RSync via Cygwin. | |
#Run like ./backup.sh cat_pictures_drive d g | |
#where d is the drive containing cat pictures | |
#and g is the destination of the backup. | |
#Backups will be made on g like G:\cat_pictures_drive_backup\backup-YY-MM... | |
#high-level description of the content we're backing up |
OlderNewer