This file contains hidden or 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 aescripts_product | |
| // @match https://aescripts.com/* | |
| // @grant GM_xmlhttpRequest | |
| // @run-at document-idle | |
| // @version 1 | |
| // @description inject product page | |
| // @connect localhost | |
| // ==/UserScript== |
This file contains hidden or 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
| /* | |
| This is intended to be saved as a bookmark in the bookmarks bar | |
| it executes a javascript that switches the google user id on the current page, intead of opening a new tab | |
| works on google drive, gmail, google meet, etc. | |
| usage: | |
| - replace the user ID in the first line below | |
| - copy/paste this script as a new browser bookmark (chrome or other) with the prefix "javascript:" | |
| - name/rename the bookmark to the username matching this user id | |
| - do this for every user you have. I personally place all of the bookmarks under a folder called "Switch user" at the beginning of my bookmark bar |
This file contains hidden or 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 glob | |
| import h5py | |
| from PIL import Image | |
| import numpy as np | |
| import time | |
| nfiles = 2 | |
| width = 1000 | |
| height = 800 |
This file contains hidden or 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
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| use Illuminate\Support\Facades\Blade; | |
| class JSServiceProvider extends ServiceProvider | |
| { | |
| /** |