Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.index.php on line 36

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.index.php on line 36

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.index.php on line 36

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15
Python - Source Code | DreamInCode.net
Strict Standards: Non-static method members::isLoggedIn() should not be called statically in /home/dreaminc/public_html/home/templates2/top.php on line 32

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 39

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method members::isDicpp() should not be called statically in /home/dreaminc/public_html/home/templates2/top.php on line 32

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 16

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method members::isDicpp() should not be called statically in /home/dreaminc/public_html/home/templates2/top.php on line 133

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 16

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ads::isAdCompatible() should not be called statically in /home/dreaminc/public_html/home/templates2/top.php on line 133
 

Code Snippets

  

Linux & UNIX Source Code

  

Python Source Code



Strict Standards: Non-static method members::isLoggedIn() should not be called statically in /home/dreaminc/public_html/home/include/class.templates.php on line 136

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 39

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method members::isLoggedIn() should not be called statically in /home/dreaminc/public_html/home/include/class.templates.php on line 31

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 39

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ads::isAdCompatible() should not be called statically in /home/dreaminc/public_html/home/include/class.templates.php on line 31


Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.index.php on line 117

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15
Python


Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.index.php on line 125

Strict Standards: Non-static method category::categoryChildren() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.category.php on line 2

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 129

Strict Standards: Non-static method category::categoryChildren() should not be called statically in /home/dreaminc/public_html/code/themes/tpl.category.php on line 5

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 129

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/code/themes/browse.cat.php on line 67

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method snippet::getCategorySnippets() should not be called statically in /home/dreaminc/public_html/code/themes/browse.cat.php on line 100

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 39

Strict Standards: Non-static method category::categoryChildren() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 50

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 129

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126

Strict Standards: Non-static method snippet::getSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 100

Strict Standards: Non-static method snippet::checkSnippet() should not be called statically in /home/dreaminc/public_html/home/include/include.snippet.php on line 126


  «  <  7  8  9  10  >  »  


Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15

Strict Standards: Non-static method category::getCategoryDetails() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 20

Strict Standards: Non-static method category::checkCategory() should not be called statically in /home/dreaminc/public_html/home/include/include.category.php on line 15
Submitted: January 31, 2009        Views: 657

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Submitted: March 4, 2009        Views: 14320

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
A calculator written in easygui and performs basic arithmetic manipulations.
Submitted: October 23, 2006        Views: 5374

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Our SMTP host this morning decided to implement some new anti-spam countermeasures which broke just about everything. I wrote this script to diagnose the problem. It uses smtplib to send mail from the localhost to a specified to from a specified from.
Submitted: April 19, 2010        Views: 882

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This script calculates the Simpson's Index of Diversity - a measure of biodiversity - for a given area. This script is useful for biologists but also a good example for beginners to see some 'for' and 'while' loops in action.
Submitted: February 14, 2009        Views: 3836

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This will calculate central moments and then using these values skewness & kurtosis will be calculated.
Socket info in Python by atik97
Submitted: January 31, 2009        Views: 1000

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Submitted: September 10, 2010        Views: 755

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This snippet contains all of the formulas you will need to perform conversions of temperatures.
Submitted: September 15, 2010        Views: 1549

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
A function for the nth tetrahedral number.
Submitted: September 15, 2010        Views: 1677

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Checks to see whether a number is trimorphic.
Twin Prime in Python by captainhampton
Submitted: September 25, 2010        Views: 1625

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Checks in a given range of numbers for the twin primes.
Submitted: November 2, 2011        Views: 589

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This is a simple class to create and manipulate two dimensional arrays.
Submitted: April 15, 2009        Views: 2012

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
This snippet will find a unit vector to the direction of a given vector.
Submitted: February 7, 2009        Views: 1143

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
Inspired from a snippet on here, I expanded upon the idea and added a menu feature where the user can choose their time zone and it will display the appropriate time.
Web page info in Python by atik97
Submitted: January 29, 2009        Views: 1093

Strict Standards: Non-static method bbcode::parse() should not be called statically in /home/dreaminc/public_html/home/include/include.tpl.func.php on line 57

Strict Standards: Non-static method bbcode::add() should not be called statically in /home/dreaminc/public_html/code/bbcode.conf.php on line 16
  «  <  7  8  9  10  >  »  


Submit a Code Snippet and get a chance to win a </dream.in.code> 1GB Thumb Drive!



Strict Standards: Non-static method members::isDicpp() should not be called statically in /home/dreaminc/public_html/home/templates2/copyright.php on line 77

Strict Standards: Non-static method members::isMember() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 16

Strict Standards: Non-static method ipb_interface::getUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ipb_interface::checkUserId() should not be called statically in /home/dreaminc/public_html/home/include/class.member.php on line 10

Strict Standards: Non-static method ads::isAdCompatible() should not be called statically in /home/dreaminc/public_html/home/templates2/copyright.php on line 77