- maim
- xclip
Set this on your i3 config file ~/.i3/config
# Screenshots
Picking the right architecture = Picking the right battles + Managing trade-offs
FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
Function | vi | emacs |
---|---|---|
Append selection | A | |
Back to indentation | ^ | M-m |
Bottom of history | G | M-< |
Clear selection | Escape | C-g |
Copy selection | Enter | M-w |
Copy to named buffer | " | |
Cursor down | j | Down |
Cursor left | h | Left |
This is a PoC for running PM2 as a Windows Service under the Local Service account instead of the Local System account.
pm2
or pm2-windows-service
installed yet. (The Powershell script will run npm i
)
pm2-service-uninstall
before running this scriptnpm
and npm-cache
global folders should be somewhere accessible to NT AUTHORITY\LocalService
.
--[[ | |
Youtube playlist importer for VLC media player 1.1 and 2.0 | |
Copyright 2012 Guillaume Le Maout | |
Authors: Guillaume Le Maout | |
Contact: http://addons.videolan.org/messages/?action=newmessage&username=exebetche | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or |
/* | |
Sample output: | |
> gradle test ruby-1.9.3-p194 testing_with_gradle 9179829 ✗ | |
... | |
:test | |
Results: SUCCESS (84 tests, 74 successes, 0 failures, 10 skipped) | |
*/ | |
test { | |
testLogging { |
Sometimes you may want to undo a whole commit with all changes. Instead of going through all the changes manually, you can simply tell git to revert a commit, which does not even have to be the last one. Reverting a commit means to create a new commit that undoes all changes that were made in the bad commit. Just like above, the bad commit remains there, but it no longer affects the the current master and any future commits on top of it.
git revert {commit_id}'
Deleting the last commit is the easiest case. Let's say we have a remote origin with branch master that currently points to commit dd61ab32. We want to remove the top commit. Translated to git terminology, we want to force the master branch of the origin remote repository to the parent of dd61ab32: