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 Shutterstock.NewEarnings | |
| // @namespace | |
| // @version 1.2.16.2 | |
| // @updateURL https://gist.github.com/PSOdAz/6c8210c2eaa468a3972020757473888d/raw/f8098c03eaa4611036d567cdb9883f4c6d28809c/Shutterstock.NewEarnings.user.js | |
| // @description Update the temperary fixes to show display Downloads per Keyword, based on GG's https://gist.github.com/deymosD/126aa0a849de4196547ef5662684b270 | |
| // @author GG, PSOdAz update | |
| // @match http://submit.shutterstock.com/earnings* | |
| // @match https://submit.shutterstock.com/earnings* | |
| // @match https://submit.shutterstock.com/earnings/* |
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 ShutterPlace | |
| // @namespace | |
| // @version 1.0 | |
| // @description added detailed localization to Shutterstock Latest Downloads map | |
| // @author Satinka | |
| // @match http://submit.shutterstock.com/home.mhtml* | |
| // @match https://submit.shutterstock.com/home.mhtml* | |
| // @copyright 2016, Satinka | |
| // @require http://code.jquery.com/jquery-latest.min.js |
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 Shutterstock.FixKeywords | |
| // @namespace | |
| // @version 2020.09.07 | |
| // @updateURL https://gist.github.com/PSOdAz/bc8736c970ab79a56675b3343688bd20 | |
| // @downloadURL https://gist.github.com/PSOdAz/bc8736c970ab79a56675b3343688bd20 | |
| // @description Automatic copying keywords to clipboard based on GG's https://gist.github.com/deymosD/8ae60c75dd57b51667a4f696a3d083b2. Thanks you so much for intial this script. | |
| // @author GG, PSOdAz update | |
| // @match https://www.shutterstock.com/image-photo* | |
| // @match https://www.shutterstock.com/image-vector* |
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 Shutterstock.EnhanceDashboard | |
| // @namespace https://gist.github.com/PSOdAz/b353842718113287589c02938ca4b310 | |
| // @version 2020.10.01 | |
| // @updateURL https://gist.github.com/PSOdAz/b353842718113287589c02938ca4b310/raw/a6690af21fee1f318f38661521e2b814837e18a5/Shutterstock.EnhanceDashboard.user.js | |
| // @description Show detailed localization and keyword used to download to Shutterstock Latest Downloads map, based on Satinka's https://gist.github.com/satinka/5479a93d389a07d41246 and GG update's https://gist.github.com/deymosD/ff4b0effbffefd76f58300b01e45afd4 | |
| // @author Satinka, GG update, PSOdAz update | |
| // @match https://submit.shutterstock.com/dashboard* | |
| // @copyright 2016, Satinka | |
| // @require http://code.jquery.com/jquery-latest.min.js |
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
| -fotolia.com -graphicleftovers.com -bigstockphoto.com -vectorstock.com -depositphotos.com -fotosearch.com -stockfresh.com -thinkstockphotos.com -istockphoto.com -123rf.com -dreamstime.com -shutterstock.com -canstockphoto.com -cutcaster.com -dondrup.com -colourbox.com |
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
| #------------ Add path to system variable ------------------------------------- | |
| $path2add = ';C:\path;' | |
| $systemPath = [Environment]::GetEnvironmentVariable('Path', 'machine'); | |
| If (!$systemPath.contains($path2add)) { | |
| $systemPath += $path2add | |
| $systemPath = $systemPath -join ';' | |
| [Environment]::SetEnvironmentVariable('Path', $systemPath, 'Machine'); | |
| write-host "Added to path!" |
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
| # FILE_LOCATION: /usr/bin/check_shadowsocks.sh | |
| # DESCRIPTION: Script for checking whether shadowsocks-libev is running, and if not, restart it. | |
| # <!-- ORIGINAL_CONTENTS_BELOW --> | |
| #!/bin/sh | |
| ss_pid_path="/var/run/ss-redir.pid" | |
| ss_port={SS1_PORT} | |
| ss2_pid_path="/var/run/ss-redir-whitelist.pid" | |
| ss2_port={SS2_PORT} | |
| if [ -f $ss_pid_path ] && [ -f $ss2_pid_path ]; then |
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
| A partial list of these Vendor ID Codes: | |
| 0x014F - Transcend Information | |
| 0x2C00—Micron Technology, Inc. | |
| 0x802C—Micron Technology, Inc. | |
| 0x80AD—Hynix Semiconductor Inc. | |
| 0x80CE—Samsung Electronics, Inc. | |
| 0xAD00—Hynix Semiconductor Inc. | |
| 0xCE00—Samsung Electronics, Inc. | |
| My system has memory made by 0x802C and 0x80CE. One came with the system, the other came from Crucial. |
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 cv2 | |
| import sys | |
| import numpy as np | |
| camera = cv2.VideoCapture("video.avi") | |
| # Setup BlobDetector | |
| detector = cv2.SimpleBlobDetector_create() | |
| params = cv2.SimpleBlobDetector_Params() | |
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
| #!/usr/local/bin/python3 | |
| ''' | |
| Convert a pkl file into json file | |
| ''' | |
| import sys | |
| import os | |
| import _pickle as pickle | |
| import json |
OlderNewer