- 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
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
<?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. |
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
struct Jawn { | |
let value:AnyObject? | |
var string:String? { return self.value as? String } | |
var int:Int? { return self.value as? Int } | |
var double:Double? { return self.value as? Double } | |
var array:[Jawn]? { return (self.value as? NSArray)?.map{Jawn($0)} } | |
var bool:Bool? { return self.value as? Bool } | |
var dictionary:[String:Jawn]? { | |
guard let dictionary = self.value as? NSDictionary else { |
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
struct Jawn { | |
let value:AnyObject? | |
var string:String? { return self.value as? String } | |
var int:Int? { return self.value as? Int } | |
var double:Double? { return self.value as? Double } | |
var array:[Jawn]? { return (self.value as? NSArray)?.map{Jawn($0)} } | |
var bool:Bool? { return self.value as? Bool } | |
var dictionary:[String:Jawn]? { | |
guard let dictionary = self.value as? NSDictionary else { |
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
{ | |
"repositories": [{ | |
"type": "composer", | |
"url": "https://packagist.org" | |
}] | |
} |
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
Here is what you need to do to register your app for a custom URL scheme (for the example we will use a "myapp" scheme). | |
1) In your Info.plist, add a new entry for CFBundleURLTypes: | |
<key>CFBundleURLTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleURLName</key> | |
<string>MyApp's URL</string> | |
<key>CFBundleURLSchemes</key> |
NewerOlder