Skip to content

Instantly share code, notes, and snippets.

View Andrioden's full-sized avatar

André S. Hansen Andrioden

View GitHub Profile
@Andrioden
Andrioden / countries.sql
Created April 16, 2018 16:24 — forked from adhipg/countries.sql
Sql dump of all the Countries, Country Codes, Phone codes.
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
// Source: http://answers.unity3d.com/questions/482128/draw-grid-lines-in-game-view.html
using UnityEngine;
using System.Collections;
public class GridOverlay : MonoBehaviour
{
public bool show = true;
public int gridSizeX;
@Andrioden
Andrioden / MyHairIsABird_SuicideList
Last active August 29, 2015 14:14
My Hair is a Bird - Suicide list [Oppdatert etter raid 18.03.2015]
Iskjeks-stormscale
Dogtail-stormscale
Melkemor-stormscale
Rru-stormscale
Range-stormscale
Jorsan-stormscale
Andrioden-stormscale
Thrillish-stormscale
Morkake-stormscale
Durno-stormscale
@Andrioden
Andrioden / SITimegripUtleggAdder.user.js
Last active August 29, 2015 14:06
SI Timegrip Utlegg Adder
// ==UserScript==
// @name Timegrip Lunch Utlegg Adder
// @description Forenkler registreringen av utleggsrader i Timegrip.
// @author André S. Hansen
// @namespace SI Timegrip
// @include *//timegrip.software-innovation.com/index.php?mdl=9
// @version 1.0
// @grant none
// ==/UserScript==
// ==UserScript==
// @name SI LiveTime Home Fix
// @namespace SI LiveTime
// @include *software-innovation.com/LiveTime/WebObjects/LiveTime.woa*
// @version 0.1.3
// @grant none
// ==/UserScript==
// Helper methods
function findHeaderElement(title) {
@Andrioden
Andrioden / fb-top-friends-list.user.js
Created December 3, 2012 21:57
Facebook Top Friends List
/**
* ABOUT
********************************************************
* Facebook.htm (the homepage) has a variable that is used internally on the
* facebook page. This variable is a list that supposedly indicate which
* friends you have interacted most with.
*
* This code snippet scrapes that variable from the homepage html file and
* opens a dialog with a link to all your "top" friends.
*