VirtualTam's bookmarks
46 bookmarks found
-
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>
-
PulseAudio Modules
2015-01-08 Tweak which modules are loaded in either: /etc/pulse/default.pa ~/.config/pulse/default.pa
-
18i8 ALSA driver:
Scarlett Mixer GUIs:
ALSA mixer:
Combo patch:
ALSA/Linux support (kernel mainline):
- search on "scarlett": https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?qt=grep&q=scarlett
- ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=76b188c4b370876018e3a778ec11a94a5316dbe4
- ALSA: usb-audio: Allow quirks to handle own resume and proc dump https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3360b84b8ed1f08bfb39743465b858a04492fcc3
- ALSA: usb-audio: Add resume support for Scarlett mixers https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b61f90eac1ff9d1b30497e611aba4651d4066706
- ALSA: usb-audio: Fix Scarlett 6i6 initialization typo https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c99b9e853d3951fe521cc7b2357eec93d5c16246
ALSA/Linux support (experimental):
PulseAudio issues:
- http://unix.stackexchange.com/questions/89098/ideas-how-to-get-my-usb-audio-interface-to-work-with-linux
- http://linuxmusicians.com/viewtopic.php?f=6&t=11445
Jack latency tuning:
-
Uses a project or repository's history to plot user contributions, displaying an elegant, colored graph of the file arborescence.
After running it on quite different projects...
- Python/Bash CI/Jenkins scripts
- Qt apps: GoldenDict, Psi+
- PHP website: Shaarli
...watching some vids on teh intartubez:
- Minecraft: https://www.youtube.com/watch?v=zRjTyRly5WA
- Linux kernel: https://www.youtube.com/watch?v=AhDiYPLo3p4
- Python: https://www.youtube.com/watch?v=cNBtDstOTmA
It allows to arbitrary spot some interesting implementation aspects (sorted by descending impact):
- language-dependent trees (oh hai Java packages ^^)
- framework-dependent trees
- project-management method (none, Agile, TDD)
Having a graphical tool also quickly shows:
- the overall structure of the project (a bit cooler than a simple $ tree, way quicker than loading the project on an IDE)
- the repartition of files (by extensions)
- who are the most active contributors
- what are the most modified files over time
- who does what: additions, deletions, refactoring
Some more CI-related matters:
- are there any tests?
- what is the source code / test code ratio? (we could expect a project/lib with N modules to have at least N test modules)
- who initiates / implements / optimizes test code?
-
This document describes the current state of packaging in Python using Distribution Utilities (“Distutils”) and its extensions from the end-user’s point-of-view, describing how to extend the capabilities of a standard Python installation by building packages and installing third-party packages, modules and extensions.
-
netcat - Cycles Per Instruction
2014-05-07 Digital album provided in the shape of a Linux kernel module, for the sake of complexity ;-)