ch-ch-changes

This commit is contained in:
Malin Freeborn
2020-01-02 04:41:16 +01:00
parent 187337aadd
commit e3abb00b08
15 changed files with 30 additions and 96 deletions

View File

@@ -1,5 +1,4 @@
# Install new dictionaries
# Install New Dictionaries
If the path doesn't exist then:
@@ -7,4 +6,17 @@ If the path doesn't exist then:
Then move the dictionaries there.
# Words
To look up 'cat' in all languages, just do:
> sdcv cat
Look at dictionaries you have with:
> sdcv -l
To use a specific dictionary, like `en_rs`, do:
> sdcv -u en_rs

View File

@@ -1,40 +0,0 @@
#!/bin/bash
[ ! -z $1 ] && sudo apt-get install -y virtualbox-guest-additions-iso
sudo apt-get -y install wget php php-{pear,cgi,common,curl,mbstring,gd,mysql,gettext,bcmath,imap,json,xml,fpm}
clear
echo 'The correct version of php should be 7.2.8 or greater.'
echo "The current version is $(php -v | grep PHP)"
sleep 5
sudo sh -c 'printf "upload_max_filesize = 20M\nmax_execution_time = 120\n" >> /etc/php.ini'
sudo apt-get install -y nginx
# Installing mariadb server
## uninstall any old versions first
## install software-properties-common if missing
sudo apt-get install -y software-properties-common
# then get the keys to the server
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository "deb [arch=amd64,arm64,ppc64el] http://mariadb.mirror.liquidtelecom.com/repo/10.4/ubuntu $(lsb_release -cs) main"
sudo apt -y update && sudo apt -y install mariadb-server mariadb-client
# Enter a password for the database, or if you did not get a prompt, run:
sudo mysql_secure_installation
# Then just accept defaults

View File

@@ -1,3 +1,5 @@
(instructions currently not working)
Switch to root to make things easier.
> yay -S
@@ -107,7 +109,8 @@ Do a non-daemon version with
This needs to be edited for "$TASKDDATA", "$TASKDUSER", and "$TASKDGROUP".
---
```
Unit]
Description=Secure server providing multi-user, multi-client access to Taskwarrior data
Requires=network.target
@@ -127,7 +130,7 @@ ReadOnlyDirectories=/etc /usr
[Install]
WantedBy=multi-user.target
---
```
Enable all this by copying the file to `/etc/systemd/system`, reload daemon, then start it.
@@ -174,5 +177,3 @@ Alias `delete' to `rm' with:
task config alias.rm delete

View File

@@ -1,4 +1,5 @@
#!/bin/bash
# script currently not working
export TASKDDATA=/var/lib/taskd

View File

@@ -1,7 +1,8 @@
# Setup
Below commands mostly deal with timew alone. With taskwarrior installed as well, `locate on-modify-time`, then add it to ~/.task/hooks and make it executable.
#Summaries
# Summaries
Try:
@@ -127,6 +128,7 @@ task end.after:today-1wk completed
# Errors with Python3
Replace
`os.system('timew start ' + combined + ' :yes')`
with:
@@ -141,16 +143,9 @@ with:
`os.system('timew stop ' + combined.decode() + ' :yes')`
# Fixing Errors
> curl -O https://taskwarrior.org/download/timew-dbcorrection.py
> python timew-dbcorrections.py

View File

@@ -1,3 +1,5 @@
'H' for help.
Ctrl+u to go to new url.
tab between fields.
@@ -8,5 +10,3 @@ o for the love of options.
T for a new tab.
'{' and '}' to change tabs.
'H' for help.