Install ccache
then update the PATH
:
export PATH="/usr/lib/ccache:$PATH"
reflex -d none -r "\.go$" -- zsh -c "time go test ./... ; repeat 100 printf '#'" |
iotop -aod 0.5 |
# put insize /etc/sysctl.d/99-sysctl.conf | |
vm.swappiness=1 | |
vm.max_map_count=262144 | |
vm.vfs_cache_pressure=50 |
git clone [email protected]:mgorny/cpuid2cpuflags.git | |
cd cpuid2cpuflags | |
autoreconf --install | |
./configure | |
make | |
./cpuid2cpuflags |
cd $GOPATH/src/golang.org/x/tools | |
git remote add cgo [email protected]:FrankReh/tools.git | |
git merge cgo/current | |
cd cmd/guru | |
find . -type f -print0 | xargs -0 sed -i 's/guru "github\.com\/frankreh\/tools\/cmd\/guru"//g' | |
find . -type f -print0 | xargs -0 sed -i 's/import "github\.com\/frankreh\/tools\/cmd\/guru"//g' | |
go install | |
# back to original | |
git reset origin/master --hard |
Run `MaintenanceTool` in Qt installation directory. Select settings and add: | |
`http://download.qt.io/online/qt5/linux/x86/online_repository/` |
find . -type f -print0 | xargs -0 sed -i 's/MATCH/REPLACEMENT/g' |
kquitapp5 plasmashell && kstart plasmashell |
find -name \*.gz -print0 | xargs -0 zgrep "TEXT" |