Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block panticz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
# remove multiple blanks and tabs
cat in.txt | sed "s/[ \t][ ]*/ /g" > out.txt
# remove blanks from beginning
cat in.txt | sed 's/^[ \t]*//' > out.txt
# Comparing content of two files
comm -12 <(sort FILE1.txt) <(sort FILE2.txt)
# Split file to DVD-R size
View Fix Icinga1 Classic UI toggle menu bug
diff /usr/share/icinga/htdocs/js/menu.js.2016-12-13 /usr/share/icinga/htdocs/js/menu.js
< elem.prepend( img )
< .css( "cursor", "pointer" )
< .toggle( function() {
< img.attr('src', 'images/menu_more.gif');
< list.slideToggle("slow");
< }, function() {
You can’t perform that action at this time.