Skip to content

Instantly share code, notes, and snippets.

View megaroeny's full-sized avatar
☯️
Balancing work + family life

Reony Tonneyck megaroeny

☯️
Balancing work + family life
View GitHub Profile
@rogie
rogie / gist:c88a80b8c911ea2e6cc57af45969cb07
Last active September 12, 2021 23:40
Insert Components from Figma published team library
async function insertAllComponentsFromFile(){
// Uses the Web api..more here https://www.figma.com/developers/api#files-endpoints
// Ideally, you don't hit this api every time the plugin runs, but maybe use figma.clientStorage
// to store the keys for a set amount of time, then refresh on expiration
let result = await fetch('https://api.figma.com/v1/files/08U6xAT28gUfHkx2l2kUhc', {
method: 'GET',
headers: {
'X-Figma-Token': '236259-788a3c64-e9b2-4ca2-851b-193954b2ad6d'
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active July 17, 2024 14:20
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@mxcl
mxcl / uninstall_homebrew.sh
Created August 26, 2011 11:25
Uninstall Homebrew
#!/bin/sh
# Just copy and paste the lines below (all at once, it won't work line by line!)
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY!
function abort {
echo "$1"
exit 1
}
set -e
@mbostock
mbostock / .block
Last active June 9, 2024 02:00
Polar Clock
license: gpl-3.0