Werneck

Mês

Maio 2013

5 postagens

Does anybody know if there is an extension for Google Chrome that uses RegEx to search on pages? I mean, a working one?

May 11, 2013
#google chrome #google #chrome #regex #regular expressions #regular #expressions #extension #extensions
May 8, 201337 notes
May 4, 201373,430 notes
May 4, 2013103,555 notes
hello
May 4, 2013

Abril 2013

2 postagens

Coming soon:


Using notify();, notifyAll();, and wait(); to simulate a relationship between 2 traffic lights; we’re going to see how we can use wait() to make one traffic light thread wait until the other traffic light thread becomes red and notifies it.

Apr 24, 2013
#thread #threads #java #programming #wait #notify #traffic lights #traffic #light
Apr 18, 2013302,228 notes

Março 2013

1 postagem

Mar 3, 20131,637 notes

Janeiro 2013

4 postagens

Jan 30, 2013
#reset #life #impossible #game
Pequeno código em JavaScript para fazer buscas no Google

1. Crie um novo favorito e dê um nome a ele;

2. Copie o código abaixo no lugar da URL:

javascript:window.open('http://www.google.com/search?q='+prompt('Google').replace(/ /g, '+'))

(EN)

Jan 10, 2013
Jan 10, 201364 notes
Jan 10, 20132,523 notes

Dezembro 2012

4 postagens

Dec 27, 20121 note
Dec 9, 201212 notes

internet-haze:

Learning assembly.

I wish you luck!

Dec 4, 20122 notes
The joy of our first Hello World

HelloWorld.bat

echo Hello World!

HelloWorld.vbs

call MsgBox("Hello World!")

HelloWorld.c

#include <stdlib.h>
#include <stdio.h>

int main(int argc, **char argv)
{
  printf("Hello World!\n");
  return 0;
}

HelloWorld.py

print "Hello World!"

HelloWorld.vb

Imports System

Public Class HelloWorld
  Sub Main(args() As String)
    Console.WriteLine("Hello World!")
  End Sub
End Class

HelloWorld.java

public class HelloWorld
{
  public static void main(String[] args)
  {
    System.out.println("Hello World!");
  }
}
Dec 4, 2012
#hello #world #hello world #programming

Outubro 2012

2 postagens

Trololo

Trolle seu amigo; dê a ele essas instruções:

'Copie e cole isso no bloco de notas e salve como trl.vbs; depois, execute
txt = chr(72) & chr(85) & chr(69)
do
  msgBox txt & txt & txt & txt &txt & txt & txt & txt &txt & txt & txt & txt, 16, txt & txt & txt & txt &txt & txt & txt & txt &txt & txt & txt & txt
loop

Divirta-se vendo-o ficar puto com o que rola.

Oct 28, 2012
#troll #trololo #vbs
Oct 12, 2012174,156 notes

Setembro 2012

8 postagens

“

The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren’t special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one— and preferably only one —obvious way to do it.
Although that way may not be obvious at first unless you’re Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it’s a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea — let’s do more of those!

”
—Python Shell: type import this in it.
Sep 27, 20121 note
#python #programming #language #programming language #java #c++ #c
strLen - String Length - Measure your text using Google Docs

Online function to measure the length (size) of a text string using Google Docs.

20 available fields. Access here.

Sep 24, 2012
#strLen #string length #text size #text length #text #size #length
Próxima página →
2012 2013
  • Janeiro 4
  • Fevereiro
  • Março 1
  • Abril 2
  • Maio 5
  • Junho
  • Julho
  • Agosto
  • Setembro
  • Outubro
  • Novembro
  • Dezembro
2011 2012 2013
  • Janeiro 5
  • Fevereiro 15
  • Março 12
  • Abril 34
  • Maio 24
  • Junho 23
  • Julho 10
  • Agosto 1
  • Setembro 8
  • Outubro 2
  • Novembro
  • Dezembro 4
2011 2012
  • Janeiro
  • Fevereiro
  • Março
  • Abril
  • Maio 130
  • Junho 57
  • Julho 112
  • Agosto 144
  • Setembro 103
  • Outubro 57
  • Novembro 30
  • Dezembro 23