- 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 https://bp.ato.gov.au/BpStatics/homepage.htm
- Click Login
- A dialog will apear asking you 'Do you want to trust the website “authentication.business.gov.au” 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?'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### BEGIN INIT INFO | |
# 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^(?!.*(PullToRefresh|SherlockFragmentActivity|IInputConnectionWrapper|LightsService|CalendarSyncAdapter|Watson|ActionBarSherlock|alsa_ucm|mm-camera|qcom_sensors_hal|CellInfoLte|WirelessDisplayService|TELEPHONY_CALLBACK|StatusBar.*|memalloc|AlarmManager|SIGNAL_ICON|StateMachine|ThermalDaemon|overlay|AudioTrack|Trace|SyncManager|libEGL|GCMBaseIntentService|SubscribedFeeds|PackageManager|StorageNotification|libgps|DownloadManager|MountService|ActivityThread|SpannableStringBuilder|AlertService|Gmail|SurfaceFlinger|PhoneStatusBar|MtpService|PicasaUploader|chromium|BackupHelperDispatcher|BackupManagerService|PerformBackupTask|KeyInputQueue|LocationMasfClient|KeyguardViewMediator|WindowManager|InputDevice|jdwp|RecognizerEngine|VoiceDialerReceiver|PackageIntentReceiver|installd|UNA|VoldCmdListener|UnlockClock|sensor_stub|PowerManagerService|ExchangeService|EventLogService|Finsky|Zygote|BatteryService|SntpClient|ActivityManager|CalendarProvider2|SyncCampaign|AlarmScheduler|StatusBarPolicy|NetworkStatusReceiver|KeyChar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package plugins; | |
import play.PlayPlugin; | |
import play.mvc.Http; | |
import play.mvc.Http.Request; | |
import play.mvc.Http.Response; | |
import play.mvc.Router.Route; | |
import play.vfs.VirtualFile; | |
import util.MetricsUtil; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def convert(sqlContext: SQLContext, filename: String, schema: StructType, tablename: String) { | |
// import text-based table first into a data frame. | |
// make sure to use com.databricks:spark-csv version 1.3+ | |
// which has consistent treatment of empty strings as nulls. | |
val df = sqlContext.read | |
.format("com.databricks.spark.csv") | |
.schema(schema) | |
.option("delimiter","|") | |
.option("nullValue","") | |
.option("treatEmptyValuesAsNulls","true") |
If you encounter the following:
GitHub rate limit reached. To increase the limit use GitHub authentication.
Run jspm endpoint config github to set this up.
Sources :
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def jvmRunFlags = ''' | |
-Xmx700m | |
- ... | |
'''.split().toList() | |
def jvmTestFlags = ''' | |
-Dlocally=true | |
-ea | |
- ... | |
'''.split().toList() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Paste into /etc/yum.repos.d/puppetlabs.repo | |
[puppetlabs] | |
name=Puppet Labs - $basearch | |
baseurl=http://yum.puppetlabs.com/el/6Server/products/$basearch | |
failovermethod=priority | |
priority=0 | |
enabled=0 | |
2. rpm --import http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <ESP8266mDNS.h> | |
#include <ESP8266WebServer.h> | |
#include <WiFiManager.h> | |
#include <ArduinoOTA.h> | |
#include <WebSocketsClient.h> | |
#include <DNSServer.h> | |
void setup() { | |
Serial.begin(115200); |
OlderNewer