Skip to content

Instantly share code, notes, and snippets.

View sven-s's full-sized avatar

Sven Soennichsen sven-s

  • Germany, Hamburg
View GitHub Profile
### Keybase proof
I hereby claim:
* I am sven-s on github.
* I am sven_s (https://keybase.io/sven_s) on keybase.
* I have a public key ASCBbr1gSnvq6K2w8zUifqFcboPhpfbP91Gau387gGbv6Ao
To claim this, I am signing this object:
@sven-s
sven-s / upload-ipa-to-itunes-connect.sh
Created April 27, 2016 06:51 — forked from aspnetde/upload-ipa-to-itunes-connect.sh
A small script that uses XCode's Application Loader to automatically submit an IPA to iTunes Connect
#!/bin/bash
set -ex
# Originally from https://gist.github.com/jedi4ever/b1f8b27d4a803d487fa4
# This scripts allows you to upload a binary to the iTunes Connect Store and do it for a specific app_id
# Because when you have multiple apps in status for download, xcodebuild upload will complain that multiple apps are in wait status
# Requires application loader to be installed
# See https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/SubmittingTheApp.html
@sven-s
sven-s / gist:5765606
Created June 12, 2013 14:10
Config for Logging in NCrunch
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<log4net>
<root>
<level value="ALL" />
static class AssemblyExtensions
{
public static string Product (this Assembly instance)
{
var attributes = instance.GetCustomAttributes(typeof(AssemblyProductAttribute), false);
return attributes.Length == 0 ? string.Empty : ((AssemblyProductAttribute)attributes[0]).Product;
}
public static string Copyright(this Assembly instance)
{
@sven-s
sven-s / gist:2045336
Created March 15, 2012 17:09
log4net Logger Definition
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);