Skip to content

Instantly share code, notes, and snippets.

@shhac
shhac / ark_instance.sh
Created March 13, 2021 17:21 — forked from kpheasey/ark_instance.sh
DO Ubuntu 14.04 Droplet to ARK Server
#!/bin/bash
# Updating Ubunut
echo "updating ubunutu... please be patient"
apt-get update && apt-get upgrade -y
echo "installing required packages... please be patient"
apt-get install htop lib32gcc1 -y
# Create steam user if needed
@shhac
shhac / NVM Start.md
Last active July 1, 2018 19:59
CI nvm starter

Easy NVM start for CI and other environments

This script assumes nvm is already installed on your machine, but does not assume that nvm is set up for your current environment

It will attempt to set up nvm for the current environment, then install the desired node version and any needed global packages that are missing

It will keep the existing version of nvm if it finds it already set up in the environment

Usage

@shhac
shhac / slack-night.css
Last active March 16, 2018 14:47
Slack additions for night mode
.emoji, .emoji-outer {
filter: invert(1) hue-rotate(180deg) contrast(1.3) saturate(1.4);
}
.c-message_attachment__thumb, .c-message_attachment__video_thumb {
filter: invert(1) hue-rotate(180deg) contrast(1.3) saturate(1.4);
}
.c-message_attachment__image {
filter: invert(1) hue-rotate(180deg) contrast(1.3) saturate(1.4);
@shhac
shhac / night-mode.css
Last active March 16, 2018 14:45
Generic night mode
html {
background: rgba(50, 50, 50, 1);
}
body {
filter: invert(0.85) hue-rotate(180deg);
}
body img, body svg, body video {
filter: invert(1) hue-rotate(180deg) contrast(1.3) saturate(1.4);
@shhac
shhac / google-docs-night-userstyle.css
Last active March 5, 2018 14:39
Google Docs Night
@-moz-document url-prefix("https://docs.google.com/document/d/") {
#docs-chrome {
filter: invert(0.85) hue-rotate(180deg);
position: relative;
z-index: 1;
}
#docs-chrome img, #docs-chrome svg {
filter: invert(1) hue-rotate(180deg);
}