Scripts posted recently tagged to file in Kelpi

1- 4 of 4.

List the system calls that a unix command makes

to strace file bash by nando.quintana

strace file index.txt 2>&1 |grep open

parse MySQL log file

to python sql file parse stats by txus

#Open the file
f = open('26.log','r')
#some variables
ITEMS = total_log_lines = TAGS = BOOL = SELECT = POWCounter = 0 
for s in f:

File upload form and process

to python pylons file upload by nando.quintana

# http://jimmyg.org/2007/09/25/file-uploads-in-python/
import logging
from upload.lib.base import *
log = logging.getLogger(__name__)
import os

text files management with pascal

to pascal file by lovelace

{ http://www.brain.uni-freiburg.de/~klaus/pascal/sources/ }
function TextPos (var f:text) : longint; { returns -1 in case of an error }
var
  reg : registers;
begin
hits counter