Skip to content

Instantly share code, notes, and snippets.

View x2on's full-sized avatar

Felix Schulze x2on

View GitHub Profile
@x2on
x2on / multidex-androidtest.gradle
Created December 3, 2015 17:04
Workaround for multidex instrumentation test with android-gradle-plugin 1.5.0
// Workaround for Multidex bug in gradle-android-plugin
// Replace Multidex dependency with some dummy dependency to avoid dex problems
// @see https://code.google.com/p/android/issues/detail?id=194609
project.getConfigurations().all { config ->
if (config.name.contains("AndroidTest")) {
config.resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.name == "multidex") {
details.useTarget("de.felixschulze.teamcity:teamcity-status-message-helper:1.2")
}
}

Keybase proof

I hereby claim:

  • I am x2on on github.
  • I am x2on (https://keybase.io/x2on) on keybase.
  • I have a public key whose fingerprint is 8D6C 1C71 A83E FDA1 D63A 4131 6E3D CBA0 B7C3 B83F

To claim this, I am signing this object:

@x2on
x2on / HockeyApp Dashing Widget.md
Created July 23, 2015 13:37
HockeyApp Dashing Widget

#HockeyApp Dashing Widget

Dashing Widget for displaying HockeyApp App Crashes.

##Usage

To use this widget, copy the hockeyapp.rb file in your /jobs folder. Copy hockeyapp.yml into your /config folder and setup the api_token and the appIds.

Add gem 'rest-client' to your Gemfile and run bundle

@x2on
x2on / Android Google Play Dashing Widget.md
Last active August 12, 2019 06:37
Android Google Play Dashing Widget

#Android Google Play Dashing Widget

Dashing Widget for displaying current Google Play Ratings.

Preview

##Usage

To use this widget, copy google.html, google.coffee, and google.scss into the /widgets/google directory. Put the google.rb file in your /jobs folder. Copy google.yml into your /config folder and set the app_identifier

@x2on
x2on / Dropbox-iOS-Dropins-SDK.podspec.json
Last active August 29, 2015 14:09
Dropbox-ios-dropins-sdk
{
"name": "Dropbox-iOS-Dropins-SDK",
"version": "1.2.1",
"summary": "The Dropbox SDK for iOS.",
"homepage": "https://www.dropbox.com/developers/core/sdks/osx",
"authors": "Dropbox",
"source": {
"http": "https://www.dropbox.com/developers/downloads/sdks/chooser/ios/dropbox-ios-dropins-sdk-1.2.1.zip"
},
"platforms": {
@x2on
x2on / Facebook-iOS-SDK.podspec.json
Last active August 29, 2015 14:05
Newest podspec for Facebook-iOS-SDK
{
"name": "Facebook-iOS-SDK",
"version": "3.18.0",
"platforms": {
"ios": 6.0
},
"license": "Apache License, Version 2.0",
"summary": "The iOS SDK provides Facebook Platform support for iOS apps.",
"description": "The Facebook SDK for iOS enables you to access the Facebook Platform APIs including the Graph API, FQL, and Dialogs.",
"homepage": "https://developers.facebook.com/docs/ios/",
@x2on
x2on / xctool.rb
Last active August 29, 2015 14:02
AutoScout24 fork with derived data option
require 'formula'
class Xctool < Formula
homepage 'https://github.com/facebook/xctool'
url 'https://github.com/facebook/xctool/archive/v0.2.2.tar.gz'
sha1 '7c1f5610d0543a2a93b87aeebd7dfb642d91d50d'
head 'https://github.com/AutoScout24/xctool.git', :branch => 'teamcity-reporter'
bottle do
cellar :any
@x2on
x2on / gist:7673574
Created November 27, 2013 10:25
ios-snapshot-test-case-as24
Pod::Spec.new do |s|
s.name = "FBSnapshotTestCase"
s.version = "1.0-1as24"
s.summary = "Snapshot view unit tests for iOS"
s.description = <<-DESC
A "snapshot test case" takes a configured UIView or CALayer
and uses the renderInContext: method to get an image snapshot
of its contents. It compares this snapshot to a "reference image"
stored in your source code repository and fails the test if the
two images don't match.
require 'formula'
class Xctool < Formula
homepage 'https://github.com/facebook/xctool'
url 'https://github.com/facebook/xctool/archive/v0.1.13.tar.gz'
sha1 '60ad514c9b0712177ef89bf576d082d7301a25f0'
head 'https://github.com/AutoScout24/xctool.git', :branch => 'archivePath'
depends_on :xcode
depends_on :macos => :lion
%Kopf- und Fußzeile
usepackage{fancyhdr}
pagestyle{fancy}
fancyhf{}
%Kopfzeile mittig mit Kaptilname
fancyhead[C]{nouppercase{leftmark}}
%Linie oben
renewcommand{headrulewidth}{0.5pt}