Skip to content

Instantly share code, notes, and snippets.

View maxpavlov's full-sized avatar
🎯
Focusing

Max Pavlov maxpavlov

🎯
Focusing
View GitHub Profile
@maxpavlov
maxpavlov / gist:e6b579e19f081e906ac9
Created July 31, 2015 17:03
HAProxy with pass-trough ssl redirect via SNI
frontend http-frontend
bind 10.1.0.4:80
redirect scheme https if !{ ssl_fc }
frontend https-frontend
bind 10.1.0.4:443
option tcplog
mode tcp
@maxpavlov
maxpavlov / gist:b0297fc265c55c2e9782
Created January 28, 2015 08:39
Build log for Xamarin app that crashes after splash screen with -v -v -v -v as additional mtouch arguments.
Building: ZenKurs (Debug|iPhone)
Build started 1/28/2015 10:35:19 AM.
__________________________________________________
Project "/Users/maxpavlov/Projects/ZenKurs/ZenKurs.csproj" (Build target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: iPhone
Target _DetectAppManifest:
@maxpavlov
maxpavlov / gist:1ca4cf1dbbdcfb60f3c8
Created January 28, 2015 08:38
Deploy to device console output for Xamarin app that crashes after splash screen.
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" -installdev "/Users/maxpavlov/Projects/ZenKurs/bin/iPhone/Debug/ZenKurs.app" "--devname=Jerico"
Please ensure your device is connected...
Connected to: Jerico
Installing application bundle
writeDictToFile:1258 ==== Successfully wrote Manifest cache to /Users/maxpavlov/Projects/ZenKurs/obj/iPhone/Debug/mtouch-cache/install-shadow-directory/8c1578142b30cdbfa2f807a6466d3aa3/4ff3e39dcf85d26713594365d17f53eb08a23cc5/ManifestCache.plist
Application bundle installed
@maxpavlov
maxpavlov / gist:4f396739248f7f8e4e6f
Created January 28, 2015 08:36
iOS Device log log for Xamarin app that crashes after splash screen. (Attempt to run as Debug from Xamarin Studio).
Jan 28 10:35:22 Jerico kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
Jan 28 10:35:22 Jerico lockdownd[63] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
Jan 28 10:35:22 Jerico kernel[0] <Notice>: 015273.390085 wlan0.A[4339] AppleBCMWLANCore::dumpWmeCounters(): per AC tx counters: 28818 3232 812 1192, rx counters: 55464 0 1 16
Jan 28 10:35:22 Jerico kernel[0] <Notice>: 015273.390115 wlan0.A[4340] AppleBCMWLANCore::dumpWmeCounters(): AWDL: Tx 0 0 0 0 Rx: 0 0 0 0
Jan 28 10:35:22 Jerico kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
Jan 28 10:35:22 Jerico lockdownd[63] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
Jan 28 10:35:22 Jerico kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
Jan 28 10:35:22 Jerico lockdownd[63] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
Jan 28 10:35:23