Skip to content

Instantly share code, notes, and snippets.

Paul Somers shhac

  • London, UK
Block or report user

Report or block shhac

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shhac
shhac / NVM Start.md
Last active Jul 1, 2018
CI nvm starter
View NVM Start.md

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 Mar 16, 2018
Slack additions for night mode
View slack-night.css
.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 Mar 16, 2018
Generic night mode
View night-mode.css
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);
View google-docs-night-userstyle.css
@-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);
}
You can’t perform that action at this time.