I hereby claim:
- I am hakandilek on github.
- I am hakan (https://keybase.io/hakan) on keybase.
- I have a public key whose fingerprint is 7A42 539A 5C06 A8AD 69A7 AE95 15BA D9DC 6C79 A132
To claim this, I am signing this object:
199.59.150.7 twitter.com | |
199.59.148.10 twitter.com | |
199.59.150.39 twitter.com | |
199.59.148.82 twitter.com | |
199.59.149.198 twitter.com | |
199.59.149.230 twitter.com | |
141.211.125.17 www.twitter.com | |
199.59.150.7 www.twitter.com | |
199.59.148.10 www.twitter.com | |
199.59.150.39 www.twitter.com |
// jersey resources | |
Map<String, Object> resources = ctx.getBeansWithAnnotation(Path.class); | |
for (Map.Entry<String, Object> entry : resources.entrySet()) { | |
Object resource = entry.getValue(); | |
Class<? extends Object> cls = resource.getClass(); | |
if (cls.isAnnotationPresent(Path.class)) | |
System.out.println(cls); | |
jersey.register(resource); | |
} |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# Optware setup | |
# Alternatives Optware Startup und Shutdown Script #/usr/local/etc/rc.d/optware.sh | |
# | |
case $1 in | |
start) | |
[ ! -h /opt -a ! -d /opt ] && ln -s /volume1/@optware /opt | |
for i in /opt/etc/init.d/S??* ;do | |
# |
0xE22CBeeF0D322F3217b6cAeC494Ee4037C84A10d |
var autobahn = require('autobahn'); | |
var wsuri = "wss://api.poloniex.com"; | |
var connection = new autobahn.Connection({ | |
url: wsuri, | |
realm: "realm1" | |
}); | |
connection.onopen = function (session) { | |
function marketEvent (args,kwargs) { | |
console.log(args); |
git submodule deinit <path_to_submodule> | |
git rm <path_to_submodule> | |
git commit-m "Removed submodule " | |
rm -rf .git/modules/<path_to_submodule> |
Syntax | Description |
---|---|
arr=() |
Create an empty array |
arr=(1 2 3) |
Initialize array |
${arr[2]} |
Retrieve third element |
${arr[@]} |
Retrieve all elements |
${!arr[@]} |
Retrieve array indices |
${#arr[@]} |
Calculate array size |
arr[0]=3 |
Overwrite 1st element |
arr+=(4) |
Append value(s) |