Scripts posted recently in Kelpi

1-10 of 469.

C code to look if the iface is up, using MII.

to C MII interface by jonbaine , 0 comments

1 2 3 4 5 ...
/*

    This program is free software; you can redistribute it
    and/or modify it under the terms of the GNU General Public
    License as published by the Free Software Foundation.

Exemplo de Array dynamic em C++, array no heap e assinatura no stack

to dynamic array C++ by anonymous , 0 comments

1 2 3 4 5 ...
/* Exemplo de Array Dinâmico em C++
Essa implementação cria a estrutura de dados
varia o tamanho do array quanto se queira
atribui um valor para cada posição e
imprime cada valor. Memória alocada no heap

Create i386 bootable iso

to iso bootable shell by jonbaine , 0 comments

1 2 3 ...
#Replace <> marked args. with the correct value.
 mkisofs -pad -l -J -v -V "<Name>" -no-emul-boot -boot-load-size 4 -boot-info-table -b < binary -> isolinux boot/isolinux/isolinux.bin> -c <catalog -> isolinux boot/isolinux/boot.cat> -hide-rr-moved -o <DVD.iso -- output iso> -r </tmp/DVD which dir to take>

C++ observer pattern implementation

to C++ observer template by jonbaine , 0 comments

1 2 3 4 5 ...
#include <iostream>
#include <iterator>
#include <deque>
// Implementation of the observer pattern
// its implemented in the java way :D

Example of stl::functional

to C++ stl functional by jonbaine , 0 comments

1 2 3 4 5 ...
#include <iostream>
//For the pow
#include <math.h>
// stl 
#include <vector>

Generate CTAGS file with etags

to emacs ctags etags by jonbaine , 0 comments

1 3 5 ...
#Generate CTAGS file for emacs / vim use... with exhuberant ctags
etags -R
#:D

Highlight

to perl highlight pipe unix-style by kaoru , 2 comments

1 3 4 5 6 ...
#!/usr/bin/perl -w
#
# pipe text to highlight.pl to highlight certain words
#
# eg. cat nastyfile.pl | highlight words you want

Check Perl

to perl checkperl syntax by kaoru , 0 comments

1 3 4 5 6 ...
#!/usr/bin/perl -w
#
# Checks the syntax of .pl and .pm scripts using perl -cw
# Will check all .pl and .pm files in $PWD with no arguments
#

bash script to convert ASF/ASX to MP3 using mplayer and lame

to bash asx asf mp3 convert lame mplayer by anonymous , 0 comments

1 2 3 4 5 ...
#!/bin/bash
# Bram Borggreve (c) 2008. GPL Licensed
# Script to convert ASX to MP3. Needs mplayer & lame binaries

# Check if we received a parameter

Sustituir la portada de un pdf por otra

to pdf pdftk by nando.quintana , 0 comments

1 ...
pdftk A=portada.pdf B=informe.pdf cat A B2-end output combined.pdf