##Sass Functions Cheat Sheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CommandType Name ModuleName | |
----------- ---- ---------- | |
Alias % -> ForEach-Object | |
Alias ? -> Where-Object | |
Alias ac -> Add-Content | |
Alias asnp -> Add-PSSnapin | |
Alias cat -> Get-Content | |
Alias cd -> Set-Location | |
Alias chdir -> Set-Location | |
Alias clc -> Clear-Content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$scotch-color-key: 'base' !default; | |
$scotch-colors: ( | |
'primary': ( | |
'base': #8e3329, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// install | |
// npm i gulp-cache gulp-imagemin imagemin-pngquant imagemin-zopfli imagemin-mozjpeg imagemin-giflossy -f | |
// node node_modules/jpegtran-bin/lib/install.js | |
// node node_modules/gifsicle/lib/install.js | |
// node node_modules/zopflipng-bin/lib/install.js | |
// node node_modules/mozjpeg/lib/install.js | |
// node node_modules/giflossy/lib/install.js | |
// node node_modules/pngquant-bin/lib/install.js | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SOURCES: | |
# http://unix.stackexchange.com/a/122188 | |
# https://natelandau.com/my-mac-osx-bash_profile | |
# https://jonsuh.com/blog/bash-command-line-shortcuts | |
# https://news.ycombinator.com/item?id=8159771 | |
# .bashrc: https://gist.github.com/evdokimovm/67e4fcd938af98528aa108574626e522 | |
# --------------------------- | |
# ETC | |
# --------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// please check https://docs.netlify.com/configure-builds/environment-variables/#declare-variables for most up to date info | |
// this was created before those docs existed | |
process.env = { | |
/** | |
* | |
* AUTOMATICALLY SET BY NETLIFY. IMMUTABLE! | |
* docs: https://www.netlify.com/docs/continuous-deployment/#environment-variables | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------------- | |
-- Copy this section of the file to a file called MyMedia.lua, and enter | |
-- your media's information, using the examples shown below. | |
---------------------------------------------------------------------------- | |
local LSM = LibStub("LibSharedMedia-3.0") | |
-- START of the section that you should be editing | |
-- | |
-- NB: any line beginning with "--" is ignored - so the lines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.flex { | |
display: flex; | |
.align-center { | |
margin: auto; | |
align-self: center; | |
} | |
.align-left { | |
margin-right: auto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
// Load plugins | |
const autoprefixer = require("autoprefixer"); | |
const browsersync = require("browser-sync").create(); | |
const cp = require("child_process"); | |
const cssnano = require("cssnano"); | |
const del = require("del"); | |
const eslint = require("gulp-eslint"); | |
const gulp = require("gulp"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Description: Updates all metadata in the Tautulli database after moving Plex libraries. | |
# Author: /u/SwiftPanda16 | |
# Requires: plexapi, requests | |
from plexapi.server import PlexServer | |
import requests |
OlderNewer