Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Implementacija ophodnje stabla: Inorder, Postorder, Preorder.
0
928
posted 10 years ago by igotepava
Hey Guys,
This is a short and straightforward article (or let’s say „tip†or „mini-reviewâ€) that presents how to send SMS messages from your own C++ (Cpp / C plus plus) application through HTTP. You will see, it is gonna be really easy....
0
2271
posted 10 years ago by Gupta86
The code below can be used to lookup IP address in bulk in return of geolocation information using PHP programming languages and MySQL database. In this tutorial, we use the IP2Location LITE database to lookup country of origin from the visitor's IP...
1
1529
posted 10 years ago by Hexahow
There is a user-callback example in http://bazaar.launchpad.net/~bit-team/backintime/user-callback/view/head:/user-callback.apt-backup which will backup all package selections, sources and repository keys which are necessary to reinstall exactly the...
0
1149
posted 10 years ago by garretjames
To check if an “enter†key is pressed inside a textbox, just bind the keypress() to the textbox.
0
1379
posted 10 years ago by luhonghai
To detect copy, paste and cut behavior, you just need to bind the corresponding event type.
0
1774
posted 10 years ago by luhonghai
To check if jQuery library is loaded, use the following JavaScript code
0
1240
posted 10 years ago by luhonghai
JQuery is really a powerful and handy JavaScript library. The page or content loading effect is very easy to implement in jQuery. Here’s a example to make your web page content display a fade in page loading effect
0
1140
posted 10 years ago by luhonghai
In JSF 2.0, you can use <h:outputStylesheet> output a css file
0
1126
posted 10 years ago by luhonghai
Removes an item from the page, without affecting page flow or causing scrollbars. Much better than display: none; or even visibility: hidden;
0
1109
posted 10 years ago by luhonghai
Functions include: insert, find, remove, printall, printprobes, removeall, countactive, updatestatus. These functions take in various arguments. The functions and their commands are inserted by the user.
0
1278
posted 10 years ago by FuadMunzerinHossain
This is a simple example to quickly and easily produce a set of links for a given site in your bookmarks from Firefox..
0
1119
posted 10 years ago by xXxPizzaBreakfastxXx
Place this in your <head> section, and set the href attribute to an image to a 57px x 57px PNG file.
0
1090
posted 10 years ago by ajarkovsky
Overview
In an earlier post "OS.walk in Python", I described how to use os.walk and showed some examples on how to use it in scripts.
In this article, I will show how to use the os.walk() module function to walk a
directory tree, and the fnma...
1
1228
posted 10 years ago by tionazo
Bei dieser Variante lassen sich die Checkboxen nur einmal aktivieren/deaktivieren. Bei weiteren Versuchen wird zwar im Quelltext altiviert/deaktiviert, es ist aber auf der Seite nicht zu sehen.
0
1065
posted 10 years ago by ulfinger
Get all links from a website
from: http://www.pythonforbeginners.com/code/regular-expression-re-findall
0
2313
posted 10 years ago by tionazo
Use the code below to convert the IP address of your web visitors and lookup for their geographical location, e.g. country, state, city, latitude/longitude, ZIPs, timezone and so on. Free database can be downloaded at http://lite.ip2location.com.
0
3771
posted 10 years ago by Hexahow
Snippet found on forums to clean up /boot when too many kernels are installed. Though I think the script may need tweaking. Use at own risk!
0
799
posted 10 years ago by garretjames