Skip to content

Instantly share code, notes, and snippets.

View ithoq's full-sized avatar

Ithoq Projosasmito ithoq

  • KENDIL.COM
  • Yogyakarta, Indonesia
View GitHub Profile
@ithoq
ithoq / upgrade-postgres-9.4-to-9.5-to-9.6-to-10.md
Created February 12, 2018 16:07 — forked from Komzpa/upgrade-postgres-9.4-to-9.5-to-9.6-to-10.md
Upgrading PostgreSQL from 9.4 to 9.5 to 9.6 to 10 when upgrading Ubuntu 14.10 to 16.04

TL;DR

9.4 -> 9.5:

sudo pg_dropcluster 9.5 main --stop
sudo service postgresql stop
sudo pg_upgradecluster -m upgrade -k 9.4 main
sudo su postgres -c "/usr/lib/postgresql/9.5/bin/vacuumdb --all --analyze-in-stages"
sudo pg_dropcluster 9.4 main
@ithoq
ithoq / gist:057de7fa64644178eb5a4904b98ecf1f
Created September 8, 2017 11:24 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@ithoq
ithoq / bootstrap-menu-triangles.css
Created April 7, 2017 03:41
Triangles for bootstrap dropdown menus
.dropdown-menu::before {
border-bottom: 9px solid rgba(0, 0, 0, 0.2);
border-left: 9px solid rgba(0, 0, 0, 0);
border-right: 9px solid rgba(0, 0, 0, 0);
content: "";
display: inline-block;
left: 86px;
position: absolute;
top: -8px;
}
@ithoq
ithoq / dovecot-sieve.md
Created November 29, 2016 16:57
Postfix / Dovecot / Roundcube / Sieve

Postfix / Dovecot / Roundcube / Sieve

Installation

pkg install dovecot-pigeonhole

Postfix

master.cf

@ithoq
ithoq / ssl.rules
Created November 25, 2016 03:07 — forked from konklone/ssl.rules
nginx TLS / SSL configuration options for konklone.com
# Basically the nginx configuration I use at konklone.com.
# I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com
#
# To provide feedback, please tweet at @konklone or email [email protected].
# Comments on gists don't notify the author.
#
# Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites.
# Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration.
server {
@ithoq
ithoq / List.md
Created October 3, 2016 06:50 — forked from msurguy/List.md
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):