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 / hosts
Created December 16, 2016 16:55
List of sites to block. add it to /etc/hosts
# This MVPS HOSTS file is a free download from: #
# http://winhelp2002.mvps.org/hosts.htm #
# #
# Notes: The Operating System does not read the "#" symbol #
# You can create your own notes, after the # symbol #
# This *must* be the first line: 127.0.0.1 localhost #
# #
#**********************************************************#
# -------------- Updated: December-10-2016 --------------- #
#**********************************************************#
@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
}
})();
@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
(C) Conventional: a common English-language name for a feature, approved by the US BGN for use in addition to, or in lieu of, a US BGN-approved local official name or in an area where English is not the official language. Example: Rome (the capital of Italy).
(N) Approved: the US BGN-approved local official name for a geographic feature. Example: Roma (the capital of Italy).
(P) Provisional: a geographic name of a feature for which the territorial status is not finally determined or not recognized by the United States.
(D) Unverified: a feature name derived from a source whose official status cannot be verified by the US BGN.
(V) Variant: a former name, a name other than the official name that is found to be in local use, or any other name or spelling found on various sources.
(VA) Anglicized: a special class of Variant name representing an English-language form of an approved local name.
@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
@bekicot
bekicot / gsoc_org_details.json
Last active September 29, 2020 11:31
All GSOC 2018 Organization
[
{
"id": 4684694029860864,
"name": "3DTK",
"slug": "3dtk",
"website_url": "http://threedtk.de",
"category": "science_and_medicine",
"contact_email": "johannes.schauer@uni-wuerzburg.de",
"mailing_list": "https://sourceforge.net/p/slam6d/discussion/",
"irc_channel": null,

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

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