the world is a pixel
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`
You must be logged in to post a comment.
No trackbacks yet.
Heroku on Ubuntu 11.04 (Natty Narwhal)
28 September, 2011 - 11:43 pm
Tags: configuration, Heroku, Ruby, ubuntu
Posted in english | 1 comment
As root execute: apt-get update apt-get install build-essential ruby rails rubygems1.8 apt-get install ruby1.8-dev libopenssl-ruby Chance PATH at /etc/environment: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/lib/gems/1.8/bin" Update your current environment: source /etc/environment Install the Heroku gem: sudo gem install heroku Run Heroku authentication configuration: heroku auth:login Enter the credentials for your Heroku account. Done!
AVCHD (.MTS) video files
10 June, 2011 - 12:48 am
Tags: avchd, Panasonic Lumix DMC-TS3, ubuntu
Posted in english | 1 comment
I’m dealing with video format of my new camera (Panasonic Lumix DMC-TS3). It’s the AVCHD format (.MTS file extension). You can convert it to other formats using HandBrake on Ubuntu.
DIY recycle your old tv
20 February, 2011 - 10:18 pm
Tags: Linux
Posted in english | No comments
When I came here to this room I found this old big tv laying around. Old but perfectly functional. First I put a tv cable on it with hundreds of channels but after one month I realized that mostly of them are crap and I was watching everything on my laptop (mostly shows from Netflix [...]
Getting an Android app source
18 March, 2010 - 12:00 am
Tags: Android, branch, cmd, git, programming
Posted in english | 1 comment
Getting the Android’s AlarmClock application source from official repositories: git clone git://android.git.kernel.org/platform/packages/apps/AlarmClock.git To get the head version for an old platform like the 1.4 (codename donut), choose the correspondent branch using -o or –origin: git clone git://android.git.kernel.org/platform/packages/apps/AlarmClock.git –origin donut
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 [...]
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 | 8 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 [...]
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 [...]
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 [...]
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 [...]













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. :P