Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 418 419 420 421 422 ... 552
This is an example of how to define a default skin in a component written in ActionScript 3 that extends a spark component.
0 1809 posted 17 years ago by GarthDB
I'll never learn how to use this Markdown system. Anyway, here is the fixed code based on my comment on the following page: http://snipplr.com/view/14206/replace-spaces-with-underscores/ I'm sorry, I don't mean to hijack the code. :(
0 2182 posted 17 years ago by duniyadnd
1 2805 posted 17 years ago by Unsafe
Sometimes you may need a carriage return in your text. Line 1 is the code for a carriage return in C# and line 3 shows an example of how to use it.
0 2084 posted 17 years ago by mordecaix7
When we can't or won't change the code of image tag with align attribute, but no 'style="margin: 0 10px 10px 0;' or 'hspace=10px' (IMHO, hspace makes bad looking layout in most cases) code within (just pure <img> code), we can use simple CSS rules f...
1 2440 posted 17 years ago by kossmoss
Thanks to perishablepress.com for this. Below is an example for ie6 max-height. From their site: "This method has been verified in IE6 and should also work in IE5. Simply change the values to suit your needs (code commented with explanatory notes...
1 2227 posted 17 years ago by charmcitycoder
I changed the code on the web site slightly to get it to work with the registry editor. Once this new shell command is in place, right click on the directory of interest, and select "Delete SVN Folders" to strip all the .svn folders from the direc...
2 5008 posted 17 years ago by bswimley
4 4781 posted 17 years ago by fackz
8 2354 posted 17 years ago by michaelfox
I always forget how to implement a button with active mousecursor....
0 1709 posted 17 years ago by pfeisinger
1 2117 posted 17 years ago by conspirator
0 1655 posted 17 years ago by hlubek
1 1951 posted 17 years ago by demixo
First of all, for all Stackoverflow.com members who have seen my question about this snippet on Stackoverflow, yes I am the same person as WebDevhobo. Last time I asked a question about something I posted here I got a bucketload of comments saying I...
1 4420 posted 17 years ago by Vordreller
2 1849 posted 17 years ago by level09
An easy way to launch an external process (http://docs.codehaus.org/display/GroovyJSR/Run+Sub-Process+Safely).
1 2486 posted 17 years ago by narkisr
0 1598 posted 17 years ago by rowntreerob
1 2142 posted 17 years ago by jonathanpglick
Mac OS X creates files beginning with *._* to Samba shares when files on a Unix/Linux machine are accessed with a Mac. I use [Coda](http://www.panic.com/coda/) to access a Samba share on my development server at work. This is really annoying when c...
1 2778 posted 17 years ago by shaunchapman
Standard list markup, adds button to expand a super dropdown next to the link.
1 2396 posted 17 years ago by davebowker
This snippet returns a link to twitter for the user to tweet the current page. URL is TinyURLed automatically (and tinyurls are cached indefinitely in assets/cache/tweetthis.txt). Simply paste code into a new snippet called "TweetThis". Call it li...
3 1992 posted 17 years ago by DaveChild
Since there are still many people using IE6, we have to cater for them :-( Anyway, this CSS statement shows a declaration for a PNG Logo. Most browsers will understand the first 5 lines. Sadly, IE6 will not be able to use the transparent PNG from l...
1 1946 posted 17 years ago by AshMan
I convert the google pr fetch code from php to actionscript.
2 2005 posted 17 years ago by zhengrenchi
One must escape "special characters" in id names using two backslashes.
0 2028 posted 17 years ago by penguin999
1 ... 418 419 420 421 422 ... 552