Divyansh Prakash, September 2023
NOTE: Please read the previous post to understand the context of this post.
Divyansh Prakash, September 2023
NOTE: Please read the previous post to understand the context of this post.
| Uptime: 4 days, 2 hours, 50 minutes | |
| * TODO Simp'o'matic: Commands to implement | |
| - [-] .cron | |
| - [-] parse cron's official syntax | |
| - [X] step values (/) | |
| - [ ] range of values (-) | |
| - [ ] limit ranges (hours: [0, 24], months: [0, 30/31]) | |
| - [X] any value (*) |
| (λ (f) | |
| ((λ (x) (f (x x))) | |
| (λ (x) (f (x x))))) |
| use std::boxed::Box; | |
| use std::option::Option; | |
| use std::result::Result; | |
| use Maybe::*; | |
| #[derive(Debug, PartialEq, Eq)] | |
| enum Maybe<T> { | |
| Nothing, | |
| Just(T), | |
| } |
| // Under WTFPL license ;) | |
| function ancestors(obj) { | |
| var hierarchy = []; | |
| if (['boolean', 'number', 'string', 'undefined'].indexOf(typeof obj) !== -1 || obj === null) { // primitives types | |
| obj = Object(obj); | |
| } else if (typeof obj === 'function') { | |
| hierarchy.push( | |
| obj.name || | |
| (obj.toString().match(/function (\w*)/) || | |
| obj.toString().match(/\[object (\w*)\]/))[1] || |
| " When the cursor is hold on a word, that word is highlighted. | |
| " When the cursor is moving, the highlight is hidden | |
| set updatetime=300 | |
| au! CursorMoved * set nohlsearch | |
| au! CursorHold * set hlsearch | let @/='\<'.expand("<cword>").'\>' | |
| set hlsearch |