Source: https://opensource.com/business/16/2/top-6-open-source-crm-tools-2016
EspoCRM `github.com/espocrm/espocrm`_ PHP http://www.espocrm.com
| {% extends "admin/base.html" %} | |
| {% load static %} | |
| {% block branding %} | |
| <img src="{% static 'img/lowellbooks_logo_horizontal.webp' %}" alt="logo"> | |
| {{ block.super }} | |
| {% endblock %} | |
| {% block extrahead %} | |
| <link rel="shortcut icon" href="{% static 'img/favicon/book.png' %}" /> |
| ZSH_THEME="agnoster" | |
| plugins=(git ssh-agent) | |
| export DISABLE_UPDATE_PROMPT=true |
| Host github.com | |
| User git | |
| Hostname github.com | |
| PreferredAuthentications publickey | |
| IdentityFile ~/.ssh/github-asus |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " | |
| " ██╗ ██╗██╗███╗ ███╗██████╗ ██████╗ | |
| " ██║ ██║██║████╗ ████║██╔══██╗██╔════╝ | |
| " ██║ ██║██║██╔████╔██║██████╔╝██║ | |
| " ╚██╗ ██╔╝██║██║╚██╔╝██║██╔══██╗██║ | |
| " ╚████╔╝ ██║██║ ╚═╝ ██║██║ ██║╚██████╗ | |
| " ╚═══╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ | |
| " | |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
| if [ -z "$SSH_AUTH_SOCK" ] ; then | |
| eval `ssh-agent -s` | |
| ssh-add | |
| fi |
| --- PSQL queries which also duplicated from https://github.com/anvk/AwesomePSQLList/blob/master/README.md | |
| --- some of them taken from https://www.slideshare.net/alexeylesovsky/deep-dive-into-postgresql-statistics-54594192 | |
| -- I'm not an expert in PSQL. Just a developer who is trying to accumulate useful stat queries which could potentially explain problems in your Postgres DB. | |
| ------------ | |
| -- Basics -- | |
| ------------ | |
| -- Get indexes of tables |
| <?php | |
| // routes/console.php | |
| // quickly create an user via the command line | |
| Artisan::command('user:create', function () { | |
| $name = $this->ask('Name?'); | |
| $email = $this->ask('Email?'); | |
| $pwd = $this->ask('Password?'); | |
| // $pwd = $this->secret('Password?'); // or use secret() to hide the password being inputted | |
| \DB::table('users')->insert([ |
| <?php | |
| /** | |
| * Error Log Tail | |
| * @author Gustavo Novaro | |
| * @version 1.0.3 | |
| * Set in php.ini error_log= | |
| */ | |
| // Linux Path | |
| $log_path = '/var/log/php_error.log'; | |
| // Windows path |
| #!/bin/bash | |
| # One Click LAMP Server Installer (Ubuntu/Debian) - Roskus | |
| # @author Gustavo Novaro | |
| # @version 3.3.1 | |
| # @url https://gist.github.com/gnovaro/5295150774be1794028c15c83313c16e | |
| # Run: sudo ./lamp_setup.sh | |
| ############################################### | |
| #Servidor Web http | |
| apt-get install -y nginx |