Load Different Libraries Snippets


It's an unfortunate necessity that you need to write different code for windows sometimes or at the very least load different libraries since there is no fork(), etc. This is how you can tell.

26 November, 2011   

In jQuery $ is an alias for jQuery, so you can use jQuery() for accessing the jQuery methods. The following code example shows how you can use other libraries with jQuery:

19 May, 2012   

Example code to load CSV back into mySQL

Makes it extremely easy to integrate code igniter and smarty as well as provide layout capabilites.

18 March, 2015   

Example shows how to load a text file

05 December, 2016   

Stop IE Page Load Flicker Html code Snippet by Chris Coyier

28 March, 2011   

When you are writing dynamic link libraries and need to control the loading and unloading of a DLL, or if you want to initialize your DLL when it is loaded, you can have a function called DllMain do your initialization. Windows calls the DllMain function of a DLL in four instances: 1) When a process attaches the DLL 2) When a thread attaches...

24 August, 2011   

When you are writing dynamic link libraries and need to control the loading and unloading of a DLL, or if you want to initialize your DLL when it is loaded, you can have a function called DllMain do your initialization. Windows calls the DllMain function of a DLL in four instances: 1) When a process attaches the DLL 2) When a thread attaches...

Example shown here how to preload the images with jquery in WordPress.

Open up a text editor, copy & paste the code below. Save the file as: "commandlinefu.py" and exit the editor.

13 April, 2013   

Load and store classes for easy use and re-usability using advanced PHP object storing.

05 February, 2011   

Link to CSS files: You essentially hotlink directly to CSS files on Google. Through URL parameters, you specificity which fonts you want, and what variations of those fonts.

03 June, 2013   

Plots a histogram from an external file with the frequency of each bin shown above each bar. The XTick is also the intervals of the histogram.

22 December, 2011   

MaxScript code example to load a library

11 April, 2013   

Pull external HTML code from a file right into your webpage

01 July, 2015   

Loads and saves a compressed dump of an array

Two simple functions to read an write tab seperated files (like CSV files, etc).

13 December, 2015   

Bind onload function to the iFrame and set the size of the iFrame to the iFrames loaded content. In the example jQuery is used.

18 November, 2015   

Bind onload function to the iFrame and set the size of the iFrame to the iFrames loaded content. In the example jQuery is used.

20 July, 2015   

This example shows how to serialize a simple object by using the XmlSerializer.