Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

M Adib zamzam adibenc

🎯
Focusing
View GitHub Profile
@adibenc
adibenc / readme.md
Created April 3, 2023 01:58
99 Allah names
View readme.md
  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
View err.py
---------------------------------------------------------------------------
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
View readme.md

Cart js

@adib-enc

Examples:

instantiation

let cart = new Cart();

cart = cart.setCallbacks({
@adibenc
adibenc / japan
Created June 20, 2022 15:35
Unciv savegame
View japan
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
View 27 tanda hamba dunia.md

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
View docker-compose.yml
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
View security.conf
# 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
View brief.md
@adibenc
adibenc / const-greedy.csv
Created December 7, 2021 06:22
data construct greedy
View const-greedy.csv
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
@adibenc
adibenc / Big List Of 20 Common Bottlenecks.md
Last active October 28, 2021 04:01
Big List Of 20 Common Bottlenecks
View Big List Of 20 Common Bottlenecks.md

http://highscalability.com/blog/2012/5/16/big-list-of-20-common-bottlenecks.html

Big List Of 20 Common Bottlenecks

WEDNESDAY, MAY 16, 2012 AT 9:15AM

In Zen And The Art Of Scaling - A Koan And Epigram Approach, Russell Sullivan offered an interesting conjecture: there are 20 classic bottlenecks. This sounds suspiciously like the idea that there only 20 basic story plots. And depending on how you chunkify things, it may be true, but in practice we all know bottlenecks come in infinite flavors, all tasting of sour and ash.

One day Aurelien Broszniowski from Terracotta emailed me his list of bottlenecks, we cc’ed Russell in on the conversation, he gave me his list, I have a list, and here’s the resulting stone soup.