Last active
October 19, 2021 07:05
-
-
Save jzzdog/2b1166455dee8556933d to your computer and use it in GitHub Desktop.
Revisions
-
jzzdog revised this gist
Mar 5, 2015 . 1 changed file with 0 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 @@ -12,7 +12,6 @@ mysql> EXIT; #### Backup and restore ```cmd > mysqldump -u deploy -p[password] azcommunity_production > dump.sql > mysql -u deploy -p[password] azcommunity_production < community_dump.sql ``` -
jzzdog revised this gist
Mar 5, 2015 . 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 @@ -11,7 +11,9 @@ mysql> EXIT; #### Backup and restore ```cmd > mysqldump -u deploy -p[password] azcommunity_production > dump.sql > mysql -u deploy -p[password] azcommunity_production < community_dump.sql ``` more info: http://habrahabr.ru/post/105954/ -
jzzdog revised this gist
Mar 5, 2015 . 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 @@ -12,4 +12,6 @@ mysql> EXIT; #### Backup and restore ```cmd > mysqldump -u jzzdog -p azcommunity_production > dump.sql ``` more info: http://habrahabr.ru/post/105954/ -
jzzdog revised this gist
Mar 5, 2015 . 1 changed file with 7 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 @@ -1,4 +1,4 @@ #### MySql Initial settings ```cmd $ mysql -u root -p @@ -7,3 +7,9 @@ mysql> GRANT ALL PRIVILEGES ON azcommunity_production.* TO 'deploy'@'localhost' IDENTIFIED BY 'deploy'; mysql> EXIT; ``` #### Backup and restore ```cmd > mysqldump -u jzzdog -p azcommunity_production > dump.sql ``` -
jzzdog revised this gist
Mar 4, 2015 . 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 @@ -4,6 +4,6 @@ $ mysql -u root -p mysql> CREATE DATABASE azcommunity_production DEFAULT CHARACTER SET utf8; mysql> GRANT ALL PRIVILEGES ON azcommunity_production.* TO 'deploy'@'localhost' IDENTIFIED BY 'deploy'; mysql> EXIT; ``` -
jzzdog revised this gist
Mar 4, 2015 . 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 @@ -4,6 +4,6 @@ $ mysql -u root -p mysql> CREATE DATABASE azcommunity_production DEFAULT CHARACTER SET utf8; mysql> GRANT ALL PRIVILEGES ON azcommunity_production.* TO 'deploy'@'localhost' IDENTIFIED BY 'deploy'; mysql> EXIT; ``` -
jzzdog revised this gist
Mar 4, 2015 . 1 changed file with 2 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,7 @@ ```cmd $ mysql -u root -p mysql> CREATE DATABASE azcommunity_production DEFAULT CHARACTER SET utf8; mysql> GRANT ALL PRIVILEGES ON azcommunity_production.* TO 'deploy'@'localhost' IDENTIFIED BY 'deploy'; mysql> EXIT; ``` -
jzzdog revised this gist
Mar 4, 2015 . 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 @@ -1,6 +1,8 @@ ### Initial settings ```cmd $ mysql -u root -p mysql> CREATE DATABASE azcommunity_production DEFAULT CHARACTER SET utf8; mysql> GRANT ALL PRIVILEGES ON azcommunity_production.* TO 'deploy'@'localhost' IDENTIFIED BY 'deploy'; mysql> EXIT; ``` -
jzzdog revised this gist
Mar 4, 2015 . 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,6 +1,6 @@ ### Initial settings ```terminal $ mysql -u root -p mysql> CREATE DATABASE azcommunity_production DEFAULT CHARACTER SET utf8; ``` -
jzzdog revised this gist
Mar 4, 2015 . 1 changed file with 2 additions and 3 deletions.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,6 @@ ### Initial settings ```cmd $ mysql -u root -p mysql> CREATE DATABASE azcommunity_production DEFAULT CHARACTER SET utf8; ``` -
jzzdog revised this gist
Mar 4, 2015 . 1 changed file with 3 additions and 7 deletions.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,11 +1,7 @@ ### Initial settings ```cmd $ mysql -u root } ``` -
jzzdog revised this gist
Mar 4, 2015 . 1 changed file with 1 addition and 7 deletions.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,16 +2,10 @@ I think you should use an `<addr>` element here instead. ```sql function fancyAlert(arg) { if(arg) { $.facebox({div:'#foo'}) } } ``` -
jzzdog revised this gist
Mar 4, 2015 . 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 @@ I think you should use an `<addr>` element here instead. ``` function fancyAlert(arg) { if(arg) { $.facebox({div:'#foo'}) -
jzzdog renamed this gist
Mar 4, 2015 . 1 changed file with 7 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 @@ -8,4 +8,10 @@ function fancyAlert(arg) { $.facebox({div:'#foo'}) } } ``` function fancyAlert(arg) { if(arg) { $.facebox({div:'#foo'}) } } -
jzzdog created this gist
Mar 4, 2015 .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,11 @@ I think you should use an `<addr>` element here instead. ```javascript function fancyAlert(arg) { if(arg) { $.facebox({div:'#foo'}) } } ```