Welcome To Snipplr


Everyone's Recent Snippets Tagged line



1 501 posted 12 years ago by dmistriotis
Draw line on mousedown.\r\nLine width based on mouse movement.
0 723 posted 12 years ago by S_Park
input: -width 123 -height 234 -minimized -visible output map: {"-width":"123", "-height":"234", "-minimized":null, "-visible":null}
0 410 posted 12 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 394 posted 12 years ago by IsoJon
2 3976 posted 12 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 351 posted 12 years ago by codeshaman
Turn off auto kerning to get rid of that goddamn line break that happens on multiline text inputs!
0 497 posted 12 years ago by creativelifeform
This command will email the contents of emailbody.txt to [email protected] with the subject My subject line.
0 587 posted 13 years ago by webonomic
1 844 posted 13 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 726 posted 13 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 491 posted 13 years ago by iroybot
for checking the cmdargs
0 425 posted 13 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 445 posted 13 years ago by Zenithus
Execute this commend to add users to SharePoint
0 470 posted 13 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 583 posted 13 years ago by kfaulk1
0 431 posted 13 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 525 posted 14 years ago by jimfred
This script is used for the sorted text.
0 366 posted 14 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 350 posted 14 years ago by tgpo
A good CSS example of how to style Horizontal Rule (HR) elements. It's also Internet Explorer (IE) friendly.
3 681 posted 14 years ago by jonhenshaw