Skip to content

Instantly share code, notes, and snippets.

@redrohX
redrohX / input.scss
Created January 19, 2021 10:38
Generated by SassMeister.com.
@use "sass:list";
// THIS FILE IS GENERATED
$spacing-1: 0.313;
$spacing-2: 0.5;
$spacing-3: 0.625;
$spacing-4: 0.938;
$spacing-5: 1.25;
$spacing-6: 1.875;
$spacing-7: 3.125;
@redrohX
redrohX / input.scss
Created January 19, 2021 10:14
Generated by SassMeister.com.
@use "sass:list";
// THIS FILE IS GENERATED
$spacing-1: 0.313;
$spacing-2: 0.5;
$spacing-3: 0.625;
$spacing-4: 0.938;
$spacing-5: 1.25;
$spacing-6: 1.875;
$spacing-7: 3.125;
@redrohX
redrohX / input.scss
Created January 19, 2021 10:02
Generated by SassMeister.com.
@use "sass:list";
// THIS FILE IS GENERATED
$spacing-1: 0.313;
$spacing-2: 0.5;
$spacing-3: 0.625;
$spacing-4: 0.938;
$spacing-5: 1.25;
$spacing-6: 1.875;
$spacing-7: 3.125;
@redrohX
redrohX / Arrayfrom.js
Last active May 12, 2020 14:10
Select all [data-name] items on the page and convert to array
const items = Array.from(document.querySelectorAll('[data-name]'));
/* Drop this stylesheet into your build environment and see what breaks. */
html,
body {
/* Hostile inherited styles*/
color: darkorange;
font-family: Georgia;
font-size: 43px;
font-style: italic;
font-weight: bold;
letter-spacing: 0.5em;
@redrohX
redrohX / git-log.sh
Created May 23, 2017 08:44
Show all commits since last tag. Start of your changelog.
git log --oneline --no-merges [last tag]..
@redrohX
redrohX / imagemagick.sh
Created December 1, 2015 10:02
Imagemagick shell script
#!/bin/bash
root=$PWD
#list=`find media/catalog/category/cache media/catalog/product/cache media/wysiwyg -type d`
list=`find media/catalog/output/folder1 media/catalog/output/folder3 -type d`
watermark="Kega Imagemagick"
green='\033[0;32m'
nocolor='\033[0m'
imagecount=1
count=0