- Create a bot using @BotFather, get it's token
- Start conversation with bot
- Run following curl command
curl https://api.telegram.org/bot/getUpdates | grep -Po '"from":{"id":.+?,'
curl https://api.telegram.org/bot/getUpdates | grep -Po '"from":{"id":.+?,'
Although Microsoft does not support Windows XP updates any more, I'm sure there are still many users using it due to their personal habits or job demands. Therefore, XP's product keys may be necessary even now. Here lies the most comprehensive list of Windows XP product keys.
The following CD keys are official and original from Microsoft, mainly used for Windows XP Professional Service Pack 2/3 VOL/VLK system images, which are the easiest ones to find on the Internet.
<?xml version='1.0' encoding='UTF-8'?> | |
<patterndb version='5' pub_date='2017-06-15'> | |
<ruleset id='a0dab742fc66ad5cdf41bfd0c105f3df' name='nagios'> | |
<patterns> | |
<pattern>nagios</pattern> | |
<pattern>shinken</pattern> | |
</patterns> | |
<rules> | |
<rule provider='github.com/nzlosh' id='nagios-1' class='monitoring'> | |
<patterns> |
mode http | |
http-request set-header X-SSL %[ssl_fc] | |
http-request set-header X-SSL-Client-Cert %[ssl_fc_has_crt] | |
http-request set-header X-SSL-Client-Verify %[ssl_c_verify] | |
http-request set-header X-SSL-Client-SHA1 %{+Q}[ssl_c_sha1,hex] | |
http-request set-header X-SSL-Client-DN %{+Q}[ssl_c_s_dn] | |
http-request set-header X-SSL-Client-CN %{+Q}[ssl_c_s_dn(cn)] | |
http-request set-header X-SSL-Issuer %{+Q}[ssl_c_i_dn] | |
http-request set-header X-SSL-Client-Not-Before %{+Q}[ssl_c_notbefore] | |
http-request set-header X-SSL-Client-Not-After %{+Q}[ssl_c_notafter] |
curl -s -XGET 'localhost:9200/_cat/recovery?v' | |
curl -XPUT localhost:9200/_cluster/settings -d '{ | |
"persistent" : { | |
"cluster.routing.allocation.node_concurrent_recoveries" : "10", | |
"indices.recovery.max_bytes_per_sec": "250mb", | |
"indices.recovery.concurrent_streams": 10 | |
} | |
}' | |
curl -s -XGET 'localhost:9200/_cat/recovery?v' |
#!/usr/bin/perl -w | |
# | |
# Uses ipmitool(1) to display a string of text on | |
# the front chassis display of Dell PowerEdge | |
# servers. | |
# | |
# Jesper Nyerup <[email protected]> | |
my $ipmitool = '/usr/bin/ipmitool'; |
#!/usr/bin/env bash | |
# Use this one-liner to produce a JSON literal from the Git log: | |
git log \ | |
--pretty=format:'{%n "commit": "%H",%n "author": "%aN <%aE>",%n "date": "%ad",%n "message": "%f"%n},' \ | |
$@ | \ | |
perl -pe 'BEGIN{print "["}; END{print "]\n"}' | \ | |
perl -pe 's/},]/}]/' |