Skip to content

Instantly share code, notes, and snippets.

@Arthur
Arthur / git_tuto.md
Created December 13, 2010 11:01
Petit Tuto sur git

Sommaire

git en local

comment ça marche, le log, et la structure (commit/tree/blob), le stockage (.git/objects/)

le staging

les branches, les merge, le rebase

git avec d'autre repository

les submodules ou braid

@Arthur
Arthur / rtmpdump-arte.rb
Created December 4, 2010 13:39
use rtmpdump to get arte videos mp4 files
#!/usr/bin/env ruby
require 'open-uri'
require "rexml/document"
rtmpdump = '~/Downloads/rtmpdump-2.1/rtmpdump'
url = ARGV.pop
html = open(url).read

!SLIDE

Introduction aux bases de données non relationnelles

!SLIDE

Plan

  1. Base de données relationnelles ?
  2. NoSQL : clé-valeur
  3. NoSQL : "clé-valeur + find" ou "bdd orientée document"
@Arthur
Arthur / retro2trac.rb
Created December 10, 2008 11:02
Migration of Retrospectiva tickets to Trac tickets
# Migration of Retrospectiva tickets to Trac tickets
# by arthur.petry@bolloretelecom.eu
#
# Tested with Retrospectiva r351 (Last Changed Date: 2007-12-03) with OpenID (see User#to_s)
# and Trac 0.11.1
#
# Warning : use it with an empty trac.db, we do a TracTicket.delete_all && a TracTicketChange.delete_all
# (in order to keep Ticket ids)
#
# Limitation :