Skip to content

Instantly share code, notes, and snippets.

View stigi's full-sized avatar
✌️
Casual coding

Ullrich Schäfer stigi

✌️
Casual coding
View GitHub Profile
@stigi
stigi / gist:75f429d7b5bd659ff347
Created March 11, 2015 22:20
sample Kaleidoscope 1
Analysis of sampling Kaleidoscope (pid 58992) every 1 millisecond
Process: Kaleidoscope [58992]
Path: /Applications/Kaleidoscope.app/Contents/MacOS/Kaleidoscope
Load Address: 0x109dc6000
Identifier: com.blackpixel.kaleidoscope
Version: 2.1.0 (133.01)
Code Type: X86-64
Parent Process: ??? [1]
Date/Time: 2015-03-11 15:20:05.265 -0700
Volume „Backup“ überprüfen und reparieren
HFS+ Volume (Journaled) überprüfen.
Zusatzdatei für Dateiaufbau wird überprüft.
Katalog wird überprüft.
Ungültige Knotenstruktur
B-Baum (Katalog) wird wiederhergestellt.
Volume wird erneut geprüft.
HFS+ Volume (Journaled) überprüfen.
Zusatzdatei für Dateiaufbau wird überprüft.
Katalog wird überprüft.
diff -urN ufoai_2.2.orig/configure ufoai_2.2.mod/configure
--- ufoai_2.2.orig/configure 2009-06-30 07:27:17.000000000 +0200
+++ ufoai_2.2.mod/configure 2010-03-10 23:40:12.000000000 +0100
@@ -2151,11 +2151,11 @@
LDFLAGS="$LDFLAGS -framework IOKit -framework Foundation -framework OpenGL"
# fix this darn SDL stuff....
- if test -x /opt/local/bin/sdl-config
+ if test -x /usr/local/bin/sdl-config
then
diff -urN aubio-0.3.2.orig/configure aubio-0.3.2/configure
--- aubio-0.3.2.orig/configure 2006-10-09 01:22:01.000000000 +0200
+++ aubio-0.3.2/configure 2010-03-29 00:14:56.000000000 +0200
@@ -20109,7 +20109,7 @@
;;
*darwin* | *rhapsody* | *macosx*)
LDFLAGS="$LDFLAGS -lmx"
- AUBIO_CFLAGS="$AUBIO_CFLAGS -Wno-long-double"
+ AUBIO_CFLAGS="$AUBIO_CFLAGS"
CPPFLAGS="$CPPFLAGS -I${prefix}/include"
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0000000000 0 + 0
1 CoreFoundation 0x3243163c 0x323f8000 + 235068
2 Foundation 0x309072b0 0x3089c000 + 438960
3 Foundation 0x3090726c 0x3089c000 + 438892
4 CFNetwork 0x32362482 0x3234a000 + 99458
diff --git a/Classes/RootViewController.m b/Classes/RootViewController.m
index edef8fc..cbb2c54 100644
--- a/Classes/RootViewController.m
+++ b/Classes/RootViewController.m
@@ -300,7 +300,9 @@
return CGRectMake(PAGE_WIDTH * (page - 1), 0, PAGE_WIDTH, PAGE_HEIGHT);
}
- (void)spinnerForPage:(int)page isAnimating:(BOOL)isAnimating {
- UIActivityIndicatorView *spinner = [pageSpinners objectAtIndex:page - 1];
+ UIActivityIndicatorView *spinner = nil;
diff --git a/server/php/public/index.php b/server/php/public/index.php
index fb68451..b11ecfa 100644
--- a/server/php/public/index.php
+++ b/server/php/public/index.php
@@ -137,7 +137,7 @@
<p><b>Version:</b> <?php echo $app[iOSUpdater::INDEX_VERSION] ?></p>
<p><b>Released:</b> <?php echo date('m/d/Y H:i:s', $app[iOSUpdater::INDEX_DATE]) ?></p>
<?php if ($app[iOSUpdater::INDEX_PROFILE]) { ?>
- <a class="button" href="<?php echo $app[iOSUpdater::INDEX_PROFILE] ?>">Install Profile</a>
+ <a class="button" href="<?php echo $baseURL . 'index.php?type=' . iOSUpdater::TYPE_PROFILE . '&bundleidentifier=' . $app[iOSUpdater::INDEX_DIR] ?>">Install Profile</a>
[color]
diff = auto
status = auto
branch = auto
[gui]
recentrepo = /Users/ullrich/Desktop/Arbeit/Projekte/SAPDemo/MacCRO
[alias]
st = status
ci = commit
br = branch
CVS
.svn
build
.DS_Store
log/*.log
tmp/**/*
config/database.yml
config/amazons3.yml
db/*.sqlite3
db/*.db
@stigi
stigi / gist:966250
Created May 11, 2011 10:27
Conditional hit test
// using hit test
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
BOOL didHitLink = ([self linkAtPoint:point] != nil);
if (self.onlyCatchTouchesOnLinks && !didHitLink) {
return nil; // not catch the touch if it didn't hit a link
}
// never return self. always return the result of [super hitTest..].
// this takes userInteraction state, enabled, alpha values etc. into account