http://go.activecalendar.com/UPennMINS/event/mahoney-institute-for-neurosciences-seminar---47th-annual-flexner-lecture/
mahoney-institute-for-neurosciences-seminar---47th-annual-flexner-lecture
| interface ObjectWithTimestamp { | |
| timestamp: number; | |
| } | |
| function findClosestTimestampPair( | |
| arr1: ObjectWithTimestamp[], | |
| arr2: ObjectWithTimestamp[] | |
| ): [ObjectWithTimestamp, ObjectWithTimestamp][] | [] { | |
| arr1.sort((a, b) => a.timestamp - b.timestamp); | |
| arr2.sort((a, b) => a.timestamp - b.timestamp); |
| // 1 -> 1 | |
| // 2 -> 11 2 | |
| // 3 -> 111 12 21 | |
| // 4 -> 1111 112 121 211 22 | |
| // 5 -> 11111 1112 1121 1211 122 2111 212 221 | |
| // 6 -> 111111 11112 11121 11211 12111 1122 1212 1221 21111 2112 2121 2211 222 | |
| const getAllScenarios = (current, collection) => { | |
| if (!collection.has(current)) { | |
| collection.set(current, ""); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.0</real> | |
| <key>Green Component</key> | |
| <real>0.0</real> |
| # Configuration for Alacritty, the GPU enhanced terminal emulator. | |
| # Import additional configuration files | |
| # | |
| # Imports are loaded in order, skipping all missing files, with the importing | |
| # file being loaded last. If a field is already present in a previous import, it | |
| # will be replaced. | |
| # | |
| # All imports must either be absolute paths starting with `/`, or paths relative | |
| # to the user's home directory starting with `~/`. |
| function day1() { | |
| var val = document.querySelector('pre').innerText; | |
| var arr = val.split('\n').map(x => Number(x)); | |
| var finder = (main, rest, target) => { | |
| let result = null; | |
| rest.forEach(x => { if (main + x === target) { result = [main, x] } }); | |
| return result; | |
| }; |
Create a project with hello-world base:
gatsby new gatsby-tutorial https://github.com/gatsbyjs/gatsby-starter-hello-world Install plugins. Here are plugins at the moment: