Skip to content

Instantly share code, notes, and snippets.

View nuclearsandwich's full-sized avatar

Steven! Ragnarök nuclearsandwich

View GitHub Profile
<h2 class="section-title">Colours</h2>
<!-- Add your own colour swatches down here! -->
<ul class="colours">
<li>
<!-- We put our style just in line here -->
<span class="swatch" style="background: #85D4E3;"></span>
<!-- Here just a description and the hex code again (for copy/pasting in a pinch) -->
<p class="label">blue | #85D4E3</p>
</li>

Life begins after finals

Fiction

  • That Book your Mad Ancestor Wrote

Non-fiction

  • Feminism Without Borders
  • The Hard Things about Hard Things

Test line.


A real line.

<rdf:Description rdf:ID="All">
  <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
  <rdfs:subClassOf rdf:resource="#Thing"/>
</rdf:Description>

Heart

This project contains a simple Python script that plots my heart for my girlfriend.

Requirements

This script should be executed with Python 3.4 or any later version of Python interpreter.

#include <stdio.h>

int main(int argc, char *argv[]) {
  printf("Hello, World!\n");
  return 0;
}
@nuclearsandwich
nuclearsandwich / sshvvv.sh
Created December 23, 2013 19:35
Verbosify ssh for Git debugging
#!/bin/sh
exec ssh -vvv $@
@nuclearsandwich
nuclearsandwich / xcode.md
Created September 26, 2013 19:14
Installing XCode and the Provisioning Profiles for CoderDojo SV mobile games

Hey there Coder,

If you joined us for our very first mobile games session, but were unable to get the sample game running on your iOS device because we ran out of time, fear not! We have the technology to make it go!

There was one slight but gargantuan omission in our instructions. You need Apple's development tools to build and install games for iOS devices.

Don't worry, getting the tools themselves is free of charge and easy to do assuming your Apple operating system is up to date.

Install Mac OS X updates from the App Store

@nuclearsandwich
nuclearsandwich / gist:6691419
Created September 24, 2013 21:19
Little Lua Koans
local __ = -1
local ___
local whisperwhisper, penultimate, find_a_definition
local koans = {}
local consider = function(phrase, line, condition)
if koans.stop_and_reflect then
return
end
print(phrase)
@nuclearsandwich
nuclearsandwich / varstrithmetication.py
Created May 10, 2013 06:59
Variables, strings, arithmetic, and concatenation in Python.
num1 = 5
num2 = 7
addition = num1 + num2
subtraction = num2 - num1
multiplication = num1 * num2
division = num2 / num1 # rounds down for integer division
print(addition) # prints 12
print(subtraction) # prints 2