As an introduction into Luigi, I am following this tutorial with some modifications, e.g. installation using conda.
The problems and solutions described in the examples below have led to the development of sciluigi,
| 16a17 | |
| > flashScreen = 0; | |
| 19c20 | |
| < selectedTab = 23; | |
| --- | |
| > selectedTab = 2; |
| { | |
| "title": "Remap Useless Option Symbol Keys", | |
| "rules": [ | |
| { | |
| "description": "Remap Option-G to Option-Command-G", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "g", |
As an introduction into Luigi, I am following this tutorial with some modifications, e.g. installation using conda.
The problems and solutions described in the examples below have led to the development of sciluigi,
| #!/bin/sh | |
| # This script lists user defined search engines in Chromium. | |
| # It replaces {inputEncoding}, which appears in some search engine definitions, with | |
| # UTF-8, {google:baseURL} with the Google URL, and omits other such tokens. | |
| # Location of Chromium's 'Web Data' SQLite3 file | |
| CHROMIUM_WEB_DATA="$HOME/.config/chromium/Default/Web Data" | |
| # Location to create temporary copy of 'Web Data', since the database is locked while |
| #dash escape filename (version 0.1: must be in current working dir) | |
| dashef(){ | |
| filename=`basename $1 | tr "\n" " "` | |
| # echo "filename is ${filename}" | |
| escaped=`echo $1 | tr " " "-" |tr -d "," | tr "_" "-" | tr "(" "-" | tr ")" "-" | tr "+" "-" | perl -pe 's/\-\-\-/\-/g' | perl -pe 's/\-\-/\-/g'` | |
| echo "filename is now $escaped" | |
| mv "${1}" ${escaped} | |
| } |