I hereby claim:
- I am Khoulaiz on github.
- I am khoulaiz (https://keybase.io/khoulaiz) on keybase.
- I have a public key whose fingerprint is A15C 4B1F F63B B0DA 9DC3 8C16 FBFF 0F87 219E 23C0
To claim this, I am signing this object:
gradle.taskGraph.afterTask {task -> | |
StringBuffer taskDetails = new StringBuffer() | |
taskDetails << "-------------\nname:$task.name group:$task.group : $task.description\nconv:$task.convention.plugins\ninputs:" | |
task.inputs.files.each{ it -> | |
taskDetails << "${it.absolutePath}\n" | |
} | |
taskDetails << "outputs:\n" | |
task.outputs.files.each{ it -> | |
taskDetails << "${it.absolutePath}\n" | |
} |
#!/bin/bash | |
## | |
# Switch the TP-LINK HS100 wlan smart plug on and off, query for status | |
# Tested with firmware 1.0.8 | |
# | |
# Credits to Thomas Baust for the query/status/emeter commands | |
# | |
# Author George Georgovassilis, https://github.com/ggeorgovassilis/linuxscripts | |
# |
I hereby claim:
To claim this, I am signing this object:
------------------------------------------------------------------------------- | |
-- HTTP Accept-Language header handler -- | |
-- @originalAuthor: [email protected] -- | |
-- @originalRepository: https://github.com/fghibellini/nginx-http-accept-lang-- | |
-- @modifiedBy: [email protected] -- | |
-- @gist: https://gist.github.com/mauron85/47ed1075262d9e020fe2 -- | |
-- @license: MIT -- | |
-- @requires: -- | |
-- @description: -- | |
-- returns language with greatest quality -- |
SMARTCARD CLOCK FREQUENCY: /dev/sci0 3570000 | |
BOXKEY: /dev/sci0 12 34 56 78 | |
TRY ALL CHIDS: /dev/sci0 | |
SMARTCARD CLOCK FREQUENCY: /dev/sci1 3570000 | |
BOXKEY: /dev/sci1 12 34 56 78 |
Here are several different ways to test a TCP port without telnet.
$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C
$ cat < /dev/tcp/127.0.0.1/23
var inputs = document.getElementsByTagName('input'); | |
for (var i=0; i < inputs.length; i++) { | |
if (inputs[i].getAttribute('type').toLowerCase() === 'password') { | |
inputs[i].setAttribute('onpaste', ''); | |
} | |
} |
#!/bin/bash | |
# check dyndns name of a host and reset iptables if change was detected | |
HOSTNAME=<hostname-to-check.dyndns.org> | |
LOGFILE=/var/run/check_home_ip | |
Current_IP=$(/usr/bin/dig +short $HOSTNAME) | |
if [ $LOGFILE = "" ] ; then | |
iptables-restore </etc/iptables_rules |