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