grunt terminal-notifier setup
grunt terminal-notifier setup
Salt.js micro selector library
salt.js is micro DOM selector library. Minified, it comes in at 255 bytes
compare multiple md5 hashes
compare multiple md5 hashes
Render PHP File With Data
Render PHP File With Data
Tailwind Screens In JS
Detect if a tailwind screen value matches the current window
Color Helpers In Fish Shell
How to easily create a color function for printing colorized output
Target Mozilla-only in CSS
Target Mozilla-only in CSS
Purge A File From A Github Repo
How to permanently remove a file from a repo and it's history
Bash select example
An example of how to use the select command in bash to pass arguments to functions
WYSIWYG in PyroCMS Widgets
WYSIWYG in PyroCMS Widgets
Get Wordpress via Command Line
Download and unzip the latest Wordpress version, all via command line
zsh new file && open file function
zsh new file && open file function
Copy filepath to clipboard in OSX
How to copy a filepath to the clipboard in OSX
nodelist.each
nodelist.prototype.each in javascript
HostMonster PHPMailer Settings
How to setup PHPMailer on a HostMonster hosting server
Using Node.js in an AppleScript
How to use Node.js in an AppleScript
Validate Email With Lua
A verbose email validation function for Lua
Decrypt-Encrypt Functions From Command Line
Functions to encrypt and then decrypt files from the command line with OpenSSL
Simple HTML5 Notifications
Simple HTML5 Notifications
Apax apache theme in htdocs
Apax apache theme in htdocs
Vuex Crosstab Plugin
CrossTab syncs Vuex state across same-origin tabs. Converted from storeon crosstab
Versioning Service Workers In Hugo
How to use Hugo pipes and resources to version your service worker scripts
Backup MySQL And Email It
Don't bother paying for a SaaS that creates MySQL backups and emails them to you on a schedule, you can do this with CRON and a small script
Simple PHP JSON Response
Create a simple JSON response using PHP
Easy FFmpeg Video Posters
Take in a list of video files and generate a poster image for each one
Running Go (golang) in Docker
How to run and deploy golang applications inside a Docker container.
PhalconPHP Crop Image To Fit
How to crop and scale an image to fit specific dimensions in Phalcon PHP
Vuex Stateful URL Plugin
StatefulURL is a Vuex plugin that can read and write the state from a query string
Randomly Generate A Password In Bash
Randomly generate a password of specified length and then copy it to the clipboard
Setup A Raspberry Pi with PHP And Lighttpd
Setup a raspberry pi with php 8.1 and the latest lighttpd web server
Using Laravel `when` Method To Support Multiple Queries
How to use the `when` method on database collections in Laravel to create more flexible and readable code
Easy Command Line Reverse Geocoding
Easily reverse geocode an address using the command line and the google maps API
Vue stateful form component
Create a Vue form that escalates all events to the top level and supports v-model
List File Permission Numbers
Easily list the chmod numbers for all the files in a folder
Install the latest Node.js on Amazon Linux
How to install the latest version of node.js on the Amazon Linux AMI
Lodash memoize with a timeout
Use lodash memoize with a TTL/timeout. Allows calls to be cached by time as well as argument values
Lodash i18n (translation) function
An incredibly simple i18n (internationalization + translation) function using lodash `get` and `template` functions
jQuery Plugin Snippets for Sublime Text 2
jQuery Plugin Snippets for Sublime Text 2
Autocomplete TailwindCSS In Custom Attributes/Strings
Use tailwindcss autocomplete classes and logic inside non-default attributes or strings
Bitbucket Weekly Reports Using Make (Integromat)
Use Make (Integromat) to create a nice weekly report in Slack for all the closed pull-requests in a Bitbucket repository
Modernizr SVG Fallback to PNG
Modernizr SVG Fallback to PNG
Detect Animation Events in Javascript
Detect Animation Events in Javascript