Skip to content

Instantly share code, notes, and snippets.

View EsmailELBoBDev2's full-sized avatar
:octocat:
I'm on gitea now.

Esmail EL BoB EsmailELBoBDev2

:octocat:
I'm on gitea now.
View GitHub Profile
@EsmailELBoBDev2
EsmailELBoBDev2 / BioExam.ipynb
Created November 20, 2020 13:10
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@EsmailELBoBDev2
EsmailELBoBDev2 / debugging.sh
Created December 14, 2020 16:22 — forked from epynic/debugging.sh
Bash Scripting Zero to Hero Examples
#debugging shellscripts -x would show the scrips line by line and output followed by
#!/bin/bash -x
TEST_VAR="test"
echo "$TEST_VAR"
#custom
#set -x / start debugginh
#set +x / stop
#-ex exit on stop
#-v prints shell before substitution are applied
#-vx
@EsmailELBoBDev2
EsmailELBoBDev2 / bash-colors.md
Created December 16, 2020 00:01 — forked from JBlond/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@EsmailELBoBDev2
EsmailELBoBDev2 / gist:81f65845c2025786b92dc17e10414cb7
Last active January 17, 2021 06:37
What'sapp status about signal, in Arabic!
#01
(سوف احذف واتساب فى البداية من فبراير.)
لماذا؟
#02
ربما تكون قد رأيت هذه الرسالة في واتساب:
[https://imgbox.com/p8vSpBaV OR https://images2.imgbox.com/eb/9b/p8vSpBaV_o.png]
@EsmailELBoBDev2
EsmailELBoBDev2 / bc.sh
Created August 30, 2021 02:22
bandwidth checker for linux - to test how much website is taking to load up
#!/bin/sh
init="$(($(cat /sys/class/net/[ew]*/statistics/rx_bytes | paste -sd '+')))"
printf "Recording bandwidth. press enter to stop."
read -r lol
fin="$(($(cat /sys/class/net/[ew]*/statistics/rx_bytes | paste -sd '+')))"

openpgp4fpr:8738F073D80BD48812CCC8AF64AD9006A2D1C55B

@EsmailELBoBDev2
EsmailELBoBDev2 / Reddit Upvoter
Created August 7, 2020 03:58
It's a JS script to upvote reddit posts automatically
function upvote() {
document.querySelectorAll('[data-click-id="upvote"]').forEach((b, i) => {
setTimeout(() => {
if (b.getAttribute("aria-pressed") == "true") {
console.log("already upvoted...");
} else if (b.getAttribute("aria-pressed") == "false") {
b.click();
console.log("upvoting...");
} else {
console.log("something went wrong...");
I'm now on nostr, pub key: npub179thcfwhkdsxsfpqdvn48efff7z9389tgdua5e7kmuhmah3xhg2q4cq4gl