View format_date.swift
//: Playground - noun: a place where people can play
import Foundation
import Cocoa
extension NSDate {
func toS(let format:String) -> String? {
let formatter:NSDateFormatter = NSDateFormatter()
formatter.locale = NSLocale(localeIdentifier: "en_US_POSIX")
formatter.timeZone = NSTimeZone()
View gist:07df65898456ace4307d5bb6cbdc7f51

This is my take on how to get up and running with NGINX, PHP-FPM, MySQL and phpMyAdmin on OSX Yosemite.

This article is adapted from the original by Jonas Friedmann. Who I just discovered is from Würzburg in Germany. A stonesthrow from where I was born ;)

Xcode

Make sure you have the latest version of XCode installed. Available from the Mac App Store.

Install the Xcode Command Line Tools:

xcode-select --install
View sets.json
{"Default":{"name":"Default","sets":{"469eb8921edf75ed3360d5838f9585c0d7a82109":{"name":"Outline","string":"| ~ | (vFl)\n| ~ | (hFl)","id":"469eb8921edf75ed3360d5838f9585c0d7a82109"},"84676cd434499994ef5176c93d970e83079cbc6c":{"name":"Two column grid","string":"| ~ | ~ | (vFl)","id":"84676cd434499994ef5176c93d970e83079cbc6c"},"d521212626e4f9f144821a52dcdaf3e1f6c8cffd":{"name":"Three column grid","string":"| ~ | ~ | ~ | (vFl)","id":"d521212626e4f9f144821a52dcdaf3e1f6c8cffd"},"836d2a54511793c6f2ecdd3447f1c727e3c83925":{"name":"1170px Grid | 1570","string":"$v = | 65px | 15px | 15px |\n$vC = | 65px |\n200px | 15px | 15px | $v*11 | $vC | 15px | 15px | 200px ( vlp, | ~ )","id":"836d2a54511793c6f2ecdd3447f1c727e3c83925"},"8d6acf586750142b4cb4bb4b6f33244211159eb9":{"name":"970px Grids | 1370","string":"$v = | 48px | 15px | 15px |\n$vC = | 48px |\n200px | 17px | 15px | $v*11 | $vC | 15px | 17px | 200px ( vlp, | ~ )","id":"8d6acf586750142b4cb4bb4b6f33244211159eb9"},"544118008c2af25e65d782c499fbe42480cf8915":{"name":"7
View guideguide guides
{"Default":{"name":"Default","sets":{"cbc5507de150aa324c323dea5246f8a7f2dd3618":{"name":"Bootstrap 1170","string":"$v = | 65px | 15px | 15px |\n$vC = | 65px |\n200px | 15px | 15px | $v*11 | $vC | 15px | 15px | 200px ( vlp, | ~ )","id":"cbc5507de150aa324c323dea5246f8a7f2dd3618"},"6a188b701a91b394b3c1608844c33ad416d21f25":{"name":"Bootstrap 970","string":"$v = | 48px | 15px | 15px |\n$vC = | 48px |\n200px | 17px | 15px | $v*11 | $vC | 15px | 17px | 200px ( vlp, | ~ )","id":"6a188b701a91b394b3c1608844c33ad416d21f25"},"fbfee59f64b58b94682597dc8e6cf67ba84a65af":{"name":"Bootstrap 750","string":"$v = | 30px | 15px | 15px |\n$vC = | 30px |\n200px | 15px | 15px | $v*11 | $vC | 15px | 15px | 200px ( vlp, | ~ )","id":"fbfee59f64b58b94682597dc8e6cf67ba84a65af"}}}}
View .tigrc
# vim: set expandtab sw=4 tabstop=4:
# *color* 'area' 'fgcolor' 'bgcolor' '[attributes]'
# general
color default 15 235
color cursor 15 241
color title-focus 242 221
color title-blur 242 221
color delimiter 213 default
color author 156 default
View Contract Killer 3.md

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: October 8th 2015
  • Original post

View fail.txt
38934: URL_REQUEST
https://uat1.shop.loblaw.ca/booking/showTimeSlots?CSRFToken=61cf544d-deac-4b15-be7d-1b1ca0e5757b&pickupLocationId=1004&_=1445622566065
Start Time: 2015-10-23 13:49:30.130
t=41134 [st= 0] +REQUEST_ALIVE [dt=1006]
t=41134 [st= 0] URL_REQUEST_DELEGATE [dt=1]
t=41135 [st= 1] +URL_REQUEST_START_JOB [dt=1005]
--> load_flags = 65792 (MAYBE_USER_GESTURE | VERIFY_EV_CERT)
--> method = "GET"
--> priority = "LOW"
View notes.md

Notes from @wesbos's talk:

Our frontend workflow is changing quickly and for good reasons. Tooling for tooling sake is a waste, but don't overlook the utility of modern dev tooling workflows - these are great, useful tools that are letting us improve our workflows in standards-based, forward-looking ways.

Trend: Frontend developers are moving to using package managers (npm) for client-side code (CSS and JS), much like we have been for managing our build tooling itself. I can attest to this being hugely helpful at Filament Group on client-side code, especially now that so many of our projects are on npm (https://www.npmjs.com/~filamentgroup ).

Yay, another talk that recommends loadCSS for performance. Nice to hear :)

Gulp tasks to use:

View onename verify
Verifying that +johnantoni is my blockchain ID. https://onename.com/johnantoni
View functions.js
// self invoking
(function () {
var x = "Hello!!"; // I will invoke myself
})();
// functions as values
function myFunction(a, b) {
return a * b;
}
var x = myFunction(4, 3);