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/perl | |
| my $ssh=`which ssh`; | |
| my $mosh=`which mosh`; | |
| chomp($ssh); | |
| chomp($mosh); | |
| my $host; | |
| my $unsupported=0; | |
| for (my $i=0; $i <= $#ARGV; $i++) { |
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
| # Contributor: Caleb Maclennan <caleb@alerque.com> | |
| # Contributor: Jacob Mischka <jacob@mischka.me> | |
| # Maintainer: Manuel Mazzuola <origin.of@gmail.com> | |
| # https://aur.archlinux.org/packages/brave-bin/ | |
| pkgname=brave-bin | |
| pkgver=0.56.12 | |
| pkgrel=1 | |
| pkgdesc='Web browser that blocks ads and trackers by default (binary release).' | |
| arch=('x86_64') |
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
| Verifying my Blockstack ID is secured with the address 1NsWeGdo5ptXRh9TjyY1DV8pgzpMNXPPNi https://explorer.blockstack.org/address/1NsWeGdo5ptXRh9TjyY1DV8pgzpMNXPPNi |
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 | |
| # | |
| # WARNING: This script will delete all zones from an account at nsone.net via the API, USE WITH CARE | |
| # | |
| NSONEKEY="YOURKEYHERE" | |
| curl -X GET -H "X-NSONE-Key: $NSONEKEY" https://api.nsone.net/v1/zones > zones.json | |
| perl -ane 'while (/zone":"([^"]+?)"/g) { print $1."\n" }' < zones.json > zones-left.txt | |
| wc -l zones-left.txt |
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
| Verifying that +mariow is my blockchain ID. https://onename.com/mariow |
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
| # Generate CSR | |
| openssl req -out my.csr -new -newkey rsa:2048 -nodes -keyout my.key | |
| # convert key to rsa | |
| openssl rsa -in my.key -out my.rsa | |
| # fetch secondary CA cert (https://forums.aws.amazon.com/thread.jspa?messageID=278399# ) | |
| wget https://search.thawte.com/library/VERISIGN/ALL_OTHER/thawte%20ca/SSL123_SecondaryCA.pem | |
| # upload to Amazon |
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
| alias json_pretty="json_xs -f json -t json-pretty" |
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
| cat file | pbcopy |
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
| ffmpeg -i input.m4a -acodec libmp3lame -ab 320k ouput.mp3 |
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
| # remember to open port 223 in iptables! | |
| /usr/sbin/sshd -Dd -p 223 |
NewerOlder