luizlopes


Member since 2008

19 snippets

19235 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 3188 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 2378 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 2068 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 1473 posted 14 years ago by luizlopes
an operator that implements true prototypal Object inheritance in JavaScript
0 1938 posted 14 years ago by luizlopes
JSLint requires the body of every `for in` statement should be wrapped in an `if` statement
0 2190 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 3184 posted 15 years ago by luizlopes
$('.fadein').slideShow(300);
1 1916 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 1790 posted 16 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 2268 posted 17 years ago by luizlopes
My friend Jamal Fanaian showed me how to convert a string to its' ASCII value.
0 4547 posted 17 years ago by luizlopes
Remove *.LCK for any other extension you want to remove.
0 2123 posted 17 years ago by luizlopes
Great way to use mod_rewrite with friendly URLs and Form
1 1815 posted 18 years ago by luizlopes
This is good to add to folders which are chmod to 777.
1 2021 posted 18 years ago by luizlopes
http://us.php.net/manual/en/language.oop5.autoload.php#82614
2 1988 posted 18 years ago by luizlopes
This was copied off wordpress FTP plugin
0 1901 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 1923 posted 18 years ago by luizlopes
This was taken out of a presentation by eZ systems on PHP Best Practices
0 1952 posted 18 years ago by luizlopes
« Prev 1 Next »