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:
This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:
*nix based command prompt (but not the default Windows Command Prompt!)cd ~/.ssh. This will take you to the root directory for Git (Likely C:\Users\[YOUR-USER-NAME]\.ssh\ on Windows).ssh folder, there should be these two files: id_rsa and id_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Type ls to see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be named id_rsa and id_rsa.pub in order for Git, GitHub, and BitBucket to recognize them by default.ssh-keygen -t rsa -C "[email protected]". Th| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| // | |
| // UIView+GetColor.swift | |
| // SwiftPick | |
| // | |
| // Created by Maciej Banasiewicz, Michał Apanowicz on 06/07/14. | |
| // | |
| // | |
| import UIKit |
| /// See | |
| /// https://github.com/rodionovd/SWRoute/wiki/Function-hooking-in-Swift | |
| /// https://github.com/rodionovd/SWRoute/blob/master/SWRoute/rd_get_func_impl.c | |
| /// to find why this works | |
| func peekFunc<A,R>(f:A->R)->(fp:Int, ctx:Int) { | |
| let (hi, lo):(Int, Int) = reinterpretCast(f) | |
| let offset = sizeof(Int) == 8 ? 16 : 12 | |
| let ptr = UnsafePointer<Int>(lo+offset) | |
| return (ptr.memory, ptr.successor().memory) | |
| } |
| 1. Open Terminal, then goto this folder: cd ~/Library/Developer/Xcode/Archives | |
| 2. Perform delete all folders and files: rm -rf * | |
| You may need root permission to perform delete. |
| USAGE = \ | |
| """ | |
| Searches an XCode project to determine which image | |
| assets aren't being used then removes them. | |
| WARNING: This will delete things permanently if your | |
| project is not under source control. | |
| """ | |
| import os |
| func factorial(a: Int) -> Int { | |
| let n = a | |
| if(n == 1){ | |
| return 1 | |
| }else{ | |
| return n*factorial(n-1) | |
| } | |
| } | |
| factorial(5) |
| // | |
| // MakeTransparentHoleOnOverlayView.swift | |
| // | |
| // Created by James Laurenstin on 2015-04-10. | |
| // Copyright (c) 2015 Aldo Group Inc. All rights reserved. | |
| // | |
| import UIKit | |
| class MakeTransparentHoleOnOverlayView: UIView { |
| // | |
| // RBResizer.swift | |
| // Locker | |
| // | |
| // Created by Hampton Catlin on 6/20/14. | |
| // Copyright (c) 2014 rarebit. All rights reserved. | |
| // Updated by Justin Winter on 11/29/15. | |
| // | |
| extension UIImage { |