Skip to content

Instantly share code, notes, and snippets.

@wheresjames
wheresjames / README.md
Last active May 24, 2018 19:14
Full width and height dynamic grid

Full width and height dynamic grid.

I recently needed a full width and height dynamic grid and couldn't quite find a cots solution. But with a bit of tweaking, it was possible to get what I wanted from gridstack.

DEMO

@wheresjames
wheresjames / README.md
Last active October 13, 2016 13:04
Script to minify an entire web site

Script to minify an entire web site

This script will recursively minifify an entire website.

Use

compress-web.sh ./source-dir ./target-dir

You will need the following tools

@wheresjames
wheresjames / sign.sh
Created October 13, 2016 13:11
Scripts to sign and update a debian repository
export KEYNAME=$1
for arch in `find $2 -maxdepth 1 -mindepth 1 -type d`; do
for deb in `find $arch -type f -name "*.deb"`; do
dpkg-sig -k $KEYNAME -s builder $deb
done
@wheresjames
wheresjames / README.md
Last active November 23, 2022 21:37
Multi word twitter-typeahead

Multi word twitter-typeahead.

This example adds multi-word ability to typeahead. The dropdown also follows the caret position thanks to Caret.js. Unfortunately, hinting and highlighting do not work, but I am out of time to play with it.

DEMO

@wheresjames
wheresjames / README.md
Last active October 27, 2016 12:09
Password strength checker
@wheresjames
wheresjames / README.md
Last active November 3, 2016 16:50
Color palette creator.

Color palette creator.

Creates a color palette based on various input parameters.

DEMO

@wheresjames
wheresjames / README.md
Last active November 14, 2016 19:17
Dynamic C3 Donut Chart

Backup scripts for MySQL

@wheresjames
wheresjames / README.md
Created May 3, 2017 19:12
Generate range of possible subnets for an IP Address

Generate range of possible subnets for an IP Address

Codename generator.

DEMO