Skip to content

Instantly share code, notes, and snippets.

View benlk's full-sized avatar
🏡
Working from home

Ben Keith benlk

🏡
Working from home
View GitHub Profile
@benlk
benlk / recipe.md
Last active August 29, 2015 14:22
Bacon pancake recipe
  1. Make a batch of thicker pancake batter. If your pancakes are normally a quarter of an inch thick, you're good. if they're thinner, use less milk or water.
  2. Cut your normal-length bacon strips into half-length strips.
  3. Cook the bacon until it is done but soft. Drain the griddle.
  4. Put two strips side-by-side.
  5. Pour the batter over the bacon, right in the bacon grease.
  6. Flip the pancakes as usual.
  7. Serve with a spoonful of butter, or with syrup.

If you're feeling adventurous, use chocolate chips in the batter.

@benlk
benlk / signs.md
Last active August 29, 2015 14:24
How much would it cost to put "Walk Left | Stand Right" signs in the DC Metro
Cost of signs x number of signs

Cost of signs

According to this site, figure $20 per square foot.

How large should the "Walk Left | Stand Right" sign be? Let's say four feet wide and one foot tall. 4 sq. ft per sign.

$80 per sign, plus mounting brackets, so let's call it an even $100 per sign.

Do you:

  • open 1Password.html on Dropbox.com to access your shared passwords?
  • receive a 403 error about being unable to load data/default/encryption-keys.js?
  • have your Dropbox folder on your machine, say at ~/Dropbox?
  • have Python installed?

Here's how to get access to your passwords:

  1. Open a terminal
@benlk
benlk / .sh
Last active August 29, 2015 14:28
# From https://twitter.com/addyosmani/status/633405466094120960
!! # run the last command executed
sudo !! # run the last command, but as root
!<word> # run the last command that started with the word
!<word>:p # List, but don't run that last command. :p is like "print"
<space>command # execute a command without saving it in history
echo "ls -l" | at midnight # execute command at a given time. `man at` has come really nice examples.
ls -lhS # sort files by sizes in directory
top -o vsize # why is your computer slow
@benlk
benlk / caches.txt
Last active September 15, 2015 19:14
A list of things we do to caches
break
bust
clear
dump
flip
invalidate
kick
purge
trash
@benlk
benlk / gist:3494788
Created August 28, 2012 03:48
Linux Dualboot installation instructions with existing Windows partition
  1. Boot into Windows.

  2. Using Windows' partition tool Disk Management, resize the Windows partition to create a blank area as large as you desire.

  3. Insert your Linux install media.

  4. Reboot into your Linux install media.

  5. Do the Linux partitioning from your Linux install media.

@benlk
benlk / 0-deprecated.md
Last active October 23, 2015 22:34
Updating largo-umbrella with a new commit

Check out inn/docs, folder projects/largo

This gist is out of date.

<div class="pq-pA a-E-Pc Aq" role="log" aria-live="polite">
<hr class="Kc-Nd">
<div class=" Fm Eq Kc-we" data-from="undefined">
<div class="Kc-Oc">
<div class="Kc-Ca Fm">David Ryan joined group chat.</div>
</div>
</div>
<hr class="Kc-Nd">
<div class=" Fm Eq Kc-we" data-from="undefined">
<div class="Kc-Oc">

Wednesday:

  • shopping (see Google Keep)
  • Make cookies
  • ask Brian how early I can show up tomorrow to do cooking
  • what time is dinner?

Thursday

  • pack car, see Google Keep
@benlk
benlk / summary.md
Last active December 11, 2015 14:39
OSU OSC Hackathon details

what

Hackathon

when

Feb 23, 1-5 p.m.

where

Ohio Union Interfaith/Prayer Room, 3rd floor

how much

$5 registration fee

who

Open to students and non-students