Major League Hacking is organising one massive, distributed Hackathon.
Us at @CovHackSoc are running on of the local events, here at Coventry in EC2-12.
| " Vundle | |
| set nocompatible | |
| filetype off | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| Plugin 'VundleVim/Vundle.vim' | |
| Plugin 'itchyny/lightline.vim' | |
| Plugin 'flazz/vim-colorschemes' | |
| Plugin 'rykka/mathematic.vim' | |
| Plugin 'hari-rangarajan/CCTree' |
| import sys | |
| from jinja2 import Template | |
| def renderTemplate(template, context): | |
| t = Template(template) | |
| return t.render(context) | |
| if __name__ == "__main__": | |
| context = {} | |
| template = open(sys.argv[1],'r').read() |
| #!/bin/bash | |
| IMAGE=<IMAGE_HERE> | |
| CONTAINERNAME=<NAME_HERE> | |
| XSOCK=/tmp/.X11-unix | |
| XAUTH=/tmp/.docker.xauth | |
| xauth nlist :0 | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge - | |
| docker run -dt \ | |
| --name $CONTAINERNAME \ | |
| -p 4444:4444 \ | |
| -v $XSOCK:$XSOCK \ |
Links, tools and documents I think are interesting for level level development.
| import os | |
| import json | |
| import binascii | |
| import requests | |
| from flask import Flask, request | |
| app = Flask(__name__) | |
| # Web app to get use a user token from Facebook | |
| app_id = "<BLANKED>" | |
| app_secret = "<BLANKED>" |
| import requests | |
| import hashlib | |
| import time | |
| import uuid | |
| import os | |
| import copy | |
| import json | |
| # Fixed up version of my previous code to work with the Cloud endpoints. | |
| # Hopefully this works. |
| import requests | |
| import hashlib | |
| import time | |
| import uuid | |
| import os | |
| import copy | |
| import json | |
| # This is based on my personal implementation but stripped down to only what is | |
| # needed to verify it. |