Profile
Achievement
visudex's Recent Snippets
- All /
« Prev 1 Next »
This snippet is a PHP function that checks if an email address is valid
2
901
posted 13 years ago by visudex
Ever got tired of writing System.out.print(); all the time when testing, well, to avoid this, just create a helper method that will narrow it down to print();
0
763
posted 13 years ago by visudex
This snippet will allow you to read user's input when they write in the console. This method uses the Scanner class, which is my favorite way of doing instead of using the Buffered Reader, with the Scanner, you can also read from a file.
0
789
posted 13 years ago by visudex
This snippet will allow you to capture your screen in Java and saves the image as a PNG
0
786
posted 13 years ago by visudex
Use the regular box shadow, but add the keyword "inset" as the last parameter.
Works in Firefox, Safari, Chrome, Opera and IE9.
0
609
posted 13 years ago by visudex