avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • July 19, 2019, 06:11 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - jgpaiva [ switch to compact view ]

Pages: prev1 2 3 4 [5] 6 7next
General Software Discussion / Phishtank
« on: December 15, 2006, 09:22 AM »
I just downloaded opera and found that it now has a phishing filter. To test it, i went looking for a phishing archive.
That's how i made this cool find:

Disclaimer: please notice that this is a phishing archive. If you don't know what phishing is, please read this article first. Do not introduce any personal information in any site you find through this page, PLEASE!

What is PhishTank?

PhishTank is a collaborative clearing house for data and information about phishing on the Internet. Also, PhishTank provides an open API for developers and researchers to integrate anti-phishing data into their applications at no charge.


I found it very interesting because it allowed me to know how good opera's filter is (it's pretty darn good ;) ), and also to know exactly how this thing works.
I must say I'm impressed with the work some phishers put into these sites, some of them look really genuine!!

ps: image not linked on purpose, to avoid errors.

Best Text Editor / Vim: important usage tips
« on: December 06, 2006, 05:17 AM »
Well.. Recently i haven't been able to spend as much time here at DC as i'd like to. That's because i've had an humongous amount of work to do lately.
The up side on this, is that i've been intensively using VIM. This resulted in learning a few tricks, and making a few improvements on what already is possibly the best editor around.
So, i'd like to share them with you.

Actually, i won't share them all, they are too many, but i'll give you the best pointers :P
I started by making a google search about vimrc. It's vim's configuration and startup file, the place to put all your configs. The google link i mentioned was where i learned the most, because it had other people's vimrc files, and the big majority of them are very well commented, which is a big help in understanding what each of the commands does.
After, i found that there's a small url in vim's page that links to vim tips. It's amazing the quantity of fantastic stuff available there, not only on the topics itself but also on the comments. Be sure to search for the top rated first, as those are the most interesting advices, and some sum lots of topics into a single one. This will require that you know something about vim already, though. That's why i recomend you do the vim tutor first.

Well... That sums it up. I know it doesn't looks like much, but there's material for about 2-3 weeks worth of reading material ;)
I leave you with my vimrc file, with the options i consider most important. (awaiting editing to add the file)

my vimrc
"added by jgpaiva
syntax on

set hlsearch
set ignorecase smartcase
set incsearch
set infercase
set shiftwidth=3
set expandtab
set softtabstop=2
set wrap
set ruler
set foldcolumn=1
set smartindent
set backspace=2
set shiftwidth=2
set virtualedit=all
set wildmenu
set number
set hidden
set showbreak=\ +\
set mouse=ar
set showmatch
set gdefault
set fillchars=vert:\ ,fold:-
set foldenable " Turn on folding
set foldmethod=indent " Make folding indent sensitive
set foldlevel=100 " Don't autofold anything (but I can still fold manually)
set laststatus=2
set splitright
set viminfo=s1,<1024,'1024,/1024,:1024,@1024,f1,%
set showcmd
set nostartofline
set suffixes+=.out,.in
set showcmd

colorscheme asmanian2
imap <c-s>:update<BR>i<Right>
imap <F9> <esc>:update<BR>:make clean<BR>:make
imap <C-BS> <c-left>vboldi
inoremap <tab> <c-r>=InsertTabWrapper()<cr>
vmap <tab> >gv
vmap <s-tab> <gv
vmap <c-s>:update<BR>gv
nmap <F9> :update<BR>:make clean<BR>:make
nmap <c-s> :update
nmap <Space> <PageDown>
nmap <BS> <PageUp>
nmap <c-p> :bnext
nmap <c-n> :bprevious
nmap -cd :cd%:h<CR>
nmap -lcd :lcd%:h<CR>
nmap <c-f4> :bdel<cr>
nmap ð :cprev<CR>
nmap <c-tab> :tabnext<CR>
nmap <c-s-tab> :tabprev<CR>
nmap <C-J> gj
nmap <C-K> gk

