This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# find the 20 newest files under /tmp | |
find /tmp -printf "%A+ %p\n" | sort -nr | head -20 | |
# you can, of course, add the usual conditions (-name, -iname, -path, ..) to the expression. | |
find /var/log -name "mongrel*.log" -printf "%A+ %p\n" | sort -nr | head -20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env perl -W | |
use strict; | |
use HTTP::Response; | |
use HTTP::Request; | |
use HTTP::Cookies; | |
=pod | |
construct a cookie jar from a "Cookie: .." string you retrieve from LiveHttpHeaders or elsewhere | |
this should have been available out of the box :/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2009 Igor Kolar <[email protected]> | |
# | |
# Licensed under the EUPL, Version 1.1 or – as soon they | |
# will be approved by the European Commission - subsequent | |
# versions of the EUPL (the "Licence"); | |
# You may not use this work except in compliance with the | |
# Licence. | |
# You may obtain a copy of the Licence at: | |
# http://ec.europa.eu/idabc/eupl5 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
# Create a simple html table with html include codes ("<object ...>") for all batch-uploaded kaltura.com videos. | |
# Assist ppl in migrating a large number of videos to kaltura. | |
# | |
# Copyright 2009 Igor Kolar <[email protected]> | |
# Licensed under the EUPL, Version 1.1 or – as soon they | |
# will be approved by the European Commission - | |
# subsequent versions of the EUPL (the "Licence"); | |
# You may not use this work except in compliance with the |