Hackathons (or hack days) are super awesome events where people meet to build cool things. They're usually 24 hours straight programming/tinkering/building. Everybody gets involved, helps make something, then shows it to everybody else. Don't worry if you haven't been to one before, come along and you'll learn tons and have some great fun. Hackathons are pretty lighthearted and everyone's very helpful. Check out some past hackathons HackSoc have been to here: http://hacksocnotts.co.uk/category/news/
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 XMonad | |
import XMonad.Hooks.DynamicLog | |
import XMonad.Hooks.ManageDocks | |
import XMonad.Util.Run(spawnPipe) | |
import XMonad.Util.EZConfig(additionalKeys) | |
import System.IO | |
import Control.Concurrent | |
import XMonad.Hooks.ManageHelpers | |
import XMonad.Layout.NoBorders |
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
# FOR ECLIPSE | |
*.pydevproject | |
.metadata | |
bin/** | |
tmp/** | |
tmp/**/* | |
*.tmp | |
*.bak | |
*.swp | |
*~.nib |
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
# built application files | |
*.apk | |
*.ap_ | |
# files for the dex VM | |
*.dex | |
# Java class files | |
*.class |
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/bash | |
gnome-settings-daemon & | |
feh --bg-fill ~/Pictures/wallpaper-1950578.jpg | |
xcompmgr -n & | |
trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --alpha 0 --tint 0x002b36 --height 19 & | |
nm-applet --sm-disable & | |
eval $(gnome-keyring-daemon --start) | |
export GNOME_KEYRING_SOCKET | |
export GNOME_KEYRING_PID |
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
Config { font = "xft:inconsolata:size=10:antialias=true" | |
, bgColor = "#002b36" | |
, fgColor = "#657b83" | |
, position = TopW L 90 | |
, lowerOnStart = True | |
, commands = [ Run Network "wlan0" ["-L","0","-H","32","--normal","green","--high","red"] 10 | |
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10 | |
, Run Memory ["-t","Mem: <usedratio>%"] 10 | |
, Run Date "<fc=#93a1a1>%a %b %_d %Y %H:%M</fc>" "date" 10 | |
, Run DiskIO [("/", "IO: <total>"), ("sda4", "<total>")] [] 10 |
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
'use strict'; | |
var request = require('request'); | |
var querystring = require('querystring'); | |
/* | |
* CLIENT DETAILS | |
*/ | |
var CLIENT_ID = "CLIENT_ID_HERE"; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
// This is why everyone needs jQuery in their lives... | |
$('img').each(function(){$(this).attr('src','http://www.placekitten.com/'+(Math.floor(Math.random()*100)+150)+'/'+(Math.floor(Math.random()*100)+150))}); |
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
var express = require('express'), | |
app = module.exports = express.createServer(), | |
routes = require('./routes'), | |
mongoose = require('mongoose'); | |
//MongoStore = require('connect-mongo')(express); | |
mongoose.connect('mongodb://localhost/randomstuffwhey'); | |
var app = module.exports = express.createServer(); |
OlderNewer