Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 205 206 207 208 209 ... 552
This is ideal for testing queries etc. Run this to copy a selection of data into a new table with the same scructure. Then you can run test queries etc on it. Once you are happy then run the queries on the live data table...enjoy
0 2447 posted 15 years ago by sjacunningham
Replace 'A1' with the cell and '-' with the character you want to remove.
0 2332 posted 15 years ago by TheJasonParker
1 2065 posted 15 years ago by hejaaa
0 1779 posted 15 years ago by jesudasjj
If each title is unique and you need alphabetical, try this in your Post model. You can change title to any unique attribute (created_at, id, etc.) if you need a different sort order.
0 3968 posted 15 years ago by gmericksen
Example written 01/13/2011 The following code shows how to implement functionality in your Windows Forms application, such that you'll be able to open a file that is dragged and dropped onto your program's form. This behavior is often desirable fo...
0 1913 posted 15 years ago by kyrathaba
0 1676 posted 15 years ago by Affix
0 2155 posted 15 years ago by Affix
taken from comments at above URL
1 2783 posted 15 years ago by dan_hoerr
0 1459 posted 15 years ago by rc2789
alternative to print_r with syntax highlight using jquery
3 1818 posted 15 years ago by letanure
ExtJS is great for OO style interface design but has a couple of strange behaviors. For instance when adding the ExtJS RowExpander plugin to a grid, the plugin overrides the gridView's getRowClass function. That's not really what you want. For instan...
0 2248 posted 15 years ago by misterb101
2 2440 posted 15 years ago by BFTrick
You will want to include the jquery easing plugin: http://gsgd.co.uk/sandbox/jquery/easing/ Add a class of 'scroll' to any element that should slide to an anchor tag. You must give the anchor tag an id equal to the name.
1 2186 posted 15 years ago by BFTrick
0 1823 posted 15 years ago by bitstream
login issue in development server (copy site from live site) site url is different
0 1795 posted 15 years ago by aashvi
calc rate file capacity
0 1348 posted 15 years ago by rso
0 1889 posted 15 years ago by albertoprb
0 1590 posted 15 years ago by iure
0 3882 posted 15 years ago by mbbrennan
When a float is contained within a container box that has a visible border or background, that float does not automatically force the container's bottom edge down as the float is made taller. Instead the float is ignored by the container and will han...
0 1711 posted 15 years ago by lamebollock
Add to .htaccess for seo purposes
0 2191 posted 15 years ago by nielsenrc
0 1466 posted 15 years ago by filR
0 1553 posted 15 years ago by scholli
First off, create your CSV with 2 columns, the parent ID for the category and the category name – you could easily add more columns for extra options, but it wasn’t necessary for us. The CSV file should be something like this: 3,subcat 4,s...
0 1644 posted 15 years ago by TheJasonParker
I needed to split a decimal number into the integer part and the fraction part and save both of them in different variables
0 2999 posted 15 years ago by bwangila
1 ... 205 206 207 208 209 ... 552