VirtualTam's bookmarks
60 bookmarks found
-
SYNCHRONIZE MODULE IS BAD! AND YOU SHOULD FEEL BAD!
=> Use rsync in a command / shell task with SSH configuration / identities
-
- https://docs.ansible.com/ansible/latest/playbooks_conditionals.html#register-variables
- https://docs.ansible.com/ansible/latest/authorized_key_module.html
- https://stackoverflow.com/questions/25629933/ansible-copy-ssh-key-from-one-host-to-another#25644384
- https://stackoverflow.com/questions/35808649/ansible-accessing-register-variables-from-other-plays-within-same-playbook
- https://stackoverflow.com/questions/33896847/how-do-i-set-register-a-variable-to-persist-between-plays-in-ansible
- https://serverfault.com/questions/638507/how-to-access-host-variable-of-a-different-host-with-ansible
- https://github.com/ansible/ansible/issues/1934
-
SSH tunnelling for fun and profit: Autossh
2017-08-18 - https://apple.stackexchange.com/questions/132223/autossh-not-forwarding-regular-ssh-tunnel-does
- https://unix.stackexchange.com/questions/190026/persistent-ssh-port-forward-without-public-keys
- https://serverfault.com/questions/414008/how-to-create-a-persistent-port-forwarding-using-ssh
- https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding
-
YO DAWG! I SAW YOU LIKE STANDARDS...
-
EmacsWiki: Wind Move
2015-12-02 (global-set-key (kbd "C-c <left>") 'windmove-left) (global-set-key (kbd "C-c <right>") 'windmove-right) (global-set-key (kbd "C-c <up>") 'windmove-up) (global-set-key (kbd "C-c <down>") 'windmove-down)
-
[tor-talk] Why the Web of Trust Sucks
2015-08-02 -
SKS key server
2015-08-02 PGP key server & pool
-
Emacs Key Sequences (kbd)
2015-03-10 kbd converts a human-readable chord to a key sequence
-
Python unit testing frameworks: Nose, Pytest
2015-02-13 Python's built-in unittest module is quite cool, but a bit limited and way too verbose (read: it's quite not easy to incite developers to write unit tests)
I'm currently looking for more dev-friendly solutions, the key points being:
- writing test code should be easy and straight-forward -keep the focus on "what to test" instead of "how to transcribe a process to a test"
- parallelization! -we, spoiled developers, should make good use of our way-too-many-cores build machines...
- complete feature set!
- we don't want to just run tests...
- coverage reports (find dead/weak/untested code sections)
- output formatting (JUnit-XML seems to be quite a common format out there)
There seem to be 3 solutions in Python:
- stock unittest + project-dependent customizations / test helpers
- nosetests
- py.test
And 2 ways of gettings things done:
- keeping things stock: no external dependency, project-specific implementation...
- using a test framework: one more module in your (test) virtualenv, more concise tests, more features (// run, code coverage, etc.)
Some links:
-
To import a certificate to a Java keystore:
$ keytool -import -alias <alias> -file <file>.crt -keystore <keystore>
Example (Linux w/ OpenJDK 7):
$ /usr/lib/jvm/java-7-openjdk-amd64/bin/keytool -import -alias <alias> -file <file>.crt -keystore /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/cacerts
-
Use hotkey info to enable quick launch keys on your keyboard!