Skip to content

Instantly share code, notes, and snippets.

@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_

@lshaf
lshaf / faq.md
Last active March 8, 2024 21:59
biolbe note and collabolator

FAQ (Frequently Asked Question)

  1. Kak, tadinya auto mf saya jalan, tapi kenapa tiba-tiba enggak? udah 1 jam lebih ga ada mf yang ke kirim.
    • Kemungkinannya adalah sebagai berikut
      • Akun twitter anda lagi limit
      • App kalian tidak sengaja kena revoke
      • App kalian di blok oleh twitter
    • Yang harus kalian lakukan
      • Cek limit akun twitter kalian
  • Cek status auto menfess kalian dengan cara kirim dm /info @akunbase ke @bot_mf
@Sauerstoffdioxid
Sauerstoffdioxid / googleurlparams.md
Last active May 3, 2024 00:39
Google/Blogger Image URL Parameters

Google/Blogger Image URL Parameters

This is an effort to document what is known about Google's (Blogger's/Blogspot's) image URL parameters. Some of these options were taken from existing first or third party documentation (see the links at the end of this document), but the majority is based off my own investigations.

Where to use them?

  • On Blogger's image URL's: 2.bp.blogspot.com/-OF7u67HQE1M/VHc8S8qJTDI/AAAAAAAACxI/UD-11c63diQ/s1600/005.png
  • On just about any googleusercontent image URL: https://lh3.googleusercontent.com/Jvmz11cLrvNIHG_LWjVO9B-UV2IN4Cfk1pycbhWZl6IriMgCAGCOFuBRtoHaiZ6xeVGqCugZcCql=w176-h176-n-o

Replace the bolded parts with the parameters.

@khanzadimahdi
khanzadimahdi / data-uri-regex-rfc2397.md
Last active February 22, 2024 08:51
regex pattern base64 data uri according to RFC 2397

pattern:

^data:((?:\w+\/(?:(?!;).)+)?)((?:;[\w\W]*?[^;])*),(.+)$

test this pattern on regexr: https://regexr.com/4inht

regex pattern to match RFC 2397 data URL

@mahdizojaji
mahdizojaji / README.md
Last active April 15, 2021 23:12
delete self messages

Delete all self messages (when user not admin of telegram group) [with pyrogram]

  • Requirements:

    1. pip3 install pyrogram
    2. pip3 install -U pyrogram[fast]
  • Usag:

    1. Get your api-id & api-hash then Insert these on Client parameters.
    2. Enter command python3 delete_self_msg.py (if your region has limited: torsocks python3 delete_self_msg.py)
  • Community:

@mathiasbynens
mathiasbynens / escape.js
Created June 26, 2019 07:29
Escaping JSON-stringified data for use as a JavaScript string literal
// This object contains a string value that in contains a single quote,
// a double quote, a backtick, and a backslash.
const data = { foo: `a'b"c\`d\\e` };
// Turn the data into its JSON-stringified form.
const json = JSON.stringify(data);
// Now, we want to insert the data into a script body as a JavaScript
// string literal per https://v8.dev/blog/cost-of-javascript-2019#json,
// escaping special characters like `"` in the data.
@nobodyzxc
nobodyzxc / ad_remove_main.sh
Last active October 3, 2023 15:03
[Deprecated] remove ads in apk => https://github.com/nobodyzxc/RemoveAppAD
APK="$1"
if [ -f $APK ];then
./apktool d "$APK"
OIFS="$IFS"
IFS=$'\n'
grep -lR "\->loadAd" "${APK%.*}" | xargs -d '\n' -- sed -i '/\->loadAd/d'
IFS="$OIFS"
./apktool b "${APK%.*}" -o "${APK%.*}_no_ad.apk"
java -jar sign.jar --overwrite --apks "${APK%.*}_no_ad.apk"
rm -rf "${APK%.*}"
@dobesv
dobesv / dev_signed_cert.sh
Last active March 21, 2024 07:47
Script to create (1) a local certificate authority, (2) a host certificate signed by that authority for the hostname of your choice
#!/usr/bin/env bash
#
# Usage: dev_signed_cert.sh HOSTNAME
#
# Creates a CA cert and then generates an SSL certificate signed by that CA for the
# given hostname.
#
# After running this, add the generated dev_cert_ca.cert.pem to the trusted root
# authorities in your browser / client system.
#
@jeromecoupe
jeromecoupe / webstoemp-gulpfile.js
Last active January 21, 2024 16:28
Gulp 4 sample gulpfile.js. For a full explanation, have a look at https://www.webstoemp.com/blog/switching-to-gulp4/
"use strict";
// Load plugins
const autoprefixer = require("autoprefixer");
const browsersync = require("browser-sync").create();
const cp = require("child_process");
const cssnano = require("cssnano");
const del = require("del");
const eslint = require("gulp-eslint");
const gulp = require("gulp");