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 sympy as s | |
| from sympy.interactive.printing import init_printing | |
| from sympy.matrices import Matrix | |
| init_printing(use_unicode=False, wrap_line=False, no_global=True) | |
| # In [1]: %load_ext autoreload | |
| # | |
| # In [2]: %autoreload 2 |
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 sympy as s | |
| from sympy.interactive.printing import init_printing | |
| from sympy.matrices import Matrix | |
| init_printing(use_unicode=False, wrap_line=False, no_global=True) | |
| # In [1]: %load_ext autoreload | |
| # | |
| # In [2]: %autoreload 2 |
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
| // http://stackoverflow.com/questions/4631928/convert-utc-epoch-to-local-date-with-javascript | |
| var utcSeconds = 1234567890; | |
| var d = new Date(0); // The 0 there is the key, which sets the date to the epoch | |
| d.setUTCSeconds(utcSeconds); |
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
| using System; | |
| using System.Collections.Generic; | |
| namespace TreeTraversals | |
| { | |
| public static class RT { | |
| public static RoseTree<T> Node<T>(T value) | |
| { | |
| return new RoseTree<T>() |
NewerOlder