Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Prgrmmr

Esmail EL BoB EsmailELBoBDev2

:octocat:
Prgrmmr
View GitHub Profile
@EsmailELBoBDev2
EsmailELBoBDev2 / BioExam.ipynb
Created Nov 20, 2020
Created on Skills Network Labs
View BioExam.ipynb
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 Nov 16, 2020
A bash script to work with Bitwarden CLI and pass together, TOTP from PASS and Passwords From Bitwarden
View gist:7233e1b2a8ba274b54289af555336f96
#!/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 Sep 10, 2020
Created on Skills Network Labs
View beat_the_street.ipynb
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 Sep 8, 2020
Created on Skills Network Labs
View 01StudentNotebook.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@EsmailELBoBDev2
EsmailELBoBDev2 / Reddit Upvoter
Created Aug 7, 2020
It's a JS script to upvote reddit posts automatically
View Reddit Upvoter
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...");
@EsmailELBoBDev2
EsmailELBoBDev2 / watson translation.ipynb
Created Jun 21, 2020
Created on Skills Network Labs
View watson translation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View resume.json
{
"basics": {
"name": "John Doe",
"label": "Programmer",
"picture": "",
"email": "john@gmail.com",
"phone": "(912) 555-4321",
"website": "http://johndoe.com",
View Sends images to watson.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@EsmailELBoBDev2
EsmailELBoBDev2 / delete-all-messages.js
Created Mar 6, 2020 — forked from CarletonStuberg/delete-all-messages.js
Delete all messages in a Discord channel
View delete-all-messages.js
// Turn on Developer Mode under User Settings > Appearance > Developer Mode (at the bottom)
// Then open the channel you wish to delete all of the messages (could be a DM) and click the three dots on the far right.
// Click "Copy ID" and paste that instead of LAST_MESSAGE_ID.
// Copy / paste the below script into the JavaScript console.
// If you're in a DM you will receive a 403 error for every message the other user sent (you don't have permission to delete their messages).
var before = 'LAST_MESSAGE_ID';
clearMessages = function(){
const authToken = document.body.appendChild(document.createElement`iframe`).contentWindow.localStorage.token.replace(/"/g, "");
const channel = window.location.href.split('/').pop();
@EsmailELBoBDev2
EsmailELBoBDev2 / .bash_aliases
Created Jan 26, 2020 — forked from vratiu/.bash_aliases
Git shell coloring
View .bash_aliases
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset
You can’t perform that action at this time.