Skip to content

Instantly share code, notes, and snippets.

Avatar

Jörn D. mndfcked

View GitHub Profile
View keybase.md

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:

View Makefile.golang
# 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
View Routes.java
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")
@mndfcked
mndfcked / Stud.IP mobil Aufruf Beispiel
Created Jun 11, 2014
Ein Beispielcode der die Stud.IP mobil App aus einer fremden App aufruft und die MainActivity anzeigt.
View Stud.IP mobil Aufruf Beispiel
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.");
}