Skip to content

Instantly share code, notes, and snippets.

View pdaire's full-sized avatar

Pedro Daire pdaire

View GitHub Profile
@pdaire
pdaire / install-mysql-5.7-on-ubuntu-20.04.sh
Created December 1, 2023 16:01
MySQL 5.7 on Ubuntu 20.04
#!/bin/bash
# Remove existing MySQL installs
sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
sudo rm -rf /etc/mysql /var/lib/mysql
sudo apt-get autoremove
sudo apt-get autoclean
# Download
wget https://downloads.mysql.com/archives/get/p/23/file/mysql-server_5.7.29-1ubuntu18.04_amd64.deb-bundle.tar
@pdaire
pdaire / shortcuts.md
Last active August 29, 2015 14:15 — forked from mrs110/shortcuts.md
Saving time with keyboard shortcuts

Feature: Shortcuts

With our new feature we hope to make the lives of our users a lot easier. We noticed that many of our users have standard phrases, which they repeat many times throughout the day, when attending clients. This is why we decided to introduce the shortcuts feature.

How it works

We have added a button on the right side of the message field. When clicked it displays a list of available shortcuts: button_dropdown By selecting one of these shortcuts, a predefined text is inserted in the messages field. The result looks like this: shortcut_results