This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Discord Direct Video Embed v2 | |
// @description Embed MP4 videos in Discord. | |
// @namespace Violentmonkey Scripts | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @require https://raw.githubusercontent.com/pie6k/jquery.initialize/master/jquery.initialize.min.js | |
// @match *://discordapp.com/* | |
// @grant GM_addStyle | |
// @grant GM_getResourceText | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import discord | |
import asyncio | |
import ig_auth | |
import urllib.request | |
import os | |
import sys | |
import yaml.reader | |
import re | |
import textwrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import auth | |
from instagram_private_api import Client, ClientCompatPatch | |
def do_something(): | |
instagram_app_api = auth.login_instagram("username", "password") | |
# Do stuff with instagram_app_api | |
do_something() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import codecs | |
import os.path | |
try: | |
from instagram_private_api import ( | |
Client, ClientError, ClientLoginError, | |
ClientCookieExpiredError, ClientLoginRequiredError, | |
__version__ as client_version) | |
except ImportError: | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
angular.module("gigafineartApp", ["ngCookies", "ngResource", "ngSanitize", "ui.router", "ui.bootstrap", "ngFileSaver"]).config(["$stateProvider", "$urlRouterProvider", "$locationProvider", function(a, b, c) { | |
b.otherwise("/"), c.html5Mode(!0) | |
}]), angular.module("gigafineartApp").controller("GcidownloadCtrl", ["$scope", "$http", "$window", "FileSaver", "Blob", "$q", "$timeout", function(a, b, c, d, e, f, g) { | |
function h(a, b) { | |
b = b || ""; | |
for (var c = 1024, d = atob(a), f = d.length, g = Math.ceil(f / c), h = new Array(g), i = 0; g > i; ++i) { | |
for (var j = i * c, k = Math.min(j + c, f), l = new Array(k - j), m = j, n = 0; k > m; ++n, ++m) l[n] = d[m].charCodeAt(0); | |
h[i] = new Uint8Array(l) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Discord Firefox Fix | |
// @namespace Unfuck Discord CSS on Firefox | |
// @version 0.1 | |
// @description Unfuck Discord CSS on Firefox | |
// @author You | |
// @match *://discordapp.com/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @require https://raw.githubusercontent.com/pie6k/jquery.initialize/master/jquery.initialize.min.js | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Discord Auto Mark As Read Guilds | |
// @description Useful for emote servers. Whenever there's an unread message in a guild, this script will automatically mark it as read. | |
// @namespace Violentmonkey Scripts | |
// @grant GM_addStyle | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @require https://raw.githubusercontent.com/pie6k/jquery.initialize/master/jquery.initialize.min.js | |
// @match *://discordapp.com/* | |
// | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
(function () { | |
/* | |
Tested only in Chrome, ¯\_(ツ)_/¯ | |
Please feel free to port/fix/fork. | |
*/ | |
const ver = 'V.20170617.090454'; | |
const src = 'https://github.com/taengstagram/IG-Comments-Bookmarklet/'; | |
console.info(ver); | |
console.info(src); |