As configured in my dotfiles.
start new:
tmux
start new with session name:
| # Temporarily add a normal upstream DNS resolver | |
| /ip dns set servers=1.1.1.1,1.0.0.1 | |
| # CA certificates extracted from Mozilla | |
| /tool fetch url=https://curl.se/ca/cacert.pem | |
| # Import the downloaded ca-store (127 certificates) | |
| /certificate import file-name=cacert.pem passphrase="" | |
| # Set the DoH resolver to cloudflare |
| /********************************************************************/ | |
| /* Stig's Art Grabr development has moved to a GitHub repository: */ | |
| /* https://github.com/StigNygaard/Stigs_Art_Grabr */ | |
| /********************************************************************/ |
| #!/usr/bin/env python | |
| ############################### README ############################### | |
| # External dependencies: | |
| # * libmagic | |
| # * python-dateutil | |
| # * python-magic | |
| # * requests | |
| # | |
| # The shell command call at the end was tested with GNU date from GNU |
| #!/bin/sh | |
| delay=0 | |
| timeout=10 | |
| retry=2 | |
| usage() | |
| { | |
| echo "Usage: `basename $0` userid" | |
| exit 1 |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the | |
| software to the public domain. We make this dedication for the benefit |
| #!/bin/bash | |
| #puck.sh | |
| # A DNS propagation checker. Fetches in many DNS servers around | |
| # the world for IPs assigned to a given domain. | |
| # | |
| # Author: José Lopes de Oliveira Júnior <http://joselop.es> | |
| # | |
| # |
As configured in my dotfiles.
start new:
tmux
start new with session name:
#Script to extract to data from google cache This is a simple python script which retrieves content like your blog posts from googles cache, you can use this if your servers hard drive crashes or if a meteor hits your data center.
Remove the time.sleep code if you don't have more than 50 pages to retrieve.
##Original Source
| #!/usr/bin/env python | |
| # Copyright (c) 2009, David Warde-Farley | |
| # 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. |