Skip to content

Instantly share code, notes, and snippets.

View hawkrives's full-sized avatar
🦋
Butterflies

Hawken Rives hawkrives

🦋
Butterflies
View GitHub Profile
@hawkrives
hawkrives / dabblet.css
Created November 15, 2012 07:21
Demo by Christian Krammer, @Chris_Krammer, www.css3files.com
/* Demo by Christian Krammer, @Chris_Krammer, www.css3files.com */
/* Official specifications: http://www.w3.org/TR/css3-flexbox/ */
/* New syntax of Flexible box layout module (flexbox) */
.flexbox {
display: flex; /* Further values: inline-flex, then it's an inline element */
flex-direction: row; /* Alignment (in this case from left to right. row = default value). Further values: column (top to bottom), row-reverse (right to left), column-reverse (bottom to top) */
/* flex-flow: row; */ /* Same as flex-direction, but it's a shorthand for both flex-direction und flex-wrap (see .flexbox6) */
height: 100px;
@hawkrives
hawkrives / gist:4963389
Created February 15, 2013 20:42
Secession Vote Tally

While looking through the list of petitions, I found some interesting stuff.

Counts tallied as 'Votes' are as of 6pm on Nov. 13, 2012. All other counts are as of 2:30pm on Feb. 15, 2013.

Recount

There was a petition to recount the election, with a total of 44,449 votes.

Petition Votes Final
[Recount the Votes] 44,449 70,080
@hawkrives
hawkrives / palette.scss
Created March 17, 2013 04:45
The St. Olaf Color Palette
// St. Olaf Color Palette
$sto-color-slate: #9194B6;
$sto-color-purple: #49176D;
$sto-color-navy: #06357a;
$sto-color-sea: #005984;
$sto-color-blue: #4f8abe;
$sto-color-teal: #38939b;
$sto-color-skin: #b88b73;
$sto-color-blood: #820024;
$sto-color-red: #b30838;

In the Beginning was the Command Line

by Neal Stephenson

About twenty years ago Jobs and Wozniak, the founders of Apple, came up with the very strange idea of selling information processing machines for use in the home. The business took off, and its founders made a lot of money and received the credit they deserved for being daring visionaries. But around the same time, Bill Gates and Paul Allen came up with an idea even stranger and more fantastical: selling computer operating systems. This was much weirder than the idea of Jobs and Wozniak. A computer at least had some sort of physical reality to it. It came in a box, you could open it up and plug it in and watch lights blink. An operating system had no tangible incarnation at all. It arrived on a disk, of course, but the disk was, in effect, nothing more than the box that the OS came in. The product itself was a very long string of ones and zeroes that, when properly installed and coddled, gave you the ability to manipulate other very long strings of

This file has been truncated, but you can view the full file.
(?:s(?:(?:u(?:b(?:(?:s(?:t(?:a(?:n(?:t(?:i(?:a(?:l(?:(?:i(?:s(?:m|t)|a|ty|ze)|ly|ness))?|t(?:i(?:on|ve)|e|or)|bility)|v(?:e(?:(?:ly|ness))?|al(?:ly)?|i(?:ty|ze))|fy|ous|ze))?|c(?:e(?:less)?|h)|dard(?:ize)?)|lagmit(?:e|ic)|ge|tion)|r(?:a(?:t(?:o(?:s(?:pher(?:e|ic)|e)|r)|i(?:ve)?|al|e|um)|ct(?:ion)?)|uct(?:(?:ion(?:al)?|ur(?:al|e)))?|iate)|itu(?:t(?:i(?:on(?:a(?:l(?:ly)?|ry))?|ng(?:ly)?|ve(?:ly)?)|e(?:(?:d|r))?|able)|ent)|o(?:r(?:eroom|y)|ck)|yl(?:ar|e)|ernal)|e(?:r(?:v(?:i(?:en(?:t(?:(?:ly|ness))?|c(?:e|y))|ate)|e)|o(?:sa|us)|ies|rate)|c(?:u(?:t(?:e|ive)|rity)|retar(?:ial|y)|t(?:ion)?|ive)|quen(?:t(?:(?:ial(?:ly)?|ly|ness))?|c(?:e|y))|ns(?:u(?:al|ous)|ation|ible)|pt(?:uple)?|mi(?:fusa|tone)|xtuple|wer|t|ssile|gment|a)|i(?:d(?:i(?:ar(?:i(?:e|ly|ness)|y)|z(?:a(?:ble|tion)|e(?:r)?)|ng|st)|e(?:(?:n(?:c(?:e|y)|t)|r))?|y)|st(?:(?:en(?:c(?:e|y)|t(?:ial)?)|ingly))?|l(?:ic(?:ate|ic)|l)|m(?:i(?:lation|ous)|ple)|zar(?:ship)?|nuous)|c(?:ri(?:pt(?:(?:i(?:on(?:ist)?|ve(?:ly)?)|ure))?|b(?:e(?:r(?:ship)?)?|able)|ve(?:r)?)|apu
@hawkrives
hawkrives / cp_for.sh
Created December 2, 2013 22:14
Recursive setup of use desktops
#!/bin/bash
# src="/path/to/folder/that/holds/files/"
src="/System/Library/User Template/English.lproj/Desktop"
# Move to /Users for the duration of the script
cd "/Users"
for user in */; do
# Check if the folder is a directory, and stop a possible error of bash
@hawkrives
hawkrives / theme.html
Last active November 14, 2024 23:41
Next Saturday (Cleaned) [Tumblr Theme]
<!DOCTYPE html>
<!--
Theme by Ian Mintz (ianmintz.com)
Font by Ten by Twenty (http://www.tenbytwenty.com/nevis.php)
-->
<html lang="en-US" dir="ltr">
<head>
@hawkrives
hawkrives / README.md
Last active August 12, 2025 20:01 — forked from JoelBesada/README.md

This is an example command for Backtick. A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.

Here are the required steps to create a command:

  1. Create a new Gist with a command.js and command.json file, or simply fork this one.

  2. Write your JavaScript in command.js. This will be injected into and executed on the page the user is currently on when they run it.

  3. Add some metadata to the command.json file:

  • name: The name of the command.

Keybase proof

I hereby claim:

  • I am hawkrives on github.
  • I am hawkrives (https://keybase.io/hawkrives) on keybase.
  • I have a public key whose fingerprint is 3796 3D9A 25A9 390E 0FCC 4499 02F6 870A FBB3 FAE6

To claim this, I am signing this object:

@hawkrives
hawkrives / newStructure.css
Last active December 22, 2024 17:30
St. Olaf's Moodle Revisited
@-moz-document domain('moodle-2014-15.stolaf.edu') {
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {