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
// ==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
#!/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
# -*- 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
### | |
# Copyright (c) 2005, Jeremiah Fincher | |
# Copyright (c) 2009, James McCoy | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# * 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
#!/usr/bin/env python | |
""" | |
Gcode cleaner to work around prusa slic3r annoyances for multi-filament | |
single-tool printing on non-Prusa printers. | |
Based on this gist: | |
* https://gist.github.com/ex-nerd/22d0a9796f4f5df7080f9ac5a07a381f | |
""" | |
import os |
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 | |
export PATH=/bin:/sbin:/usr/bin:/usr/local/bin | |
case $script_type in | |
up) | |
(for optionname in ${!foreign_option_*}; do | |
echo ${!optionname} | |
done) | awk '$2 == "DNS" { dns_server = $3 }; $2 == "DOMAIN" { domains = domains "/" $3 }; END { print "server=" domains "/" dns_server }' > /etc/NetworkManager/dnsmasq.d/$remote_1 |
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 | |
# | |
# Copyright: 2016 Sabin Iacob | |
# | |
# 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. | |
# 2. Redistributions in binary form must reproduce the above copyright |
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'), |
NewerOlder