Use this one instead. https://gist.github.com/bahamat/b1f6511ebdaea510a0f9391c75e2362c
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
#!/usr/bin/env perl6 | |
use v6; | |
use LWP::Simple; | |
use JSON::Tiny; | |
use Template::Anti; | |
my $outdir = '/Users/rem16/Pictures/comics/'; | |
my $comic = '1053'; | |
# get the JSON info |
Taken from https://github.com/bahamas10/dotfiles/blob/master/bashrc
Show amount of billable storage spaced used in Manta
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
#!/bin/bash | |
if (( UID > 0 )); then | |
echo "You must elevate privileges." | |
exit 1 | |
fi | |
usbkey_status=$(/opt/smartdc/bin/sdc-usbkey status) | |
passwd_file=/mnt/usbkey/private/root.password.$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
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
This file has been truncated, but you can view the full file.
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
PCRE version 8.36 2014-09-26 | |
/([^\s]+)\-([0-9][^\s;]+).*[\s;]/ | |
0verkill-0.16nb1;0verkill is bloody 2D action deathmatch-like game in ASCII-ART | |
0: 0verkill-0.16nb1;0verkill is bloody 2D action deathmatch-like game in | |
1: 0verkill | |
2: 0.16nb1 | |
2vcard-0.5nb3;Convert an addressbook to the popular VCARD file format | |
0: 2vcard-0.5nb3;Convert an addressbook to the popular VCARD file | |
1: 2vcard |
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
example openvpn config, from a site, to a Joyent zone, under SDC7: | |
---------------------------------------------------------------------------------------------------------------- | |
example config: | |
server end, in joyent cloud, pick an IP address: 10.4.4.1 | |
client ent, at home, pick an IP address: 10.4.4.2 | |
in this example, I'm calling that network a /24, or 255.255.255.0 netmask | |
-------------------- | |
on "the customer end": (my example, on my linux OpenWRT router at home) |
MDB is unlike most debuggers you've experienced.
It is not a source level debugger like gdb or lldb or even Node's builtin debugger
Generally used for postmortem analysis.
Postmortem is for Production and Development
We operate mostly on core files, though you can attach to running processes as well.
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
--- | |
#### | |
#### THIS IS OLD AND OUTDATED | |
#### LIKE, ANSIBLE 1.0 OLD. | |
#### | |
#### PROBABLY HIT UP https://docs.ansible.com MY DUDES | |
#### | |
#### IF IT BREAKS I'M JUST SOME GUY WITH | |
#### A DOG, OK, SORRY | |
#### |
NewerOlder