This file contains hidden or 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/perl | |
$file = $ARGV[0]; | |
$skip = $ARGV[1]; | |
$prefix = $ARGV[2]; | |
if (!$file or not -f $file) { | |
print "Usage: ./csv2deviceids.pl filename.csv [skip first n lines] [prefix]\n"; | |
exit; | |
} |
This file contains hidden or 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
class Bla { | |
class A { | |
A() { | |
c(); | |
} | |
void c() { | |
System.out.println("in A.c"); | |
} |
This file contains hidden or 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/perl | |
use strict; | |
use warnings; | |
my $cmd = $ARGV[0]; | |
if (scalar(@ARGV) < 2 or ($cmd ne "c" and $cmd ne "i" and $cmd ne "r")) { | |
print "Usage: lddcollect [cir] [binary/tgz/dir] [extra]\n\n"; | |
print "Lddcollect is a small tool which packs up and installs binaries, libraries and related files.\n"; |
This file contains hidden or 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
eu = ["at", "be", "bg", "cy", "cz", "de", "dk", "ee", "es", "fi", "fr", "gr", "hu", "ie", "cr", "it", "lt", "lu", "mc", "lv", "mt", "nl", "pl", "pt", "ro", "se", "si", "sk", "uk", "gb"] |
This file contains hidden or 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 class TransitioningDelegate : UIViewControllerTransitioningDelegate | |
{ | |
public override IUIViewControllerAnimatedTransitioning PresentingController (UIViewController presented, UIViewController presenting, UIViewController source) | |
{ | |
return new ModalSlideUpAnimator (); | |
} | |
public override IUIViewControllerAnimatedTransitioning GetAnimationControllerForDismissedController (UIViewController dismissed) | |
{ |
This file contains hidden or 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
LIST OFF | |
; *** E . T. T H E E X T R A - T E R R E S T R I A L *** | |
; Copyright 1982 Atari, Inc. | |
; Designer: Howard Scott Warshaw | |
; Artist: Jerome Domurat | |
; Analyzed, labeled and commented | |
; by Dennis Debro | |
; Last Update: July 18, 2006 | |
; |
This file contains hidden or 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 void Log(string message, params object[] ps) | |
{ | |
message = string.Format (message, ps); | |
var StackTrace = new System.Diagnostics.StackTrace(true); | |
var StackFrame = StackTrace.GetFrame(1); | |
string FileName = StackFrame.GetFileName(); | |
string LineNumber = StackFrame.GetFileLineNumber().ToString(); | |
Console.WriteLine("{0} ({1}): {2}", FileName, LineNumber, message); |
This file contains hidden or 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 class LastReturned { | |
Dictionary<Thread, object> Returned = new Dictionary<Thread, object>(); | |
public object Ret(object o) { | |
if (o != null) { | |
if (Returned.ContainsKey (Thread.CurrentThread)) { | |
Returned [Thread.CurrentThread] = o; |
This file contains hidden or 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/python | |
import sys | |
import os.path | |
import re | |
import subprocess | |
if len(sys.argv) < 4: | |
print "Usuage: ./getcrash.py AppName AppSymbol crashlog.ips" | |
print "Where AppName is the iOS app name without .app, AppSymbol the app name in the logs (usually almost the same as the AppName and the crash log file." |
This file contains hidden or 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
Undefined symbols for architecture x86_64: | |
"wxTreeListCtrl::DeleteItem(wxTreeListItem)", referenced from: | |
gd::ChooseVariableDialog::OnvariablesListKeyDown1(wxKeyEvent&) in ChooseVariableDialog.cpp.o | |
gd::ChooseVariableDialog::OnRemoveSelected(wxCommandEvent&) in ChooseVariableDialog.cpp.o | |
gd::ChooseVariableDialog::RefreshVariable(wxTreeListItem, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, gd::Variable const&) in ChooseVariableDialog.cpp.o | |
"wxTreeListCtrl::SetItemData(wxTreeListItem, wxClientData*)", referenced from: | |
gd::SpriteObjectEditor::RefreshCollisionMasks() in SpriteObjectEditor.cpp.o | |
"wxTreeListCtrl::SetItemText(wxTreeListItem, unsigned int, wxString const&)", referenced from: | |
gd::SpriteObjectEditor::RefreshCollisionMasks() in SpriteObjectEditor.cpp.o | |
gd::ChooseVariableDialog::RefreshVariable(wxTreeListItem, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, gd::Variable |