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
| var historyUrl = 'https://www.amazon.co.jp/gp/css/order-history?orderFilter=year-$year$&startIndex=$index$'; | |
| function beforeSendHook(xhr){ | |
| xhr.setRequestHeader('X-Requested-With' | |
| , { | |
| toString: function(){ | |
| return ''; | |
| } | |
| } | |
| ); |
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を落とす | |
| cd /var/www/html/ | |
| wget https://ja.wordpress.org/latest-ja.tar.gz | |
| tar -xvzf latest-ja.tar.gz | |
| sudo rm latest-ja.tar.gz | |
| # 権限周りの設定 | |
| sudo chown -R www-data:www-data /var/www/html/wordpress/ | |
| sudo find /var/www/html/wordpress/ -type d -exec chmod 0755 \{\} \; | |
| sudo find /var/www/html/wordpress/ -type f -exec chmod 0644 \{\} \; |
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
| # 超スッキリさせる | |
| sudo apt-get purge $(sudo dpkg -l | grep php | awk '{print $2}') | |
| sudo apt-get install php php-mysql | |
| # 一緒に下記パッケージが入った | |
| # =>(libapache2-mod-php7.0 php php-common php-mysql php7.0 php7.0-cli php7.0-common php7.0-json php7.0-mysql php7.0-opcache php7.0-readline) |
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
| import sys | |
| print("Hello world !"); | |
| sys.exit |