-
Open Ampps Application -> MySQL Tab -> Configuration.
-
In [mysqld] section, add the following line:
innodb_force_recovery = 1 -
Save the file and try starting MySQL
-
Remove that line which you just added and Save.
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
| # Convert an existing docker container into a "docker run" command line. | |
| # | |
| # This is useful when trying to debug containers that have been created | |
| # by orchestration tools. | |
| # | |
| # Install jq: stedolan.github.io/jq/ | |
| function format_run() { | |
| cid=$1 |
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
| ########################################### | |
| ## TERMINAL CUSTOMIZATIONS ################ | |
| ########################################### | |
| ## CUSTOM TAB NAME | |
| function tabname { | |
| printf "\e]1;$1\a" | |
| } | |
| ## CUSTOM WINDOW NAME |
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
| # ----------------------------------------------------------------- | |
| # .gitignore for WordPress | |
| # Bare Minimum Git | |
| # http://ironco.de/bare-minimum-git/ | |
| # ver 20150227 | |
| # | |
| # This file is tailored for a WordPress project | |
| # using the default directory structure | |
| # | |
| # This file specifies intentionally untracked files to ignore |
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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
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
| ######################## | |
| # Wordpress Core files # | |
| ######################## | |
| wp-admin/ | |
| wp-content/backups/ | |
| wp-content/blogs.dir/ | |
| wp-content/languages/ | |
| wp-content/index.php | |
| wp-content/themes/index.php | |
| wp-includes/ |
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
| # Standard .htaccess file | |
| # ------------------------------------------------- | |
| # ------------------------------------------------- | |
| # Secure .htaccess file | |
| # ------------------------------------------------- | |
| <Files .htaccess> | |
| order allow,deny | |
| deny from all | |
| </Files> |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
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
| ############################################################## | |
| # BASH_ALIASES | |
| ############################################################## | |
| #------------------------------------------------------------- | |
| # The 'ls' family | |
| #------------------------------------------------------------- | |
| alias ll='LANG=C ls -alF --group-directories-first' | |
| alias ls='LANG=C ls -AhF --color' # add colors for filetype recognition | |
| alias la='LANG=C ls -Al' # show hidden files | |
| alias lx='LANG=C ls -lXB' # sort by extension |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.