Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀

Kevin Goedecke kgoedecke

🚀
View GitHub Profile
View clear-all-caches-macos
#!/bin/bash
# Remove Docker images
rm -rf ~/Library/Containers/com.docker.docker
echo "Docker images removed"
# Docker prune
docker image prune
# Remove Spotify Cache
@kgoedecke
kgoedecke / adobe-font-urls.txt
Last active Feb 25, 2021
Adobe Font URLs - A list of all fonts currently to be found on Adobe Fonts
View adobe-font-urls.txt
https://fonts.adobe.com/fonts/novel-mono
https://fonts.adobe.com/fonts/jaf-bernini
https://fonts.adobe.com/fonts/operetta
https://fonts.adobe.com/fonts/beastly
https://fonts.adobe.com/fonts/upgrade
https://fonts.adobe.com/fonts/urbana
https://fonts.adobe.com/fonts/kandin
https://fonts.adobe.com/fonts/bagatela
https://fonts.adobe.com/fonts/brother-1816
https://fonts.adobe.com/fonts/hucklebuckjf
@kgoedecke
kgoedecke / wordpress-create-uploads-directory.php
Last active Aug 13, 2018
Create subdirectory in WordPress uploads directory using plugin
View wordpress-create-uploads-directory.php
<?php
class SomePlugin {
const CUSTOM_DIR = '/custom_dir';
static function install() {
$uploads_dir = wp_upload_dir();
$custom_uploads_dir = $uploads_dir['basedir'] . self::CUSTOM_DIR;
if( ! file_exists($custom_uploads_dir) ) {
@kgoedecke
kgoedecke / gulpfile.js
Created Apr 16, 2018
Very simple Gulp 4.0 file to watch and run SASS
View gulpfile.js
var gulp = require('gulp');
var sass = require('gulp-sass');
var sassConfig = {
inputDirectory: 'scss/**/*.scss',
outputDirectory: 'css',
options: {
outputStyle: 'expanded'
}
}