Skip to content

Instantly share code, notes, and snippets.


Emre Saglam emresaglam

Block or report user

Report or block emresaglam

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
emresaglam /
Created Apr 14, 2018
Script to poll the home assistant database running on PostgreSQL. The only requirement is psycopg2. (The script doesn't do any error/exception handling)
import psycopg2
# The name of the home assistant database
# The user to connect to your home assistant database
# The IP/hostname of the PostgreSQL server
# The password for the user
emresaglam / install_ss.yaml
Last active Apr 4, 2018
Somewhat smart automation script to install shadowsocks on major cloud providers (AWS, DigitalOcean, etc...)
View install_ss.yaml
# Write a skeleton config file to be replaced by a random password
# Skeleton config file is:
# "server_port":8000,
# "local_port":1080,
# "password":"__PASSWORD__",
# "timeout":600,
# "method":"chacha20"

Keybase proof

I hereby claim:

  • I am emresaglam on github.
  • I am emresaglam ( on keybase.
  • I have a public key whose fingerprint is BF25 C594 9E5A EC3A 5E53 1714 C52C F4B2 A9C3 2E2E

To claim this, I am signing this object:

You can’t perform that action at this time.