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 1149 posted 10 years ago by johansonkatherine
Ejemplo de Carga de Página con Nokogiri
0 833 posted 10 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 692 posted 10 years ago by apphp-snippets
Set the last parameter to the number of cores. End with 'killall perl'
0 603 posted 11 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 1417 posted 12 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 750 posted 12 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 976 posted 12 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 1223 posted 12 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 847 posted 12 years ago by adrianparr
For this to work you need the as3corelib classes from here ... https://github.com/mikechambers/as3corelib
0 2501 posted 13 years ago by adrianparr
0 561 posted 13 years ago by russdogg
0 635 posted 13 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 626 posted 13 years ago by remko
Link body class names to trigger javascript. It requires jQuery.
0 701 posted 13 years ago by cmndo
1 874 posted 13 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 845 posted 13 years ago by disas
1 653 posted 13 years ago by hejaaa
Simple manager that loads display objects via single method call and caches loaded objects
0 831 posted 13 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 916 posted 13 years ago by mprabhuram
0 672 posted 13 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 980 posted 13 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 784 posted 13 years ago by coprolit
A simple PHP application for counting how many views a page gets.
0 618 posted 13 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 824 posted 14 years ago by stancox
« Prev 1 2 3