- 2 lbs chuck roast, cut into bite-sized cubes
- 1 red onion, diced
- 4 cloves garlic, minced
- 2 jalepeno peppers
- 2 poblano peppers
- 1 can diced tomatoes, drained
- 8 oz Guinness or other dark beer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lbl G | |
ClrHome | |
Disp " J.M.'S DRUGWAR"," SIMULATION",""," VERSION 2.00",""," JUST SAY NO." | |
2000→Z | |
5000→Y | |
0→V | |
100→K | |
1→B | |
2→N | |
0→I |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Fetch new remote branches, prune deleted remote branches | |
git remote update -p | |
# Delete local branches for which the remote branch has been deleated | |
git branch --merged | awk '/^ /' | xargs -I $ git branch -d $ |
jQuery snippet to display a timestamp in local time zone and language
$(function() {
$.each($('.timestamp'), function(i, v) {
ts = $(v)
ts.text((new Date(ts.text())).toLocaleString());
})
});
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Project Euler 13 | |
data = <<~DATA | |
37107287533902102798797998220837590246510135740250 | |
46376937677490009712648124896970078050417018260538 | |
74324986199524741059474233309513058123726617309629 | |
91942213363574161572522430563301811072406154908250 | |
23067588207539346171171980310421047513778063246676 | |
89261670696623633820136378418383684178734361726757 | |
28112879812849979408065481931592621691275889832738 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- show running queries (pre 9.2) | |
SELECT procpid, age(query_start, clock_timestamp()), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(query_start, clock_timestamp()), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Baseball Stars | |
Battletoads | |
Bionic Commando | |
Blaster Master | |
Bubble Bobble | |
Castlevania 2 - Simon's Quest | |
Castlevania III: Dracula's Curse | |
Castlevania | |
Contra | |
Crystalis |
This tutorial will walk you through making your own blog. To build it, we're going to use the Ruby programming language and a web library for it called Sinatra.
Before we start we need to install a couple of tools. Ruby is an "interpreted" programming language, so we'll install a special program called an interpreter that will run your Ruby code. The installer also includes some other tools that help you out when building Ruby programs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I use the "find in project" feature of TextMate a lot. What's a good vim plugin for that? I can fall back on grep on the terminal, but it would be nice to do it in the editor and open files directly from search results. | |
Is there any way to do fuzzy filename matching / completion with the :edit command? | |
How do I get it to handle indentations in Ruby code correctly? (2 spaces soft tabs) | |
NewerOlder