Skip to content

Instantly share code, notes, and snippets.


Remi Vledder StudioSpindle

  • StudioSpindle
  • Utrecht
View GitHub Profile
StudioSpindle / .huskyrc
Last active Feb 5, 2021
Git commit hook tool 'husky' src file
View .huskyrc
# set the PATH
# this loads and sets the correct PATH before running hook
. ~/.nvm/
View webstorm-keymap-60%-keyboard
<keymap version="1" name="Keyboard 60%" parent="Sublime Text (Mac OS X)">
<action id="EditorCutLineBackward">
<keyboard-shortcut first-keystroke="ctrl u" />
<action id="EditorLeftWithSelection">
<keyboard-shortcut first-keystroke="shift left" />
<keyboard-shortcut first-keystroke="shift ctrl b" />
<action id="EditorNextWord">
<keyboard-shortcut first-keystroke="alt right" />
StudioSpindle /
Last active May 22, 2019
Installs python3 on CentOS
# !/bin/bash
# Problem:
# CentOS ships with Python as a critical part of the base system.
# Because it is a critical part it is not getting updated, other than to plug security vulnerabilities.
# CentOS 7 users are stuck with Python 2.7.5 released in May 2013.
# Utilities such as yum will break if the default Python interpreter is upgraded or replaced.
# The trick is to install new versions of Python in /usr/local (or some other non-standard location) so that
# they can live side-by-side with the system version.
StudioSpindle /
Last active May 22, 2019
Install and configure Git on CentOS
# Important: This version has not been tested and used yet
# First check if you have root privileges
if [ id -u 0 ]
then echo "Please run as root"
StudioSpindle /
Last active May 22, 2019
Install Docker on CentOs 7+
# Run this on a CentOS 7+ VM in a Google cloud instance
# Make sure it has >3 GB memory with disk size a disk size >20 GB
# ---------------------------------------------------------------
# Install needed distribution packages:
sudo yum install -y yum-utils device-mapper-persistent-data lvm2 && \
# Configure repo:
sudo yum-config-manager --add-repo && \