Skip to content

Instantly share code, notes, and snippets.

View JeansBolong's full-sized avatar

JeansBolong JeansBolong

  • Jakarta - Indonesia
View GitHub Profile

restart aws server

sudo /opt/bitnami/ctlscript.sh restart

php.ini bitnami location

/opt/bitnami/php/etc/php.ini
@JeansBolong
JeansBolong / unity.md
Last active December 28, 2020 03:20
Unity c#

output list value

private void outputlist(ArrayList list){
        string result = "isi list: ";
        for (int i = 0; i < list.Count; i++)
        {
            result += list[i].ToString() + ",";
        }
        Debug.Log(result);
}
@JeansBolong
JeansBolong / Content.md
Last active July 14, 2021 01:51
Web Stuff

wa link

https://wa.me/628111701530?text=Hello%20Akasha%20CS,%20
@JeansBolong
JeansBolong / Link.md
Last active August 26, 2022 01:45
WP BASIC
https://www.googleapis.com/oauth2/v3/tokeninfo?access_token=<token>
@JeansBolong
JeansBolong / giuthub.md
Last active August 2, 2019 15:51
GITHUB

store password

run git config credential.helper store

then ` git pull

@JeansBolong
JeansBolong / tutor.txt
Created July 31, 2019 01:41
create xmpp chat using javascript
# How to echobot with XMPP, BOSH, and Strophe
1. Setup ejabberd(http://www.ejabberd.im/) server and setup account admin@localhost.local
NOTE: localhost should be enough. If you setup something else, make sure you add it at /etc/hosts like this
#/etc/hosts
127.0.0.1 localhost.local
NOTE: Also download Psi(http://psi-im.org/), and make sure you can connect to your ejabberd server.
2. Download strophe(http://code.stanziq.com/strophe/) and place it (eg: /Users/makoto/work/sample/strophejs-1.0)

Compress untuk 1 video

ffmpeg -i path/inputVideo.mp4 -vcodec h264 -acodec aac outputVideo.mp4

Convert mp4 to HLS format video

ffmpeg -i input.mp4 -profile:v baseline -level 3.0 -s 640x360 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls index.m3u8
@JeansBolong
JeansBolong / handy shortcut
Created October 15, 2017 06:44
Vim stuff
** copy whole text inside file to system-clipboar
1. goto visual mode using by pressing ( v )
2. :w !pbcopy