Skip to content

Instantly share code, notes, and snippets.

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
View Keybase.md

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 / LICENCE SUBLIME TEXT
Created Feb 21, 2019
Sublime Text 3 Serial key build is 3176
View LICENCE SUBLIME TEXT
## 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 -----
@EsmailELBoBDev2
EsmailELBoBDev2 / gist:1f2a06adc7ef91c8e794cc5969441b4e
Created Aug 16, 2018
To Make Songs Work When Specific Word Appear To User From ArrayList
View gist:1f2a06adc7ef91c8e794cc5969441b4e
// 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];