VirtualTam's bookmarks

  1. Reddit Playlister 2015-02-02

    Website generating a playlist / web player from YouTube and SoundCloud links from music subreddits (or, basically, any subreddit containing media stuff).

    Sadly, it doesn't seem to be Open Source, so you won't be able to host you own instance :-(

    http://www.reddit.com/user/RPlaylister

  2. 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:

    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?
  3.  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
    
  4.  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)
    
  5. 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.

  6. in GITOLITE_USER/.gitolite.rc:

    $ENV{PATH} = "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:$ENV{PATH}"
    
  7. Faker lib 2014-04-26

    Generate random user data!