Taken from https://keestalkstech.com/2018/03/install-nano-with-entware-on-synology-nas-dsm6/.
- Prepare directory for Entware
# create a home for Entware
mkdir -p /volume1/@Entware/opt
# go on as root| def tagged_document(list_of_list_of_words): | |
| for i, list_of_words in enumerate(list_of_list_of_words): | |
| yield gensim.models.doc2vec.TaggedDocument(list_of_words, [i]) | |
| training_data = list(tagged_document(data)) | |
| model = gensim.models.doc2vec.Doc2Vec(vector_size=40, min_count=2, epochs=30) | |
| model.build_vocab(training_data) | |
| model.train(training_data, total_examples=model.corpus_count, epochs=model.epochs) |
Taken from https://keestalkstech.com/2018/03/install-nano-with-entware-on-synology-nas-dsm6/.
# create a home for Entware
mkdir -p /volume1/@Entware/opt
# go on as root| #!/bin/bash | |
| # This script takes a PDF or list of PDFs and outputs a file(s) | |
| # named <file>_scanned.pdf that looks like it has been scanned | |
| # | |
| # Requires imagemagic and popper to be installed (brew install imagemagick poppler) | |
| # | |
| # Accepts: a list of files | |
| # Usage: ./<scriptfilename> pdf1.pdf pdf2.pdf | |
| # | |
| # To use as a macOS automator quick action you need to: |
simple2d https://github.com/simple2d/simple2d
PLplot http://plplot.sourceforge.net/index.php
DISLIN https://www.dislin.de
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
Known Issues: On High Sierra there are problems related to the screen brightness and sleep issues.
| Navigation Keys - These are used in command mode: | |
| $ Move to end of line | |
| ^ Move to beginning of line | |
| Save and Quit Commands - These are used in lastline mode: | |
| :w Write buffer (Save changes and continue working in vi Editor) | |
| :w new_filename Write buffer to new filename (continue working in vi) | |
| :wq Write buffer (save changes) and quit vi | |
| :q! Quit without saving changes | |
| :wq! Write buffer (save changes) and quit vi | |
| (The ! will override Read only permissions but only if you are the owner of the file.) |
I hereby claim:
To claim this, I am signing this object: