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 256 posted 6 years ago by johansonkatherine
Ejemplo de Carga de Página con Nokogiri
0 175 posted 7 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 152 posted 7 years ago by apphp-snippets
Set the last parameter to the number of cores. End with 'killall perl'
0 102 posted 8 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 339 posted 8 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 148 posted 9 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 253 posted 9 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 261 posted 9 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 192 posted 9 years ago by adrianparr
For this to work you need the as3corelib classes from here ... https://github.com/mikechambers/as3corelib
0 529 posted 9 years ago by adrianparr
0 122 posted 9 years ago by russdogg
0 143 posted 9 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 142 posted 9 years ago by remko
Link body class names to trigger javascript. It requires jQuery.
0 176 posted 9 years ago by cmndo
1 179 posted 9 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 233 posted 9 years ago by disas
1 123 posted 9 years ago by hejaaa
Simple manager that loads display objects via single method call and caches loaded objects
0 199 posted 9 years ago by kuril
Proper way of loading libs such as jQuery from Google's CDN. Place these JavaScripts at the bottom for fast page loading. To target different versions, you can be more specific if you want; eg. /1.4/ or even /1.4.4/. (NOTE: you may either use http...
0 266 posted 9 years ago by hced
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 223 posted 9 years ago by mprabhuram
0 139 posted 10 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 212 posted 10 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 204 posted 10 years ago by coprolit
A simple PHP application for counting how many views a page gets.
0 150 posted 10 years ago by FelixT
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 181 posted 10 years ago by stancox
« Prev 1 2 3