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 / gist:1f2a06adc7ef91c8e794cc5969441b4e
Created August 16, 2018 23:45
To Make Songs Work When Specific Word Appear To User From ArrayList
// This Function For The Random Array List (Random Words)
let mainJS = function() {
let randomwords = [
"I'm professional programmer",
"Noobest programmer you will ever see xD",
"So Dont Call Me Baby <br> -Ed Sheeran",
"Kiki Do You Love Me ? <br> -Drake"
];
let randomItem = Math.floor(Math.random() * randomwords.length);
document.getElementById("randomwords").innerHTML = randomwords[randomItem];
@EsmailELBoBDev2
EsmailELBoBDev2 / LICENCE SUBLIME TEXT
Created February 21, 2019 18:03
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----

Keybase proof

I hereby claim:

  • I am esmailelbobdev2 on github.
  • I am esmailelbob (https://keybase.io/esmailelbob) on keybase.
  • I have a public key ASCV1BsNcBUYidt5EYSAeEOpgz75V2DdzUt49NK9o8bnHQo

To claim this, I am signing this object:

@EsmailELBoBDev2
EsmailELBoBDev2 / .bash_aliases
Created January 26, 2020 19:33 — forked from vratiu/.bash_aliases
Git shell coloring
# 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
@EsmailELBoBDev2
EsmailELBoBDev2 / delete-all-messages.js
Created March 6, 2020 09:49 — forked from IMcPwn/delete-all-messages.js
Delete all messages in a Discord channel
// 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 / Sends images to watson.ipynb
Created May 29, 2020 19:16
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 / watson translation.ipynb
Created June 21, 2020 15:11
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 / 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...");
@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.
@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.