Create a themes/
folder under ~/.config/alacritty
.
~/.config/alacritty
❯ ls -h
alacritty.yml theme.yml themes
{ | |
"estacao-jabaquara": { | |
"lines": [ | |
"linha-1-azul" | |
], | |
"location": { | |
"address": "Term. Jabaquara, São Paulo, Brazil", | |
"latitude": -23.647066, | |
"longitude": -46.63954 | |
}, |
#!/usr/bin/env bash | |
# BASH fuzzyclock | |
# by Corey Mwamba | |
# | |
export TEXTDOMAINDIR="/usr/share/locale" | |
export TEXTDOMAIN=bash-fuzzy-clock | |
hr=($(date '+%_H')) | |
min=10#$(date '+%M') | |
nearly=$"nearly" |
// http://stackoverflow.com/a/14223920/339827 | |
function iOSVersion() { | |
var match = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/), | |
version = [ | |
parseInt(match[1], 10), | |
parseInt(match[2], 10), | |
parseInt(match[3] || 0, 10) | |
]; | |
return parseFloat(version.join('.')); |
const assert = require("assert"); | |
class Doc { | |
constructor(layers) { | |
this.layers = layers.reduce((accumulator, current) => { | |
const { id, properties } = current; | |
return { | |
...accumulator, | |
[id]: properties, | |
}; |
import { H1, Text, View } from '@doppio/core'; | |
import { Alert, Button, Checkbox, Radio, Spacer, TextArea } from '@doppio/elements'; | |
import { RadioGroup } from '@doppio/patterns'; | |
import * as React from 'react'; | |
type DrinkSize = '12' | '16'; | |
type DrinkType = 'Espresso' | 'Doppio' | 'Cappuccino'; | |
const modifiers = ['Mocha', 'Vanilla', 'Caramel']; |
Asana token naming proposal | |
1. Sentiment: default/neutrals, success, warning, danger, upsell, selected, beta, information | |
2. Usage: background, text, icon, border | |
3. Prominence: default, weak, medium, strong | |
4. Interaction: default, hover, active, disabled | |
[sentiment-][usage][-prominence][-interaction] | |
- Stored as Figma color styles |
module.exports = { | |
meta: { | |
docs: { | |
description: 'requires a TODO to be specified either with a task number or URL and a message', | |
category: 'Best Practices', | |
recommended: true | |
}, | |
schema: [] | |
}, |
This is my prefered way to create GIF animations for demos and whatnot.
2
if not on retina screen)