Skip to content

Instantly share code, notes, and snippets.

View TheDelta's full-sized avatar
💭
Programming...

Alex 'Delta' Diller TheDelta

💭
Programming...
View GitHub Profile
@TheDelta
TheDelta / fix-wp.sh
Last active November 26, 2023 09:19
Fix issues with wordpress docker image
#
# Enter wp docker image with terminal
#
# Replace 8080 (like 8480) with correct listening port
echo "\nListen 8080\n" >> /etc/apache2/ports.conf
echo "\n<VirtualHost *:*>\n</VirtualHost>\n" >> /etc/apache2/sites-available/000-default.conf
# Enable mod_headers
a2enmod headers
using System;
using System.Collections;
using System.Diagnostics;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using Debug = UnityEngine.Debug;
@TheDelta
TheDelta / dir-watcher.sh
Created November 30, 2022 00:24
Directory Watcher for linux about file changes
#!/bin/bash
# @Author: Alexander 'Delta' Diller
# @Date: 2022-11-29 23:32:48
# @Description Monitor a folder recursiveley and sents an email notification
# inotifywait 3.14
# Wait for a particular event on a file or set of files.
# Usage: inotifywait [ options ] file1 [ file2 ] [ file3 ] [ ... ]
# Options:
@TheDelta
TheDelta / AsmdefDebug.cs
Last active November 16, 2023 13:24 — forked from filod/AsmdefDebug.cs
Find out what assemblies are being built and how long each takes. Updated to only build for Editor, and to include total time in first line of log output.
#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using UnityEditor;
using UnityEditor.Compilation;
using UnityEngine;
/// <summary>