Skip to content

Instantly share code, notes, and snippets.

View adibenc's full-sized avatar
🎯
Focusing

M Adib zamzam adibenc

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am adibenc on github.
  • I am adibenc (https://keybase.io/adibenc) on keybase.
  • I have a public key whose fingerprint is 36C9 9626 6E0F B317 4FEB CE62 C1EC 2003 6994 F358

To claim this, I am signing this object:

@adibenc
adibenc / readme.md
Created April 3, 2023 01:58
99 Allah names
  1. Ar-Rahman (الرحمن) The All-Compassionate
  2. Ar-Rahim (الرحيم) The All-Merciful
  3. Al-Malik (الملك) The Absolute Ruler
  4. Al-Quddus (القدوس) The Pure One
  5. As-Salam (السلام) The Source of Peace
  6. Al-Mu'min (المؤمن) The Inspirer of Faith
  7. Al-Muhaymin (المهيمن) The Guardian
  8. Al-Aziz (العزيز) The Victorious
  9. Al-Jabbar (الجبار) The Compeller
  10. Al-Mutakabbir (المتكبر) The Greatest
@adibenc
adibenc / err.py
Created February 5, 2023 13:03
err mbart indobenchmark
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[5], line 3
1 idx = 2
2 art = getArt(idx)
----> 3 summarizer(
4 art,
5 min_length=20,
6 max_length=144,
7 )
@adibenc
adibenc / readme.md
Created January 19, 2023 10:13
temp doc for cart

Cart js

@adib-enc

Examples:

instantiation

let cart = new Cart();

cart = cart.setCallbacks({
@adibenc
adibenc / japan
Created June 20, 2022 15:35
Unciv savegame
H4sIAAAAAAAAAM1925bbRpLtr9TqZ0KHuAP1Jst222esltqS23PGSw8oElRxzCJreJFdrVX/fnBL5I68AJEgqqdXa7VZJBB5i8yMjNg78utdcaz+bYv96fbrqnh4rP+zK06n29Xh4dVlv9p+efXfp8P+1Q/F6f5t8fiPcnU+HINFuT8ft+Xp9rffvv55Gy6ebv3keaG9uTt83q5efbevBT9UryxWh8v+vD78sb+NF+vydD4ensr17fl4KRePh9P2vD3sb0Hg6bH4Y1+uf9lvz6fb5PnToi7Ny6pfPdfy/GioQCmTFBl1RQbNr4FjiUtSRC+DlOB3Jfj1z5ljAUMtEgJJaUvRhXUHe649GA72oBBpKPDp1rHrchDdvGxsRd3C1E1wNtSETp6xrLTWSLeyIiK8E2AUXmlK1XfR9D4CEUbtagbHsat8fXhtnVPNrapxjvLzQe0VEkl5gWiO7zeTaTnj4INMtY2fnp8XlejtbvvPon68WvW+Vn+/qT5VYlbtV1+bZ/5WPJS33/RL6mK9fdwdHorV0+3XfxT7qipfyuPt1+7b83b19rDebrblsXr/27JqyrFc/1oc3+1/OVVVSV9labz4cF9/+92+fHi6jZ8X2/1mdyn3q7Ku6+Jwvi+Pb7py+xKq+pZ/VkVU733c7upVum5grYFeJUFoS9p+bHp62Xz2mj+8/q9Gp9rH6pdj+Fp+iyI9lOkTmd1fqVh4/qx2gKfbqP02FvrfiUxAZAalZv0j8AQ+0D3dViAgFQj6QruSmhdyfDmHl0PycgiPwVMpPpRKqdhTHv6BfRVDj0R95UJZzVB2Ttg3HHsslNISLDGRNcywhrL7sAs8fBdezfFVaHSM38fye9GgADShrmbQl9q1TdYCGtDVqK2F7A4vkO0NoMPgzUhWIcEakKaT/sE+DPAVHBJZ7e4TtDQC0aC2ATQHNab7DBJQgJAWaIOBrew+5rVuisHre8mHBvkoAJQenvGl2EDWiWg8jkwAEuF5D1/oPudNSW3PN1XN8Ptc
@adibenc
adibenc / 27 tanda hamba dunia.md
Last active June 14, 2022 23:00
27 tanda hamba dunia

27 tanda hamba dunia

by kisah zakat malaysia translate ke indo, subjek diubah dari "anda" ke "dia"

  1. Tidak bersiap saat waktu sholat akan tiba
  2. Melalui hari ini tanpa sedikitpun membuka lembaran Al-quran, lantaran terlalu sibuk
  3. Selalu berfikir setiap waktu bagaimana caranya agar harta semakin bertambah
  4. Marah ketika ada orang yg memberi nasihat bahwa perbuatan yg lakukan adalah haram
  5. terus menerus menunda untuk berbuat amal sholeh. "aku akan mengerjakannya besok, nanti dan seterusnya"
  6. sangat kagum dengan gaya hidup orang-orang kaya
@adibenc
adibenc / docker-compose.yml
Last active April 26, 2022 13:24
example docker-compose.yml for kong, postgres and konga, a bit fixes
version: "3"
networks:
kong-net:
driver: bridge
services:
#######################################
# Postgres: The database used by Kong
@adibenc
adibenc / security.conf
Created February 23, 2022 03:17 — forked from ambroisemaupate/security.conf
Nginx CSP example
# config to don't allow the browser to render the page inside an frame or iframe
# and avoid clickjacking http://en.wikipedia.org/wiki/Clickjacking
# if you need to allow [i]frames, you can use SAMEORIGIN or even set an uri with ALLOW-FROM uri
# https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options
add_header X-Frame-Options SAMEORIGIN;
# when serving user-supplied content, include a X-Content-Type-Options: nosniff header along with the Content-Type: header,
# to disable content-type sniffing on some browsers.
# https://www.owasp.org/index.php/List_of_useful_HTTP_headers
# currently suppoorted in IE > 8 http://blogs.msdn.com/b/ie/archive/2008/09/02/ie8-security-part-vi-beta-2-update.aspx
@adibenc
adibenc / brief.md
Created February 18, 2022 13:26
grub efi fix
@adibenc
adibenc / const-greedy.csv
Created December 7, 2021 06:22
data construct greedy
no dur dreward reward total cost start finish
1 24 2000 48000 1200 1 25
2 25 2000 50000 1000 117 142
3 33 2000 66000 3200 155 188
4 20 2000 40000 30000 130 150
5 30 2000 60000 10000 67 97
6 24 2000 48000 18000 41 65
7 18 2000 36000 22000 141 159
8 24 2000 48000 120 78 102
9 25 2000 50000 100 166 191