Skip to content

Instantly share code, notes, and snippets.

package com.aaplab.robird.util;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.ConnectivityManager;
import android.os.Handler;
import android.os.Looper;
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- google's material design colours from
http://www.google.com/design/spec/style/color.html#color-ui-color-palette -->
<!--reds-->
<color name="md_red_50">#fde0dc</color>
<color name="md_red_100">#f9bdbb</color>
<color name="md_red_200">#f69988</color>
package com.your.package;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.database.DataSetObservable;
import android.os.AsyncTask;
import android.os.Build;
import android.text.TextUtils;
@malisetti
malisetti / NodeCCS.js
Created October 5, 2014 09:30
Google ccs server connection
var config = require('./gcmConfig');
var xmpp = require('node-xmpp');
var jobPayload;
var xmppClient;
var options = {
type: 'client',
jid: config.jid,
@malisetti
malisetti / PhpSecLibDeployer.php
Created June 25, 2014 07:21
Phpseclib Deployer for Plum bundle
<?php
namespace My\Deployer;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of PhpSecLibDeployer