come with me, on the way I'll explain.
Congelando e Ressuscitando Processos

Nem só de morte vive o kill.
Suponha que você tem um processo chamado program e quer congelar seu funcionamento. Para congela-lo sem mata-lo você pode mandar um sinal SIGSTOP com:
kill -s stop `pidof program`
Para ressuscitar o mesmo processo:
kill -s cont `pidof program`
No trackbacks yet.
Miojo Script
28 January, 2010 - 2:37 am
Tags: libnotify, Linux, miojo, notify, notify-send, programming, Shell Script, ubuntu
Posted in english | 1 comment
O pre-requisito é o notify-send, um utilitário de linha de comando do libnotify. No Ubuntu:
sudo aptitude install libnotify-bin
E aqui o script em si:
sleep 5m; notify-send “aviso” “tirar o miojo do fogo”
Pronto, depois de cinco minutos isso vai aparecer:
OpenCV on Ubuntu
21 December, 2009 - 1:18 am
Tags: 9.10, image processing, instructions, intel, karmic koala, open computer vision library, opencv, ubuntu
Posted in english | No comments
Open Computer Vision Library or just OpenCV, is a cross-platform computer vision library focused on real-time image processing for video files or webcams.
You have two options to obtain the environment to develop on OpenCV. You can insert a new repository in your package manager or compile it by yourself.
For Ubuntu 9.10 Karmic Koala there’s this [...]
Twitter Bot @rudaufc versão 1
9 November, 2009 - 4:54 pm
Tags: AI, API, bash, bot, Comida, CRON, crontab, culinária, CURL, ia, inteligência artificial, Linux, Restaurante Universitário, robô, robot, SH, Shell Script, tutorial, twitter, ufc, Universidade Federal do Ceará
Posted in português | 4 comments
Este aqui é um bot bem simples para Twitter.
Diariamente, as nove da manhã ele posta qual vai ser o cardápio do RU (Restaurante Universitário) da UFC naquele dia.
Assim, quando vai batendo a hora da fome, os alunos podem entrar no perfil @rudaufc e olhar qual vai ser o prato do dia, ou quem está seguindo [...]
The Fork Bomb Tattoo
22 October, 2009 - 9:43 am
Tags: aesthetics, art, computação, computer science, Dereka, fork bomb, forkbomb, Freedom of Tattoo, geek, hacker, Linux, nerd, philosophical, philosophy, tattoo, tatuagem, unix
Posted in english | 6 comments
I thought about these two problems my entire life.
Graphical arts have a significant role in everything I do. I always expressed my feelings thorough graphical drawings. First on paper, so notebooks, then walls and others surfaces like the computer screen. But the possibility of transform my body, my own skin in a art canvas always [...]
JavaFX on Linux!
2 June, 2009 - 11:10 pm
Tags: JavaFX, Linux, MacOS X, Opensolaris, Windows
Posted in english | 8 comments
Yeah. No more workarounds. Download now JavaFX 1.2 for Windows, MacOS X, Linux and OpenSolaris!
\o/
There’s also a lots of improvements in the language and the API. For details on that read this document. Unfortunately, as a side effect of those great changes some JavaFX source codes posted here are now deprecated and need a few [...]
JavaFX 1.1 for Linux workaround
16 May, 2009 - 8:53 am
Tags: HuaSong Liu, jaunty jackalope, Java, JavaFX, javafx4linux, jfx, Kaesar Alnijres, netbeans, RIA, ubuntu, Weiqi Gao, workaround
Posted in english | 8 comments
Download
javafx4linux.tar.bz2 (~ 36Mb).
Installing
1) Extract the javafx4linux.tar.bz2 file. In this example I’m placing it on my Desktop. After the installing process you can remove it.
2) Open your NetBeans 6.5 and go at Tools → Plugins and go to Downloaded tab. In a plain and new NetBeans installation there will be no plugin in this tab yet.
3) [...]
Ubuntu Jaunty: má performance gráfica
13 May, 2009 - 7:53 pm
Tags: bug, driver, intel, jaunty jackalope, lspci, performance, ubuntu, X, xorg
Posted in português | 11 comments
Nas versões anteriores do Ubuntu, inclusive no 8.04 que eu utilizava anteriormente, não havia do que me queixar. Porém com a mudança para o 9.04 (Jaunty Jackalope) de imediato foi possível reparar uma queda drástica na performance da aceleração gráfica 3D.
Minha placa gráfica no meu notebook, um Amazon FL31.
silveira@fl31:~$ lspci -nn | grep [...]
OGG com qualidade
7 March, 2009 - 1:36 pm
Tags: câmera, cli, Linux, multimídia, ogg
Posted in português | 5 comments
Para o controle de qualidade quando encondando vídeos com o FFmpeg use o parâmetro -qscale seguido de um número. Os número podem ir de 1 (melhor qualidade) até 31 (pior qualidade), sendo que 13 já é uma qualidade bem ruim.
Convertendo pro exemplo um vídeo chamado exemplo.flv para um arquivo ogg com a melhor qualidade seria:
ffmpeg [...]
Arduino on Ubuntu
28 February, 2009 - 12:47 pm
Tags: Arduino, Linux, programming, Robótica Livre
Posted in english | No comments
My Arduinos arrived yesterday. It’s a programmable open source and hardware device.
To install its software on my Ubuntu 8.10 I need Java installed and some tools that I could get by:
sudo apt-get install avrdude avrdude-doc avrp avrprog binutils-avr gcc-avr
Camera nova e fazendo ela trabalhar bem com o Cinelerra
21 February, 2009 - 12:17 am
Tags: áudio, Casa Brasil, câmera, Cinelerra, extrair, Linux, mencoder, mplayer, Oregon Scientific, software livre, sox, telecentro
Posted in português | 3 comments
A um tempo atrás eu comprei uma câmera nova pra mim.
Como eu não quero posso comprar uma câmera boa mesmo agora eu preferi comprar uma bem barata que fizesse o básico. Uma câmera de preço médio iria ter poucas funções e eu iria ficar pensando — se eu tivesse comprado aquela outra. Além disso uma [...]













20 November, 2009 - 1:05 am
Legal Silveira, bastante interessante ja precisei fazer isso e não sabia como. Muito bom ;]
22 November, 2009 - 5:40 pm
Pra não perder o hábito:
“ressuscitando” tem dois “S” a mais do que o que você escreveu no título.