Skip to content

Instantly share code, notes, and snippets.

@duggi
duggi / ascii-art
Last active February 20, 2018 15:44
ascii art
______________________________________
________| |_______
\ | Big Bad Goose | /
\ | | /
/ |______________________________________| \
/________\| |/_______\
______________________________________
________| |_______
|\ | Big Bad Goose | /|
@duggi
duggi / Spot the Hijack
Last active February 15, 2018 14:56 — forked from tiffanygwilson/Spot the Hijack
Spot the Hijack
(* Script to record and tag spotify tracks, by Lloyd Moore *)
(* Modified by Tiffany G. Wilson to resolve audio splitting issues, automate starting/stopping, and add recording customization *)
(* Modified by github.com/duggi on 7/18/2014 -- replace slash with dashin new filename to prevent directory write errors *)
(* Snippets for controlling Spotify are from Johnny B on tumblr (http://johnnyb.tumblr.com/post/25716608379/spotify-offline-playlist) *)
(* The idea of using delayed tagging/filename updating is from a guest user on pastebin (http://pastebin.com/rHqY0qg9) *)
(* The only thing to change in the script is the output format; you must change the file extension and the recording format to match *)
(* Run this script once a song you want to record is queued (stopped at beginning) or playing *)
(* Running the script will initiate hijacking, recording and audio playback *)
(* To stop script, pause Spotify or wait for album/playlist to end*)
(* To set id3 tags, use application Kid3 (http://sourceforge.net/pr
@duggi
duggi / project_names.md
Last active January 2, 2016 11:38
Project Names
  • acorn
  • keel
  • timbers
  • roux
  • veloute
  • shred

----- DOMAINS

@duggi
duggi / bigbadgoose-public-inventions.md
Last active December 19, 2015 03:39
Big Bad Goose LLC Public Ideas and Inventions

THINGS WE WOULD LOVE TO MAKE OR ARE ACTIVELY WORKING ON

BIG BAD GOOSE LLC / 2013

  1. markdown rich text widget

    • create a textarea that accepts markdown, with preview
    • that markdown will be converted to html
    • implement by including a single javascript and instrumenting html elements
  2. landing page generator

@duggi
duggi / rails-start.md
Created September 14, 2012 08:06
rails starter

the basic steps to running a rails app


  1. git clone rails app
  2. rvm it to correct ruby/rails
  3. setup config/database.yml
  4. bundle install
  5. rake db:create
  6. rake db:migrate
@duggi
duggi / gist:936070
Created April 22, 2011 05:12
api doc test

lets go ahead and use markdown in github wiki pages for now

the only elements we should need are:

  • h1, h2, h3
  • blockquote
  • p
  • pre
  • code
  • ul/ol
-- Groupit Programming Test --
Given the data structure below, run through it and print
the name property of each member as a tree. Paste the code
at the bottom of this test, in the “Solution” section.
Note this data is presented as a javascript hash; feel free
to use the language of your liking, porting the data structure
as necessary. Spend up to an hour on the problem.
@duggi
duggi / 0_reuse_code.js
Last active September 9, 2015 14:29
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
# CSS Utility Classes
## DESCRIPTION
* used as 'base' classes to graft on some basic behaviour that we want
* normally the first value of the class attribute on an html element
## THE LIST CLASSES
* i use these the most, as other util classes have fallen away as mere html emulation classes
@duggi
duggi / trello-css-guide.md
Last active August 29, 2015 14:26 — forked from bobbygrace/trello-css-guide.md
Trello CSS Guide

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?

This is where any fun you might have been having ends. Now it’s time to get serious and talk about rules.

Writing CSS is hard. Even if you know all the intricacies of position and float and overflow and z-index, it’s easy to end up with spaghetti code where you need inline styles, !important rules, unused cruft, and general confusion. This guide provides some architecture for writing CSS so it stays clean and ma