The Gearman job server supports a text-based protocol to pull information and run some administrative tasks. The following commands are supported:
workers
status
maxqueue
shutdown
version
<?php | |
namespace My\Deployer; | |
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
/** | |
* Description of PhpSecLibDeployer |
var config = require('./gcmConfig'); | |
var xmpp = require('node-xmpp'); | |
var jobPayload; | |
var xmppClient; | |
var options = { | |
type: 'client', | |
jid: config.jid, |
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; |
<?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.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; |
<?php | |
namespace FTW\GuildBundle\Services; | |
/** | |
* Monitoring Gearman over telnet port 4730 | |
* | |
* So the only way to monitor Gearman is via doing a telnet to port 4730. The | |
* current monitoring supported commands are fairly basic. | |
* There are plans to include more set of commands in the next release. |
<?php | |
function sum() { | |
$list = array(); | |
$prepare = function($value) use(&$prepare, &$list) { | |
if (is_array($value)) { | |
return array_walk($value, $prepare, $list); | |
} else { | |
$list[] = $value; | |
} |
<ul id="members" data-role="listview" data-filter="true"> | |
<!-- ... more list items ... --> | |
<li> | |
<a href="detail.html?id=10"> | |
<h3>John Resig</h3> | |
<p><strong>jQuery Core Lead</strong></p> | |
<p>Boston, United States</p> | |
</a> | |
</li> | |
<!-- ... more list items ... --> |
I hereby claim:
To claim this, I am signing this object: