Skip to content

Instantly share code, notes, and snippets.

View banditelol's full-sized avatar
🎯
Sprinting Towards Target

Aditya Rachman Putra banditelol

🎯
Sprinting Towards Target
View GitHub Profile
@banditelol
banditelol / x.txt
Created January 24, 2021 12:40
ADB_TugasRutin1_K3 1.4.3
"x"
"1" 39.5861096447334
"2" 44.7513976832852
"3" 4.73015266470611
"4" 34.7647660179064
"5" 75.5508732749149
"6" 69.8577073402703
"7" 91.2133080884814
"8" 86.2965366570279
"9" 55.5306107038632
@banditelol
banditelol / dedupe.sql
Created April 14, 2020 08:38
Dedupe table by first backing it up to table_bak
DROP TABLE table_bak;
RENAME TABLE table TO table_bak;
CREATE TABLE table
SELECT DISTINCT *
FROM table_bak;

Keybase proof

I hereby claim:

  • I am banditelol on github.
  • I am banditelol (https://keybase.io/banditelol) on keybase.
  • I have a public key ASB4cSsXUuMvOOCldrfqUJ6xb5s7nA3_9bDZNt_BurXi1wo

To claim this, I am signing this object:

@banditelol
banditelol / jadwalShalat.bat
Created March 29, 2019 07:12
Demi jadi anak yang lebih saleh, make API muslimsalat.com, diambil make curl, parse make jq untuk tau jadwal shalat tanpa perlu keluar dari terminal
curl -s https://muslimsalat.com/bandung.json | jq --raw-output ".items[0] | del(.date_for) | del(.shurooq)"
[
{
"prep":"Yang jual enggak doyan, yang doyan enggak beli, yang beli enggak doyan?",
"punch":"Rumput"
},
{
"prep":"Ada ayam jantan, kepalanya ada di Amerika, ekornya di Afrika, sayapnya di Jakarta, matanya ada di Brazil, telurnya ada di mana..?",
"punch":"Ga dimana-mana"
},
{
Snapshot
logout -> Login Page
Reports
summary -> Summary
students -> Students
standards -> Standards
Summary*
Students
answer -> Answers
Standards
# working with npm
npm install -g yarn
npm install -g npx
npm install -g np
npm install -g npm-name-cli
# debugging
npm install -g ndb
npm install -g node-inspector
255 255 254 252 238 219 215 215 212 217 217 237 253 254 255 255
255 253 245 212 233 217 219 229 220 240 224 238 209 244 254 255
254 246 218 235 216 225 216 201 201 214 219 217 232 220 245 254
252 211 231 208 218 174 146 141 139 144 169 218 220 240 207 252
238 234 236 226 163 140 154 153 154 164 142 161 226 217 243 236
217 217 226 175 140 142 187 194 188 182 151 140 167 221 210 222
213 241 220 147 140 141 162 175 170 175 149 141 142 214 229 214
212 217 212 141 140 141 155 167 180 161 145 140 141 207 210 215
214 241 216 141 140 152 185 163 167 188 152 139 140 204 236 214
211 219 218 146 140 159 177 170 173 164 156 140 142 217 219 215
@banditelol
banditelol / populasiIndonesia.json
Last active September 9, 2018 11:50
Endpoint for Indonesian Cities Population, with data from Wikipedia : https://id.wikipedia.org/wiki/Daftar_kabupaten_dan_kota_di_Indonesia. The population number is taken in 2017.
[
{
"provinsi": "Aceh",
"kota": "Kabupaten Aceh Barat",
"capital": "Meulaboh",
"kepala": "Ramli MS",
"area": 2927.95,
"populasi": 189119,
"jumlahKecamatan": 12,
"jumlahKelurahan": 322
@banditelol
banditelol / uefisetup.sh
Last active August 29, 2015 14:07 — forked from Apsu/uefisetup.sh
# **************** READ THIS FIRST ******************
#
# This is not a script for you to run. I repeat, do not download and run this!
#
# This is only a guide to show the required steps for successful UEFI + GRUB2 installation
# Many of the choices are examples or assumptions; don't blindly type shit into your machine
# until/unless you at least read the comments around each command
#
# These steps assume you've booted in UEFI mode by preparing your USB stick per these instructions:
# https://wiki.archlinux.org/index.php/UEFI#Archiso