Skip to content

Instantly share code, notes, and snippets.

@notlimahrelyt
notlimahrelyt / How to Mount a S@Y Share using Ubuntu.md
Created April 1, 2021 15:29
How to Mount a S@Y Share using Ubuntu

How to Mount a S@Y Share using Ubuntu.

## UPDATE APT AND INSTALL CIFS
sudo apt update && sudo apt install cifs-utils -y
# SET YOUR VARIABLES
SHARE_PATH="http://storage.yale.edu/home/Spinup_Demo-CC0000-ITSHTS"     ## The path to your S@Y share.
MOUNT_DIR="/mnt/share" ## The location you'd like to mount to.

Upgrade MySQL 5.1 to MariaDB 10.x on CentOS 6

Step 1 - Housekeeping

Backup your database(s) using your preferred method. (For this tutorial, we’ll just use mysqldump. Also be sure to make a copy of your configuration file(s).)

mysqldump --all-databases > /tmp/backup.sql
cp /etc/my.cnf{,.bak}
# Luke's config for the Zoomer Shell
# Enable colors and change prompt:
autoload -U colors && colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
# History in cache directory:
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh/history
@notlimahrelyt
notlimahrelyt / Crypto.json
Created December 30, 2017 16:38
Cryptocurrency TouchBar
{
"BTTPresetName" : "Crypto",
"BTTPresetUUID" : "3A49CBCE-DE02-4F8F-A70E-6BA367ACD683",
"BTTPresetContent" : [
{
"BTTAppBundleIdentifier" : "BT.G",
"BTTAppName" : "Global",
"BTTAppSpecificSettings" : {
},