Skip to content

Instantly share code, notes, and snippets.

View binury's full-sized avatar

Robin Ury binury

  • Austin, TX
  • 17:00 (UTC -05:00)
View GitHub Profile
@binury
binury / sentences.json
Last active April 11, 2024 14:49
Random sentences
{
"sentences": [
"The birch canoe slid on the smooth planks.",
"Glue the sheet to the dark blue background.",
"It's easy to tell the depth of a well.",
"These days a chicken leg is a rare dish.",
"Rice is often served in round bowls.",
"The juice of lemons makes fine punch.",
"The box was thrown beside the parked truck.",
"The hogs were fed chopped corn and garbage.",
@binury
binury / stylelint-svelte.md
Last active March 14, 2024 01:58
How to get Stylelint working with Sveltekit

Do not waste hours of your life -like I did- trying to get the postcss plugin working

It will pass transformed CSS to the linter to troll you— no matter what.

just load stylelint through a vite plugin.

@binury
binury / ls_colors.zsh
Last active March 25, 2021 17:15
Exa colorization for web dev file types
# https://jonasjacek.github.io/colors
FC='38;5' # Full Color ANSI 256 Prefix
declare -A colors
colors=(
[ejs]=149
[js]=184
[jsx]=116
[json]=251
[ts]=32
[css]=33
@binury
binury / PULL_REQUEST_TEMPLATE.md
Created January 2, 2020 23:04
Twenty20 PR Template for Refined Bitbucket plugin

Description

What is changing and why is it being changed? Please write your own summary here instead of copying the branch commit messages!

Screenshots

These can greatly help demonstrate UI changes (skip if inapplicable)

@binury
binury / bitbucket-syntax-highlighting.css
Last active September 9, 2019 15:25
Bitbucket Ocean Dark (Base16) Theme
:root {
/*
Swap any Base16 theme here
http://terminal.sexy
Defaults to Ocean Dark Extended
*/
--bg: #2b303b;
--fg: #c0c5ce;
--c0: #2b303b;
/* C1 & C2 (diff highlights) might need manual darken override */
@binury
binury / settings.sh
Last active September 13, 2018 22:08
MacOS High Sierra sane config settings for developers
# Animations
# Disable animations when opening and closing windows.
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
# Disable animations when opening a Quick Look window.
defaults write -g QLPanelAnimationDuration -float 0
# Accelerated playback when adjusting the window size of Cocoa applications.
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
defaults write -g NSDocumentRevisionsWindowTransformAnimation -bool false
@binury
binury / HOSTS
Created November 30, 2017 18:57
127.0.0.1 adclick.g.doublecklick.net
127.0.0.1 adeventtracker.spotify.com
127.0.0.1 ads-fa.spotify.com
127.0.0.1 analytics.spotify.com
127.0.0.1 audio2.spotify.com
127.0.0.1 b.scorecardresearch.com
127.0.0.1 bounceexchange.com
127.0.0.1 bs.serving-sys.com
127.0.0.1 content.bitsontherun.com
127.0.0.1 core.insightexpressai.com
@binury
binury / fresh_mac.sh
Last active July 22, 2017 07:32
New Mac Install
#brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap caskroom/versions
brew cask install
brew install zsh git coreutils neovim
brew cask install \
alfred \
bettertouchtool \
discord \
google-chrome-dev \

Keybase proof

I hereby claim:

  • I am teddy-error on github.
  • I am binury (https://keybase.io/binury) on keybase.
  • I have a public key ASBdwMaOWK7528ipHTLOY9B1SgUDVkwHj5TfHeB-os-Hygo

To claim this, I am signing this object:

@binury
binury / solutions.js
Last active June 27, 2017 02:47
reto de mayo
// Solutions in Javascript for the Chillin & Grillin
// coding event @ Geekdom
function numword (num) {
const numwords = [
'Zero','One','Two','Three','Four',
'Five','Six','Seven','Eight','Nine'
];
return numwords[num]
}