Skip to content

Instantly share code, notes, and snippets.


Igor mopsicus

View GitHub Profile
Iman /
Last active March 12, 2023 21:37
Free up disk space on Ubuntu - clean log, cache, archive packages/apt archives, orphaned packages, old kernel and remove the trash
#Check the Drive Space Used by Cached Files
du -sh /var/cache/apt/archives
#Clean all the log file
#for logs in `find /var/log -type f`; do > $logs; done
logs=`find /var/log -type f`
for i in $logs
suakig / PostBuildProcess.cs
Last active August 23, 2021 15:20
View PostBuildProcess.cs
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode;
using System.IO;
using System.Collections.Generic;
public class PostBuildProcess : MonoBehaviour
internal static void CopyAndReplaceDirectory(string srcPath, string dstPath)