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/env python | |
| import json | |
| import logging | |
| import sys | |
| import os | |
| from six.moves import configparser | |
| from datetime import datetime, timedelta | |
| ''' | |
| Usage: |
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/bin/env bash | |
| # pomf.se uploader | |
| # requires: curl | |
| dest_url='http://pomf.se/upload.php' | |
| return_url='http://a.pomf.se' | |
| if [[ -n "${1}" ]]; then | |
| file="${1}" | |
| if [ -f "${file}" ]; 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
| #### | |
| # Install magneticod go-rewrite on a brand new scaleway ubuntu 16.04 instance | |
| #### | |
| apt-get update && apt-get -y upgrade | |
| apt-get install -y software-properties-common python-software-properties git trickle | |
| add-apt-repository ppa:gophers/archive | |
| apt update | |
| apt-get -y install golang-1.9-go | |
| mkdir -p $HOME/go/src | |
| cd $HOME/go/src |
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
| <?php | |
| $transaction_id = $argv[1]; | |
| $url = "https://blockchain.info/tx/$transaction_id?show_adv=true&format=json"; | |
| $result = file_get_contents($url); | |
| $resultJSON = json_decode($result, true); | |
| function hex2str($hex) { | |
| $str = ''; | |
| for($i=0;$i<strlen($hex);$i+=2) $str .= chr(hexdec(substr($hex,$i,2))); | |
| return $str; | |
| } |
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
| # | |
| # | |
| # The Seedbox From Scratch Script | |
| # By Notos ---> https://github.com/Notos/ | |
| # | |
| # | |
| ###################################################################### | |
| # | |
| # Copyright (c) 2013 Notos (https://github.com/Notos/) | |
| # |
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
| # Source: | |
| # https://www.cloudflare.com/ips | |
| # https://support.cloudflare.com/hc/en-us/articles/200169166-How-do-I-whitelist-CloudFlare-s-IP-addresses-in-iptables- | |
| for i in `curl https://www.cloudflare.com/ips-v4`; do iptables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done | |
| for i in `curl https://www.cloudflare.com/ips-v6`; do ip6tables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done | |
| # Avoid racking up billing/attacks | |
| # WARNING: If you get attacked and CloudFlare drops you, your site(s) will be unreachable. | |
| iptables -A INPUT -p tcp -m multiport --dports http,https -j DROP |
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 | |
| BLOCKCHAININFO=$(bitcoin-cli getblockchaininfo) | |
| TAPROOT=$(echo "$BLOCKCHAININFO" | jq .softforks.taproot.bip9) | |
| SINCE=$(echo "$TAPROOT" | jq .since) | |
| ELAPSED=$(echo "$TAPROOT" | jq .statistics.elapsed) | |
| for BLOCK in $(seq "$SINCE" $((SINCE + ELAPSED - 1))); do | |
| HASH=$(bitcoin-cli getblockhash "$BLOCK") | |
| HEADER=$(bitcoin-cli getblockheader "$HASH") | |
| VERSION=$(echo "$HEADER" | jq .version) | |
| SIGNAL=$(((VERSION & 3758096388) == 536870916)) |
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
| NetLimiter 3 | |
| Registration name: Peter Raheli | |
| Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB | |
| NetLimiter 4 | |
| Registration Name: Vladimir Putin #2 | |
| Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7 | |
| https://www.netlimiter.com/download | |
| # Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro |
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 | |
| # Clears finished downloads from Transmission. | |
| # Version: 1.1 | |
| # | |
| # Newest version can always be found at: | |
| # https://gist.github.com/pawelszydlo/e2e1fc424f2c9d306f3a | |
| # | |
| # Server string is resolved in this order: | |
| # 1. TRANSMISSION_SERVER environment variable |
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 axios = require('axios') | |
| const toStringParams = o => | |
| Object | |
| .keys(o) | |
| .map(k => `${k}=${o[k]}`) | |
| .join('&') | |