VirtualTam's bookmarks

  1. 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

  2. Git is coming to AUR (or, AUR is coming to Git?)

  3. Discussion de fond sur l'auto-hébergement de code source via Git :

    • mise en place d'une interface d'administration web,
    • fonctionnalités couvertes : granularité des droits, CI, wiki,
    • simplicité d'utilisation,
    • réactivité,
    • interactivité avec la communauté / cadre d'utilisation.
  4. 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?
  5.  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)