Skip to content

Instantly share code, notes, and snippets.

View marionebl's full-sized avatar

Mario Nebl marionebl

View GitHub Profile
{
"key": "editor-adf-storage",
"name": "Eitor ADF storage",
"description": "Store Atlassian Editor documents as Bitbucket snippets",
"baseUrl": "https://atlaskit.atlassian.com",
"scopes": ["email", "snippet:write"],
"contexts": ["account"],
"authentication": {
"type": "none"
},
@marionebl
marionebl / SketchSystems.spec
Last active February 21, 2020 08:16
Typeahead
Typeahead
Inactive*
Initial*
type trigger -> Empty
Completed
tick -> Initial
Active
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{ "colors": [ { "name": "R50", "value": "#FFEBE6" }, { "name": "R75", "value": "#FFBDAD" }, { "name": "R100", "value": "#FF8F73" }, { "name": "R200", "value": "#FF7452" }, { "name": "R300", "value": "#FF5630" }, { "name": "R400", "value": "#DE350B" }, { "name": "R500", "value": "#BF2600" }, { "name": "Y50", "value": "#FFFAE6" }, { "name": "Y75", "value": "#FFF0B3" }, { "name": "Y100", "value": "#FFE380" }, { "name": "Y200", "value": "#FFC400" }, { "name": "Y300", "value": "#FFAB00" }, { "name": "Y400", "value": "#FF991F" }, { "name": "Y500", "value": "#FF8B00" }, { "name": "G50", "value": "#E3FCEF" }, { "name": "G75", "value": "#ABF5D1" }, { "name": "G100", "value": "#79F2C0"
var chromatism = require("chromatism")
const blue = chromatism.convert("#0000ff");
const white = chromatism.convert("#ffffff");
function channelLuminance(channel) {
const c = channel / 255;
if (c <= 0.03928) {
return c / 12.92;
@marionebl
marionebl / prox.fish
Created May 30, 2019 11:27
SOCKS5 proxy helper script for macOS
function __prox_on
if not ssh -q -O check scaleway 2> /dev/null
ssh -M -Nf -D 1080 scaleway
end
networksetup -setsocksfirewallproxy "Wi-Fi" localhost 1080
networksetup -setsocksfirewallproxystate "Wi-Fi" on
end
function __prox_off
if ssh -q -O check scaleway 2> /dev/null
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@marionebl
marionebl / patternplate-search-cli.ts
Created January 11, 2019 10:10
patternplate search cli prototpe
import * as Path from "path";
import { loadConfig } from "@patternplate/load-config";
import { loadDocs } from "@patternplate/load-docs";
import { loadMeta } from "@patternplate/load-meta";
import { validate } from "@patternplate/validate-config";
import { createSearch } from "@patternplate/search";
import * as Types from "@patternplate/types";
const yargsParser = require("yargs-parser");
@marionebl
marionebl / pr-728.alva
Created January 9, 2019 18:23
Alva Pull Request Files
draft: false
model: Project
elements:
- model: Element
contentIds:
- 4e7b5dc6-094d-4723-b3d8-4985038f6cfb
dragged: false
focused: false
highlighted: false
id: 9a74c44b-17c7-4061-b4d6-04307bf8b7d6
This file has been truncated, but you can view the full file.
draft: false
model: Project
elements:
- model: Element
contentIds:
- 3b348edb-4d93-40af-97cb-bd08af41afd0
dragged: false
focused: false
highlighted: false
id: b029ebaa-976d-4dd3-9b6b-9c19d387d6b3