"nmap :W :w
"set statusline=%f%m%r%h%w\ [%03l,%03v][%p%%]\ [LEN=%L]

if has('syntax') && (&t_Co > 2)
  syntax on

function InsertTabWrapper()
  let col = col('.') - 1
  if !col || getline('.')[col - 1] !~ '\k'
    return "\<tab>"
    return "\<c-p>"

No, i'm not talking about our beloved admin, mouser.

I'm talking about an ahk script made by Adam Pash , an editor of lifehacker.
It's about making a different way of controling the mouse through keyboard. It's quite smart for getting the mouse in places far away from the current, but i think it's a bit ennefective to move tho a place very near by.
Still, it's definitelly worth a look if now only for it's clever interface and for the good fun it provides. Here's the link:


I'm desperatelly needing help with school stuff. This particular class is taking loads of my time so i need your help on this one.

I just need to know if anybody knows a simple way to make a user interface. It can be anything, from an executable to a flash animation or even a web page. I just need to keep it simple and fast.

The interface is for a DVD renting machine with no database, just some static stuff. This means there's almost no need for variables and such, almost like a web page. Truth is that there are like 40 static screens (all of them follow a template), and i only have a few days to do it. (no, i didn't leave it to the last moment, that's the time they gave us)

So, i ask for your help. Can you tell me a good way to do it?

