Skip to content

Instantly share code, notes, and snippets.

View shaunoconnor's full-sized avatar

Shaun O'Connor shaunoconnor

View GitHub Profile
package com.shaunoconnor.utils.log
{
/**
* ThunderBolt Logger
* http://code.google.com/p/flash-thunderbolt/
*/
import org.osflash.thunderbolt.Logger;
import flash.utils.getQualifiedClassName;
/**
* Image Cycle - Prototype / Test only
*/
var imageArray = [ 'images/venice_carnival_1.jpg',
'images/venice_carnival_2.jpg',
'images/tokyo_sumo_festival_0.jpg',
'images/tokyo_sumo_festival_1.jpg',
'images/valencia_tomato_fight_0.jpg',
'images/valencia_tomato_fight_1.jpg',
//
// AnimatedView.h
// BlocksAnimation
//
// Created by Shaun O'Connor on 13/04/11.
//
#import "AnimatedView.h"
@implementation AnimatedView
function hello( param ){
alert( param );
}
#!/bin/bash
# Based upon - Written by Andy Boutte and David Balderston of howtoinstallghost.com and allaboutghost.com
# updateghost_ami.sh will update your current Amazon ami ghost install to the latest version without you losing any content
if [[ `whoami` != root ]]; then
echo "This script must be run as root"
exit 1
fi
#Stop Ghost
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
@shaunoconnor
shaunoconnor / The Technical Interview Cheat Sheet.md
Last active August 26, 2015 02:41 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@shaunoconnor
shaunoconnor / tmux-cheatsheet.markdown
Created October 26, 2015 22:37 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname