Skip to content

Instantly share code, notes, and snippets.

View Filipvds's full-sized avatar

Filip Vanderstappen Filipvds

  • Lucien
  • Antwerpen, Belgium
View GitHub Profile
@Filipvds
Filipvds / xcode-cleanup.sh
Created October 18, 2016 14:30
XCode cleanup script
#!/bin/sh
echo "========== Cleanup start =========="
# define paths
archivesPath="/Library/Developer/Xcode/Archives"
derivedDataPath="/Library/Developer/Xcode/DerivedData"
oldDeviceInfoPath="/Library/Developer/Xcode/iOS DeviceSupport"
simulatorApplicationRootPath="/Library/Application Support/iPhone Simulator/"
USER_HOME=$(eval echo ~${SUDO_USER})
paths=( "$archivesPath" "$derivedDataPath" "$oldDeviceInfoPath" )
@Filipvds
Filipvds / vhost.sh
Created November 12, 2014 07:38
vhost creation script
#!/usr/bin/env bash
# Run this as sudo!
# I move this file to /usr/local/bin/vhost and run command 'vhost' from anywhere, using sudo.
#
# Show Usage, Output to STDERR
#
function show_usage {
cat <<- _EOF_

Keybase proof

I hereby claim:

  • I am filipvds on github.
  • I am filipvds (https://keybase.io/filipvds) on keybase.
  • I have a public key whose fingerprint is 39E3 2179 DB60 F4D7 E568 7857 229B 2613 3FB1 7CA1

To claim this, I am signing this object:

@Filipvds
Filipvds / vhost.sh
Last active August 29, 2015 13:58 — forked from fideloper/vhost.py
#! /bin/bash
# Run this as sudo!
# I move this file to /usr/local/bin/vhost and run command 'vhost' from anywhere, using sudo.
#
# Show Usage, Output to STDERR
#
function show_usage {
cat <<- _EOF_