<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6" -->
<rss version="0.92">
<channel>
	<title>Bueno's trash</title>
	<link>http://bueno.hal.vu</link>
	<description>Just another Bueno's Trash</description>
	<lastBuildDate>Thu, 08 May 2008 00:21:26 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Eterm com cores aleatorias</title>
		<description>Ainda uso o Eterm.
Nao tem suporte a UTF-8, é velho, e tdo mais... mas ainda uso, junto com o e17.
costumo usa-lo com este scriptzinho, feito a muiiiito tempo:

#!/usr/bin/perl
foreach $arg (@ARGV){
        $cmd_options="$cmd_options $arg";
}

$offset = 60;
$base = 80;
$limit = 400;

$red = int($base + rand($limit - ...</description>
		<link>http://bueno.hal.vu/2008/05/07/eterm-com-cores-aleatorias/</link>
			</item>
	<item>
		<title>cgo.py</title>
		<description>Lembram-se do cgo.sh?
Agora existe o cgo.py.
Faz a mesma coisa... só que em python:

#!/usr/bin/env python
# Copyright (C) 2008, Felippe Bueno 
# GNUv2 licence
# Enjoy
import sys,os

if len(sys.argv) &#60; 2:
    print "Use:     "+ sys.argv[0] +' server1 server2 server3... serverN'
    print "or:   ...</description>
		<link>http://bueno.hal.vu/2008/05/07/cgopy/</link>
			</item>
	<item>
		<title>date -d</title>
		<description>depois de muito tempo querendo fazer isso e de ter conseguido algumas vezes mas sempre esquecer
eu achei denovo, mas desta vez vou postar aqui pra nao esquecer:

jah usaram o date -d , certo ?
date -d "1 hour ago"
date -d "1 day ago"
etc...

agora, e pra fazer 1 hora ou 1 dia ...</description>
		<link>http://bueno.hal.vu/2008/04/09/date-d/</link>
			</item>
	<item>
		<title>Agora com Python</title>
		<description>A mesma coisa do post anterior, porem usando python e dicionario.

Enviado por Alex:

#!/usr/bin/env python

import sys

def func1(arg):
    print 'here is func1: %s' % arg

def func2(arg):
    print 'here is func2: %s' % arg

funcptr = {
    'aa': func1,
    'bb': func2,
}

if __name__ ...</description>
		<link>http://bueno.hal.vu/2008/03/26/agora-com-python/</link>
			</item>
	<item>
		<title>Handler de funcoes em C</title>
		<description>Qd se faz um programa que compara a entrada padrao (ou parte dela) com varios comandos/funcoes

é comum pensar primeiro em if e logo em seguida em case.

Mas isso alem de ser 'feio' e complicar a leitura/compreensao do codigo, torna dificil sua manutencao.

Para isso existe o conceito de handler de funcoes, ...</description>
		<link>http://bueno.hal.vu/2008/03/25/handler-de-funcoes-em-c/</link>
			</item>
	<item>
		<title>todo/get_field.py</title>
		<description>sim, funcionou....
no .muttrc:
macro index < Esc>w "&#124;formail  -x Subject: -x From: &#124; get_field.py &#124; todo -a -p 4\r"
macro pager  < Esc>w "&#124;formail  -x Subject: -x From: &#124; get_field.py &#124; todo -a -p 4\r"
tem q ter o procmail (pra usar o formail):
sudo aptitude install procmail
get_field.py:

#!/usr/bin/env python

import sys
from email.Header ...</description>
		<link>http://bueno.hal.vu/2008/03/25/todoget_fieldpy/</link>
			</item>
	<item>
		<title>K.I.S.S.</title>
		<description>Usei evolution durante algum tempo.

Mas depois de gmail, yahoo mail etc, vc ve que nao precisa realmente de um cliente de email, apenas um browser para acessar o seu webmail.

No meu caso eu centralizo tdo no gmail (baixo tdo das outras contas via pop3, e redireciono as contas @hal.vu para ...</description>
		<link>http://bueno.hal.vu/2008/03/25/kiss/</link>
			</item>
	<item>
		<title>CB</title>
		<description>


[www@cb.vu]~&#62; ls -l


-rw-r-----   1 colin   www   1045 Feb 15 01:31 about.txt


-rw-r-----   1 colin   www   4033 Feb 11 02:06 cb.txt


-rw-r-----   1 colin   www  98166 Jul 23  2004 exploring.gif


-rw-r-----   1 colin   www   1150 Jan 31 15:17 favicon.ico


-rw-r-----   1 colin   www   1933 Feb 10 16:53 index.html


-rw-r-----   1 colin   www  25695 Feb  5 00:52 shell.js


-rw-r-----   1 colin   www    766 Feb 10 01:13 sitemap.xml


-rw-r-----   1 colin   www  64720 Feb 10 01:13 termlib.js


-rw-r-----   1 colin   www   5838 Feb 10 02:14 termlib_parser.js


-rw-r-----   1 colin   www 272458 Feb 10 02:14 unixtoolbox.book.pdf


-rw-r-----   1 colin   www 271664 Feb 10 02:14 unixtoolbox.book2.pdf


-rw-r-----   1 colin   www 345472 Feb 10 02:14 unixtoolbox.pdf


-rw-r-----   1 colin   www 124113 Feb 25 04:20 unixtoolbox.txt


-rw-r-----   1 colin   www 156225 Feb 11 01:47 unixtoolbox.xhtml


-rw-r-----   1 colin   www   1992 Feb 11 02:50 vars.js.php


[www@cb.vu]~&#62; more about.txt





Welcome to my website cb.vu!





This site provides a virtual shell and is meant to be a command line joke where


you have to use some UNIX commands to get around. There are some


functionalities which are not totally fake, like the commands ping, whereami,


weather. Besides ping and weather, there is no communication whatsoever between


the browser and the server. Everything is happening within your navigator. You


can however create files on the web root directory and even view them with the


browser by entering the file name in the address bar. For example try:





echo "Hello there, my name is Colin." &#62; hello.txt


 -- MORE --  (Type: space to continue, 'q' to quit)


O site do cara do post anterior é bemmm legal tb. </description>
		<link>http://bueno.hal.vu/2008/03/25/cb/</link>
			</item>
	<item>
		<title>UnixToolBox</title>
		<description>Falando sobre receitas de bolo.

Achei em um  share  do google reader, uma url que pode ser util, o Unix ToolBox, com comandos de varios unixes (linux/bsd/solaris) e até de windows, alem de nocoes basicas em linguagens de programacao, utilidades de redes, entre outros. Vale ter no bookmarks. </description>
		<link>http://bueno.hal.vu/2008/03/25/unixtoolbox/</link>
			</item>
	<item>
		<title>UNetbootin</title>
		<description>É dificil de acompanhar estes assuntos....

Me lembro qd era necessario (pra mim, até hoje),  sempre seguir uma receita de bolo para colocar uma distro linux em um pendrive usb (sticky), pois nunca me lembrava como fazer (nao faco tantas vezes assim). Mas pra este caso existe o UNetbootin  que ...</description>
		<link>http://bueno.hal.vu/2008/03/25/unetbootin/</link>
			</item>
</channel>
</rss>
