sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| import requests | |
| import pandas as pd | |
| BASE_URL = "https://rekrutmenbersama2024.fhcibumn.id/job" | |
| req = requests.Session().get(f"{BASE_URL}") | |
| load_record = requests.get(f'{BASE_URL}/loadRecord/').json().get("data").get("result") | |
| length = len(load_record) | |
| data = [] | |
| for key, vacancy in enumerate(load_record): | |
| print(f"{vacancy.get("vacancy_id")} - {key}/{length}") | |
| try: |
docker pull mongo after docker installednpm i -g pnpm after nodejs installed| <script> | |
| let milestone_num = 0; | |
| let amount = 0; | |
| $: dates = []; | |
| $: percentage = `${100 / milestone_num} %`; | |
| $: amount_split = amount / milestone_num; | |
| function current_date(i, the_dates) { | |
| if (the_dates[i - 1]) { | |
| return new Date( |
| CREATE TABLE IF NOT EXISTS pt_users ( | |
| id serial PRIMARY KEY, | |
| email VARCHAR ( 255 ) UNIQUE NOT NULL, | |
| password VARCHAR ( 255 ) NOT NULL, | |
| created_on TIMESTAMP NOT NULL, | |
| role VARCHAR (50) NOT NULL | |
| ) |
| # INI CUMA NGE PRINT BIASA, GA ADA YANG ANEH DARI PERINTAH PRINT | |
| print(" PENJUALAN TIKET TRAVEL ") | |
| print(' "[Syeh Ariansah_12210841_12.1c.30]" ') | |
| print("========================================") | |
| # INI IMPORT PAKCAGE/LIBRARY/BAWAAN PYTHON, | |
| # DENGAN KATA LAIN KITA PAKE SAJA KODINGAN/FITUR YANG SUDAH ADA | |
| # LEBIH JELAS NYA KAMU BISA BACA DOKUMENTASI PYTHON JSON DI SINI | |
| # https://www.w3schools.com/python/python_json.asp | |
| import json |
| #!/bin/bash | |
| # Discussion, issues and change requests at: | |
| # https://github.com/nodesource/distributions | |
| # | |
| # Script to install the NodeSource Node.js 14.x repo onto a | |
| # Debian or Ubuntu system. | |
| # | |
| # Run as root or insert `sudo -E` before `bash`: | |
| # |