Last active
          April 9, 2017 18:11 
        
      - 
      
- 
        Save migaes/b7dea2ebbafbefc3ee9a987d628c406d to your computer and use it in GitHub Desktop. 
Revisions
- 
        migaes revised this gist Apr 9, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ $ git push origin :refs/tags/release01 ### Search for a string on multiple files $ find . -name *.conf -exec grep -n serverName {} \; -print --------------------------------------------- ### Check all redirections before access a url $ curl -I -L awsperkbox.huddlebuy.co.uk --------------------------------------------- ### Find the largest 10 files 
- 
        migaes revised this gist Dec 4, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -13,4 +13,7 @@ $ find . -name *.conf -exec grep -n serverName {} \; -print $ curl -I -L awsperkbox.huddlebuy.co.uk --------------------------------------------- ### Find the largest 10 files $ find / -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {} --------------------------------------------- ### Kill proccesses by regex $ kill $(ps aux | grep 'loquesea' | awk '{print $2}') 
- 
        migaes revised this gist Nov 28, 2016 . No changes.There are no files selected for viewing
- 
        migaes revised this gist Oct 16, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,7 @@ $ git push origin :refs/tags/release01 $ find . -name *.conf -exec grep -n serverName {} \; -print --------------------------------------------- ### Check all redirections that occurs when you hit a url $ curl -I -L awsperkbox.huddlebuy.co.uk --------------------------------------------- ### Find the largest 10 files $ find / -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {} 
- 
        migaes revised this gist Oct 14, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -7,4 +7,7 @@ $ git tag -d release01 $ git push origin :refs/tags/release01 --------------------------------------------- ### Search for a string on multiple files $ find . -name *.conf -exec grep -n serverName {} \; -print --------------------------------------------- ### Check all redirections that occurs when you hit a url $ curl -I -L awsperkbox.huddlebuy.co.uk 
- 
        migaes revised this gist Oct 14, 2016 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,6 @@ $ git push origin --tags ### Remove a tag $ git tag -d release01 $ git push origin :refs/tags/release01 --------------------------------------------- ### Search for a string on multiple files $ find . -name *.conf -exec grep -n serverName {} \; -print 
- 
        migaes revised this gist Oct 14, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ ### Add tag on the current state of the branch you are $ git tag release01 $ git push origin --tags --------------------------------------------- ### Remove a tag $ git tag -d release01 $ git push origin :refs/tags/release01 --------------------------------------------- 
- 
        migaes created this gist Oct 14, 2016 .There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # Add tag on the current state of the branch you are $ git tag release01 $ git push origin --tags --------------------------------------------- # Remove a tag $ git tag -d release01 $ git push origin :refs/tags/release01 ---------------------------------------------