Skip to content

Instantly share code, notes, and snippets.

Trung trungie

Block or report user

Report or block trungie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
staltz /
Last active Oct 19, 2019
The introduction to Reactive Programming you've been missing
View gist:9418379
package com.mirth.stevek.rxtest;
import rx.Observable;
import rx.functions.Action1;
import rx.functions.Func1;
import rx.functions.Func3;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.*;
stephanos / build.gradle
Created Jan 27, 2014
Gradle: Automate IntelliJ IDEA project generation for a Java App Engine project
View build.gradle
def jvmRunFlags = '''
- ...
def jvmTestFlags = '''
- ...
warnergodfrey / gist:7512051
Last active Sep 21, 2018
Access the ATO Business Portal using AusKey Mac OS X Mountain Lion
View gist:7512051
  • Install the latest JRE from Oracle
  • In the Java Control Panel, go to the Security tab and make sure 'Enable Java Content' is checked
  • Open Safari
  • Go to the ATO Business portal site
  • Click Login
  • A dialog will apear asking you 'Do you want to trust the website “” to use the “Java” plug-in?'
  • Click 'Trust'
  • Now you will be asked 'Do you want to run this application?'
  • Click 'Run'
  • Another dialog will appear asking you to 'Allow access to the following application from this website?'
View patch-edid.rb
# Create display override file to force Mac OS X to use RGB mode for Display
# see
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
wsargent /
Last active Sep 9, 2019
Docker cheat sheet
burgalon / gist:5579233
Last active Mar 9, 2017
Filter all extra logs "by Log Tax (regex)" in IntelliJ for Android adb logcat that are not relevant to debugging an app
View gist:5579233
Notalifeform / play_portal
Last active Dec 16, 2015
play! framework 1.x init.d file - could need some tuning; use for inspiration only :-)
View play_portal
# Provides: skeleton
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
liudong / gist:3993726
Created Nov 1, 2012
Java: Generate Public/Private Keys
View gist:3993726
abeluck /
Last active Jun 4, 2019 — forked from KenMacD/
GPG Offline Master Key w/ smartcard
You can’t perform that action at this time.