- Insert SD card to mac
- In disk utility, or from command line, unmount the SD card disk
- Format the disk as FAT
- Install
ddrescue
, a better version ofdd
:brew install ddrescue
- Locate the raw disk that is used for the SD card, on my laptop, it's
/dev/rdisk2
- Write your boot image to the SD card:
sudo ddrescue -v --force boot-image-of-choice.img /dev/rdisk2
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
/* | |
http://www.JSON.org/json2.js | |
2010-08-25 | |
Public Domain. | |
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
See http://www.JSON.org/js.html |
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
<?php | |
return [ | |
'username' => env('<YOUR_POSTMARK_SERVER_TOKEN>'), | |
'password' => env('<YOUR_POSTMARK_SERVER_TOKEN>'), | |
'host' => env('MAIL_HOST', 'smtp.postmarkapp.com'), | |
// Optionally, set "smtp" to "log" if you want to trap emails during testing. |
I hereby claim:
- I am atheken on github.
- I am atheken (https://keybase.io/atheken) on keybase.
- I have a public key ASAbplGO49Zmf-sLUTuHRka7bw0ZPbLZZJeKVZQbPd0RNgo
To claim this, I am signing this object:
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
git config --global alias.up '! git branch -u origin/$(git symbolic-ref --short HEAD)' |
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
<?php | |
// You should have already installed wildbit/postmark-php via Composer. | |
// This script should be run from the root directory where the 'vendor' | |
// folder is created by Composer. | |
require_once('./vendor/autoload.php'); | |
use Postmark\PostmarkClient; | |
use Postmark\Models\PostmarkException; | |
try{ |
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
using Mono.Cecil; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Xml.Serialization; | |
namespace CecilTest |
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 is required in order to properly escape | |
// jade interpolation | |
jade = { | |
escape: function(html){ | |
return String(html) | |
.replace(/&/g, '&') | |
.replace(/</g, '<') | |
.replace(/>/g, '>') | |
.replace(/"/g, '"'); | |
} |
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
var proc = null; | |
grunt.registerTask('supervisor', function(){ | |
if(!proc){ | |
proc = grunt.util.spawn(this.options()); | |
} | |
}); | |
grunt.initConfig({ | |
supervisor : { |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using MonoTouch.UIKit; | |
namespace Async.iOS | |
{ | |
public static class Layout | |
{ |
NewerOlder