Skip to content

Instantly share code, notes, and snippets.

View fzerorubigd's full-sized avatar
🤷‍♂️
/shrug

Forud fzerorubigd

🤷‍♂️
/shrug
View GitHub Profile
listen = http://0.0.0.0:7070
listen = http://0.0.0.0:7071
#logFile =
#alwaysProxy = true
loadBalance = latency
proxy = ss://aes-256-cfb:password@ip:port
proxy = ss://aes-128-cfb:password@ip2:port2
proxy = http://password@ip:port
#sshServer = f0rud@host:7075:22
#allowedClient = 127.0.0.1, 192.168.1.0/24, 10.0.0.0/8, 192.168.3.0/24
[Unit]
Description=A lightweight connection pooler for PostgreSQL
After=network.target
[Service]
User=postgres
ExecStart=/usr/sbin/pgbouncer /etc/pgbouncer/pgbouncer.ini
ExecReload=/bin/kill -HUP $MAINPID
[Install]
@fzerorubigd
fzerorubigd / main.go
Created July 6, 2015 19:39
a simple example robot for telegram
package main
import (
"image"
_ "image/png"
"io/ioutil"
"log"
"os"
"os/exec"
"regexp"
@fzerorubigd
fzerorubigd / -
Created September 20, 2015 16:22
code.google.com
googleapis.com
googleusercontent.com
ytimg.com
youtube.com
youtube-nocookie.com
bitbucket.org
thepiratebay.se
humblebundle.com
plus.url.google.com
#!/bin/bash
# Disable DPMS turning off the screen
xset -dpms
xset s off
# Disable bell
xset -b
# Enable zapping (C-A-<Bksp> kills X)
setxkbmap -option terminate:ctrl_alt_bksp
# By [email protected]
set $mod Mod4
set $mark Mod1
set $screen1 VGA1
set $screen0 DVI-I-1
set $w0 0: www0
set $w1 1: www1
set $w2 2: files
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
!! drop in Solarized colorscheme for Xresources
!!
!! ## Installation
!! 1) Write to $HOME/.Xresources
!! 2) If not using Xsession, you must add the line `xrdb -merge ~/.Xresources`
!! to `.xinitrc`. See http://manpages.ubuntu.com/Xsession for more details.
!!
!!SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B RGB HSB
!!--------- ------- ---- ------- ----------- ---------- ----------- -----------
!!base03 #002b36 8/4 brblack 234 #1c1c1c 15 -12 -12 0 43 54 193 100 21
#!/bin/bash
# A simple convertor for change the text from selection and replace all persian charachter with
# English charachter in clipboard.
# Just assign it to a key binding, with anything you like (i3 for example).
# I wrote this for http://linuxvaman.ir/
# Publishe under WTFPL
# fzerorubigd <[email protected]> 2 Dec 2015
change_string() {
code.google.com
googleapis.com
googleusercontent.com
ytimg.com
youtube.com
youtube-nocookie.com
bitbucket.org
thepiratebay.se
humblebundle.com
plus.url.google.com