Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>#!title#</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <!-- Latest compiled and minified CSS --> | |
| <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>D3 Page Template</title> | |
| <script type="text/javascript" src="d3/d3.js"></script> | |
| <script type="text/javascript" src="d3/lib/colorbrewer/colorbrewer.js"></script> | |
| <style> | |
| rect:active { | |
| fill: 'orange'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <body> | |
| <style> | |
| #chart { | |
| height: 500px; | |
| } | |
| .node rect { | |
| cursor: move; | |
| fill-opacity: .9; |
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
| \documentclass{article} | |
| \usepackage{graphicx,hyperref,amsmath,natbib,bm,url} % Common packages | |
| \usepackage[australian]{babel} % Ascending date format | |
| \usepackage[a4paper,text={16.5cm,25.2cm},centering]{geometry} % Document size | |
| \usepackage[compact,small]{titlesec} % Title spacing | |
| \setlength{\parskip}{1.2ex} % Paragraph spacing | |
| \setlength{\parindent}{0em} % Paragraph indentation | |
| \clubpenalty = 10000 % Prevent orphans | |
| \widowpenalty = 10000 % Prevent widows |
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
| def cache(func): | |
| saved = {} | |
| @wraps(func) | |
| def newfunc(*args): | |
| if args in saved: | |
| return newfunc(*args) | |
| result = func(*args) | |
| saved[args] = result | |
| return result | |
| return newfunc |