Skip to content

Instantly share code, notes, and snippets.

View okdas's full-sized avatar
:shipit:

Dima K. okdas

:shipit:
View GitHub Profile
{
"__inputs": [
{
"name": "DS_NATS-PROMETHEUS",
"label": "NATS-Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
### Keybase proof
I hereby claim:
* I am okdas on github.
* I am kdas (https://keybase.io/kdas) on keybase.
* I have a public key whose fingerprint is 7D1C ADF0 12B7 7A03 DAA6 0AFB E61E D270 0D20 9E2A
To claim this, I am signing this object:
<?xml version="1.0" encoding="utf-8"?>
<yandexsearch version="1.0">
<request>
<query>
site:sw76.ru &quot;помощь военного юриста&quot;
</query>
<page>
0
</page>
<sortby order="ascending" priority="no">
@okdas
okdas / gist:28aba84faa51b7e0b8314bbce659d7b4
Last active January 20, 2017 03:10
OVH Ubuntu/Debian eth1 + docker install sript
#!/bin/bash
echo 'auto eth1' >> /etc/network/interfaces
echo 'iface eth1 inet dhcp' >> /etc/network/interfaces
/sbin/ifup eth1
wget -qO- https://get.docker.com/ | sh
SELECT DISTINCT `triggers`.`triggerid` AS t0_r0, `triggers`.`expression` AS t0_r1, `triggers`.`description` AS t0_r2, `triggers`.`url` AS t0_r3, `triggers`.`status` AS t0_r4, `triggers`.`value` AS t0_r5, `triggers`.`priority` AS t0_r6, `triggers`.`lastchange` AS t0_r7, `triggers`.`comments` AS t0_r8, `triggers`.`error` AS t0_r9, `triggers`.`templateid` AS t0_r10, `triggers`.`type` AS t0_r11, `triggers`.`state` AS t0_r12, `triggers`.`flags` AS t0_r13, `hosts`.`hostid` AS t1_r0, `hosts`.`proxy_hostid` AS t1_r1, `hosts`.`host` AS t1_r2, `hosts`.`status` AS t1_r3, `hosts`.`disable_until` AS t1_r4, `hosts`.`error` AS t1_r5, `hosts`.`available` AS t1_r6, `hosts`.`errors_from` AS t1_r7, `hosts`.`lastaccess` AS t1_r8, `hosts`.`ipmi_authtype` AS t1_r9, `hosts`.`ipmi_privilege` AS t1_r10, `hosts`.`ipmi_username` AS t1_r11, `hosts`.`ipmi_password` AS t1_r12, `hosts`.`ipmi_disable_until` AS t1_r13, `hosts`.`ipmi_available` AS t1_r14, `hosts`.`snmp_disable_until` AS t1_r15, `hosts`.`snmp_available` AS t1_r16, `hosts`.`mai
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
http_port 37.187.133.176:3128 name=37.187.133.176
http_port 188.165.25.157:3128 name=188.165.25.157
http_port 87.98.252.100:3128 name=87.98.252.100
http_port 188.165.136.221:3128 name=188.165.136.221
http_port 176.31.89.84:3128 name=176.31.89.84
http_port 176.31.89.85:3128 name=176.31.89.85
http_port 176.31.89.86:3128 name=176.31.89.86
http_port 176.31.89.87:3128 name=176.31.89.87
http_port 188.165.139.23:3128 name=188.165.139.23
http_port 188.165.137.198:3128 name=188.165.137.198
root@mc-node-10:~# telnet 92.222.224.164 3306
Trying 92.222.224.164...
Connected to 92.222.224.164.
Escape character is '^]'.
4
5.1.73▒▒
\3%a97J-3U3>!'ARV:^
^CConnection closed by foreign host.
root@mc-node-10:~# traceroute 92.222.224.164
traceroute to 92.222.224.164 (92.222.224.164), 30 hops max, 60 byte packets
(-> res = []; res.push val for val in (data.map (e) -> e.triggerid) when val not in res; res)
.forEach (triggerid) ->
$rootScope.$broadcast 'event:new', (data.filter (event) -> if event.triggerid is triggerid then yes else no)[-1]
root@mc-node-25:/home/minecraft/multicraft/servers/server4939# ls -la
total 35348
drwxrwx--- 7 mc4939 mc4939 4096 Apr 6 23:00 .
drwx--x--x 32 root root 4096 Apr 7 17:13 ..
-rw-rw---- 1 mc4939 mc4939 2 Apr 7 16:25 banned-ips.json
-rw-rw---- 1 mc4939 mc4939 107 Apr 6 22:52 banned-ips.txt.converted
-rw-rw---- 1 mc4939 mc4939 2 Apr 7 16:25 banned-players.json
-rw-rw---- 1 mc4939 mc4939 107 Apr 6 22:52 banned-players.txt.converted
-rw-rw---- 1 mc4939 mc4939 2955 Apr 7 16:25 bukkit.yml
-rw-rw---- 1 mc4939 mc4939 623 Apr 7 16:25 commands.yml