- bit.ly/A0000-Z_____/Q0000-Q____
- no url on line: Q3g5g|
- is.gd/00000-9____/70000-7____
- no url on line: 7Osni|
- no url on line: 7YKrn|
- is.gd/00000-9____/90000-9____
- no url on line: 91E3L|
- tinyurl.com/0-zzzz
- no url on line: 8w8|
- no url on line: 08w8|
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
# delete existing rules | |
iptables -F | |
# drop all traffic not explicitly allowed | |
iptables -P INPUT DROP | |
iptables -P FORWARD DROP | |
iptables -P OUTPUT DROP | |
# allow ping from inside | |
iptables -A OUTPUT -p icmp --icmp-type echo-request -j ACCEPT |
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
from datetime import datetime, date | |
from json import dumps | |
import fileinput | |
import re | |
import sys | |
# detect useless "page x of n" lines | |
page_regex = re.compile(r'^Page,[0-9]+,of,[0-9]+') | |
def parse_input(): |
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
const { ArgumentParser } = require('argparse') | |
const fs = require('fs') | |
const path = require('path') | |
const mkdirp = require('mkdirp') | |
const packageInfo = require('./package') | |
const argparser = new ArgumentParser({ | |
addHelp: true, | |
description: 'Extract files from an ignition config', | |
version: packageInfo.version |
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
/** | |
* Subtract timespec `b` from `a`. timespec `a` must be greater than `b`. | |
* @param res Where we put the result | |
* @param a timespec pointer for end time | |
* @param b timespec pointer for start time | |
*/ | |
void get_difference(timespec *res, timespec *a, timespec *b) { | |
if (a->tv_nsec < b->tv_nsec) { | |
res->tv_sec = a->tv_sec - b->tv_sec - 1; | |
res->tv_nsec = a->tv_nsec - b->tv_nsec + 1000000000; |
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
@ini_set('error_log', NULL); | |
@ini_set('log_errors', 0); | |
@ini_set('max_execution_time', 0); | |
@error_reporting(0); | |
@set_time_limit(0); | |
if(!defined("PHP_EOL")) | |
{ | |
define("PHP_EOL", "\n"); |
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
length | total | |
---|---|---|
0 | 140 | |
1 | 301 | |
2 | 1014 | |
3 | 2078 | |
4 | 4872 | |
5 | 2486 | |
6 | 2742 | |
7 | 4773 | |
8 | 8379 |
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
base58 = require 'bs58' | |
{ArgumentParser} = require 'argparse' | |
packageInfo = require '../package' | |
multihash = require '../src' | |
printJSON = (obj) -> | |
# print out one key/value per line, so (for example) piping into `wc -l` gives | |
# a count of the total supported functions | |
console.log JSON.stringify(obj, null, 1).replace(/\s*(\}|\{)\s*/gm, '$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
<!DOCTYPE html> | |
<!--[if IE 8]><html class="lt-ie10 lt-ie9"> <![endif]--> | |
<!--[if IE 9]><html class="lt-ie10"> <![endif]--> | |
<!--[if gt IE 9]><!--> <html> <!--<![endif]--> | |
<head> | |
{MobileAppHeaders} | |
<meta charset="utf-8"> | |
<title>{Title}{block:SearchPage} ({lang:Search results for SearchQuery}){/block:SearchPage}{block:PermalinkPage}{block:PostSummary} — {PostSummary}{/block:PostSummary}{/block:PermalinkPage}</title> | |
{block:Description} | |
<meta name="description" content="{MetaDescription}"> |
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
[ | |
[ | |
"1199912457779691520", | |
"euEZOhr7EYW" | |
], | |
[ | |
"1182862150076080128", | |
"O21aDKXWJwW" | |
], | |
[ |
NewerOlder