Skip to content

Instantly share code, notes, and snippets.

samm@samm-Latitude-E6420:~/src/rtl_433_2/build$ src/rtl_433 -f 433800000 -a
Registering protocol[01] Rubicson Temperature Sensor
Registering protocol[02] Silvercrest Remote Control
Registering protocol[03] ELV EM 1000
Registering protocol[04] ELV WS 2000
Registering protocol[05] Waveman Switch Transmitter
Registering protocol[06] Steffen Switch Transmitter
Registering protocol[07] Acurite 5n1 Weather Station
Registering protocol[08] AlectoV1 Weather Sensor
Registering protocol[09] New KlikAanKlikUit protocol, on/off events ass well as DIM
samm@samm-Latitude-E6420:~/src/rtl_433_2/build$ src/rtl_433 -f 433800000 -a
Registering protocol[01] Rubicson Temperature Sensor
Registering protocol[02] Silvercrest Remote Control
Registering protocol[03] ELV EM 1000
Registering protocol[04] ELV WS 2000
Registering protocol[05] Waveman Switch Transmitter
Registering protocol[06] Steffen Switch Transmitter
Registering protocol[07] Acurite 5n1 Weather Station
Registering protocol[08] AlectoV1 Weather Sensor
Registering protocol[09] New KlikAanKlikUit protocol, on/off events ass well as DIM
samm@samm-Latitude-E6420:~/src/rtl_433_2/build$ ^C
samm@samm-Latitude-E6420:~/src/rtl_433_2/build$ ^C
samm@samm-Latitude-E6420:~/src/rtl_433_2/build$ src/rtl_433 -f 433800000 -a
Registering protocol[01] Rubicson Temperature Sensor
Registering protocol[02] Silvercrest Remote Control
Registering protocol[03] ELV EM 1000
Registering protocol[04] ELV WS 2000
Registering protocol[05] Waveman Switch Transmitter
Registering protocol[06] Steffen Switch Transmitter
Registering protocol[07] Acurite 5n1 Weather Station
Registering protocol[01] Rubicson Temperature Sensor
Registering protocol[02] Prologue Temperature Sensor
Registering protocol[03] Silvercrest Remote Control
Registering protocol[04] ELV EM 1000
Registering protocol[05] ELV WS 2000
Registering protocol[06] Waveman Switch Transmitter
Registering protocol[07] Steffen Switch Transmitter
Registering protocol[08] Acurite 5n1 Weather Station
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
279 "zc:k:3ad_8FA34695B502E57E867AE965A42A84A7"
280 "zc:k:3ad_14A3398330BEB0FA162C12BA08C27278"
280 "zc:k:3ad_D0A2F73F150F3F4EE90789AE38471C0A"
284 "zc:k:3ad_26380A5D938BA50EB985F41E019188A3"
284 "zc:k:3ad_B603B3CDBF3A1245B5958F8B56B7A5E0"
285 "zc:k:3ad_202F864A503095A1486A20FB5ED5475E"
285 "zc:k:3ad_D3F34FBADF6E1F39D1D0C34935D02AAC"
286 "zc:k:3ad_81B2404AD0FDB0E3B50D8FE3CF5C0961"
292 "zc:k:3ad_SORTED_QUOTE_NOMINAL_COLLECTORS"
322 "zc:k:3ad_SORTED_QUOTE_COLLECTORS"
@samm-git
samm-git / gist:09fa9eff6c8772ccadc6
Created November 20, 2014 13:17
cat memory.csv |sort -t "," -k4,4 -rn|head -n 50
[root@magento-redis-prod-02 redis]# cat memory.csv |sort -t "," -k4,4 -rn|head -n 50
0,set,"zc:ti:3ad_MAGE",2495465,hashtable,19009,72
0,set,"zc:ti:3ad_COLLECTION_DATA",1351245,hashtable,9623,72
0,set,"zc:ti:3ad_LAYOUT_GENERAL_CACHE_TAG",1141587,hashtable,9354,44
0,set,"zc:ti:3ad_THEME_FRONTEND_SARAIVA_SARAIVA",1140888,hashtable,9347,44
0,set,"zc:ti:3ad_STORE_DEFAULT",1140871,hashtable,9347,44
0,set,"zc:ti:3ad_DEFAULT",1140764,hashtable,9346,44
0,set,"zc:ti:3ad_CUSTOMER_LOGGED_OUT",1140170,hashtable,9340,44
0,set,"zc:ti:3ad_SHORTCUT_UK_POPUP",1139865,hashtable,9337,44
0,set,"zc:ti:3ad_SHORTCUT_POPUP",1139862,hashtable,9337,44
root@magento-redis-prod-02 ~]# /usr/local/bin/redis-cli -p 6380 MONITOR| head -n 500000|./redis-faina.py
Overall Stats
========================================
Lines Processed 500000
Commands/Sec 6599.87
Top Prefixes
========================================
zc 480618 (96.12%)
10.248.232.90:30445 -> 10.248.232.41:80 [AP]
GET /produto/3064588/preco HTTP/1.1..Host: internal-LB-GLASSFISH-QA-1850400529.sa-east-1.elb.amazonaws.com..Connection: close..Accept-encoding: gzip, deflate..User-A
gent: Zend_Http_Client..Accept: application/json..Content-Type: application/json....
##
T 10.248.232.41:80 -> 10.248.232.90:30445 [AP]
HTTP/1.1 200 OK..Server: nginx/1.4.7..Date: Fri, 21 Nov 2014 18:16:06 GMT..Content-Type: application/json..Content-Length: 354..Connection: close..X-Powered-By: Serv
let/3.1 JSP/2.3 (GlassFish Server Open Source Edition 4.1 Java/Oracle Corporation/1.7)....{"Produto":{"IdProduto":3064588},"PrecoVitrine":{"Preco":[{"Moeda":"BRL",
"Valor":39.9000000000,"IdLista":182012,"DataInicio":"2014-10-21T00:00:00-02:00","DataFim":"2014-11-25T23:59:00-02:00"}]},"PrecoOferta":{"Preco":[{"Moeda":"BRL","Valo
r":23.9000000000,"IdLista":182012,"DataInicio":"2014-10-21T00:00:00-02:00","DataFim":"2014-11-25T23:59:00-02:00"}]}}
########
My traceroute [v0.86]
zebra.dc.rinet.ru (0.0.0.0) Sat Mar 14 16:50:44 2015
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 195.54.209.129 0.0% 5 0.3 0.2 0.1 0.3 0.0
2. 86.62.124.66 0.0% 5 0.3 136.3 0.3 667.5 297.0
3. 89.20.131.1 0.0% 5 0.7 2.2 0.5 7.4 2.9
4. 212.1.243.106 0.0% 4 45.8 45.8 45.7 46.0 0.0
5. 80.81.192.110 0.0% 4 46.0 46.0 45.9 46.2 0.0
builder@5dc5de8d9844:~/hello-cgo$ go tool cgo -debug-gcc hello.go
$ /opt/turris/x-tools/powerpc-turris-linux-gnuspe/bin/powerpc-turris-linux-gnuspe-gcc -E -dM -xc - <<EOF
#line 3 "/opt/turris/hello-cgo/hello.go"
#include <stdlib.h>
#include "hello.h"
#include <stddef.h> /* for ptrdiff_t and size_t below */