Skip to content

Instantly share code, notes, and snippets.

View ervinismu's full-sized avatar
🟪
typing...

ervinismu ervinismu

🟪
typing...
View GitHub Profile
@ervinismu
ervinismu / install-postman-ubuntu2204.md
Last active April 15, 2024 03:54
Install postman ubuntu 22.04

1. Download

Download using wget :
wget https://dl.pstmn.io/download/latest/linux64

2. Extract

Extract downloaded file using tar -xvf
sudo tar -xvf linux64 -C /usr/bin

3. Export Path

If using bash :

Learn RVM

Install RVM ubuntu

  1. Install GPG key
  gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
  1. Install RVM

Install Postman Native App on Ubuntu 20.04

  • wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz

  • sudo tar -xzf postman.tar.gz -C /opt

  • rm postman.tar.gz

  • sudo ln -s /opt/Postman/Postman /usr/bin/postman

  • Create Unity Desktop

cat > ~/.local/share/applications/postman.desktop <

Learn Container


Install docker on Ubuntu

Install from Package

  1. Go to https://download.docker.com/linux/ubuntu/dists/, choose your Ubuntu version, then browse to pool/stable/, choose amd64, armhf, or arm64, and download the .deb file for the Docker Engine version you want to install.

Learn Version Control

Install Git on Linux/Unix

  1. Debian/Ubuntu
For the latest stable version for your release of Debian/Ubuntu
# apt-get install git
For Ubuntu, this PPA provides the latest stable upstream Git version
# add-apt-repository ppa:git-core/ppa # apt update; apt install git
@ervinismu
ervinismu / fish-shell.md
Last active July 13, 2020 04:10
Resources learning for using Fish Shell.

Install on Ubuntu

  1. Install Fish Shell
  apt install fish
  • Csv
 Comma Separated Values (CSV) adalah file teks yang berisi daftar data, kebanyakan 
 menggunakan koma (,) untuk memisahkan (atau membatasi) data.
  • Clustering
  • Classification
  • Cumulative statistic

Cara memasang tailwindcss pada next.js

Tailwindcss adalah kerangka kerja CSS yang digunakan untuk memudahkan kita dalam membuat tampilan pada html dengan sangat minimal dalam menulis baris css bahkan tanpa menulis baris kode css sekalipun.

Sekarang coba kita bahas cara install tailwindcss dalam nextjs.

1.Buat project Next.js

  • rails new todolist-app -d postgresql
  • cd todolist-app
  • rails webpacker:install
  • directory structure
  • rails g model tasks name:string is_done:boolean date:datetime description:text
  • rake db:create && rake db:migrate
  • rails g controller tasks
  • create index for root (router, controller, views)
  • rails c (give example about CRUD using rails console)
  • Task.create(name: 'Belajar Matematika', is_done: false, description: 'Belajar matematika untuk ujian besok hari senin', date: Time.now)
  class MyQueue
    # untuk melakukkan error handling
    QueueFull  = Class.new(StandardError)
    QueueEmpty = Class.new(StandardError)

    attr_reader :queue

    def initialize(size)
 @size = size