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== | |
// @description Redirects Youtube URLs to Invidio.us | |
// @name Invidious Redirect | |
// @namespace Backend | |
// @downloadURL https://gist.githubusercontent.com/m0n5t3r/b7c13265152bd8c997f2d22afb4932e7/raw/invidious-redirect.userscript.js | |
// @include http://www.youtube.com/* | |
// @include https://www.youtube.com/* | |
// @include https://consent.youtube.com/* | |
// @version 1.6 | |
// @run-at document-start |
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== | |
// @description Redirects Twitter URLs to nitter | |
// @name Nitter Redirect | |
// @namespace Backend | |
// @downloadURL https://gist.github.com/m0n5t3r/fdd267c81b4e4059a4b409890a019fa3/raw/nitter-redirect.userscript.js | |
// @include https://twitter.com/* | |
// @version 1.0 | |
// @run-at document-start | |
// @inject-into content | |
// @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
#!/usr/bin/env python | |
# Copyright (c) Sabin Iacob <iacobs@gmail.com>. | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# 1. Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. |
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 soundgasm dl | |
// @namespace local | |
// @include https://soundgasm.net/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
;(function(){ | |
var player = $('#jquery_jplayer_1'), | |
desc = $('.jp-description'), |
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
#!/bin/bash -e | |
function log() { | |
date +"[%Y-%m-%d %H:%M:%S] $*" | |
} | |
lighthouse=$HOME/bin/lighthouse | |
latest_release="$(curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/sigp/lighthouse/releases | jq 'sort_by("published_at") | .[0]')" | |
release_tag="$(echo "$latest_release" | jq -r '.tag_name')" |
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
set $ssl off; | |
if ($scheme = https) { | |
set $ssl on; | |
} | |
proxy_set_header X-Forwarded-Ssl $ssl; |
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 python | |
import sys | |
from random import random | |
from time import sleep | |
from threading import Thread, active_count | |
execfile('gunicorn.conf.py') |
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
# -*- coding: utf-8 -*- | |
import os | |
__title__ = "BESO topological optimization" | |
__author__ = "fandaL" | |
__version__ = "00.01" | |
__date__ = "20/07/2019" | |
__Wiki__ = "https://github.com/fandaL/beso/wiki" | |
__Status__ = "stable" |
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 Bitchute RSS | |
// @namespace CompletelyUnknown | |
// @description Adds RSS URL to bitchute. | |
// @include *://www.bitchute.com/channel/* | |
// @include *://www.bitchute.com/video/* | |
// @version 1 | |
// @grant none | |
// @run-at document-idle | |
// ==/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
# %(mysite)s - run %(mysite)s instances (default is the main production instance) | |
# | |
# This runs gunicorn-django for %(mysite)s; to install: | |
# * sudo ln -s <this file> /etc/init/%(mysite)s | |
# * sudo initctl reload-configuration | |
# | |
# it expects the following directory layout: | |
# | |
# /home/%(mysite)s/public_html | |
# \-env -> virtualenv |
NewerOlder