Skip to content

Instantly share code, notes, and snippets.

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

Trisna Gelar trisgelar

🏠
Working from home
View GitHub Profile
@trisgelar
trisgelar / README.md
Created December 14, 2023 16:15 — forked from junwatu/README.md
Indonesia Map
@trisgelar
trisgelar / ILT01_demo_snippets.md
Created February 28, 2023 15:01
ILT_Snippets_Bangkit2023

Django on GCP

GC Dev CLI

curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-419.0.0-linux-x86_64.tar.gz
tar -xf google-cloud-cli-419.0.0-linux-x86.tar.gz
./google-cloud-sdk/install.sh --help
./google-cloud-sdk/bin/gcloud init
@trisgelar
trisgelar / streamlit-webrtc-component_on_colab.ipynb
Created July 19, 2021 15:28
Streamlit WebRTC Component_on_Colab.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@trisgelar
trisgelar / config-deb-i386.json
Created October 26, 2019 14:45 — forked from lyshie/config-deb-i386.json
Scratch Desktop (Scratch 3.0 Offline Editor) on GNU/Linux
{
"src": "/tmp/scratch-desktop/",
"dest": "/tmp/",
"arch": "i386",
"icon": "/tmp/scratch-desktop/resources/Icon.png",
"categories": [
"Education"
]
}
@trisgelar
trisgelar / snippets.md
Last active July 5, 2018 02:31
Belajar Laravel 5.3

Laravel 5.3 Snippets

Faster Composer

  composer global require --prefer-dist -vvv hirak/prestissimo
  composer update --prefer-dist -vvv

Create Project

@trisgelar
trisgelar / .block
Last active October 12, 2017 04:22
fresh block
license: mit
### pars for fun: install | remove | rollback
function apt-history(){
case "$1" in
install)
grep 'install ' /var/log/dpkg.log
;;
upgrade|remove)
grep $1 /var/log/dpkg.log
;;
APT History
Yang Di Install
root@server01:~# apt-history install
2016-12-06 16:58:45 install procps:amd64 1:3.3.3-2ubuntu9 1:3.2.8-11ubuntu6.4
2016-12-06 16:58:46 install openssl:amd64 1.0.1e-3ubuntu1.6 1.0.1-4ubuntu5.38
2016-12-06 16:58:46 install ca-certificates:all 20130906ubuntu0.13.10.1 20160104ubuntu0.12.04.1
2016-12-06 16:58:46 install openssh-client:amd64 1:6.2p2-6ubuntu0.5 1:5.9p1-5ubuntu1.10
2016-12-06 16:58:47 install wget:amd64 1.14-2ubuntu1 1.13.4-2ubuntu1.4
@trisgelar
trisgelar / error.log
Created January 22, 2016 06:58
Getting started "lime test flash" build failure
~/P/f/HelloWorld ❯❯❯ lime test flash -verbose ⏎
___
/\_ \ __
\//\ \ /\_\ ___ ___ __
\ \ \ \/\ \ /' __` __`\ /'__`\
\_\ \_\ \ \/\ \/\ \/\ \/\ __/
/\____\\ \_\ \_\ \_\ \_\ \____\
\/____/ \/_/\/_/\/_/\/_/\/____/
Lime Command-Line Tools (2.8.3)