Skip to content

Instantly share code, notes, and snippets.

View kgoedecke's full-sized avatar
🚀

Kevin Goedecke kgoedecke

🚀
View GitHub Profile
@kgoedecke
kgoedecke / docker-compose.yml
Created April 24, 2024 14:21
Unoserver docker-compose.yml example
services:
web:
image: python:latest
env_file: .env
...
unoserver:
image: libreofficedocker/libreoffice-unoserver:3.19-9c28c22
...
...
@kgoedecke
kgoedecke / adobe-font-urls.txt
Last active March 20, 2024 09:00
Adobe Font URLs - A list of all fonts currently to be found on Adobe Fonts
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
#!/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 / wordpress-create-uploads-directory.php
Last active August 13, 2018 14:19
Create subdirectory in WordPress uploads directory using plugin
<?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 April 16, 2018 20:24
Very simple Gulp 4.0 file to watch and run SASS
var gulp = require('gulp');
var sass = require('gulp-sass');
var sassConfig = {
inputDirectory: 'scss/**/*.scss',
outputDirectory: 'css',
options: {
outputStyle: 'expanded'
}
}