Skip to content

Instantly share code, notes, and snippets.

View feffi's full-sized avatar

feffi feffi

View GitHub Profile
@feffi
feffi / gist:5394758
Created April 16, 2013 09:54
always show the full directory path in finder on OSX
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
sudo killall Finder
@feffi
feffi / gist:5394763
Created April 16, 2013 09:55
expanding every save dialog in OSX
defaults write -g NSNavPanelExpandedStateForSaveMode -boolean true
defaults write -g PMPrintingExpandedStateForPrint -boolean true
@feffi
feffi / gist:5394778
Created April 16, 2013 09:58
restart screen sharing service
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.screensharing.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist
@feffi
feffi / Spring cleaning brew cellar
Last active December 18, 2015 12:08
Spring cleaning brew cellar
brew cleanup --force -s
rm -rf $(brew --cache)
brew install -v jenkins
ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist
wget http://localhost:8080/jnlpJars/jenkins-cli.jar
java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin checkstyle cloverphp dry htmlpublisher jdepend plot pmd violations xunit
brew prune
brew cleanup
brew update
brew tap --repair
brew doctor
pear config-set auto_discover 1
pear install pear.phpqatools.org/phpqatools pear.netpirates.net/phpDox
<?xml version="1.0" encoding="UTF-8"?>
<project name="name-of-project" default="build">
<target name="build"
depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdox,phpunit,phpcb"/>
<target name="build-parallel"
depends="prepare,lint,tools-parallel,phpunit,phpcb"/>
<target name="tools-parallel" description="Run tools in parallel">
@feffi
feffi / config.xml
Created June 14, 2013 12:31
a jenkins config for building php projects
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description>&lt;img type=&quot;image/svg+xml&quot; height=&quot;300&quot; src=&quot;ws/build/pdepend/overview-pyramid.svg&quot; width=&quot;500&quot;&gt;&lt;/img&gt;&#xd;
&lt;img type=&quot;image/svg+xml&quot; height=&quot;300&quot; src=&quot;ws/build/pdepend/dependencies.svg&quot; width=&quot;500&quot;&gt;&lt;/img&gt;</description>
<keepDependencies>false</keepDependencies>
<properties/>
<scm class="hudson.scm.NullSCM"/>
<canRoam>true</canRoam>
<disabled>true</disabled>