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