this small utility allows you to view the schema of a file and browse the data. thats it. then theres a small exploratory script.
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
import functools | |
import inspect | |
def asynchronize(fn): | |
if inspect.iscoroutinefunction(fn): | |
return fn | |
@functools.wraps(fn) | |
async def _wrapper(*args, **kwargs): | |
return fn(*args, **kwargs) |
Run using ipython:
$ poetry run ipython
Python 3.8.2 (default, Jul 16 2020, 14:00:26)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.18.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import index
Run terraform in a container!
This file should just be in your path and your terraform codebase located in a folder called terraform. Then just run it like this:
terraformw init
terraformw plan -out plan.tfplan
terraformw apply plan.tfplan
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 scratch | |
COPY cali-example /tool | |
ENTRYPOINT ["/tool"] |
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
[ ca ] | |
default_ca = CA_default | |
[ CA_default ] | |
dir = /home/mig/certs | |
serial = $dir/serial | |
database = $dir/index.txt | |
new_certs_dir = $dir/certs | |
certificate = $dir/cacert.crt | |
private_key = $dir/cacert.key | |
default_days = 365 |
When on http://m.fatberris.com press the F12
-button and go to the console
-tab. Copy and paste the below script into the console and press enter, skip a song, and the link appears together with remaining time.
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
# LOTS OF COMMENTS REMOVED FROM TOP | |
# DO NOT DISABLE! | |
# If you change this first entry you will need to make sure that the | |
# database superuser can access the database using some other method. | |
# Noninteractive access to all databases is required during automatic | |
# maintenance (custom daily cronjobs, replication, and similar tasks). | |
# | |
# Database administrative login by Unix domain socket | |
local all postgres peer |
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
############################################################################# | |
# Sample NRPE Config File | |
# Written by: Ethan Galstad (nagios@nagios.org) | |
# | |
# Last Modified: 11-23-2007 | |
# | |
# NOTES: | |
# This is a sample configuration file for the NRPE daemon. It needs to be | |
# located on the remote host that is running the NRPE daemon, not the host | |
# from which the check_nrpe client is being executed. |
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
// Fire away with comments - I'd like to know faster or more compact | |
// or what-ever-measure-you-like solutions | |
function clone(a){ | |
return Array.apply(null, a); | |
} | |
// NOTE-to-Self: DONT EVER DO "arr.length--" it WILL mutate array! |
NewerOlder