Skip to content

Instantly share code, notes, and snippets.

@pepegar
pepegar / svn_short_log
Last active December 12, 2015 08:58 — forked from plexus/svn_short_log
#!/usr/bin/awk -f
# Convert the "svn log" output into a one liner format, which is easier to grep
# or use in scripts. Pipe "svn log" into this script
# When we get a line that starts with a revision number, put the data in variables
/^r[0-9]+/ {
rev=$1
user=$3
date=$5
@pepegar
pepegar / gist:4557296
Created January 17, 2013 16:31
marcar item de menu wordpress por nombre
$(document).ready(function() {
$('#menu-item-13 .menu-item>a').each(
function(index){
if ($(this).html() == 'Ecológicos'){
$(this).parent().addClass('current-menu-item')
}
}
);
});