Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
require 'uri' | |
require 'resolv' | |
text = File.open("trackers.txt").read.split(/\n|(\r\n)/) | |
hosts = text.map{ |uri| [URI(uri).host, uri] }.to_h | |
resolvs = {} | |
hosts.each do |h, uri| | |
if /\d+\.\d+\.\d+\.\d+/.match(h) | |
resolvs[h] = h |
/* | |
* jQuery Autolink | |
* jQuery Automail | |
* | |
* @author Riccardo Mastellone | |
* @description Two simple jQuery plugins to detect links (autolink) and email (automail) and make them clickable | |
* @usage $(".contaier").automail().autolink(); | |
*/ | |
#!/bin/bash | |
# You must accept the Oracle JDK License Update | |
# https://www.oracle.com/java/technologies/javase-downloads.html | |
# usage: get_oracle_jdk_x64.sh <jdk_version> <platform> <ext> | |
# jdk_version: 14 | |
# platform: linux or osx or windows | |
# ext: rpm or dmg or tar.gz or exec | |
jdk_version=${1:-14} |
#!/bin/sh | |
# https://github.com/phracker | |
# | |
# AutoDL-Irssi Init Script | |
# Tested on Debian 7 (Wheezy) | |
# Instructions: | |
# - Install / configure irssi + autodl-irssi (duh) | |
# - Save this script as /etc/init.d/autodl-irssi | |
# - `chmod +x /etc/init.d/autodl-irssi` | |
# - `insserv autodl-irssi` |
#! /bin/bash | |
# | |
# getopt.sh: | |
# functions like getopts but do long-named options parsing | |
# and support optional arguments | |
# | |
# Version 1.0 1997 by Grigoriy Strokin ([email protected]), Public Domain | |
# Date created: December 21, 1997 | |
# Date modified: December 21, 1997 | |
# |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
# src/api/phishnet.coffee | |
API_KEY = 'removed' | |
API_URL = 'api.phish.net/api.js' | |
METHOD = 'pnet.shows.setlists.get' | |
API_FORMAT = 'json' | |
API_VERSION = '2.0' | |
Request = require '../lib/request' |
// You create your bookmarklet by instantiating | |
// a new Bookmarklet function, then pass in the options like so. | |
// This example checks to see if the var is already defined, and makes | |
// sure not to overwrite it. This could happen if the user clicks on | |
// the bookmarklet more than once. | |
MyBookmarklet = MyBookmarklet || (MyBookmarklet = new Bookmarklet({ | |
// debug: true, // use debug to bust the cache on your resources | |
css: ['/my/style.css'], | |
js: [], |
/** | |
** ____ _ ___ ___ _ _ | |
** | _ \ | | | \/ | | | (_) | |
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _ | |
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | | | |
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | | | |
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_| | |
** | |
** Quassel Theme | |
** |