Ref# | Subject |
---|---|
1 | Introduction |
2 | Analog Color Television Standards |
3 | Video Fields |
4 | Field and Frame rates |
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
[Interface] | |
PrivateKey = *********************** | |
Address = 192.168.10.2/32, fc::2/128 | |
DNS = 1.1.1.1, 2606:4700:4700::1111 | |
[Peer] | |
PublicKey = *********************** | |
AllowedIPs = 0.0.0.0/0, ::/0 | |
Endpoint = endpoint.domain.tld:51820 |
Let's imagine we have a lot of mp3 files ( forexample one of the pluralsite courses converted to mp3 ).
URL=https://www.pluralsight.com/courses/run-effective-meetings
PASS=pass
USER=user
OUTPUT="%(playlist_index)s. %(title)s-%(id)s.%(ext)s"
youtube-dl --username $USER --password $PASS -o $OUTPUT --extract-audio --audio-format mp3 $URL
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 bash | |
display_help() { | |
echo "Usage: `basename "$0"` OPTIONS ACTION | |
Options must be specified before any action, and only one action may be specified. | |
Options: | |
-g | --geometry size specify VNC session display size |
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
# XCode Command Line Tools | |
>xcode-select --install | |
# Install Homebrew | |
>ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
>echo PATH=/usr/local/bin:/usr/local/sbin:$PATH >> ~/.bash_profile | |
>source ~/.bash_profile | |
>brew tap homebrew/versions |
This guide creates a reverse SSH tunnel to route all Plex server traffic through it.
Step 2 is done on the tunnel, all other steps are done on the plex server.
On plex server:
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
curl -L -v --data "username=<username>@shaw.ca&password=<password>&acpt=on&language=en" https://wifisignon.shaw.ca/api/login |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
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/perl | |
use Net::Ping; | |
$host = "www.google.com"; | |
while (1) { | |
$p = Net::Ping->new('icmp'); | |
if ($p->ping($host)) { | |
print "$host is alive.\n"; |
NewerOlder