VirtualTam's bookmarks
110 bookmarks found
-
Postfix / Dovecot / ClamAV / Spamassassin
2016-12-12 A whole buncha' links with contradictory information on how to properly set up a mail server ;-)
Disclaimer - My primary goal is to add proper Spamassassin (SA) filtering to an existing Postfix / Dovecot / roundcube installation, i.e.:
- use SA as a milter (mail filter) to attribute a spam score to incoming mail
- keep SA up-to-date
- train SA with spam/ham from the users' virtual mailboxes
- train SA according to user decisions (actual user or trained mail client with automatic/trained spam detection)
Here we go!
Most useful links; I stumbled upon them as soon as I knew what to look for:
- https://workaround.org/ispmail/jessie/spamassassin
- https://lelutin.ca/posts/installing_postfix_-_clamav_-_spamassassin_-_dovecot_-_postfixadmin_on_debian_squeeze/
Official:
- https://spamassassin.apache.org
- https://spamassassin.apache.org/gtube/
- https://wiki.apache.org/spamassassin/FrequentlyAskedQuestions
Debian:
- https://wiki.debian.org/DebianSpamAssassin
- http://www.stefan-seelmann.de/wiki/mailserver-postfix-dovecot (wheezy)
- https://www.christianroessler.net/tech/2015/spamassassin-dovecot-postfix.html
- https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin
CentOS:
- https://www.rosehosting.com/blog/how-to-install-and-integrate-spamassassin-with-postfix-on-a-centos-6-vps/
- https://www.rosehosting.com/blog/how-to-set-up-server-side-email-filtering-with-dovecot-sieve-and-roundcube-on-a-centos-6-vps/
- http://shisaa.jp/postset/mailserver-1.html - a bit outdated but plenty of useful information regarding how components interact with each other
- http://wiki2.dovecot.org/HowTo
RHEL:
- https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Mail_Servers.html
- https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/s1-email-mta.html
- https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/s1-email-mda.html
-
And more generally, "emacs as a <language> IDE":
- code completion
- snippet / templates
- project view
- syntax checking
- test harness utilities
See also:
-
Weird data sets
2016-11-09 From http://www.bytesandstitches.com/blog/5-weird-and-wonderful-data-sets-you-can-use/
- https://github.com/MuseumofModernArt/collection
- https://www.gutenberg.org/
- https://www.cs.cmu.edu/~./enron/
- http://www.fec.gov/disclosure.shtml
- http://sillok.history.go.kr/main/main.jsp
From http://blog.yhat.com/posts/7-funny-datasets.html
- http://blog.yhat.com/static/misc/data/pigeon-racing.csv
- http://blog.yhat.com/static/misc/data/chopstick-effectiveness.csv
- http://www.cropyields.ac.uk/project.php
- http://blog.yhat.com/static/misc/data/drugs-and-math.csv
- http://blog.yhat.com/static/misc/data/world-sport-stacking.csv
- http://blog.yhat.com/static/misc/data/marijuana-street-price-clean.csv
- http://blog.yhat.com/static/misc/data/spanish-silver.csv
-
Dovecot sieve
2016-09-12 -
Yocto / C / C++ 101
2016-08-13 C / C++
- https://en.wikibooks.org/wiki/C%2B%2B_Programming
- https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines
- https://github.com/TheErk/CMake-tutorial
- https://github.com/brendangregg/FlameGraph
µC
Linux
Yocto
- https://www.yoctoproject.org/
- https://www.yoctoproject.org/documentation
- https://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html
Toaster
- https://wiki.yoctoproject.org/wiki/Toaster
- https://www.yoctoproject.org/docs/1.8/toaster-manual/toaster-manual.html
- https://www.yoctoproject.org/sites/default/files/toaster_presentation_elce_2014_interactive_dlr1.pdf
- https://wiki.yoctoproject.org/wiki/Setting_up_a_production_instance_of_Toaster
- Toaster+Jenkins: https://lists.yoctoproject.org/pipermail/yocto/2015-April/024339.html
- Toaster+Jenkins: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7527
BitBake
-
item = Jenkins.instance.getItemByFullName("your-job-name-here") // THIS WILL REMOVE ALL BUILD HISTORY item.builds.each() { build -> build.delete() } item.updateNextBuildNumber(1)
-
rxvt-unicode won't Fully Maximize in KDE. / Applications & Desktop Environments / Arch Linux Forums
2016-01-07 TL;DR - Right Click on window title bar > More Actions > Special Applications Settings > Size and Position > Obey geometry restrictions > Choose Force and leave check mark to No.
http://www.emacswiki.org/emacs/KdeMaximized https://bbs.archlinux.org/viewtopic.php?id=92115
-
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)
-
D'Addario String Tension Pro
2015-08-31 Tension / gauge calculator to design custom string sets
Related threads:
- http://www.talkingbass.net/flappy-b-strings-tight-d-strings-and-the-switch-to-progressive-tension/
- http://www.mcdonaldstrings.com/stringxxiii.html (limited support for open/drop tunings, no 7+ string support, no bass support)
-
- https://en.wikipedia.org/wiki/SHA-1
- http://stackoverflow.com/questions/1867191/probability-of-sha1-collisions
- http://en.wikipedia.org/wiki/Birthday_problem
Some thoughts we had while toying with Gerrit, which artificially tracks different commits to group them as "patch sets", by using a Change-Id SHA-1 in the commit message:
-
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:
-
electric-indent has been activated by default in emacs 24
to disable it for Python: (add-hook 'python-mode-hook (lambda () (set (make-local-variable 'electric-indent-functions) (list (lambda (arg) 'no-indent)))))
-
Le Set Barré - Doctor Who (vocal cover)
2015-01-03