Skip to content

Instantly share code, notes, and snippets.

View j0k3r's full-sized avatar

Jérémy Benoist j0k3r

View GitHub Profile
@j0k3r
j0k3r / mysqlinfo.php
Created September 23, 2010 19:11 — forked from pborreli/mysqlinfo.php
mysqlinfo - A phpinfo() like for mysql
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
a { text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-family: arial, helvetica, sans-serif; font-size: 18pt; font-weight: bold;}
h2 { font-family: arial, helvetica, sans-serif; font-size: 14pt; font-weight: bold;}
body, td { font-family: arial, helvetica, sans-serif; font-size: 10pt; }
th { font-family: arial, helvetica, sans-serif; font-size: 11pt; font-weight: bold; }
@j0k3r
j0k3r / colorize-svn.sh
Created March 2, 2012 15:03 — forked from johnjohndoe/colorize-svn.sh
Colorize SVN & SVN DIFF
# Colorize SVN
# ------------
# Adds color to the output of commands like svn status and svn update.
# The original version of the script was posted by Ash_ on Stackoverflow
# Source: http://stackoverflow.com/questions/8786400/svn-add-colors-on-command-line-svn-with-awk-in-bash
function svn {
# Skip the color script when running an svn commit.
for x in "$@"; do
if [ $x = commit ] || [ $x = ci ]; then
command svn "$@";