-
-
Save lucdkny/f55cff3c6692597886d40a7a4908ba2d to your computer and use it in GitHub Desktop.
Revisions
-
thoaster renamed this gist
Sep 24, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
thoaster revised this gist
Sep 24, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ #!/bin/sh # Reset MAMP PRO 4 Trial # Let me know if it works set +e rm ~/Library/Preferences/de.appsolute.mamppro.plist rm ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/de.appsolute.mamppro.sfl rm -rf ~/Library/Caches/de.appsolute.mamppro -
thoaster revised this gist
Sep 24, 2016 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,8 @@ # Let me know if it works set -e rm ~/Library/Preferences/de.appsolute.mamppro.plist rm ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/de.appsolute.mamppro.sfl rm -rf ~/Library/Caches/de.appsolute.mamppro rm -rf ~/Library/Saved\ Application\ State/de.appsolute.mamppro.savedState sudo killall de.appsolute.mampprohelper sudo killall cfprefsd -
thoaster revised this gist
Sep 19, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ A simple script that resets latest MAMP PRO 4 trial validity, and keeps your data safe. ## How to use - Copy the code into a file OR [download the script](https://git.io/viMgh) and save it as _reset_mamp4.sh_ - Open the Terminal app and write `chmod +x ` then drag and drop the file on the Terminal. You should have something like `chmod +x reset_mamp4.sh`. Press Enter to run it. - Now, run the file itself by dragging and dropping it on the Terminal (something like `reset_mamp4.sh`) then pressing Enter. - Open MAMP PRO and check if you have 14 days left now. -
thoaster created this gist
Sep 19, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ # MAMP PRO 4 Trial Reset A simple script that resets latest MAMP PRO 4 trial validity, and keeps your data safe. ## How to use - Copy the code into a file OR download the script and save it as _reset_mamp4.sh_ - Open the Terminal app and write `chmod +x ` then drag and drop the file on the Terminal. You should have something like `chmod +x reset_mamp4.sh`. Press Enter to run it. - Now, run the file itself by dragging and dropping it on the Terminal (something like `reset_mamp4.sh`) then pressing Enter. - Open MAMP PRO and check if you have 14 days left now. ## Didn't work? Try using superpowers and run it as root `sudo reset_mamp4.sh`. ## Did it work? Let me know, or improve it by yourself. 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ #!/bin/sh # Reset MAMP PRO 4 Trial # Let me know if it works set -e rm ~/Library/Preferences/de.appsolute.mamppro.plist rm -rf ~/Library/Caches/de.appsolute.mamppro rm -rf ~/Library/Saved\ Application\ State/de.appsolute.mamppro.savedState killall cfprefsd