Skip to content

Instantly share code, notes, and snippets.

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

Yana Agun Siswanto bekicot

🏠
Working from home
View GitHub Profile
@bekicot
bekicot / listbuku.txt
Last active June 8, 2023 00:54
Buku yg free di openlib - Format => <tahun> [tersedia] Judul -' Pengarang
<2019> [3] Negara Kesatuan Meneguhkan Kembali Gagasan Pendiri Negara - Nuruddin Hady
<2019> [4] Panduan Praktis Microsoft Word 2019 - Nurika Miftakul Janah, Duwi Priyatno
<2019> [2] PUEBI (Pedoman Umum Ejaan Bahasa Indonesia) - Tim Tentor Oxygen
<2019> [4] Rahasia Dasyat Keajaiban 100 Kali Istigfar untuk Rezeki.. - Ahmad Joemadi
<2018> [4] Rekayasa Zeolit untuk Mengolah Limbah - Didi Dwi Anggoro
<2018> [4] Chair : 500 Designs that Matter - Phaidon
<2018> [3] Risalah Shalat Wajib dan Sunnah - Tim Qudsi
<2018> [3] Belajar Grammar Praktis Langsung Paham - Luvia Febriana Irawati
<2018> [4] Ternyata Membuat Program Itu Mudah - Budi Hartanto
<2018> [3] Belajar Grammar Praktis Langsung Paham - Luvia Febriana Irawati

Method 1

replace 0.3.21 with required version gem install mysql2 -v '0.3.21' -- --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include

Method 2

https://stackoverflow.com/a/39628463/3034747 Hava a good feedback but doesn't work on my machine.

@bekicot
bekicot / CARA BIKIN HOAX.md
Last active April 20, 2019 17:05
Tutorial lengkap bikin hoax (Ada gambarnya dan mudah di pahami)

10 LANGKAH BIKIN HOAX YANG KALIAN BELOM PERNAH TAU SEBELUMNYA

  1. Cari situs berita terkenal http://lmgtfy.com/?q=Situs+berita+paling+terkenal
  2. Pilih salah satu lalu klik kanan pada bagian judul, pilih "Inspect Element"
  3. Pilih masukan judul bombastis, bohong, tapi sedikit aja bohongnya.
  4. Karna "kebohongan yang sempurna adalah kebenaran yang di plintir"
  5. Ganti tanggalnya juga, biar lebih susah di verifikasi.
  6. Screenshot
  7. Sebarkan
@bekicot
bekicot / ks.cfg
Last active April 8, 2019 07:49
Fedora Atomic Kicstart File. With ssh public key config. Stored at authorized_keys. Default password is 123123
#version=DEVEL
ignoredisk --only-use=sda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel
# OSTree setup
ostreesetup --osname="fedora-atomic" --remote="fedora-atomic" --url="file:///ostree/repo" --ref="fedora/29/x86_64/atomic-host" --nogpg
# Use graphical install
graphical
# Keyboard layouts
@bekicot
bekicot / indonesian-postal-code.yml
Last active August 5, 2021 10:08
Kode Pos Indonesia berdasarkan provinsi
---
Bali:
Badung:
Kuta Utara:
Canggu: 80361
Dalung: 80361
Kerobokan: 80361
Kerobokan Kaja: 80361
Kerobokan Kelod: 80361
Tibubeneng: 80361

Reading Private Key from ENV variables and storing it in yaml using erb template

  1. Convert new line char into double new line char e.g from \n to \n\n
  2. On YAML file, suround it using double quotes
key: "<%= ENV['PRIVATE_KEY'] %>"

Mina install

  • Create deploy user with sudo
class FuseExt2 < Formula
desc "FUSE module to mount ext2/3/4 file systems with read write support"
homepage "https://github.com/bekicot/fuse-ext2"
url "https://github.com/bekicot/fuse-ext2/archive/v0.0.10-bekicot-patch.tar.gz"
sha256 "1b0cee3604f2a9eea4dd2d14ecf34e70935510f6"
head "https://github.com/bekicot/fuse-ext2.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
Notification.requestPermission();
function notifyMe(matkul, kelas) {
if (Notification.permission !== "granted")
Notification.requestPermission();
else {
var notification = new Notification(matkul + ' - ' + kelas + " Tersedia", {
body: "Ayo cepet daftar!!!!",
});
}
@bekicot
bekicot / autopuas.js
Created December 7, 2018 12:08
Javascript Auto Sangat Puas untuk survey ga jelas Igracias.
javascript:(function(){
for(let radio of document.querySelectorAll("[id='radioX']")) {
radio.querySelectorAll('[type="radio"]')[0].checked = true
}
})();