Example invocation using sshfs:
`afuse -o mount_template="sshfs %r:/ %m" \
-o unmount_template="fusermount -u -z %m" \
mountpoint/`
Now try ls mountpoint/user@host/.
| Basic | |
| ===== | |
| [Shift]+[Mod]+[Enter] - launch terminal. | |
| [Mod]+[b] - show/hide bar. | |
| [Mod]+[p] - dmenu for running programs like the x-www-browser. | |
| [Mod]+[Enter] - push acive window from stack to master, or pulls last used window from stack onto master. | |
| [Mod] + [j / k] - focus on next/previous window in current tag. |
| echo -e '\e]11;rgb:00/00/00\a' #set xterm bg | |
| echo -e '\e]10;rgb:ff/ff/ff\a' #set xterm fg | |
| for i in {0 1 2 3 4 5 6 7 8 9 a c b d e f 0} ; do echo -e "\e]11;rgb:${i}${i}/${i}${i}/${i}${i}\a" ; done; | |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Welcome to the Mojolicious real-time web framework!</title> | |
| </head> | |
| <!-- | |
| <body> | |
| <h2>Welcome to the Mojolicious real-time web framework!</h2> | |
| This is the static document "public/index.html", | |
| <a href="/">click here</a> to get back to the start. |
| PROVECMD="prove -lrswj$VCPU_USE xt t" |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl -L https://npmjs.org/install.sh | sh |
| #!/usr/bin/env perl | |
| use Mojolicious::Lite; | |
| use Mojo::Redis2; | |
| use experimental 'signatures'; | |
| helper redis => sub { state $r = Mojo::Redis2->new }; | |
| get '/' => 'chat'; |
| use Mojo::Base -strict; | |
| use Devel::Cycle; | |
| use Mojo::UserAgent; | |
| use Promises 'deferred'; | |
| my $ua = Mojo::UserAgent->new; | |
| sub fetch_it { | |
| my $url = shift; | |
| my $d = deferred(); |
| # MY MODIFIED PLAYER | |
| # ** * * DOESNT WORK ON FIREFOX * * * ONLY ON CHROME * * * | |
| # must install AudioFile::Plugins in order to work: cpanm AudioFile::Info::MP3::Info | |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Mojolicious::Lite; | |
| use AudioFile::Find; | |
| use AudioFile::Info; | |
| use File::Spec; |