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
I'm now on nostr, pub key: npub179thcfwhkdsxsfpqdvn48efff7z9389tgdua5e7kmuhmah3xhg2q4cq4gl

openpgp4fpr:8738F073D80BD48812CCC8AF64AD9006A2D1C55B

@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 '+')))"
@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 / 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 / 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 / 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 / gist:7233e1b2a8ba274b54289af555336f96
Last active November 16, 2020 22:43
A bash script to work with Bitwarden CLI and pass together, TOTP from PASS and Passwords From Bitwarden
#!/bin/bash
## Help Message
if [ "$1" == "-h" ] || [ "$1" == "--help" ] || [ $# -eq 0 ]; then
echo "Usage: `basename $0` password's name/password's ID"
echo "EX: `basename $0` github"
echo "EX: `basename $0` 33j9p592-3c2u-be6h-nek8-e3y4cpbvf53c"
exit 0
fi
@EsmailELBoBDev2
EsmailELBoBDev2 / beat_the_street.ipynb
Created September 10, 2020 07:19
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 / 01StudentNotebook.ipynb
Created September 8, 2020 20:04
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.