Actions
Recent Pastes
forget about it (Wu septiembre 02, 2010 at 18:04)
a traceback of a django error (Wu agosto 20, 2010 at 17:54)
some magic ACL code (Wu agosto 17, 2010 at 17:45)
some django models diff (Wu agosto 16, 2010 at 18:39)
some django-south tests (Wu agosto 16, 2010 at 18:42)
django add/edit revisited (Wu agosto 13, 2010 at 10:39)
django edd/edit (rsk agosto 13, 2010 at 10:40)
django model revisited (Wu agosto 12, 2010 at 20:15)
django (rs agosto 12, 2010 at 20:02)
rebuilding a GEOM mirror (Wu agosto 12, 2010 at 17:53)
About
This is the paste site from e-shell.org, my personal website. It is an instance of the CodeSharingZ Zope Product (just take a look at http://zopecode.codigo23.net/wiki/CodeSharingZ to learn more about it). Feel free to paste whatever you want, but notice that all the pastes in here are deleted in a regular basis.
Links
L Pieces of source code
(complete list)
Total 157 pastes: 0 30 60 90 120 150

MySQL usando mĂșltiples cores

Get the code!
Pasted by MarcosBL
marzo 03, 2010 at 11:32
Lang: text
(13 lines of code)

mysql threads on multi-core FreeBSD

Get the code!
Pasted by Wu
marzo 03, 2010 at 11:51
Lang: text
(35 lines of code)

nginx.conf

Get the code!
Pasted by Wu
marzo 02, 2010 at 17:29
Lang: text
(73 lines of code)

rewrite rules nginx

Get the code!
Pasted by Wu
marzo 02, 2010 at 16:21
Lang: text
(15 lines of code)

ab nginx

sudo ab -c 50 -n 2000 -k http://172.19.92.31/images/960_grid_16_col.png
Get the code!
Pasted by vaites
marzo 01, 2010 at 17:23
Lang: bash
(55 lines of code)

nginx build error

on debian lenny
Get the code!
Pasted by Wu
marzo 01, 2010 at 13:18
Lang: text
(39 lines of code)

doing some nasty rm!

Get the code!
Pasted by Wu
febrero 26, 2010 at 10:14
Lang: text
(1 lines of code)

BIND

Get the code!
Pasted by MarcosBL
febrero 25, 2010 at 17:19
Lang: text
(22 lines of code)

ploneboard error

Get the code!
Pasted by Wu
febrero 25, 2010 at 16:05
Lang: text
(70 lines of code)

Sample Nessus 4.2 Login Script

This is a sample Nessus 4.2 login script. Upon running it, it will produce a login token that can be used by other scripts to make other requests, such as running a scan, downloading a scan report. etc.
Get the code!
Pasted by saad@hush.com
febrero 24, 2010 at 16:49
Lang: ruby
(63 lines of code)

problems with openvpn

Get the code!
Pasted by Wu
febrero 22, 2010 at 18:01
Lang: text
(7 lines of code)

script to grant permissions on MySQL

This script could be useful if you need to "open" MySQL connections to a given host, for all the users and databases existing already in the MySQL server, for example, if you need to "open" access to host 192.168.1.2 in your server use it like: ./grant_permission.py localhost root root_password 192.168.1.2 And the script will search for users, their associated databases and the needed passwords and will perform the needed grant sql statements.
Get the code!
Pasted by Wu
febrero 18, 2010 at 17:41
Lang: python
(69 lines of code)

mysql grant permissions problem

Get the code!
Pasted by Wu
febrero 18, 2010 at 17:08
Lang: text
(50 lines of code)

rdr nfs requests with pf

Get the code!
Pasted by Wu
febrero 15, 2010 at 16:16
Lang: text
(30 lines of code)

ruby284452989

Get the code!
Pasted by
febrero 12, 2010 at 23:01
Lang: ruby
(22 lines of code)

sample

Get the code!
Pasted by saad
febrero 11, 2010 at 18:10
Lang: python
(19 lines of code)

simplified reverse zone file

A simplified version of the previous zone file
Get the code!
Pasted by Wu
febrero 11, 2010 at 16:08
Lang: text
(19 lines of code)

reverse zone file

A reverse zone for 192.168.1.0/24
Get the code!
Pasted by Wu
febrero 11, 2010 at 16:33
Lang: text
(19 lines of code)

ipsec.conf

Get the code!
Pasted by betabug
febrero 10, 2010 at 19:42
Lang: text
(3 lines of code)

/opt/etc/ipkg.conf

Para el NAS
Get the code!
Pasted by MarcosBL
febrero 09, 2010 at 18:46
Lang: text
(21 lines of code)

js error

Get the code!
Pasted by Wu
febrero 01, 2010 at 11:57
Lang: text
(5 lines of code)

posible tracd rc.d script for FreeBSD

This is a posible rc.d script for FreeBSD that allow users to start tracd standalone daemons. It allows the user to set if she wants to set a single or multi environment setup, per instance. It allows the user to easily set up authentication in the instances. It is a first version. Perhaps a more complete version could be done using an approach similar to that of /etc/rc.d/jail in recent FreeBSD versions.
Get the code!
Pasted by Wu
enero 26, 2010 at 17:02
Lang: bash
(101 lines of code)

ping scan a subnet

ping all the addresses in a subnet, running pings in parallel to save some time. Report only successful replies.
Get the code!
Pasted by betabug
enero 26, 2010 at 13:22
Lang: bash
(24 lines of code)

improved version of the loop

much better
Get the code!
Pasted by Wu
enero 26, 2010 at 11:11
Lang: bash
(11 lines of code)

testing loops!

Just some code
Get the code!
Pasted by Wu
enero 26, 2010 at 11:40
Lang: bash
(12 lines of code)

openerp update=all error

openerp update=all error
Get the code!
Pasted by Wu
enero 25, 2010 at 10:45
Lang: text
(52 lines of code)

buildout.cfg(3)

third attempt for a clean buildout, created from scratch
Get the code!
Pasted by Wu
enero 15, 2010 at 12:47
Lang: text
(188 lines of code)

buildout 3.3.2 crash

In a freshly created buildout, adding Product.PloneFormGen breaks the buildout
Get the code!
Pasted by Wu
enero 15, 2010 at 12:20
Lang: python
(28 lines of code)

verbose buildout error

./bin/buildout -vvvvv -c deploy.cfg with buildout.cfg(2) and deploy.cfg
Get the code!
Pasted by Wu
enero 14, 2010 at 16:17
Lang: text
(1104 lines of code)

buildout error

When running ./bin/buildout with buildout.cfg(2)
Get the code!
Pasted by Wu
enero 14, 2010 at 14:16
Lang: text
(93 lines of code)
Total 157 pastes: 0 30 60 90 120 150