Skip to content

Instantly share code, notes, and snippets.

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

utopictown

🏠
Working from home
View GitHub Profile
touch /etc/nginx/sites-available/your-site.com
// your-site.com
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
currencyFormat(num) {
return "Rp " + num.toFixed().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1.");
},
ffmpeg -i Inputfile.flv -vcodec h264 -acodec aac -strict -2 Filename.mp4
@utopictown
utopictown / kantor_imigrasi_indonesia.json
Created January 28, 2020 10:05
Kantor Imigrasi Indonesia
{
"Message": "SUCCESS",
"ErrorMessage": null,
"Code": 200,
"Offices": [
{
"MO_TELP": "(021) 55733333",
"MO_LATITUDE": "-6.193868",
"MO_CODE": null,
"MO_NAME": "Gerai Paspor Tangcity Mall (Kantor Imigrasi Tangerang)",
Once in a while when I wake up,
I find myself crying.
The dream I must have had,
I can never recall.
But...
The sensation I've lost something, lingers for a long time after I wake up.
Im always searching for something, for someone.