luizlopes


Member since 2008

19 snippets

21412 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

luizlopes's Recent Snippets



« Prev 1 Next »
HTML Snippet for apple-touch-icon for all of the different iOS devices, and Android 2.0 supported Icon.
0 3327 posted 14 years ago by luizlopes
A fast and easy way to go through all vim-pathogen bundles and perform a git pull on all of them.
0 2527 posted 14 years ago by luizlopes
Fast and easy way to find a keyword inside of files located inside of a directory tree. (eg: looking for a function foo, inside of your applications directory.) This command will display a list of files which contain function foo.
0 2205 posted 14 years ago by luizlopes
When you use the `+` operator on an Array, it converts it to a string.` [].toString()` is the same as `[].join(',')`, which gives an empty string in case the array value is `undefined` or `null`. This also works in Javascript `([undefined] + "b" ===...
0 1650 posted 14 years ago by luizlopes
an operator that implements true prototypal Object inheritance in JavaScript
0 2181 posted 14 years ago by luizlopes
JSLint requires the body of every `for in` statement should be wrapped in an `if` statement
0 2330 posted 14 years ago by luizlopes
I took this out of an example in tutsplus, and I added a fadeIn action for aesthetic reasons.
0 3311 posted 15 years ago by luizlopes
$('.fadein').slideShow(300);
1 2036 posted 16 years ago by luizlopes
after recording screen cast using recordmydesktop this is a fast way of converting the file to .avi so it can be uploaded to youtube or other video sharing sites.
0 1930 posted 17 years ago by luizlopes
[quote]$_SERVER['HTTP_REFERRER']'s problem is that can be spoofed, but it's better than nothing if you really want that.[/quote]
1 2403 posted 17 years ago by luizlopes
My friend Jamal Fanaian showed me how to convert a string to its' ASCII value.
0 4710 posted 17 years ago by luizlopes
Remove *.LCK for any other extension you want to remove.
0 2259 posted 18 years ago by luizlopes
Great way to use mod_rewrite with friendly URLs and Form
1 1948 posted 18 years ago by luizlopes
This is good to add to folders which are chmod to 777.
1 2164 posted 18 years ago by luizlopes
http://us.php.net/manual/en/language.oop5.autoload.php#82614
2 2109 posted 18 years ago by luizlopes
This was copied off wordpress FTP plugin
0 2033 posted 18 years ago by luizlopes
This can be used as a general function to get the value stored in any of the possible input sources. use
0 2056 posted 18 years ago by luizlopes
This was taken out of a presentation by eZ systems on PHP Best Practices
0 2079 posted 18 years ago by luizlopes
« Prev 1 Next »