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
#import "UITextField+RACKeyboardSupport.h" | |
#import <ReactiveCocoa/RACEXTScope.h> | |
#import <ReactiveCocoa/NSObject+RACDescription.h> | |
@implementation UITextField (RACKeyboardSupport) | |
- (RACSignal *)rac_keyboardReturnSignal { | |
@weakify(self); | |
return [[[[RACSignal | |
defer:^{ |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Localize.py - Incremental localization on XCode projects | |
# João Moreno 2009 | |
# http://joaomoreno.com/ | |
# Modified by Steve Streeting 2010 http://www.stevestreeting.com | |
# Changes | |
# - Use .strings files encoded as UTF-8 |
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
@registerTask 'generateRandomLengthFile', () -> | |
# Generate random length file | |
var myRandomLengthString = 'todo' | |
# Write the file | |
scssfile = grunt.file.write("my-includes-folder/includes.html", myRandomLengthString) |
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
on list2string(theList, theDelimiter) | |
-- First, we store in a variable the current delimiter to restore it later | |
set theBackup to AppleScript's text item delimiters | |
-- Set the new delimiter | |
set AppleScript's text item delimiters to theDelimiter | |
-- Perform the conversion | |
set theString to theList as string |
OlderNewer