Scripts posted recently by anonymous in Kelpi

1- 10 of 55.

lol

to by anonymous

<html>
<head>
   <title>Win een beta key!</title>
   <script type="text/javascript">
   alert('Hallo, als je hier bent, dan wil je waarschijnlijk een key winnen!');

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

to dynamic array C++ by anonymous

/* 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

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

to bash asx asf mp3 convert lame mplayer by anonymous

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

# Check if we received a parameter

lucene merging index

to java lucene by anonymous

import java.io.StringReader;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.lucene.index.IndexWriter;

lucene merging index

to java lucene by anonymous

public static void main (String ... args) throws Exception{
		
		IndexWriter iw_temp = new IndexWriter("i.temp",new StandardAnalyzer());
		IndexWriter iw = new IndexWriter("i",new StandardAnalyzer());
		

Python equivalent to "ls -lagFR"

to Recursively traverse list all hidden detailed files directories directory dir tree python equivalent ls -lagFR by anonymous

#!/usr/bin/env python
# Copyright 2008 by Aidin Abedi <fooguru@msn.com>
# Some parts are modifications of http://www.pixelbeat.org/talks/python/ls.py
# This script is essentially equivalent to "ls -lagFR"
# It recursively prints details of all (even hidden) files in a directory

lisp

to by anonymous

;;;	Cadalyst Tips & Tools Weekly	October 23, 2006
;| TOTLEN.LSP    c.2000  Rob Herr    robherr@hotmail.com
 'Add selected lines, plines, lwplines, splines, and arcs for total length'
 Revisions:
1.0		Originally created			02/10/2000 Rob Herr

urls without slug

to without slug urls by anonymous

#
#     #  regex for slugs.  Note that the regex matches even   
#     #  .html without slug:  this gets handled in views.single  
#     (r'^blog/(?P<slug>((\w+|-)*))(.html)\/?$', 'djangotest.blog.views.single'),  
#

django templates i18n

to i18n django python bash by anonymous

# go to your project directory and create the (PO) messages file

cd /path/to/my/project 
mkdir locale
/path/to/my/django/bin/make-messages.py -l es

connect

to by anonymous

// tworze obiekt do komunikacji z serwerem
		GlobalObjects.gI().setGameNetworkLogic( new GameNetworkLogic() );
		GameNetworkLogic gnl = GlobalObjects.gI().getGameNetworkLogic();
		
		// lacze sie z serwerem
hits counter