This commit is contained in:
Tykayn 2022-08-03 11:56:56 +02:00 committed by tykayn
parent e48d54ff1c
commit 9be744eb71
6 changed files with 26 additions and 17 deletions

View File

@ -10,8 +10,12 @@ De quoi rafraîchir ce dépot avec des fichiers de configuration que j'utilise.
De quoi initialiser son utilisation d'orgmode De quoi initialiser son utilisation d'orgmode
# Bash # Bash
- sauvegardes avec borgbackup
- script de post installation pour des distributions comme Debian, pour mettre les logiciels que j'utilise - script de post installation pour des distributions comme Debian, pour mettre les logiciels que j'utilise
```bash
# commande à lancer en tant qu'administrateur
cd && wget wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/bash/postinstall/tykayn_postinstall.sh && bash tykayn_postinstall.sh
```
- sauvegardes avec borgbackup
# dossier partagé contenant des installateurs # dossier partagé contenant des installateurs
# license # license

View File

@ -68,12 +68,11 @@ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/i
# LAMP server # LAMP server
# https://doc.ubuntu-fr.org/lamp#installation # https://doc.ubuntu-fr.org/lamp#installation
apt install libapache2-mod-php mysql-server php-mysql php-curl php-gd php-intl php-json php-mbstring php-xml php-zip # apt install libapache2-mod-php mysql-server php-mysql php-curl php-gd php-intl php-json php-mbstring php-xml php-zip
# PHP related # PHP related
# php extensions # php extensions
# apache server # apache server
a2enmod rewrite # a2enmod rewrite
echo "installing composer" echo "installing composer"
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
@ -83,10 +82,6 @@ php -r "unlink('composer-setup.php');"
### Internet/Web ### Internet/Web
apt install firefox chromium-browser -y apt install firefox chromium-browser -y
#telegram
add-apt-repository ppa:atareao/telegram
apt update
apt install telegram -y
### Multimédia ### Multimédia
apt install gnome-mpv vlc blender kdenlive -y apt install gnome-mpv vlc blender kdenlive -y
@ -123,12 +118,18 @@ echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select tr
#plugin correction grammalecte #plugin correction grammalecte
wget https://www.dicollecte.org/grammalecte/oxt/Grammalecte-fr-v0.6.2.oxt && chown $SUDO_USER Grammalecte* && chmod +x Grammalecte* ; unopkg add --shared Grammalecte*.oxt && rm Grammalecte*.oxt ; chown -R $SUDO_USER:$SUDO_USER /home/$SUDO_USER/.config/libreoffice #grammalecte wget https://www.dicollecte.org/grammalecte/oxt/Grammalecte-fr-v0.6.2.oxt && chown $SUDO_USER Grammalecte* && chmod +x Grammalecte* ; unopkg add --shared Grammalecte*.oxt && rm Grammalecte*.oxt ; chown -R $SUDO_USER:$SUDO_USER /home/$SUDO_USER/.config/libreoffice #grammalecte
apt install steam -y # apt install steam -y
#snaps #snaps
snap install nextcloud-client snap install nextcloud-client postman tor-mkg200001 keepassxc obs-studio josm
#snap install codium --classic
snap refresh
#config mysql #config mysql
mysql_secure_installation # mysql_secure_installation
# add path to bash aliases
echo "export PATH=$PATH:/snap/bin/" >> .bash_aliases
#config git #config git
git config --global credential.helper store git config --global credential.helper store

View File

@ -2,5 +2,5 @@
# titre du terminal personnalisé # titre du terminal personnalisé
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
# prompt personnalisé fait avec http://bashrcgenerator.com/ # prompt personnalisé fait avec https://bashrcgenerator.com/
export PS1="\[\033[38;5;214m\]\T\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;192m\]\u\[$(tput sgr0)\]\[\033[38;5;42m\]@\[$(tput sgr0)\]\[\033[38;5;84m\]\h\[$(tput sgr0)\]\[\033[38;5;70m\]:\[$(tput sgr0)\]\[\033[38;5;6m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]" export PS1="\[\033[38;5;214m\]\T\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;192m\]\u\[$(tput sgr0)\]\[\033[38;5;42m\]@\[$(tput sgr0)\]\[\033[38;5;84m\]\h\[$(tput sgr0)\]\[\033[38;5;70m\]:\[$(tput sgr0)\]\[\033[38;5;6m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"

View File

@ -15,6 +15,8 @@ mkdir -p ~/Nextcloud/textes/library
rm -rf ~/.emacs.d rm -rf ~/.emacs.d
cp ~/.emacs .emacs_backup
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/.emacs "/home/$username/" wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/.emacs "/home/$username/"
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/config.org "/home/$username/Nextcloud/textes/orgmode/" wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/config.org "/home/$username/Nextcloud/textes/orgmode/"
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/tasks.org "/home/$username/Nextcloud/textes/orgmode/" wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/tasks.org "/home/$username/Nextcloud/textes/orgmode/"
@ -22,10 +24,11 @@ wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/bulma
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/style.css "/home/$username/Nextcloud/textes/orgmode/" wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/style.css "/home/$username/Nextcloud/textes/orgmode/"
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/upcalendar.sh "/home/$username/Nextcloud/textes/orgmode/" wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/upcalendar.sh "/home/$username/Nextcloud/textes/orgmode/"
echo "export PATH=$PATH:/snap/bin/" >> .bash_aliases # 
# run emacs
cp ~/.emacs .emacs_backup
echo "### voilà, ça c'est fait" echo "### voilà, ça c'est fait"
snap run emacs

View File

@ -0,0 +1 @@
,tykayn,spaceship,03.08.2022 11:55,file:///home/tykayn/.config/libreoffice/4;

View File

@ -1,4 +1,4 @@
national_ref;way_id;speed_limit;highway_tag; national_ref;way_id;osm_link;name;highway_tag;speed_limit;
V94160_1;22736543;"https://www.openstreetmap.org/way/22736543";Avenue Pasteur;residential;30; V94160_1;22736543;"https://www.openstreetmap.org/way/22736543";Avenue Pasteur;residential;30;
V94160_2;22736545;"https://www.openstreetmap.org/way/22736545";Allée des Platanes;footway;null; V94160_2;22736545;"https://www.openstreetmap.org/way/22736545";Allée des Platanes;footway;null;
V94160_3;22736548;"https://www.openstreetmap.org/way/22736548";Allée des Acacias;footway;null; V94160_3;22736548;"https://www.openstreetmap.org/way/22736548";Allée des Acacias;footway;null;

Can't render this file because it has a wrong number of fields in line 2.