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
require 'fileutils' | |
class ScreenshotGenerator | |
attr_accessor :dimensions | |
def initialize(dimensions) | |
@dimensions = dimensions | |
end | |
def generate_screenshots(path, prefix, locales, device_types, colors) |
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/osascript | |
# a applescript app to use Application Loader to send the specified bundle to the first eligible | |
# application in state waiting for upload to use carefully :) | |
# contains a few delays because of VNC incurred delays | |
on run argv | |
set filepath to item 1 of argv | |
activate application "Application Loader" | |
tell application "System Events" |
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
public static IEnumerable<string> GetFiles(string path) { | |
Queue<string> queue = new Queue<string>(); | |
queue.Enqueue(path); | |
while (queue.Count > 0) { | |
path = queue.Dequeue(); | |
foreach (string subDir in Directory.GetDirectories(path)) { | |
queue.Enqueue(subDir); | |
} | |
string[] files = null; | |
files = Directory.GetFiles(path); |
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
require 'spaceship' | |
user = ... | |
password = ... | |
Spaceship.login(user, password) | |
Spaceship::Tunes.login(user, password) | |
all_apps = Spaceship::Tunes::Application.all |
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
dir=tmp | |
rm -r $dir | |
mkdir $dir | |
dpkg -x lexmark-printer-utility-1.0-2.i386.deb $dir | |
dpkg-deb -e lexmark-printer-utility-1.0-2.i386.deb $dir/DEBIAN | |
file=$dir/usr/local/lexmark/printer_utility/etc/lxpsu.desktop | |
sed -e 's/\$JARVIS_VENDOR_SHORT_NAME%%/lexmark/g' $file > $file.1 | |
mv $file.1 $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
var AllTranslations = {}; | |
AllTranslations["en"] = | |
{ | |
"general": | |
{ | |
"label": | |
{ | |
"password":"password", | |
"login":"login", | |
"internet":"internet", |
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
// ==UserScript== | |
// @name Unity3d Perf Filter improvement | |
// @namespace http://wewanttoknow.com/ | |
// @version 0.2 | |
// @description make the filtering function in perf a little bit more useful | |
// @author Jerome Lacoste | |
// @match https://developer.cloud.unity3d.com/gameperf/* | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<project> | |
<actions/> | |
<description></description> | |
<keepDependencies>false</keepDependencies> | |
<properties/> | |
<scm class="hudson.scm.NullSCM"/> | |
<canRoam>true</canRoam> | |
<disabled>false</disabled> | |
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> |
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
module Fastlane | |
class SupportedPlatforms | |
@@previous = Fastlane::SupportedPlatforms.all | |
class << self | |
attr_accessor :extra | |
end | |
@extra = [] | |
def self.all |
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
# taken from http://forum.unity3d.com/threads/84953-Android-Permissions-and-the-Manifest.xml | |
# | |
if [ $# -ne 3 ]; then | |
echo "ERROR Missing argument" | |
echo "Usage: $0 file.apk newmanifest.xml target.apk" | |
exit -1 | |
fi | |
APK=$1 | |
MANIFEST=$2 |