Smipple is a social service for saving, storing, organizing, and sharing snippets of code with your friends and coworkers. Make friends. Improve your coding skills. Earn bragging rights.

Find out more

Recent Code Snippets

Title User Language Tags Description Date
Ruby += Operator reekay Ruby irb session Ruby Menggunaakan operator += pada Ruby 2 hours ago
code1 peterg3n Java asda code 1 days ago
UUID benchmark (test) yurdev C benchmark guid Thsi is just a test 2 days ago
Toggle checkboxes raminhos JavaScript all check checkboxes javascript jquery toggle uncheck check and uncheck all checkboxes with 3 days ago
Alert message raminhos HTML+PHP ace bootstrap error message Bootstrap 3 + Ace template $txt = message to show $s = Number of lines (in pixels) to space before... 3 days ago
Validating a date effectively snovakovic JavaScript Date JavaScript The date library in JavaScript is often too simple and usually not enough for advanced date formatti... 5 days ago
Highlighting text snovakovic JavaScript JavaScript Text There are many jQuery plugins to highlight text but I find this technique powerful, easy to implemen... 5 days ago
Reducing text by word limit snovakovic JavaScript JavaScript Text This script is similar to the excerpt function in WordPress. It allows you to truncate a string to a... 5 days ago
Toggle Collapse Transformations Aescripts JavaScript Collapse Transformations aescripts after effects aftereffects ft-toolbar layers Will toggle the Collapse Transformations switch for the selected layers 2014-10-23
Listen on all Elements mohanaravind JavaScript attach Attach listeners on all elements - Draft 2014-10-22

Popular Code Snippets

Title User Language Tags Description Date
Center a DIV with CSS feippe CSS center css div How to put a div in the middle of the window. 2011-03-10
Simple CSS reset netnoise CSS css minimal reset A simpler CSS reset by Russ Weakley <> 2010-05-04
Common @media queries joost.kiens CSS css3 Most common @media queries for handheld devices and desktops 2011-02-08
Email Validate navjotjsingh PHP email php validate validate PHP code to validate email addresses. 2009-10-31
Print the url after your links bramloquet CSS css media paper print url Easy way to print the url after your links wit CSS 2010-04-22
CSS3 box-shadow with page curl effect joost.kiens HTML box-shadow css3 CSS3 Box-shadow with a nice effect. Found on 2010-12-07
New bulletproof @fontface syntax joost.kiens CSS @fontface Use a '?' to create a query string, this fixes a bug in the src attribute for <IE9. Works for Andr... 2011-02-07
Rounded Corners Nicki CSS css3 rounded CSS Rounded Corners 2010-08-30
jQuery animated scroll mrkstudios JavaScript jquery scrolling jQuery animated scroll 2010-12-31
Transparency for ie, firefox and safari Alex CSS browser fix ie mozilla safari transparency transparent Have a transparent element / background in IE, safari and firefox 2009-07-21