I hereby claim:
- I am keith on github.
- I am smileykeith (https://keybase.io/smileykeith) on keybase.
- I have a public key whose fingerprint is AC20 B263 327E 9C9A A61A 55A1 33BA 60D4 4C71 67F8
To claim this, I am signing this object:
| /// | |
| /// This code crashes with Swift 3.0 with optimizations enabled | |
| /// Run with: | |
| /// $ swift -O optimizationCrash.swift | |
| /// | |
| extension Dictionary { | |
| // init(pairs: [(Key, Value)]?) { // With `(Key, Value)` this doesn't crash | |
| init(pairs: [Element]?) { // With `Element` this crashes with -0 | |
| self.init() | |
| } |
| sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5309d\) | |
| /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| # | |
| # Usage: medium-draft TOKEN FILENAME | |
| # Where TOKEN is a medium integration token and FILENAME is the path to the | |
| # markdown file you'd like to post | |
| # | |
| # Get your token from https://medium.com/me/settings (integration tokens section) | |
| # | |
| # This requires httparty and redcarpet | |
| # Install with: |
| function! s:BuffersList() | |
| let buffers = range(0, bufnr('$')) | |
| let searchBuffers = [] | |
| for buffer in buffers | |
| if buflisted(buffer) && index(searchBuffers, bufname(buffer)) < 0 | |
| call add(searchBuffers, bufname(buffer)) | |
| endif | |
| endfor | |
| return searchBuffers | |
| endfunction |
| #!/bin/sh | |
| exec vim --startuptime ~/.cache/vim/"$(date -j -f "%a %b %d %T %Z %Y" "$(date)" "+%s")".log "$@" |
| #!/bin/bash | |
| set -e | |
| mail=~/.mail | |
| maildirs=($mail/*) | |
| inbox=INBOX | |
| folders=(new cur) | |
| archive="archive/cur" | |
| trash="trash/cur" |
| import UIKit | |
| extension UIView { | |
| public override var accessibilityLabel: String? { | |
| get { | |
| return "Hi \(super.accessibilityLabel)" | |
| } | |
| set { | |
| super.accessibilityLabel = newValue | |
| } |
| extension NSEvent { | |
| func eventByChangingKeyToKey(key: Int) -> NSEvent? { | |
| var char = unichar(key) | |
| let characterString = NSString(characters: &char, length: 1) | |
| return NSEvent.keyEventWithType(type, | |
| location: locationInWindow, | |
| modifierFlags: modifierFlags, | |
| timestamp: timestamp, | |
| windowNumber: windowNumber, |
Shut down the machine and insert a USB drive with the Ubuntu 10.04 64 bit installation disk.
(Re)Boot the machine and press F12 (on Dell Optiplex 960) during the BIOS loading
Choose USB drive from the list of boot devices.
Once Ubuntu starts up choose 'Install Ubuntu 10.04 LTS' (Desktop LTS ending April 2013)
Choose your timezone and keyboard layout