Skip to content

Instantly share code, notes, and snippets.

Potage Parmentier

  • 3 Tbsp. butter
  • 3 C. thinly sliced leeks
  • 3 cloves of garlic, minced
  • 2 Tbsp. flour
  • 2 C. potatoes, peeled and diced (I use those small red ones and leave the skin on a couple)
  • 1 C. white beans
  • 4 C. vegetable stock (one of those boxes; you know the ones)
  • 1/2 C. light cream
@Wilto
Wilto / mornay-mac.md
Last active February 19, 2016 07:36
Macaroni and Weird Mornay Sauce

Macaroni and Sauce Mornay (kinda)

  • A box of shells
  • 6 Tbsp. butter
  • 1 C. unseasoned breadcrumbs
  • 1/4 C. all-purpose flour
  • 1/8 C. minced leeks
  • 2 C. milk
@Wilto
Wilto / shoyu.md
Last active February 8, 2016 17:26
The shoyu ramen recipe I’ve been tinkering with.

Shoyu Ramen

The Broth

  • 1/4 C. Shoyu soy sauce
  • 32 oz. chicken stock
  • Half a bigass leek
  • About a thumb’s worth of ginger, slivered
@Wilto
Wilto / gist:5598218
Created May 17, 2013 10:10
Grunticon.
module.exports = function(grunt) {
// Grunticon
grunt.loadNpmTasks('grunt-grunticon');
// Project configuration.
grunt.initConfig({
[ … ]
grunticon: {
options: {
src: "_tmpl/_css/_img-source/global/",
@Wilto
Wilto / gist:5239409
Last active December 15, 2015 09:38

I talked it over with the BDConf folks, and we’ve put aside one pass to Breaking Development Orlando for someone that needs it.

I didn’t have the easiest time when I was just starting out in this gig, and I sure as hell couldn’t afford to go to any conferences. The only way I ended up in a job with an honest-to-God desk is through tons of help from the people I met along the way. So, fair’s fair, yeah? If you’re in a place where you can’t swing the cost of the ticket, let me know what the deal is and we’ll try to figure something out.

BDConf is a great show. Come learn a few things, meet some people, and land yourself a gig. Buy me a beer there; we’ll call it even.

I’m mat@matmarquis.com.

@Wilto
Wilto / gist:4494171
Created January 9, 2013 15:47
My Irssi settings.
servers = (
{ address = "eu.irc6.net"; chatnet = "IRCnet"; port = "6667"; },
{ address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
{ address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; },
{
address = "irc.undernet.org";
chatnet = "Undernet";
port = "6667";
},
{ address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
@Wilto
Wilto / 3d-test.js
Last active December 10, 2015 14:28
Workin’ on the jQM test for 3D transforms.
function transform3dTest() {
var fakeBody,
doc = document,
de = doc.documentElement,
bodEl = doc.body || (function() {
fakeBody = true;
return de.insertBefore( doc.createElement( "body" ), de.firstElementChild || de.firstChild );
}()),
el = doc.createElement( "div" ),
transforms = {

First, double-tap the more info button. Second, turn VoiceOver off, and then tap the screen one time. (You can do this anywhere, as long as you tap the screen once.) Third, turn VoiceOver on and tap the upper right side of the phone near the earpiece--my friend says that it is "the top right corner." VoiceOver should indicate that you tapped the action button, which at that point should work for you. When you double tap the action button, tap once on the screen--regretably, flicking does not work. After you tap once, you should hear VoiceOver announce one of the options specific to the action screen. When one of these options is announced, simply flick left and right to move through each one.

http://www.applevis.com/applevis-forum/ios-ios-app-discussion/saving-photos-text-messages

This is the process for interacting with an image inside a text message in VoiceOver, thanks to a particularly nasty iOS 6 bug. The bug leaves you on a “blank” screen, after tapping into the image. No “back” button read aloud—n

@Wilto
Wilto / ios-selectzoom.js
Created October 30, 2012 21:05
Prevents zoom when interacting with `select`/text inputs on iOS, from jQM. Tested in iOS 6 and below.
(function( $ ) {
var meta = $( "meta[name=viewport]" ),
initialContent = meta.attr( "content" ),
disabledZoom = initialContent + ",maximum-scale=1, user-scalable=no",
enabledZoom = initialContent + ",maximum-scale=10, user-scalable=yes",
disabledInitially = /(user-scalable[\s]*=[\s]*no)|(maximum-scale[\s]*=[\s]*1)[$,\s]/.test( initialContent );
$.zoom = {
enabled: !disabledInitially,
locked: false,
@Wilto
Wilto / randos.php
Created August 14, 2012 15:08
Nothin’ to see here.
<?php
$stack = array( "user1", "user2", "user3", "user4", "user5", "user6" );
$output = array();
shuffle( $stack );
for ($i = 0; $i <= 2; $i++) {
$output[] = array_pop( $stack );
}
print( "<pre>" );