This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| from scipy.integrate import odeint | |
| # Set random seed (for reproducibility) | |
| np.random.seed(1000) | |
| # Start and end time (in milliseconds) | |
| tmin = 0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Create two taxonomies, Class and Year, for the post type "Lecture" | |
| function wpcampuscpt_lecture_taxonomies() { | |
| // Add Class taxonomy, make it hierarchical (like categories) | |
| $labels = array( | |
| 'name' => _x( 'Classs', 'taxonomy general name' ), | |
| 'singular_name' => _x( 'Class', 'taxonomy singular name' ), | |
| 'search_items' => __( 'Search Classes' ), | |
| 'all_items' => __( 'All Classes' ), | |
| 'parent_item' => __( 'Parent Class' ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.cloudwick.mapreduce.FileSystemAPI; | |
| import java.io.BufferedInputStream; | |
| import java.io.BufferedOutputStream; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.OutputStream; |