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 -*- | |
import sys | |
import os | |
if __name__ =='__main__': | |
if len(sys.argv) != 2: | |
print 'Filename with files to delete required as input parameter' | |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import os | |
import re | |
#Notification Class | |
class Notification: | |
def __init__( self, observerFile, observer, notificationSelector, notificationName, notificationObject): |
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 -*- | |
"""Routine to "compile" a .py file to a .pyc (or .pyo) file. | |
This module has intimate knowledge of the format of .pyc files. | |
""" | |
import __builtin__ | |
import imp |
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
# This script updates AndroidManifiest.xml file | |
# - Updates android:versionCode adding +1 to the version | |
# Reading arguments | |
if ARGV.length != 1 | |
puts 'File as argument required' | |
exit | |
end | |
# Reading file |
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 ruby | |
# This Script finds all NSLocalizedString in your project and exports them in a new file | |
# Detecting the number of arguments | |
abort("Error: #{ARGV.length} arguments passed / 2 Required") unless ARGV.length == 2 | |
# Printing arguments | |
puts "Project folder: #{ARGV[0]}" | |
puts "Output file: #{ARGV[1]}" |
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 bash | |
rm -rf "${HOME}/Library/Caches/CocoaPods" | |
rm -rf "`pwd`/Pods/" | |
pod update |
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
env: | |
matrix: | |
- ANDROID_SDKS=android-19 ANDROID_TARGET=android-19 ANDROID_ABI=armeabi | |
language: java | |
before_install: | |
- mvn -v | |
# install necessary x32-libs for Android SDK, see http://rkistner.github.io/android/2013/02/05/android-builds-on-travis-ci/ | |
- sudo apt-get update -qq | |
- sudo apt-get install -qq libstdc++6:i386 lib32z1 | |
# download the latest android sdk and unzip |
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
attachments: parent_id, asset_id | |
domain_names: organisation_id | |
event_memberships: user_id, event_id | |
events: editor_id | |
group_actions: user_id, group_id | |
groups: user_id | |
icons: parent_id | |
invitations: sender_id | |
legacy_actions: item_upon_id | |
news_items: author_id |
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
- (void)setFrameSize:(CGSize)size; | |
- (void)setFrameSizeWidth:(CGFloat)width; | |
- (void)setFrameSizeHeight:(CGFloat)height; | |
- (void)setFrameOrigin:(CGPoint)point; | |
- (void)setFrameOriginX:(CGFloat)x; | |
- (void)setFrameOriginY:(CGFloat)y; | |
- (void)centerVerticallyInParentFrame; | |
- (void)centerHorizontallyInParentFrame; | |
- (void)centerInParentFrame; | |
@property (nonatomic, getter=frameBottom,setter=setFrameBottom:) CGFloat frameBottom; |
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
platform :ios, '7.0' | |
inhibit_all_warnings! | |
pod 'AFNetworking', '~> 2.2' | |
pod 'GROAuth2SessionManager', '~> 0.2' |
OlderNewer