Skip to content

Instantly share code, notes, and snippets.

Ertuğrul Seyhan ertseyhan

Block or report user

Report or block ertseyhan

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
View termite.terminfo
# 1) wget 2) tic termite.terminfo
# vim: noet:ts=8:sw=8:sts=0
xterm-termite|VTE-based terminal,
am,
bce,
ccc,
km,
mc5i,
mir,
msgr,
View keybase.md

Keybase proof

I hereby claim:

  • I am ertseyhan on github.
  • I am ertseyhan (https://keybase.io/ertseyhan) on keybase.
  • I have a public key whose fingerprint is 61ED 28C9 70F3 A546 DAEC 39CB 2E81 D363 98A5 B90B

To claim this, I am signing this object:

@ertseyhan
ertseyhan / nginx-compile-args
Last active Apr 10, 2017
nginx compilation arguments
View nginx-compile-args
./configure \
--prefix=/etc/nginx \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--http-client-body-temp-path=/var/cache/nginx/client_temp \
--http-proxy-temp-path=/var/cache/nginx/proxy_temp \
@ertseyhan
ertseyhan / temp.sh
Last active Nov 7, 2017
Display the ARM CPU and GPU temperature of Raspberry Pi 2/3
View temp.sh
#!/bin/bash
# Script: temp.sh
# Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 2/3
# -------------------------------------------------------
cpu=$(</sys/class/thermal/thermal_zone0/temp)
echo "CPU >> $((cpu/1000))'C"
echo "GPU >> $(/opt/vc/bin/vcgencmd measure_temp | cut -d = -f2)"
@ertseyhan
ertseyhan / remount.sh
Created Feb 2, 2016
Temporarily increase size of tmp folder on Arch linux
View remount.sh
#!/bin/bash
sudo mount -o remount,size=10G,noatime /tmp
echo "Done. Please use 'df -h' to make sure folder size is increased."
You can’t perform that action at this time.