Skip to content

Instantly share code, notes, and snippets.

View chellem's full-sized avatar
🎯
Focusing

Dickriven Chellemboyee chellem

🎯
Focusing
View GitHub Profile
@chellem
chellem / resetXcode.sh
Created November 29, 2021 07:22 — forked from maciekish/resetXcode.sh
Reset Xcode. Clean, clear module cache, Derived Data and Xcode Caches. You can thank me later.
#!/bin/bash
killall Xcode
xcrun -k
xcodebuild -alltargets clean
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache"
rm -rf ~/Library/Developer/Xcode/DerivedData/*
rm -rf ~/Library/Caches/com.apple.dt.Xcode/*
open /Applications/Xcode.app
@chellem
chellem / datatables.datetime-flex.js
Last active August 29, 2015 14:10 — forked from mark47/datatables.datetime-flex.js
Flexible Euro Datetime
/**
* DataTables plug-in to handle euro.-style dates. Requires month day year.
* Time is optional and can be in 12 or 24 hour formats.
* Properly parses mm/m, dd/d and yyyy/yy.
*
* Based on original datetime-us plugin by Kevin Gravier.
*
* @name Flexible Euro Datetime
* @summary Sort dates and times in dd/mm/yyyy with optional time.
* @author Mark Stewart