I hereby claim:
- I am romannurik on github.
- I am romannurik (https://keybase.io/romannurik) on keybase.
- I have a public key whose fingerprint is 9C43 1BD9 8E4A C518 5DF1 8FB5 F838 5A88 DB4C 6EE2
To claim this, I am signing this object:
:where(.container) { | |
--expando-duration: .25s; | |
--expando-easing: ease; | |
display: grid !important; | |
grid-template-rows: 0fr; | |
--expando-transition: | |
grid-template-rows var(--expando-duration) var(--expando-easing), | |
visibility var(--expando-duration); | |
transition: var(--expando-transition); | |
overflow: hidden; |
# .idx/dev.nix | |
{ pkgs, ... }: { | |
# Which nixpkgs channel to use. | |
channel = "stable-23.11"; # or "unstable" | |
# Use https://search.nixos.org/packages to find packages | |
packages = [ | |
pkgs.nodejs_18 | |
# Packages for postgres. | |
# There may be an alternative approach using docker |
// Makes a copy of all selected components (how is this not built into Figma?) | |
let newSelection = []; | |
for (let component of figma.currentPage.selection.filter(node => node.type == 'COMPONENT')) { | |
let clone = component.clone() | |
clone.x += clone.width; | |
newSelection.push(clone); | |
} | |
figma.currentPage.selection = newSelection; |
import React, {useRef, useLayoutEffect} from 'react'; | |
const [DURMIN, DURMAX] = [0.1, .8]; | |
const dur = f => Math.min(DURMAX, (1 - f) * DURMIN + f * DURMAX); | |
export function Expando({className, children, open}) { | |
open = !!open; | |
let node = useRef(); | |
let lastOpen = useRef(open); | |
let duration = useRef(.5); |
# Add this to your .git/config file | |
[diff] | |
tool = SketchKaleidoscope | |
[difftool "SketchKaleidoscope"] | |
cmd = ./util-sketch-kaleidoscope-diff.bash \"$MERGED\" \"$LOCAL\" \"$REMOTE\" |
import { ControlType, PropertyControls } from "framer"; | |
import * as React from "react"; | |
interface TabWidgetProps { | |
selectedTab: number; | |
accentColor: string; | |
} | |
const TAG_NAME = 'blockcall'; | |
const ARG_TAG_NAME = 'argblock'; | |
class BlockCallExtension { | |
constructor(nunjucks) { | |
this.tags = [TAG_NAME]; | |
this.nunjucks = nunjucks; | |
} |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# 1. Download the file linked here: | |
# http://www.google.com/design/spec/resources/sticker-sheets-icons.html#sticker-sheets-icons-components | |
# | |
# 2. Run this: | |
# ./make_material_icon_svg_folder_for_iconjar.sh material-design-icons-1.0.1 | |
# | |
DIR="$1" |
/* | |
* Copyright 2014 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |