Welcome To Snipplr


Everyone's Recent Snippets Tagged line



1 384 posted 11 years ago by dmistriotis
Draw line on mousedown.\r\nLine width based on mouse movement.
0 522 posted 11 years ago by S_Park
input: -width 123 -height 234 -minimized -visible output map: {"-width":"123", "-height":"234", "-minimized":null, "-visible":null}
0 315 posted 11 years ago by tactoth
You can replace the library item with whatever you want, or draw a shape in actionscript to use. TweenMax is used in this snippet, get it here: http://www.greensock.com/tweenmax/ and thank Jack Doyle for being great by donating.
0 289 posted 11 years ago by IsoJon
2 2636 posted 11 years ago by iTony
Originally found on [Corey Goldberg's blog](http://coreygoldberg.blogspot.com/2010/01/python-command-line-progress-bar-with.html)
0 263 posted 11 years ago by codeshaman
Turn off auto kerning to get rid of that goddamn line break that happens on multiline text inputs!
0 364 posted 11 years ago by creativelifeform
This command will email the contents of emailbody.txt to [email protected] with the subject My subject line.
0 443 posted 12 years ago by webonomic
1 660 posted 12 years ago by nefd
This script is for generating plots with many curves, where each curve has its own marker, color, and line style. Please see my blog post for more explanations and leave comments there.
0 537 posted 12 years ago by benjamin
i know these regex stuff is rather slow, but still i like having slim documents. (don't forget to use gzip compression on all text docs)
3 358 posted 12 years ago by iroybot
for checking the cmdargs
0 314 posted 12 years ago by tandouri
Use this to quickly clean-up a file which has opening braces on a new line, a particular annoyance of mine.
1 313 posted 12 years ago by Zenithus
Execute this commend to add users to SharePoint
0 329 posted 12 years ago by blackf0rk
This is a simplified example for cut and paste use for command line parsing arguments with the use of an options hash
0 457 posted 12 years ago by kfaulk1
0 323 posted 12 years ago by zachwood
Article explains why STRINGIFY and TOSTRING are both needed. This technique is useful for embedded apps to print debug strings to a debug console. ASSERT or TRACE statements can incorporate these macros. The line numbers are converted to strings a...
0 394 posted 13 years ago by jimfred
This script is used for the sorted text.
0 277 posted 13 years ago by kyokutyo
This will print every number from 0000-9999. Each number is comma separated. The goal was not pretty / readable code, but to get all code on a single line.
0 276 posted 13 years ago by tgpo
A good CSS example of how to style Horizontal Rule (HR) elements. It's also Internet Explorer (IE) friendly.
3 499 posted 13 years ago by jonhenshaw