Skip to content

Instantly share code, notes, and snippets.

Avatar

Andriy Slyusar andriyslyusar

View GitHub Profile
View OIDExternalUserAgentIOSSafariViewController.h
/*! @file OIDExternalUserAgentIOSSafariViewController.h
@brief AppAuth iOS SDK
@copyright
Copyright 2018 Google Inc. All Rights Reserved.
@copydetails
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
View toggleiTerm2icon
# toggle iTerm Dock icon
# add this to your .bash_profile or .zshrc
function toggleiTerm() {
pb='/usr/libexec/PlistBuddy'
iTerm='/Applications/iTerm.app/Contents/Info.plist'
echo "Do you wish to hide iTerm in Dock?"
select ync in "Hide" "Show" "Cancel"; do
case $ync in
'Hide' )
@andriyslyusar
andriyslyusar / Remove DerivedData
Last active Aug 29, 2015 — forked from e5faf2/script.sh
How to add command line 'remove DerivedData' instruction
View Remove DerivedData
## Edit your ~/.bash_profile and add this code:
cleandd(){
rm -rf ~/Library/Developer/Xcode/DerivedData
echo "Removed all derived data."
}
## Apply new added command by
source ~/.bash_profile