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
| #!/usr/local/bin/perl | |
| print "Content-type: text/plain\n\n"; | |
| print "Hello !\n"; |
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
| <?php | |
| $PATH_TARGET = "/PATH/TO/TARGET/"; | |
| $PATH_SAVE = "/PATH/TO/SAVE/"; | |
| // zip name | |
| $file_name = "backup.zip"; | |
| $command = " | |
| cd ". $PATH_TARGET ." | |
| zip -qr ". $PATH_SAVE . $file_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
| # .htaccessの上の方に追加 | |
| # TOPページへのPOSTアクセスを拒否 | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteCond %{REQUEST_URI} ^/$ | |
| RewriteCond %{REQUEST_METHOD} ^POST | |
| RewriteRule .* - [F] | |
| </IfModule> |
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
| Encoding.default_external = "UTF-8" | |
| http_path = "/" | |
| css_dir = "/wp-content/themes/THEME_NAME/css/" | |
| sass_dir = "/wp-content/themes/THEME_NAME/scss/" | |
| images_dir = "/wp-content/themes/THEME_NAME/images/" | |
| javascripts_dir = "/wp-content/themes/THEME_NAME/js/" | |
| fonts_dir = "/wp-content/themes/THEME_NAME/fonts/" | |
| output_style = :expanded # :expanded or :nested or :compact or :compressed |
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
| { | |
| "protocol": "sftp", | |
| "host": "aeXXX.secure.ne.jp", | |
| "username": "aeXXXXXXX_username", | |
| "password": "P@ssW0rd", | |
| "ignore": [".editorconfig"], | |
| "remotePath": "/html", | |
| "port" : 10397 | |
| } |
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
| { | |
| "liveSassCompile.settings.formats":[ | |
| { | |
| "format": "expanded", | |
| "extensionName": ".css", | |
| "savePath": "~/../" | |
| } | |
| ], | |
| "liveSassCompile.settings.excludeList": [ | |
| "**/node_modules/**", |
OlderNewer