- Copy all of those files in
/opt/dump
- Configure config.cfg
- Cron your dump for dumpfiles.sh and dumpsql.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
panic(cpu 0 caller 0xffffff7f81313970): "UPSB(MacBookPro14,3): thunderbolt power on failed 0xffffffff\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOPCIFamily/IOPCIFamily-370.0.2/IOPCIBridge.cpp:1396 | |
Backtrace (CPU 0), Frame : Return Address | |
0xffffff81ee693a60 : 0xffffff8000739a3b | |
0xffffff81ee693ab0 : 0xffffff8000870fe5 | |
0xffffff81ee693af0 : 0xffffff8000862a5e | |
0xffffff81ee693b40 : 0xffffff80006e0a40 | |
0xffffff81ee693b60 : 0xffffff8000739127 | |
0xffffff81ee693c60 : 0xffffff800073950b | |
0xffffff81ee693cb0 : 0xffffff8000ed17f9 | |
0xffffff81ee693d20 : 0xffffff7f81313970 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
panic(cpu 0 caller 0xffffff7f81313970): "UPSB(MacBookPro14,3): thunderbolt power on failed 0xffffffff\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOPCIFamily/IOPCIFamily-370.0.2/IOPCIBridge.cpp:1396 | |
Backtrace (CPU 0), Frame : Return Address | |
0xffffff81ee693a60 : 0xffffff8000739a3b | |
0xffffff81ee693ab0 : 0xffffff8000870fe5 | |
0xffffff81ee693af0 : 0xffffff8000862a5e | |
0xffffff81ee693b40 : 0xffffff80006e0a40 | |
0xffffff81ee693b60 : 0xffffff8000739127 | |
0xffffff81ee693c60 : 0xffffff800073950b | |
0xffffff81ee693cb0 : 0xffffff8000ed17f9 | |
0xffffff81ee693d20 : 0xffffff7f81313970 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias vh="cd /etc/apache2/sites-available/" | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
alias s="git st" | |
alias d="git diff" | |
alias ackk="ack -f | ack" | |
alias ccc="sudo rm -rf */cache/*" | |
alias cs="git st | grep modified | cut -d ":" -f2 | xargs -I {} php-cs-fixer fix {} && git st | grep -vw modified | grep src | cut -d "#" -f2 | xargs -I {} php-cs-fixer fix {}" | |
alias dmagick="git diff -w --word-diff --color-words=." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See http://cs.sensiolabs.org | |
# Run this command in your git repo to run cs fixer on the modified files | |
git st --porcelain | cut -d" " -f2,3 | cut -d" " -f2 | xargs -I {} sh -c 'php php-cs-fixer.phar fix {}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find -L -type l -delete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This is a sample to make unit test in symfony using request service | |
*/ | |
namespace xxxx | |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | |
class TestCase extends WebTestCase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List dist branch merged | exclude master, HEAD and develop | remove origin/ | delete remote branch asking confirmation | |
git branch -r --merged | grep -vw "master" | grep -vw "HEAD" | grep -vw "develop" | sed -e "s/origin\///g" | sed -e 's/^[[:space:]]*//' | xargs -p -I {} git push origin :{} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch -a | grep remotes/origin | grep -vw 'HEAD' | cut -d'/' -f3 | xargs -I {} sh -c 'git co {} && git push -u origin2 {}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# | |
# Remove history of files wich contains passwords and commit the last version of the file | |
# http://help.github.com/remove-sensitive-data/ | |
# | |
# How to use ? | |
# 1) Clone your repo | |
# 2) copy this file at the root of the repo | |
# 3) update glob_to_rewrite | |
# 4) run ruby git_rewrite.rb |