(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:
| sudo bash -c "cat <<EOT > /etc/logrotate.d/api | |
| /opt/app/*.log { | |
| missingok | |
| notifempty | |
| compress | |
| size 10k | |
| daily | |
| copytruncate | |
| compress | |
| sharedscripts |
| # Copy and self modified from ys.zsh-theme, the one of default themes in master repository | |
| # Clean, simple, compatible and meaningful. | |
| # Tested on Linux, Unix and Windows under ANSI colors. | |
| # It is recommended to use with a dark background and the font Inconsolata. | |
| # Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
| # http://xiaofan.at | |
| # 2 Jul 2015 - Xiaofan | |
| # Machine name. | |
| function box_name { |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| public static IObservable<TRet> ContinueAfter<T, TRet>(this IObservable<T> observable, Func<IObservable<TRet>> selector) | |
| { | |
| return observable | |
| .Materialize() | |
| .Where(n => n.Kind == NotificationKind.OnCompleted) | |
| .SelectMany(_ => selector()); | |
| } |