Skip to content

Instantly share code, notes, and snippets.

24/04/07 00:56:17 | INFO | numexpr.utils | _init_num_threads | 161 : NumExpr defaulting to 4 threads.
24/04/07 00:56:19 | SUCCESS | menfess.database | db_connect | 80 : Database connected.
24/04/07 00:56:19 | SUCCESS | menfess.database | db_connect | 83 : Tables created.
24/04/07 00:56:21 | INFO | menfess.bot | start | 563 : Starting Bot Client...
24/04/07 00:56:22 | INFO | menfess.bot | start | 578 : Bot Client details:
ID: 6243829127
First Name: RANDOM MENFESS
Username: randomenfess_bot
24/04/07 00:56:22 | INFO | menfess.bot | start | 588 : Var.MENFESS_ID detected!
Title: RANDOM MENFESS 💭
@illvart
illvart / crypto.md
Created April 3, 2024 21:31
donate to my cryptocurrency address

cryptocurrency address

bitcoin (btc)

1CJHHcQAbDtTMfvjX4FtF6ie5FG2t5N5BN

ethereum (erc20)

0x4c9463589bd20a1baad927a1b7cea685c2e6ba10

toncoin (ton)

UQCoC9qEDQa2t6GR3YA61BzNAyY3P6fLecndStKQb4eRxd7_

@illvart
illvart / hosts
Last active March 18, 2024 03:24
Hosts file for Facebook, Instagram and Whatsapp
## Unblock Facebook, Instagram, Whatsapp
## Original source https://linktr.ee/illvart
179.60.192.36 facebook.com
157.240.2.35 facebook.com
179.60.192.36 www.facebook.com
157.240.2.35 www.facebook.com
179.60.192.36 fb.com
157.240.20.35 fb.com
157.240.194.18 mbasic.facebook.com
@illvart
illvart / facebook-unblock-id.md
Last active March 18, 2024 03:23
Cara unblock Facebook, Instagram, Whatsapp melalui hosts

Cara unblock Facebook, Instagram, Whatsapp melalui hosts

Unblock Facebook termasuk Facebook Analytics, dan Facebook for Developers.

Lokasi file hosts untuk:

Linux dan macOS

/etc/hosts

Windows

c:\Windows\System32\Drivers\etc\hosts

@illvart
illvart / facebook-unblock.md
Last active March 18, 2024 03:23
How to unblock Facebook, Instagram, Whatsapp via hosts

How to unblock Facebook, Instagram, Whatsapp via hosts

Unblock Facebook includes Facebook Analytics, and Facebook for Developers.

The hosts file location for:

Linux and macOS

/etc/hosts

Windows

c:\Windows\System32\Drivers\etc\hosts

@illvart
illvart / facebook-unblock.md
Last active March 18, 2024 03:14
How to unblock Facebook, Instagram, Whatsapp via hosts

How to unblock Facebook, Instagram, Whatsapp via hosts

Unblock Facebook includes Facebook Analytics, and Facebook for Developers.

The hosts file location for:

Linux and macOS

/etc/hosts

Windows

c:\Windows\System32\Drivers\etc\hosts

@illvart
illvart / 0-vscode-extensions-backup.md
Last active October 6, 2023 09:33
VSCode - Visual Studio Code extensions backup

VSCode - Visual Studio Code extensions backup

If you are use Unix/Linux create a bash script with a loop. In this case I want to backup the extensions list and install again:

First create a list of the extensions:

$ code --list-extensions > extensions.txt

Create a bash script for example with the name vscode-extension-install.sh and input the following code:

Aliases ~/.bashrc or ~/.zshrc:

alias pmr='sudo reflector -c "Indonesia" -c "Singapore" -c "US" -c "China" --score 100 --latest 25 --sort rate --save /etc/pacman.d/mirrorlist --verbose'
alias update-mirror='pmr && cat /etc/pacman.d/mirrorlist > mirrorlist && gist -u 3ac7c21617513627a906d314f63a7eca mirrorlist'

Just update /etc/pacman.d/mirrorlist:

$ pmr

Update and push to gist:

@illvart
illvart / checkTime.js
Last active March 2, 2022 06:13
Ignoring Telegraf old messages from users
module.exports = (ctx, next) => {
switch (ctx.updateType) {
case 'message':
if (new Date().getTime() / 1000 - ctx.message.date < 5 * 60) {
next();
} else {
console.log(`Ignoring messages updateType: 'message' from ${ctx.chat.id}`);
}
break;
case 'callback_query':
@illvart
illvart / meta-schema-custom-tag.njk
Created May 9, 2019 17:21
Meta schema JSON on Eleventy by nunjucks include, set, filter, custom tags.
<script type="application/ld+json">
{% minifyJson %}
{
"@context": "https://schema.org",
"@type": "WebSite",
"url": "{{ metadata.url }}",
"potentialAction": {
"@type": "SearchAction",
"target": "{{ metadata.url }}/search?q={search_term_string}",
"query-input": "required name=search_term_string"