(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
(ns shell | |
"Run OS commands" | |
(:import [java.io BufferedReader InputStreamReader])) | |
(defn run | |
"Executes the given command" | |
[cmd] | |
(.. Runtime getRuntime (exec (str cmd)))) | |
(defn pipe-to |
#EXTINF:-1,Nickelodeon | |
http://B29273.cdn.telefonica.com/29273/NICK_SUB.m3u8 | |
#EXTINF:-1,Disney Junior | |
http://B29285.cdn.telefonica.com/29285/DSNJR_SUB.m3u8 | |
#EXTINF:-1,40TV | |
http://B31312.cdn.telefonica.com/31312/40TV_SUB.m3u8 | |
#EXTINF:-1,Disney XD | |
http://B31309.cdn.telefonica.com/31309/DSNYXD_SUB.m3u8 | |
#EXTINF:-1,Canal Cocina | |
http://B31305.cdn.telefonica.com/31305/COCINA_SUB.m3u8 |
[bumpversion] | |
current_version = 0.0.0 | |
commit = True | |
tag = False | |
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))? | |
serialize = | |
{major}.{minor}.{patch}-{release}{build} | |
{major}.{minor}.{patch} | |
[bumpversion:part:release] |
Microsoft partnered with Canonical to create Bash on Ubuntu on Windows, running through a technology called the Windows Subsystem for Linux. Below are instructions on how to set up the ssh server to run automatically at boot.
/etc/ssh/sshd_config
file by running the command sudo vi /etc/ssh/sshd_config
and do the following
Port
to 2222 (or any other port above 1000)PasswordAuthentication
to yes. This can be changed back to no if ssh keys are setup.sudo service ssh --full-restart