background preloader


Facebook Twitter

Online Diagram Software and Flowchart Software - Gliffy. Grep - Searching for a String in Multiple Files With Grep. Ever need to search through all your files for a certain word or phrase?

Grep - Searching for a String in Multiple Files With Grep

I did, and to make matters more complicated, the files were all in different sub-directories. A quick Google search turned up a few scripts involving multiple commands and temporary files. Then I found a simpler solution. If you're a Unix/Linux/BSD user, you probably know about the grep command, but did you know it's recursive? That's right, grep can search through your entire directory tree, scanning every file along the way.

Here's an example. Grep -r "modules" . By using the "-r" switch, we're telling grep to scan files in the current directory and all sub-directories. If you'd rather just get the file names and skip the rest of the output, use the "-l" switch, like so: grep -lr "modules" . Here's another tip: grep also supports regular expressions, so matching against a wildcard pattern is easy: grep -lr "mod. *" . That command will print a list of files containing any word starting with "mod". Gtk MVC. This document presents gtkmvc for those who are in hurry, or for curious people who want to have a quick overview of gtkmvc features and capabilities.


Warning This document is not exhaustive, as many important details are not described. For a complete information refer to the User Manual and to the Tutorial, both coming along with gtkmvc. It is assumed you already know Python, pygtk and have some experience with design issues. However, here you will find a short introduction presenting the main actors that are going to play a role into an GUI application based on gtkmvc. Introduction What is gtkmvc, and what it does gtkmvc is a thin framework for developing GUI applications with Python and the pygtk toolkit. It helps you to organize the source code of your application.It provides some support for making views out of glade files.It separates the data/logic of your application (the model) from the presentation layer (the view).It tries to be as much transparent as possible wrt your application.

How to install Tomcat 6 on Ubuntu 10.04/Debian. Apache Tomcat is a free and open source software implementation for JavaServlets, providing support for Java Server Pages (JSP). Many popular web-based applications use servlets. You may choose to run Tomcat with either Sun’s Java implementation or the OpenJDK implementation of Java. Because Tomcat version 6 was included in Ubuntu 10.04, installing a working Tomcat server is reasonably straightforward. However, before we can start installing Tomcat itself, we must first install Java.

First Install Sun Java in ubuntu 10.04 Install tomcat 6 in ubuntu 9.04 sudo apt-get install tomcat6 tomcat6-admin tomcat6-common tomcat6-user tomcat6-docs tomcat6-examples Start tomcat server sudo /etc/init.d/tomcat6 start Stop tomcat server. Online Diagram & Flowchart Software - Collaboration Tool ... Utilizando o Dropbox para hospedar seus repositórios Git — uma abordagem mais segura. Hi, I'm Herberth Amaral and I'm a software engineer.

Utilizando o Dropbox para hospedar seus repositórios Git — uma abordagem mais segura

I'm currently working with some companies as a freelancer. Lately, I've been doing a lot of Python and Django, but I've worked with .NET (with C# as primary language), JavaScript (jQuery and Knockout.JS), Java (Android, J2SE) and even PHP. You can see few of my works on Github. Besides tecnological stuff my other interests includes politics, history and education. Want to contact me? This blog is powered by hakyll and its code is hosted on Github. Feed. Pomodoro. Não é a primeira vez que falamos sobre o “pomodoro”: aqui no blog.


Ultimamente tenho recebido muitas dúvidas de pessoas interessadas em entender mais o que é e como funciona a técnica. Então resolvi traduzir um post que explica de forma sucinta os conceitos desta forma de concentrar que mudou a minha vida. O post original pode ser lido em: Abundance Blog The pomodoro Technique – transformando o tempo em seu aliado Quando Francesco Cirillo era um universitário em Roma lutando por se manter em uma tarefa, ele decidiu criar um técnica de administração de tempo que deveria ajudá-lo a melhorar sua concentração e aguçar seu foco. Papel; Caneta; e um timer de cozinha em formato de tomate (“*pomodoro*” é tomate em Italiano). A primeira vista, a técnica pomodoro, que é como Francesco chamou o sistema que inventou, parece muito com timeboxing. O básico da técnica pomodoro: