fred
$ git clean -d -f
-d
— Includes directories
------------------- | |
| | 100px height | |
| HEADER | | |
|-----------------| | |
| | | |
| MAIN | 500px height | |
| | | |
|-----------------| | |
| | | |
| FOOTER | |
// Create an Array from the object's keys, then use .map() to loop through each | |
// key and return your new Array of JSX elements for rendering. Object values | |
// can be accessed using bracket notation. | |
const RenderObjectKeyValues = () => { | |
const recipeTags = { | |
asian: 1, | |
beef: 2, | |
breakfast: 2, | |
cakes: 2, |
In order for Squiz Matrix to properly set the content type of the server response, you must apply a specific design to the page outputting your JSON data.
Your design should contain only the following code:
<MySource_PRINT
id_name="__global__"
var="content_type"
// Adds new spacing classes using `em` instead of `rem`. For example: | |
// .w-4~ | |
// .h-8~ | |
// .mx-12~ | |
// .pl-6~ | |
const defaultTheme = require("tailwindcss/defaultTheme"); | |
module.exports = { | |
//... general configuration |
// ==UserScript== | |
// @name Indenticons for ServiceNow | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Generates an Identicon for each item in the Activities list in a ServiceNow ticket. | |
// @author Dan Walsh | |
// @match https://*.service-now.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=service-now.com | |
// @grant none | |
// ==/UserScript== |
lorem | |
ipsum | |
dolor | |
sit | |
amet | |
consectetur | |
adipiscing | |
elit | |
sed | |
do |
// based on https://stackoverflow.com/a/56678483/65387 | |
type RGB = [r: number, g: number, b: number] | |
const UNK = 255 / 2 | |
/** | |
* @param hex RGB hex string like "#CCCFDB" | |
* @returns RGB tuple in [0-255] | |
*/ |
{ | |
"description": "Change caps_lock to left_control if pressed with other keys, change caps_lock to escape if pressed alone.", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] |