Skip to content

Instantly share code, notes, and snippets.

View mndfcked's full-sized avatar

Jörn D. mndfcked

View GitHub Profile
@mndfcked
mndfcked / Stud.IP mobil Aufruf Beispiel
Created June 11, 2014 19:32
Ein Beispielcode der die Stud.IP mobil App aus einer fremden App aufruft und die MainActivity anzeigt.
PackageManager pm = getPackageManager();
Intent appStartIntent = pm.getLaunchIntentForPackage("de.elanev.studip.android.app");
if (null != appStartIntent) {
startActivity(appStartIntent);
} else {
Log.e(TAG, "Error: Can't launch Stud.IP mobil.");
}
class Routes {
@JsonProperty("routes")
List<Route> routes = new ArrayList<Route>;
class Route {
@JsonPropery("id")
String id;
@JsonPropery("url")
String url; /** Optional, kann auch aus der id entnommen werden **/
@JsonProperty("methodes")
# Makefile for a go project
#
# Author: Jon Eisen
# site: joneisen.me
#
# Targets:
# all: Builds the code
# build: Builds the code
# fmt: Formats the source files
# clean: cleans the code

Keybase proof

I hereby claim:

  • I am mndfcked on github.
  • I am mndfcked (https://keybase.io/mndfcked) on keybase.
  • I have a public key ASD_pgauGzYwDqv9I2NvaP5D8lireG-kEUk6bnwTrQuRbAo

To claim this, I am signing this object: