Menu Close

devstate.de

A Dreams Engine Blog. This Blog may not make any sense to you. This is a collection of internal snippets that we collect with our experiences, but we hope some of our post will help you in some way.

Category / Uncategorized

Pimp my terminal with Zinit – 2022

Install Zinit Create a .zshrc Copy the next code to .zshrc file: Before copy, make sure VIM is correctly configured Save the .zshrc file Close iterm2 Open again iterm2 Follow the instructions on the terminal window, if everything went well you will see something like the next screenshot. This is how my terminal looks:

Continue Reading

Create Databases

#Se crea la base de datos con el nombre CREATE DATABASE name; #Se crea el usuarios y contraseƱa dentro de MYSQL CREATE USER ‘newuser’@’localhost’ IDENTIFIED BY ‘password’; #Se proporciona al usuario el acceso a la informaciĆ³n GRANT ALL PRIVILEGES ON * . * TO ‘newuser’@’localhost’;

Continue Reading

Remove/Purge Easy Engine

Suggested by: http://www.galih.us/2014/12/cara-uninstall-easyengine.html First: ee system purge changed to stack, so: ee stack purge Then: rm -rf /etc/easyengine/; rm -rf /etc/bash_completion.d/ee; rm -rf /usr/local/sbin/ee; rm -rf /usr/local/bin/ee; rm -rf /usr/local/sbin/easyengine; rm -rf /usr/share/easyengine; rm -rf /var/www/*; rm -rf /etc/nginx; rm -rf /etc/php5; rm -rf /etc/mysql; rm -rf /var/lib/mysql; rm -rf /etc/postfix; And finally: apt-get autoremove

Continue Reading