Skip to content

Instantly share code, notes, and snippets.

View alexbowers's full-sized avatar

Alex Bowers alexbowers

View GitHub Profile
@stidges
stidges / tailwind.itermcolors
Last active November 30, 2023 21:00
An iTerm2 color scheme based on the Tailwind CSS color scheme (https://tailwindcss.com/docs/colors)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.17254902422428131</real>
@JacobBennett
JacobBennett / CheckboxIndicator.vue
Created November 12, 2018 20:34
Progress Indicator
<template>
<section>
<span class="circle" :class="{current: current, completed: complete}">
<span v-if="complete" class="fa fa-check u-icon__inner text-white"></span>
</span>
<small class="description"><slot></slot></small>
</section>
</template>
<script>
@phroggyy
phroggyy / start.sh
Last active February 7, 2019 11:24
#!/bin/bash
docker ps --format "{{.Names}} {{ .Ports }}" | sed -e 's/_/-/g' | perl -n -e'/^([\w-]+).+:(\d+)->(\d+)/ && print "{\"name\":\"$1\",\"host\":\"$2\",\"container\":\"$3\"}\n"' | jq -r -s 'map(select(.container == "80")) | map(.name + ".test:443 {\n tls self_signed\n proxy / 127.0.0.1:" + .host + "\n}\n") | .[]' > Caddyfile
caddy