Skip to content

Instantly share code, notes, and snippets.

View michfield's full-sized avatar

Michael Field michfield

View GitHub Profile
@michfield
michfield / mysql56-install.sh
Created May 14, 2013 19:26
Shell script to install MySQL 5.6.11 on Ubuntu Raring Ringtail 13.04 x64
#!/usr/bin/env bash
#
# Install MySQL server
#
# Author:
# Colovic Vladan, First Beat Media
#
download_dir=/srv/tmp/download
download_url=https://dl.dropbox.com/u/191471/FirstBeatMedia/mysql-5.6.11-debian6.0-x86_64.deb
@michfield
michfield / *.md
Last active December 17, 2015 13:09
Disable `Alt+F1` in Linux Mint

Disable Alt+F1, Alt-F7, etc, because I need them in Double Commander as shortcuts. Read more: http://askubuntu.com/questions/126817/how-to-disable-alt-f1-alt-f2-shortcuts

gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "[]"
gsettings set org.gnome.desktop.wm.keybindings begin-move "[]"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down  "[]"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "[]"

This should be executed only once. It's remembered forever.

@michfield
michfield / *.md
Created May 21, 2013 07:44
Logitech Back & Forward buttons on Linux

Find out which mouse button is which with:

xev | grep -i button

On my mouse, 6 and 7 are Back and Forward buttons.

Then add this lines ~/.xbindkeysrc

## Logitech mouse Back and Forward