VirtualTam's bookmarks
129 bookmarks found
-
4bit - Terminal Color Scheme Designer
2015-02-27 -
Python: run specific unit tests
2015-02-13 Given your unittests are in the
tests
directory:1# run a specific test module 2python -m unittest tests.<module> 3 4# run a specific test suite 5python -m unittest tests.<module>.<class> 6 7# run a specific test 8python -m unittest tests.<module>.<class>.<test> 9 10# run tests matching a given pattern 11python -m unittest discover -s tests -p <pattern>
-
Starting and Accessing Jenkins
2015-01-09 To increase the memory allocated and available:
1# /etc/default/jenkins 2JAVA_ARGS='Xms4G -Xmx16G -Djava.awt.headless=true'
See also
- Jenkins performance hints: http://soldering-iron.blogspot.com/2014/01/jenkins-performance-hints.html
- Java commandline options: http://docs.oracle.com/javase/7/docs/technotes/tools/windows/java.html
-
suckless.org software that sucks less
2014-12-17 -
My favourite Zsh features
2014-12-16 -
Transifex client - Usage memo
2014-11-12 1# setup a transifex virtualenv 2virtualenv2 VENV; source VENV/bin/activate; pip install transifex-client 3 4# global config: ~/.transifexrc 5# this step can be omitted, as 'tx init' will create the file if it doesn't exist 6[https://www.transifex.com] 7username = User 8token = 9password = un54f3_p4ssw0rd! 10hostname = https://www.transifex.com 11 12# setup example project 13mkdir example; cd example 14tx init 15tx set --auto-remote https://www.transifex.com/projects/p/my-project/ 16 17# get the files 18tx pull -l pt_BR 19 20# edit things 21poedit / linguist-qt4 22 23# push to transifex 24tx push -t
-
1# Global 2/etc/environment 3 4# X Session 5/var/lib/AccountsService/users/<username> 6~/.dmrc 7~/.xinitrc 8~/.xprofile 9 10# Session 11/etc/profile 12/etc/profile.d/*.sh 13~/.profile 14 15# Bash 16/etc/bash.bashrc 17~/.bash_profile 18~/.bashrc 19 20# ZSH 21/etc/zsh/zprofile 22~/.zshrc 23 24# Locales 25/etc/locale.conf 26/etc/locale.gen 27~/.config/locale 28 29# Superusers 30/etc/login.defs 31/etc/sudoers (use visudo to edit) 32 33# SSH 34/etc/ssh/sshd_config (server-side, can allow the client to pass variables) 35/etc/ssh/ssh_config (client-side, can send variables to servers) 36 37# SaltStack 38/etc/default/salt-minion (not always included in the distro's packages)
-
Les aventures d'un Geek Unixien
2014-10-19 -
About ShellCheck
2014-09-24 -
Unix wildcards gone wild
2014-07-07 -
Mutt and iCal - jasonwryan.com
2014-06-23 -
Writing with Vim - jasonwryan.com
2014-06-23 -
IPython interactive python shell
2014-06-21 - An enhanced interactive Python shell.
- A decoupled two-process communication model, which allows for multiple clients to connect to a computation kernel, most notably the web-based notebook
- An architecture for interactive parallel computing.
via http://sametmax.com/debugger-en-python-les-bases-de-pdb/
-
grep options
2014-06-21 export GREP_OPTIONS='-nRI --color=always --exclude-dir=pycache --exclude-dir=.nodeproject --exclude-dir=CVS --exclude-dir=SVN --exclude-dir=.git --exclude-dir=.hg'
-
Gitolite SSH PATH hack
2014-06-09 in
GITOLITE_USER/.gitolite.rc
:$ENV{PATH} = "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:$ENV{PATH}"