This file contains 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
<Files .htaccess> | |
order allow,deny | |
deny from all | |
</Files> | |
DirectoryIndex index.html | |
RewriteEngine On |
This file contains 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
* { -webkit-backface-visibility: hidden; } |
This file contains 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
html | |
head | |
body | |
h1 マークダウンのテストです | |
#mdBlock | |
:markdown | |
# markdownで見出し1 |
This file contains 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
# https://developers.google.com/storage/docs/gsutil/commands/cp?hl=ja | |
#全部アップロード & パブリック | |
gsutil cp -a public-read -R ./ gs://my-bucket-name | |
# 特定のディレクトリをアップロード | |
gsutil cp -a public-read -R ./www/** gs://my-bucket-name | |
#全部削除 |
This file contains 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
tar jxvf AdobeAIRSDK.tbz2 |
This file contains 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 "compass/css3/user-interface" | |
@mixin smartphone-init | |
*-webkit-tap-highlight-color: rgba(0, 0, 0, 0) | |
-webkit-touch-callout: none | |
*:not(input) | |
+user-select(none) | |
@mixin overflow-scroll() |
This file contains 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 "compass/css3/box" | |
#loading | |
width: 100% | |
height: 100% | |
+display-box | |
+box-pack(center) | |
+box-align(center) |
This file contains 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
//↓うまくいかない | |
//*:not(input,textarea) | |
// +user-select(none) | |
* | |
+user-select(none) | |
input, textarea | |
+user-select(auto !important) |
This file contains 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
# jade | |
identify -format "src='img(%f', width=%w, height=%h, alt='')\n" *.(png|jpg|gif) | |
# coffee | |
identify -format "%f: width: %w, height: %h\n" *.(png|jpg|gif) |
This file contains 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
HOST_NAME = do -> | |
os = require('os') | |
interfaces = do os.networkInterfaces | |
checkLocal = (address)-> | |
return address.family is 'IPv4' and not address.internal | |
# en0を優先 | |
if _.has(interfaces, 'en0') | |
for address in interfaces['en0'] | |
if checkLocal(address) | |
return address.address |