Skip to content

Instantly share code, notes, and snippets.

View carols10cents's full-sized avatar

Carol (Nichols || Goulding) carols10cents

View GitHub Profile
@carols10cents
carols10cents / .bashrc
Created April 17, 2014 22:48
Test command with tab completion
# Add this to your .bashrc:
source ~/.test_completion.sh
@carols10cents
carols10cents / gist:d7bf8697b25ed456d58c
Last active August 29, 2015 14:01
capital cities safe and sound
Capital Cities: Safe and Sound
HH:|----------------|
T:|--------ooo-----|
S:|----------------|
B:|------------o---|
HH:|--x---x---x---x-|--x---x---x---x-|--x---x---x---x-|--x---x---x---x-|
S:|----o-------o---|----o-------o---|----o-------o---|----o-----o-o---|
B:|o-------o-------|o-------o-------|o-------o-------|o-------o-------|

The targets seem to work as I would expect:

$ make check-stage2-cfail
cfg: build triple x86_64-apple-darwin
cfg: host triples x86_64-apple-darwin
cfg: target triples x86_64-apple-darwin
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-apple-darwin is x86_64
cfg: os for x86_64-apple-darwin is apple-darwin
@carols10cents
carols10cents / allowed-by-apple.html
Last active August 29, 2015 14:03
Apple content filters
<html>
<body>
p parallelogr p
</body>
</html>
@carols10cents
carols10cents / gist:ea6e6d492c72df325dc1
Last active August 29, 2015 14:05
http://rstat.us is dead. Long live rstat.us?

http://rstat.us is dead. Long live rstat.us?

Hey everyone,

As you may have noticed, I have been a Bad Open Source Maintainer and I have not been doing even the minimum amount of maintenance on either the codebase or the main node living at http://rstat.us.

Wilkie has been poking around the code lately, and I'm encouraged because he's got his own node running.

Which brings me to the point of this email-- growing http://rstat.us was never the dream of this project, the dream was to have everyone owning and operating their own nodes that would talk to each other.

@carols10cents
carols10cents / gist:6db96f8c848432460a63
Last active August 29, 2015 14:05
Heroku ruby + node buildpack issues

TL;DR Solution

I got it to work! The solution was setting GEM_HOME in the node buildpack to the directory the ruby buildpack installed the gems into, then adding that dir's bin and the ruby executable location to the PATH:

export GEM_HOME=$build_dir/vendor/bundle/ruby/2.0.0/
PATH=$GEM_HOME/bin:$build_dir/vendor/bundle/bin:$build_dir/vendor/ruby-2.0.0/bin:$PATH
@carols10cents
carols10cents / links.md
Created October 21, 2014 13:45
Talks featured in 10 years of Ruby Conferences: A Dramatic Revue by <3 Jeremy! Flores, Carol (Nichols || Goulding), and Brenna Flood
@carols10cents
carols10cents / workshop-ideas.md
Last active August 29, 2015 14:08
Workshop ideas

What makes a good (rust) workshop?

  • Make something real-ish, nontrivial
  • Demonstrate testing
  • Demonstrate a data structure
  • Demonstrate SOLID principles
  • Clear steps
  • Little victories - small rewards to keep you going
  • Pick a good scope
------------_---------_--------_-----------
/ \ \ \ \
| \ \ \ \
|______________________________________________|
/ ~~ . x ~~~ / % * ~ ~~ \ x . ~~ ~ / % x ~ * ~~ .\
/-\_/-\_/-\_/-\_/-\_/-\_/-\_/-\_/-\_/-\_/-\_/-\_/-\
------------------------------------------------
|______________________________________________|
@carols10cents
carols10cents / gist:659e19f6dd7b9bb90f74
Created November 15, 2014 17:01
output of virtualenv command
$ virtualenv --no-site-packages --verbose env
Creating env/lib/python2.7
Symlinking Python bootstrap modules
Symlinking env/lib/python2.7/config
Symlinking env/lib/python2.7/lib-dynload
Symlinking env/lib/python2.7/os.py
Ignoring built-in bootstrap module: posix
Symlinking env/lib/python2.7/posixpath.py
Cannot import bootstrap module: nt
Symlinking env/lib/python2.7/ntpath.py