Skip to content

Instantly share code, notes, and snippets.

View caseymhunt's full-sized avatar
🐢
Slower is better.

Casey Hunt caseymhunt

🐢
Slower is better.
View GitHub Profile
@softpunch
softpunch / colorVars.css
Last active June 14, 2022 06:44
CSS Variables For Color Manipulation
/* ----
css custom properties to manipulate color
MIT - 2017 - Soft Punch
https://gist.github.com/softpunch/
set initial "main" color via HSL values.
automatically calculate harmonies and variations of that color with pure css.
harmonies are determined solely by hue.
@sam-b-rose
sam-b-rose / ascii-emoji-cheat-sheet.md
Last active February 8, 2021 22:29
List of all supported ASCII emoji's supported by autocomplete-ascii-emoji package

Cheat Sheet

ʘ‿ʘ
innocent

ಠ_ಠ
disapproval

(╯°□°)╯︵ ┻━┻
table-flip
@miguelmota
miguelmota / video.js
Last active May 20, 2018 05:59
Video scale transform
function updateScale() {
var $videoContainer = $('.video-container');
var $video = $videoContainer.find('video');
var containerWidth = $videoContainer.width();
var containerHeight = $videoContainer.height();
var mediaAspect = 16/9;
var containerAspect = containerWidth / containerHeight;
var transformOrigin = '50% 50%';
var scale = (containerAspect < mediaAspect) ? (mediaAspect / containerAspect) : (containerAspect / mediaAspect);
<style>
/* customizable snowflake styling */
.snowflake {
color: #fff;
font-size: 1em;
font-family: Arial, sans-serif;
text-shadow: 0 0 5px #000;
}
.snowflake,.snowflake .inner{animation-iteration-count:infinite;animation-play-state:running}@keyframes snowflakes-fall{0%{transform:translateY(0)}100%{transform:translateY(110vh)}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;user-select:none;cursor:default;pointer-events:none;animation-name:snowflakes-shake;animation-duration:3s;animation-timing-function:ease-in-out}.snowflake .inner{animation-duration:10s;animation-name:snowflakes-fall;animation-timing-function:linear}.snowflake:nth-of-type(0){left:1%;animation-delay:0s}.snowflake:nth-of-type(0) .inner{animation-delay:0s}.snowflake:first-of-type{left:10%;animation-delay:1s}.snowflake:first-of-type .inner,.snowflake:nth-of-type(8) .inner{animation-delay:1s}.snowflake:nth-of-type(2){left
@kennedy
kennedy / BF888S_default_01012019.csv
Last active November 14, 2025 06:23
Baofeng BF888S default frequencies
Location Name Frequency Duplex Offset Tone rToneFreq cToneFreq DtcsCode DtcsPolarity Mode TStep Skip Comment URCALL RPT1CALL RPT2CALL DVCODE
1 462.125000 0.000000 TSQL 88.5 69.3 023 NN FM 5.00 S
2 462.225000 0.000000 88.5 88.5 023 NN FM 5.00 S
3 462.325000 0.000000 88.5 88.5 023 NN FM 5.00 S
4 462.425000 0.000000 TSQL 88.5 103.5 023 NN FM 5.00 S
5 462.525000 0.000000 TSQL 88.5 114.8 023 NN FM 5.00 S
6 462.625000 0.000000 TSQL 88.5 127.3 023 NN FM 5.00 S
7 462.725000 0.000000 TSQL 88.5 136.5 023 NN FM 5.00 S
8 462.825000 0.000000 TSQL 88.5 162.2 023 NN FM 5.00 S
9 462.925000 0.000000 DTCS 88.5 88.5 023 NN FM 5.00 S
@idan
idan / impostor.md
Created May 26, 2013 20:15
Hybrid Impostor Syndrome

I'm a hybrid designer/developer, but I socialize with more developers than designers—at conferences, online, etc. I have a very specific form of impostor syndrome. I think it might be instructive when examining impostor syndrome, in the same way that optical illusions can be instructive when examining the workings of perception.

I am not a rockstar designer. Or, for that matter, developer. Or anything, really. I am talented, and I feel that I could be a badass at something. Looking around me at tech conferences and our erstwhile online communities, I think this is a feeling that a lot of us share. We're all looking for that outlet, that thing that we would be a game-changer at doing. In our heads, we fantasize about being some kind of Michael Jordan of X, or maybe something with less glamor. A savant-like rain-man at content marketing, or scalable API design, or documentation, or low-latency concurrent network development, or whatever it is that we think we like doing.

As a designer at developer conference

@SlexAxton
SlexAxton / .zshrc
Last active November 6, 2025 22:31
My gif workflow
gifify() {
if [[ -n "$1" ]]; then
if [[ $2 == '--good' ]]; then
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png
time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif
rm out-static*.png
else
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif
fi
else