This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
# In the root directory of a project, the Git working copy must be clean: | |
echo "a" | react-native upgrade # Generate the current version template and overwrite all files | |
git add . | |
git commit -m "Old version" # The current version template is added to the index | |
npm i react-native@latest --save # Install the new version of React Native | |
echo "a" | react-native upgrade # Generate the new version template and overwrite all files |
#!/usr/bin/env perl | |
# | |
# http://daringfireball.net/2007/03/javascript_bookmarklet_builder | |
use strict; | |
use warnings; | |
use URI::Escape qw(uri_escape_utf8); | |
use open IO => ":utf8", # UTF8 by default | |
":std"; # Apply to STDIN/STDOUT/STDERR |
/*! | |
* Parse JavaScript SDK | |
* Version: 1.0.8 | |
* Built: Mon Jul 09 2012 15:57:07 | |
* http://parse.com | |
* | |
* Copyright 2012 Parse, Inc. | |
* The Parse JavaScript SDK is freely distributable under the MIT license. | |
* | |
* Includes: Underscore.js |
Parse.setApplicationId("12345", clientKey:"56789") | |
testObject = PFObject.objectWithClassName("TestObject") | |
testObject.setObject("bar", forKey:"foo") | |
testObject.save |
#import <Foundation/Foundation.h> | |
@interface NSURL (Pieces) | |
-(NSDictionary *)piecesDictionary; | |
@end |
Most of these guidelines are to match Apple's documentation and community-accepted best practices. Some are derived some personal preference. This document aims to set a standard way of doing things so everyone can do things the same way. If there is something you are not particularly fond of, it is encouraged to do it anyway to be consistent with everyone else.
This document is mainly targeted toward iOS development, but definitely applies to Mac as well.
NSString *foo = @"bar";
import csv | |
import simplegeo | |
OAUTH_TOKEN = '[insert_oauth_token_here]' | |
OAUTH_SECRET = '[insert_oauth_secret_here]' | |
CSV_FILE = '[insert_csv_file_here]' | |
LAYER = '[insert_layer_name_here]' | |
client = simplegeo.Client(OAUTH_TOKEN, OAUTH_SECRET) |