Here's the ones i've thought about:
  • Flash (although i know nothing about it and it looks like there's too much to learn and too litle time)
  • Html + Php (looks like the best option right no)
  • Cpp (using some kind of easy gui maker. Don't know anything about it, though)
  • Other programing languages, using easy gui makers. But i know of none like that.

I hope you can help me... Thanks!  :Thmbsup:

Living Room / "Pong... Not just a game" - A true classic
« on: October 28, 2006, 06:42 AM »
Possibly most of you have already seen this flash movie, but for those who didn't, please see it now. It's incredibly well done and imaginative:

You can find it here

from stumbleupon

Living Room / LineSuperFollow
« on: October 28, 2006, 04:47 AM »



It's dead simple, just some lines that follow your mouse on the screen. But if you move the mouse around, you get some very nice effects

from stumbleupon
(yes, i found stumbleupon and am now using it... :( )

Finished Programs / Touch for windows
« on: September 29, 2006, 07:40 PM »
Ken asked for a simple program, similar to unix's "touch".

Here it is:

Touch v1 created 30-09-2006:
Similar to unix's "touch", sets the modified time of files to the current time.
[Forum Topic][.ahk Version][.exe Version]

Touch only changes the modified date of the files that are passed to it as arguments to the current time.
Usage: by command line, or by dropping one or more files on to the executable's icon.

I just got this on my e-mail:


Apparently, looks like they are giving it away for free, even after the beta has ended.

A big cons: only for united states residents... :(

ps: i didn't quite get the idea. does it mean that i could have my site for free?

Site/Forum Features / I bet you didn't know this one!
« on: September 09, 2006, 01:30 PM »
Look what happens when someone reaches the 1337 posts!

Who knew about this one? ;)

Ok... This is getting way too anyoing, i thought it was about time i posted my problem here.
Well.. Basically, the thing is: both file explorers (explorer and dopus) crash when i open a directory that has many big files. (i think it mostly happens with .avi movies). What most intrigues me is that this happens not only when i access the disk but also if the files are on a dvd. As soon as i open that folder, the file explorer crashes.
Also, i am able to open the files (both by command line, or by the "open file" dialog of my video player).
Further notice that if i use winrar to browse to the directories in matter, it doesn't crash, which means it's a file-explorer related issue.

Any ideas?

General Software Discussion / Create animated gifs
« on: September 02, 2006, 09:33 AM »
I needed to create a .gif animated file, so i googled for "gif animation". I downloaded one of the first (shareware) products and ended up with something that looked interesting. But it couldn't make decent resizes of windows, and the thumbnail animated gif came out rubish.
So,i was looking for other programs to do so, and found that the gimp can do it. I also found an interesting tutorial on how to do it.

I thought you might be interested, and i'd like to know if there are better alternatives.

(btw.. the final result is at the bottom of gridmove's page:

General Software Discussion / PadGen: Pad file generator
« on: September 01, 2006, 07:34 PM »
Since i was getting all the stuff i needed for making GridMove known, i needed a pad file.
Anderson (mobysaurus) found me a fantastic app: PADGen.
If you're planing to make a pad file, i definitelly recomend this app, since it's very simple to use and has all the features you need. (it even has a pad file generator and spell checking!)

Thanks Anderson!  :Thmbsup:

Find And Run Robot / A few suggestions
« on: July 05, 2006, 05:50 AM »
Just some minor usability stuff, from a regular user, that i thought i should post before i forget them. ;)

When opening the shell menu on one item and selecting something from it, possibly farr should close itself, so that it's not in front of what you've just opened.

As right now there's no defined action for drag+drop into the main window, maybe that action could be "create new alias" with the dropped file as parameter for the new alias.

General Software Discussion / GoogleX
« on: June 30, 2006, 09:15 AM »
As these days it looks like everything revolves around google, i decided to contribute too.
Here's GoogleX.
A google interface experiment, based on macOS's dock.

Apparently it didn't last much time (only about one day ;) ), and was forgotten ever since (it's quite old, dates to March 19 2005). But still, i think it looks good, and you guys (and gals :) ) might not know about it.


Ok... You use opera and gmail?
What's the single thing that most anoys you about gmail?
Wait... Don't tell me... It's the damn tab always gaining focus after the gmail page has opened!

Ok, so, here's the solution: go to:

Tools -> Preferences -> Advanced -> Content -> JavaScript options -> Allow raising of windows
And no more of that anoying behaviour!!

(found here)

General Software Discussion / Extortr Makes Blackmail Easy
« on: June 17, 2006, 06:07 PM »
Here's a great web finding!

Extortr is a new tool that makes blackmail faster and more efficient than ever before. It bills itself as the “most technologically advanced extortion service in the world”. Simply upload a scandalous photo or video, set a price and use Extortr to send an anonymous threat by email. If your victim doesn’t pay, the upload goes public. The service takes a 10% cut of all transactions, with a $5 minimum. Payments are made via Paypal or - in some cases - deposited into a Swiss bank account.


from irc channel, mouser mentioned it

General Software Discussion / Browser racism???
« on: June 09, 2006, 04:36 AM »
Ok... Following up on the following message: http://www.donationc...56.msg27826#msg27826
I'm protesting against browser racism!

How is this possible? In that thread, kimmchii mentioned he could download the file from betanews and i couldn't. The problem was that i was under opera and kimmchii was using firefox. When i tried using ff, it also worked for me.
(notice that this must have been intended, since opera is redirected to another site, and firefox is given the download)

Is this normal, have you ever seen other cases of "browser xenophobia"?

Here's how a good developer feels about his projects!
(or maybe he's just a good seller :P)


General Software Discussion / Secure Screensaver
« on: May 03, 2006, 02:25 PM »
Hi there!
I'm looking for a screensaver for my computer with a few "special" things about it. I'd like a screensaver that would turn my computer into one of those computers you see in stores, where you can access the web and such.
Mostly, i'd like it to be a screemsaver that would allow me to have it locked, but not make the computer completelly unusable, so that if i needed, i could still do a fast web search, while not having to unlock the computer. But at the same time, i'd need this screensaver to be safe, so that noone could see my computer's files.

Anyone knows of such app?

ps: i need such app because i live with 3 guys, and we always have people at home, and i prefer to keep my stuff private. (i specially don't want them messing with my computer's "delicate" organization)

Post New Requests Here / IDEA: Ctrl+Alt+Del Grabber
« on: April 21, 2006, 07:09 PM »
When i found skrommel's DimSaver, I fellin love with it. The problem is that i need to always have my screensaver with password. But this makes dimsaver lose half of it's usefullness, since when that option is selected, you can no longer see the active apps, only the desktop background.
So, i decided to make a screen locker myself. I made a ahk script that disables all modifier keys (ctrl,alt,win,apps,etc..) so that only the alphabetic and number keys would work, to insert the password to an input box.

Right, that was a good, funcitional idea, until i tried doing ctrl+alt+del. Ahk cannot grab that key combination (i guess it makes sense, but i want to use it in a good way :( ).
So, I'm asking if anyone knows of any way to temporarily disable the combination, either by using another program (that can be controled through another script), or by using any ahk tweak.

I hope someone can sove me this problem, i really love dimsaver :D

General Software Discussion / Keyboard friendly media player
« on: April 20, 2006, 04:32 PM »
I've used winamp for years. But unfortunatelly, I've found a major draw-back about it.
Although i absolutelly love the way winamp's media library works, it simply isn't keyboard-friendly. There is no rational way to navigate the window (nor irational, for that matter).
So, I'm looking for a media player with some good media library funcionality, and that is keyboard friendly.
A winamp plugin to have hotkeys on the media library window would be a very good solution too.

I've surfed a bit, and tried out foobar2k, but unfortunatelly, it's library functionality are nowhere near winamp's, and I couldn't find a decent help file for it.
Any kind of help would be greatly appreciated.

Developer's Corner / Lines Of Action Game Heuristics
« on: April 17, 2006, 06:44 AM »
My Artificial Inteligence work just came out, and I must say I'm abit scared. I have to make a computer player of the game Lines Of Action. I already know which algorithm to use, my problem is that I've never played the game, so, I don't quite know how to teach a computer to do so.
I've already searched quite a bit, and found good information about the game, but nothing on how to play it, strategically speaking.
So, I'm asking for some help, I'd like to know if someone knows some ways of playing the game (i.e. good heuristics, technically speaking), or at least, some good pointers for me to dig through.

(I couldn't fit this post anywhere, so, i posted it here because it's programming-related)

As my coding snacks list is becoming way too big to not have a centralized download page, I need to learn how to make a webpage.
But my knowledge about creating webpages is null.
So, i'd like to know where can I start, to get some interesting information on how html works.
I'd also like to know where can i get a good html editor/creator, which could help me acomplish my needs.
I hope the good people of DC can help me (as always ;) )

Screenshot Captor / FTP Uploader
« on: April 03, 2006, 06:25 PM »
Based on Chrono's upload to ftp tool (http://www.donationc...ndex.php?topic=493.0), i created a new tool that can be configured with SC, to upload images to and ftp very fast.

The best feature about it, is that you can set a final url, that'll be changed with the name of the file you upload, and copyed to clipboard.
Since most of the times, if you upload an image to an ftp, you want to paste it's name elsewhere, this tool, after uploading the file, will place it's url in the clipboard.

It's syntax is the following:

ex: FtpUploader.exe FooUser FooPassword Screenshot.png

The final url copied to the clipboard is "fileurl/filename". In this example, it'd be
If you don't wish to use with the copy to clipboard function, just don't put anything under FILEURL, and nothing will be copied.

This script is directed essentially at the SC's external tools configuration, so, here's the instructions on how to configure it on SC:
  • Goto tools menu -> configure external tools.
  • Click Add.
  • Select some name for it (like for example: "upload to ftp").
  • Browse for it's file
  • Fill "arguments" field with FTPURL USERNAME PASSWORD "%file%" FILEURL.

You can get the compiled version here.
Or the .ahk file here.

General Software Discussion / Do you use RSS feeds?
« on: March 30, 2006, 06:28 PM »
In the line with the recent AlertBear Mini-Review by moerl, and the whole Discussion About AlertBear, and also on GreatNews RSS Reader, i decided to open this poll, to assess how much people really do use RSS feeds.

So... Please enlighten us with your opinion! :)

Pages: prev1 2 3 4 [5] 6 7next