Skip to content

Instantly share code, notes, and snippets.

💥
breaking shit

jiva

💥
breaking shit
Block or report user

Report or block jiva

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jiva
jiva / socks-proxy-simple.py
Created Jul 17, 2019 — forked from nneonneo/socks-proxy-simple.py
A simple socks server via python - updated for Pythonista (iOS)
View socks-proxy-simple.py
#!python2
# -*- coding: utf-8 -*-
# 一个简单的 Socks5 代理服务器 , 只有 server 端 , 而且代码比较乱
# 不是很稳定 , 而且使用多线程并不是 select 模型
# Author : WangYihang <wangyihanger@gmail.com>
import socket
import threading
import sys
@jiva
jiva / logstash.conf
Created Nov 5, 2016 — forked from robinsmidsrod/logstash.conf
Logging Windows event log information to Logstash using nxlog and JSON transport
View logstash.conf
input {
tcp {
type => "syslog"
host => "127.0.0.1"
port => 3514
}
tcp {
type => "eventlog"
host => "10.1.1.2"
port => 3515
@jiva
jiva / gist:6250a472d3f8b02e2ea241d32a6a4282
Created May 9, 2016 — forked from jpetitcolas/gist:5967887
Encode/decode a base64 encoded string in PostGreSQL
View gist:6250a472d3f8b02e2ea241d32a6a4282
-- Decoding
SELECT CONVERT_FROM(DECODE(field, 'BASE64'), 'UTF-8') FROM table;
-- Encoding
SELECT ENCODE(CONVERT_TO(field, 'UTF-8'), 'base64') FROM table;
View keybase.md

Keybase proof

I hereby claim:

  • I am jiva on github.
  • I am jiva (https://keybase.io/jiva) on keybase.
  • I have a public key whose fingerprint is 83F7 3319 11BB C19A 31E7 C7F9 84CF 57DB 6526 410A

To claim this, I am signing this object:

You can’t perform that action at this time.