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:
| #import <AFNetworking.h> | |
| @interface UIImageView (AFNetworkingFadeInAdditions) | |
| - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholderImage fadeInWithDuration:(CGFloat)duration; | |
| @end |
| // XCode 4.2.1 | |
| @implementation NSString(EmojiExtension) | |
| - (NSString*)removeEmoji { | |
| __block NSMutableString* temp = [NSMutableString string]; | |
| [self enumerateSubstringsInRange: NSMakeRange(0, [self length]) options:NSStringEnumerationByComposedCharacterSequences usingBlock: | |
| ^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop){ |
| <?php | |
| /** | |
| * Bcrypt hashing class | |
| * | |
| * @author Thiago Belem <[email protected]> | |
| * @link https://gist.github.com/3438461 | |
| */ | |
| class Bcrypt { |
| // | |
| // InAppPurchaseManager.m | |
| // | |
| // Created by Jiří Třečák. | |
| // | |
| #import <Foundation/Foundation.h> | |
| #import <StoreKit/StoreKit.h> | |
| // Add a couple notifications sent out when the transaction completes |
| <?php | |
| namespace Silex\Provider; | |
| use Silex\Application; | |
| use Silex\SilexEvents; | |
| use Silex\ControllerProviderInterface; | |
| use Silex\ControllerCollection; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\HttpFoundation\Response; | |
| use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
| /* | |
| Distributed under The MIT License: | |
| http://opensource.org/licenses/mit-license.php | |
| Permission is hereby granted, free of charge, to any person obtaining | |
| a copy of this software and associated documentation files (the | |
| "Software"), to deal in the Software without restriction, including | |
| without limitation the rights to use, copy, modify, merge, publish, | |
| distribute, sublicense, and/or sell copies of the Software, and to |
| server { | |
| listen 80; | |
| server_name server.mydomain.net | |
| root /var/www/app/web; | |
| index index.php; | |
| location ~ \.php$ { | |
| fastcgi_pass 127.0.0.1:9000; | |
| fastcgi_index index.php; | |
| include fastcgi_params; |
| <?php | |
| namespace Diveshare\DiveshareBundle\Templating; | |
| /** | |
| * Additional helpful methods that is needed in templates. | |
| * | |
| * @package DiveshareBundle | |
| */ | |
| class GlobalVariables extends \Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |