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 Printables.com - Blur AI Generated Models | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description Finds models with the 'AI-generated' tag on Printables.com and blurs their main image. Unblurs on hover. | |
| // @author arhix | |
| // @match https://www.printables.com/* | |
| // @grant none | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=printables.com | |
| // ==/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
| // ==UserScript== | |
| // @name Remove Autoplay from Luna Cards | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Removes 'autoplay=1' from the URLs on Luna pages. | |
| // @author arhix | |
| // @match https://luna.amazon.com/* | |
| // @grant none | |
| // @run-at document-idle | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=luna.amazon.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
| version: '3' | |
| services: | |
| app: | |
| image: node:11 | |
| volumes: | |
| - .:/app | |
| working_dir: /app | |
| networks: | |
| - appnetwork | |
| ports: |
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
| const request = require('request'); | |
| const parse = require('parse-diff'); | |
| const EventEmitter = require('events'); | |
| const myEmitter = new EventEmitter(); | |
| var changes = {}; | |
| myEmitter | |
| .on('load_pr', function (pr_list) { | |
| setImmediate(function () { | |
| pr_list.forEach(function (pr) { |
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
| #include "stdio.h" | |
| #include <opencv2/opencv.hpp> | |
| using namespace std; | |
| using namespace cv; | |
| int main(int argc, char** argv) | |
| { | |
| VideoCapture cap(0); |
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
| # http://gitpython.readthedocs.io/en/stable/ | |
| from git import Repo | |
| repo = Repo('./test-repo') | |
| repo.remotes.origin.fetch() | |
| repo_url = repo.remotes.origin.url | |
| repo_branch = repo.head.reference | |
| count = 0 |
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
| #!/bin/bash | |
| # log into your server | |
| ssh root@[server ipaddress] | |
| # change root password | |
| passwd | |
| # update all packages and operating system | |
| apt-get update && apt-get --yes upgrade |