Skip to content

Instantly share code, notes, and snippets.

View erayaydin's full-sized avatar
🏠
Working from home

Eray AYDIN erayaydin

🏠
Working from home
View GitHub Profile
@gustavohenrique
gustavohenrique / telnet-imap
Created June 6, 2013 14:00
playing with gmail via telnet
openssl s_client -crlf -connect imap.gmail.com:993
tag login user@gmail.com passwordhere
tag list "" "*"
tag select "inbox"
tag fetch 1:3 body[header]
tag fetch 3 body[header]
tag fetch 3 body[text]
tag fetch 2 all
tag fetch 2 fast
tag fetch 2 full
@ericlbarnes
ericlbarnes / .bowerrc
Created January 17, 2015 03:33
Laravel Elixir With Bootstrap Sass
{
"directory": "vendor/bower_components"
}
@erayaydin
erayaydin / monitor-mysql-export.sh
Created May 27, 2018 23:29
Monitoring on Mysql Import/Export
### Determine total size
#
# SELECT
# Data_BB / POWER(1024,1) Data_KB,
# Data_BB / POWER(1024,2) Data_MB,
# Data_BB / POWER(1024,3) Data_GB
# FROM (
# SELECT SUM(data_length) Data_BB
# FROM information_schema.tables
# WHERE table_schema IN ('database')