Skip to content

Instantly share code, notes, and snippets.

@xarem
xarem / README.md
Last active August 29, 2015 14:20
Install Yosemite OS X in VirtualBox
  • create machine from the Mac OS X (64 bit) template
  • I recommend the following configuration:
  • - at least 2 GB RAM
  • - at least 2 CPU's
  • - Chipset: PIIX3
  • - Video memory (recommended): 128 MB
  • Download OS X Yosemite from App Store
  • iesd -i /Applications/Install\ OS\ X\ Yosemite.app -o yosemite.dmg -t BaseSystem
  • hdiutil convert yosemite.dmg -format UDSP -o yosemite.sparseimage
  • hdiutil attach /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/InstallESD.dmg
@Jonty
Jonty / gov.uk.ipv4.md
Last active August 29, 2015 14:18
Every IPv4 address with reverse dns ending in .gov.uk

This file contains a list of every IPv4 address with reverse DNS ending in .gov.uk. There's some interesting things in here.

If you like this, you may also like my list of UK government web proxies.

@jonty

109.104.88.83	ola.kent.gov.uk
109.104.88.84	ola.kent.gov.uk
109.176.74.7	filter.torbay.gov.uk
@phonyphonecall
phonyphonecall / emojis_sorted
Last active August 29, 2015 14:16
A list of all of the [emoji's](http://www.emoji-cheat-sheet.com/) for all of your visually expressive needs :shipit:
:+1:
:-1:
:100:
:1234:
:8ball:
:a:
:ab:
:abc:
:abcd:
:accept:
anonymous
anonymous / gist:de6b81c556b5dc7cdc8b
Created February 20, 2015 01:42
Kernel panic in latest OS X in 10 lines of C
#include <unistd.h>
#include <mach/mach.h>
#include <mach/mach_vm.h>
#include <mach-o/dyld.h>
int
main (int argc, char * argv[])
{
volatile char * library;
const mach_vm_size_t page_size = getpagesize ();
@bobbygrace
bobbygrace / trello-css-guide.md
Last active May 15, 2024 16:01
Trello CSS Guide

Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets


Trello CSS Guide

“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”

You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?

@31
31 / gist:3781b066e16bf538f170
Last active November 10, 2023 02:05
OpenGL functions by object
@EGreg
EGreg / Q.Promises.js
Created November 11, 2014 22:36
A clear and tested Promises implementation
/**
* Q Promises implementation
* @module Q
*/
(function (Q) {
/**
* Q.Promise constructor.
* Call the .fulfill(...) or .reject(...) method to
* signal that the promise is fulfilled or rejected.
└──╼ cat device_chip.ads
--
-- Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com>
--
--
-- Each Driver implements a concrete realisation of the Chip interface.
-- This constitutes a "Class" of Chips that are enumerated from the devicetree.
--
package main
import (
"net/http"
"database/sql"
"fmt"
"log"
"os"
)
@staltz
staltz / introrx.md
Last active June 7, 2024 23:39
The introduction to Reactive Programming you've been missing