Skip to content

Instantly share code, notes, and snippets.

View campadrenalin's full-sized avatar

Matilda Horger campadrenalin

  • Inspire
  • The Internet
View GitHub Profile
@campadrenalin
campadrenalin / keybase.md
Created May 5, 2022 17:28
Keybase proof

Keybase proof

I hereby claim:

  • I am campadrenalin on github.
  • I am matilda_horger (https://keybase.io/matilda_horger) on keybase.
  • I have a public key ASBGR2HidxBTZ6_Ui04p_UEZ6bXYdgFG2y61ucVirOpo-Ao

To claim this, I am signing this object:

@campadrenalin
campadrenalin / galliard.md
Last active October 8, 2020 03:48
Galliard

Galliard - A quick-moving card game of luck and strategy!

This game is named after a lively dance that was popular among the French aristocracy. These dances were a hotbed of flirting, intrigue, and trying your darndest to marry above your station.

Galliard the game is about winning rounds to befriend royals. If you win a round while having enough royal support, you win the game!

How to play a round

Table layout:

@campadrenalin
campadrenalin / flutter.go
Last active June 7, 2019 21:24
Flutter scaffolding proposal
import "github.com/flutter/flutter"
import . "scaffold" // scaffold.go
func (m *MyHomePage) Build(ctx flutter.BuildContext) flutter.Widget {
return Scaffold{
AppBar: AppBar{
Title: Text{ Text: "My Home Page"},
},
Body: Center{
Child: Column{
@campadrenalin
campadrenalin / recipe.md
Last active August 29, 2015 14:22
Cold Brew Coffee recipe

PHILIP'S COFFEE RECIPE:

  • 1 large container for storage (I keep mine in the fridge)
  • 1 sealable container, ~3cups
  • 1 stapler, with staples
  • 3 cups water
  • 2/3 cups coffee grounds
  • 1 Melitta #6 Filter

Put the grounds in the filter, which is more-or-less conical. Squish the filter a bit flatter, then fold the top of the filter down twice (give yourself room to do so). Put a staple right in the middle of that double-folded portion, then staple halfway between the middle and each end (3 staples so far). Fold the ends over toward the middle, and staple those down. That's your coffee bag.

@campadrenalin
campadrenalin / css_resources.md
Created January 30, 2014 19:59 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@campadrenalin
campadrenalin / python_resources.md
Created January 30, 2014 19:59 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

@campadrenalin
campadrenalin / 0_reuse_code.js
Created January 30, 2014 19:59
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@campadrenalin
campadrenalin / gist:3689141
Created September 10, 2012 06:01
Hawkthorne audio error data as printed to STDERR
AL lib: pulseaudio.c:612: Context did not connect: Access denied
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver return
ed error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned er
ror: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned err
or: No such file or directory
@campadrenalin
campadrenalin / Instructions.markdown
Created February 25, 2012 06:16
CJDNS config scripts

Installation

Download all the other files in this gist to /usr/bin. You also want to either copy or symlink cjdroute into /usr/bin as well, with EITHER of the following commands, but not both:

sudo cp <full path to cjdroute> /usr/bin

sudo ln -s <full path to cjdroute> /usr/bin/cjdroute

Replace the bracketed sections with the actual path, of course. There should be no brackets in the commands you actually use. Unless you have really weird folder names.

@campadrenalin
campadrenalin / main.md
Created January 25, 2012 18:56
Getting started with Meshnet

Getting started with Meshnet

This document is for people who want to help but have no technical knowledge. It assumes you won't be getting involved in squabbles over which relay technology to use, etc.

Step 1: Set up CJDNS

One of the few things widely agreed upon at the time of this writing is the use of CJDNS. Currently Windows is not supported, but if you have Linux or can run Linux in a virtual machine, you can follow the step-by-step instructions lower on that page to install and start up an instance of CJDNS on your system. If you're using Ubuntu 11.10 (latest version), you can follow these simplified instructions.

One thing you should know is cjdns currently isn't a wireless meshnet. A physical meshnet consisting of nodes geographically close to each other is a long way off. Instead, cjdns offers a "mixnet"-like system. cjdns is routable over the current Internet, so this means right now its like a giant VPN (virtu