Welcome To Snipplr


Everyone's Recent Snippets Tagged load



« Prev 1 2 3
This technical tip shows how to load any existing email message and modify its contents before saving it back to disk using Aspose.Email for Android API. To do this successfully, specify the MessageFormat when loading the email message from disk. In...
0 4505 posted 12 years ago by johansonkatherine
Ejemplo de Carga de Página con Nokogiri
0 3932 posted 13 years ago by danielousky
You can put the user's cursor inside a text box or put focus on select box as soon as your page is loaded. This helps ensure that visitors do not 'overlook' an important form item on your site and this snippet only uses one line of code!
0 2112 posted 13 years ago by apphp-snippets
Set the last parameter to the number of cores. End with 'killall perl'
0 1660 posted 14 years ago by beaknit
With the current combobox implementation, the full list is emptied and re-rendered every time you expand the dropdown. Also you are stuck with setting the minLength to 0, because it has to do an empty search to get the full list. Here is my own im...
0 3149 posted 14 years ago by Huskie
From time to time I need a Ajax function to not cashe the template it load. I only have notest this problem in IE.
1 2811 posted 14 years ago by Tyde
A simple, thread-safe wrapper class for lazy-loading data into an instance on-demand (i.e. when the instance is first accessed.) Usage: LazyLoader<Foo> l = new LazyLoader<Foo>(() => Foo.LoadFromDataSource("DB Connection String")); // For acc...
2 2542 posted 15 years ago by stewartrae
These two classes demonstrate how to create an external font SWF that contains embedded fonts, and how to then load that external font SWF and access and use the fonts inside it.
0 2879 posted 15 years ago by adrianparr
This font SWF was created using the handy tool FontSwffer (http://blog.madebypi.co.uk/2011/02/28/fontswffer-1-1/)
0 2053 posted 15 years ago by adrianparr
For this to work you need the as3corelib classes from here ... https://github.com/mikechambers/as3corelib
0 5575 posted 15 years ago by adrianparr
0 1682 posted 15 years ago by russdogg
0 1823 posted 15 years ago by cupakob
Tiny script to write a daily logfile with the serverload. Can be run every X minutes using a cron for example. Result in logfile: 13.40 | 2.45 2.45 2.43 13.45 | 1.62 2.02 2.25
0 1791 posted 15 years ago by remko
Link body class names to trigger javascript. It requires jQuery.
0 2093 posted 15 years ago by cmndo
1 2119 posted 15 years ago by Savio
This snippet could be useful if you use an div based design eg. with a slider or something similar. it grabs variables from the base url splitted by "#". So you can browse to your site like "http://www.example.com/#1#2" and use the first and secon...
0 2030 posted 15 years ago by disas
1 1941 posted 15 years ago by hejaaa
Simple manager that loads display objects via single method call and caches loaded objects
0 3017 posted 15 years ago by kuril
use bulk load to save a large SAS dataset into oracle/DB2/SQL Server/ Teradata for joining with other tables etc.. Alternate link : http://www2.sas.com/proceedings/sugi29/106-29.pdf
0 4073 posted 15 years ago by mprabhuram
0 1815 posted 15 years ago by sb_01
When injecting via jQuery HTML content which contains script tags referencing external scripts, which are then referenced via scripting elsewhere in the injected HTML, some browsers (Chrome) will not wait for the external scripts to load causing the...
2 2699 posted 15 years ago by harikaram
A more flexible version of the 'official' Facebook feed dialog example. "The Feed Dialog prompts the user to publish an individual story to a profile's feed. This does not require any extended permissions." "The following simple JavaScript exam...
0 1991 posted 16 years ago by coprolit
A simple PHP application for counting how many views a page gets.
0 1731 posted 16 years ago by FelixT
0 2352 posted 16 years ago by supermauerbros
Related Categories: jQuery, Tips We've all heard the best practices recommendation to load jQuery (or other JavaScript libraries) from a CDN, such as Google's for performance reasons. But what happens if, in the rare chance, Google's network is do...
2 2321 posted 16 years ago by stancox
« Prev 1 2 3