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
setInterval(changePicture, 2000); | |
function changePicture(){ | |
$('img').each(function(){ | |
if($(this).attr('title') === 'Guilherme'){ | |
$(this).attr('src', 'http://i.imgur.com/r6PyiD4.png'); | |
} | |
}); | |
} |
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
/* My Fragment Class */ | |
public class MainFragment extends Fragment { | |
private View mainView; | |
@Override | |
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle saveInstanceState){ | |
mainView = inflater.inflate(R.layout.fragment_main, container, false); | |
mainView.setVisibility(View.GONE); |
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
URL: https://lexhack2014-c9-noah_huppert.c9.io/ | |
Source: https://github.com/Kronological/Lexhack2014 |
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
**[Human Resources Kickstarter](https://www.kickstarter.com/projects/659943965/human-resources-an-apocalyptic-rts-game)** | |
There is this really cool Kickstarter going on for an apocalyptic RTS game. But this isn't any regular apocalypse game. The apocalypse started with giant robots attacking human kind. In an attempt to stop these robots the humans summon ancient monsters which they hope will fight the giant robots. Unfortunately for the humans, the ancient monsters start attacking the humans as well. To make matters event worse the two factions start fighting over who gets to harvest the humans. | |
The gameplay looks to be centered around two factions. The Robots and the Ancient Monsters. Each of these factions will have a very different play style to create variety. The common resource between both factions is humans. The giant robots seam to use humans in a Matrix type way, by harvesting them for energy. The ancient monsters harvest humans to reduce the populations sanity, the lower the sanity, the more p |
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
var express = require("express"); | |
var fs = require("fs"); | |
var app = express(); | |
app.post("/", function(req, res){ | |
var date = Date.now(); | |
var fileName = "POST.json"; | |
console.log("POST / @" + date); |
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
local return_code="%(?..%{$fg[red]%}%? %{$reset_color%})" | |
function collapse_pwd { | |
BABUN_ZSH_CUSTOM_THEME_REAL_HOME="/cygdrive/c/Users/noahh_000" | |
BABUN_ZSH_CUSTOM_THEME_CYGWIN_HOME="/home/Noah Huppert" | |
echo $(pwd | sed -e "s,^$BABUN_ZSH_CUSTOM_THEME_REAL_HOME,~," | sed -e "s,^$BABUN_ZSH_CUSTOM_THEME_CYGWIN_HOME,%{$fg[red]%}~%{$fg[blue]%}," ) | |
} | |
PROMPT='%{$fg[blue]%}{ $(collapse_pwd) } \ |
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
package <YOUR PACKAGE>; | |
import info.gridworld.actor.Actor; | |
import info.gridworld.actor.ActorWorld; | |
import info.gridworld.grid.Location; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; |
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
# Path to your oh-my-zsh installation. | |
export ZSH=/home/noah/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="bullet-train" | |
# Uncomment the following line to use case-sensitive completion. |
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
todo |
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
iron/iron - Web framework | |
PistonDevelopers/conrod - GUI Framework | |
tomaka/glium - OpenGL Binding |