Skip to content

Instantly share code, notes, and snippets.

@squarism
squarism / wtchrspec
Created August 24, 2013 17:09
Wtchr for Rspec
#!/usr/bin/env bash
# wtchrspec shell script - @squarism
# INSTALL
# gem install watchr
# cp wtchrspec ~/bin
# chmod u+x ~/bin/wtchrspec
# Run with: wtchrspec foo.rb
# The test and class need to be in the same file.
@squarism
squarism / be_positive_on_twitter.txt
Created September 6, 2013 15:55
Be Positive On Twitter. Ruby Rogues #112 - Community Hacks http://rubyrogues.com/112-rr-community-hacks/
KATRINA: When Avdi suggested the episode, I started thinking a lot about who in
the community do I really respect and why. And the ‘why’ being important, like,
what can I do to be more like them. And a few of the things — I’m not even sure
if I should mention names or call people out. One of the things that someone I
respect deeply does is that they very positive on Twitter. Like, they do not
complain on Twitter as sort of an action that they do.
DAVID: I think you should call them out for that because that person is
awesome.
@squarism
squarism / spanish_words_study.txt
Last active December 18, 2021 10:44
Spanish words I need to learn. Non-exhaustive.
Nouns
-----------------------------------------------------------------------------------
nube cloud horno oven
rasuradora razor sábana sheet
sartén pan cuna cradle
tenedor fork
estación season/station rato instant/bit/time/while
pulgada inch (emparedado de ocho pulgadas)
patio delantero frontyard patio trasero backyard
pasa raisin (confusing!) arroyo stream (river)
@squarism
squarism / colberto_reporto_gigante
Last active December 29, 2015 07:19
The Colberto Report bit on Colbert.
For more on this situation, way south of the border joining me now
is my Latin American colleague Esteban Colberto.
Hola Steven, y bienvenidos a Colberto Reporto Gigante!
Esteban, thank you for joining us.
Chicas! Chicas! Business.
What can you tell us about the situation in Brazil.
@squarism
squarism / required_libs.txt
Last active August 29, 2015 13:56
Libraries Needed for any Language
I'm making this list specifically for any language but I have golang in mind.
Persistence Clients
- mysql
- postgres
- redis
- memcache
- mongodb
- elasticsearch
- solr
// imma go newb.
package main
import "fmt"
type User struct {
email string
enabled bool
}
@squarism
squarism / massive_brew.sh
Last active August 29, 2015 13:56
Massive Brew Install
# homebrew got all wonky
# here's my dev env
$ brew install autojump bazaar boost curl ctags elixir elasticsearch \
erlang git haskell-platform jq lame libpng libxml2 libxslt lua mariadb \
memcached mongodb netcat nginx nmap node phantomjs postgresql pstree python3 \
rabbitmq readline redis rethinkdb riak scala siege sqlite tmux tree v8 watch wget yajl
# rvm will install things too if you do `rvm requirements`
@squarism
squarism / pmap.rb
Last active August 29, 2015 14:00
ruby pmap
# Ruby pmap, like Scala's pmap method.
# ------------------------------------
# modified from t-a-w.blogspot.com
require 'thread'
module Enumerable
def pmap(n)
todo = Queue.new
@squarism
squarism / korean.txt
Last active June 1, 2017 18:06
korean
My feeble attempt at an Asian language
----------------------------------------------------------------------------
I love Korean so far.
The script is so logical and sane compared to almost anything.
----------------------------------------------------------------------------
안녕하세요! - format hello
안녕히 계세요 - formal goodbye when YOU are the one leaving (older)
@squarism
squarism / machine_languages_touched.md
Last active September 15, 2023 16:26
Machine Languages Touched

update this


"There are hundreds of different computer languages. Most experienced programmers know a dozen or so." source


WTF!? A dozen? Know? What does know mean? I don't KNOW English. Do you know what "erinaceous" means? (of, preterning to or resembling a hedgehog) I don't KNOW twelve machine languages.