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
<?php | |
/** | |
* Kronolith external API interface. | |
* | |
* This file defines Kronolith's external API interface. Other applications | |
* can interact with Kronolith through this API. | |
* | |
* @package Kronolith | |
*/ | |
class Kronolith_Api extends Horde_Registry_Api |
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.buggycoder.io.lib; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.IntentFilter; | |
import android.net.ConnectivityManager; | |
import android.net.NetworkInfo; | |
import com.squareup.otto.Bus; |
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
public interface SerialOp<T, U> { | |
public SerialHandler getHandler(); | |
public void setHandler(SerialHandler handler); | |
public abstract void execute(T arg1, U arg2); | |
public void onSuccess(); | |
public void onFailure(FailureType type, String reason); | |
public void onComplete(); | |
public long getTimeout(); | |
public String getTag(); |
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.buggycoder.io.lib.proc; | |
import android.os.Handler; | |
import android.os.Looper; | |
import android.os.Message; | |
import java.util.concurrent.atomic.AtomicBoolean; | |
public abstract class WrappedHandler { |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Allow IAM root", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::133713371337:root" | |
}, | |
"Action": "s3:GetObject", |
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.apparcadia.common.ui.frag; | |
import android.app.Activity; | |
import android.app.Fragment; | |
import android.content.Context; | |
import android.os.Bundle; | |
import rx.Observable; | |
import rx.Subscriber; | |
import rx.Subscription; |
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.apparcadia.common.lib; | |
import android.os.Handler; | |
import android.os.Message; | |
import java.lang.ref.WeakReference; | |
public abstract class MessageHandler<T> extends Handler { | |
private final WeakReference<T> ref; |
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.buggycoder.android.common.ui.frag; | |
import android.app.Activity; | |
import android.app.Fragment; | |
import android.content.Context; | |
import android.os.Bundle; | |
import java.util.ArrayList; | |
import java.util.List; |
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
'use strict'; | |
var _ = require('highland'); | |
var http = require('http'); | |
var fs = require('fs'); | |
var reqOptions = { | |
'method': 'GET', | |
'hostname': 'mockbin.org', |
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/python | |
import subprocess | |
import os | |
from threading import Timer | |
proc = None | |
proc_timeout = 3.0 | |
def on_timeout(): |
OlderNewer