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
# Minecraft NSIS Installer Script | |
# Maintainer: Furyhunter <[email protected]> | |
# | |
# Files: | |
# Minecraft.exe | |
Name "Minecraft" | |
OutFile "minecraft-win32-install.exe" | |
InstallDir "$PROGRAMFILES\Minecraft" |
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 <iostream> | |
#include <vector> | |
using namespace std; | |
void ints(vector<int>& tofill) { | |
tofill.push_back(1); | |
tofill.push_back(2); | |
tofill.push_back(3); | |
} |
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
vec_t Col_RectRect(const rectangle_t* a, const rectangle_t* b) { | |
vec_t ret; | |
float left, right, top, bottom; | |
// zero the vector | |
ret.x = 0; | |
ret.y = 0; | |
// axis |
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 <iostream> | |
#include <string> | |
#include <list> | |
using namespace std; | |
class HelloWorld { | |
public: | |
HelloWorld() : words() {}; | |
~HelloWorld() {}; |
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
public class CalculatorWindow extends JFrame { | |
// ... | |
JButton button0; | |
JButton button1; | |
// ... | |
public void doWhateverSetup() { | |
// ... | |
button0.addActionListener(new KeypadButtonAction(0, this)); | |
button1.addActionListener(new KeypadButtonAction(1, this)); |
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
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle | |
call vundle#rc() | |
""""""""""""""""""""""" | |
" Bundles for vundle | |
""""""""""""""""""""""" | |
" Vundle must manage itself |
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 functools import reduce | |
# nums = [1, 2, 3, 4] | |
def average_value(nums): | |
avg = reduce(lambda t,i: t+i, nums) | |
avg /= len(nums) | |
return avg | |
print average_value([1, 2, 3, 4]) |
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
package com.furyhunter.gw2assistant; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import android.content.ContentValues; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.os.Parcel; | |
import android.os.Parcelable; |
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
Xbox 360 Controller Mappings: | |
A: 0 | |
B: 1 | |
X: 2 | |
Y: 3 | |
LB: 4 | |
RB: 5 |
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
//TopGearTimeTravel by Andrew "Yeti" S. | |
//Respect to J3DI From Ludum Dare | |
#include <iostream> | |
#include <ctime> | |
#include <string> | |
#include <sstream> | |
using namespace std; |
OlderNewer