Inspired by "Parsing CSS with Parsec".
Just quick notes and code that you can play with in REPL.
By @kachayev
| (defn partition-between | |
| "Splits coll into a lazy sequence of lists, with partition | |
| boundaries between items where (f item1 item2) is true. | |
| (partition-between = '(1 2 2 3 4 4 4 5)) => | |
| ((1 2) (2 3 4) (4) (4 5))" | |
| [f coll] | |
| (lazy-seq | |
| (when-let [s (seq coll)] | |
| (let [fst (first s)] | |
| (if-let [rest-seq (next s)] |
Inspired by "Parsing CSS with Parsec".
Just quick notes and code that you can play with in REPL.
By @kachayev
In open Ubuntu 18.04 machine click Parallels Actions -> "Install Parallels Tools"
A "Parallels Tools" CD will popup on your Ubuntu desktop.
Open it by double mouse click, copy all the content to a new, empty directory on a desktop, name it for e.g. "parallels_fixed"
Open terminal, change directory to parallels_fixed (cd ~/Desktop/parallels_fixed)
Make command line installer executable (chmod +x install)
Change directory to "installer" (cd installer)
Make few other scripts executable: chmod +x installer.* *.sh prl_*