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
$githubIPs = array("207.97.227.253", "50.57.128.197", "108.171.174.178", "50.57.231.61"); | |
$errorStatus = "HTTP/1.1 500 Internal Server Error"; | |
if(!in_array($_SERVER["REMOTE_ADDR"],$githubIPs)){ | |
header($errorStarus); | |
die; | |
}else{ | |
shell_exec('git pull'); | |
} |
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
<!Doctype html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>title</title> | |
</head> | |
<body> | |
<h1>heading</h1> | |
<article> | |
<h1>article heading</h1> |
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
<script> | |
(function(){ | |
window.addEventListener('load', function(){ | |
document.getElementById('hoge').style.MozTransition = '-moz-transform 0.3s linear'; | |
document.getElementById('hoge').style.MozTransform = 'translate3d(200px, 0, 0)'; | |
document.getElementById('hoge').style.webkitTransition = '-webkit-transform 0.3s linear'; | |
document.getElementById('hoge').style.webkitTransform = 'translate3d(200px, 0, 0)'; | |
}, false); | |
})(); | |
</script> |
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
#!/bin/bash | |
compass compile -e production | |
compass compile |
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
http_path = "/" | |
sass_options = (environment == :production) ? {:debug_info => false} : {:debug_info => true} | |
css_dir = (environment == :production) ? "css" : "css_debug" | |
sass_dir = "./sass" | |
images_dir = "./img" | |
javascripts_dir = "./js" | |
line_comments = true | |
output_style = (environment == :production) ? :compressed : :expanded |
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
<body> | |
<div class="container"> | |
... | |
</div> | |
</body> |
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
<div class="row"> | |
<div class="col12">12</div> | |
</div> | |
<div class="row"> | |
<div class="col6">6</div> | |
<div class="col6">6</div> | |
</div> | |
<div class="row"> | |
<div class="col4">4</div> | |
<div class="col4">4</div> |
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
<div class="row"> | |
<div class="col11 offset1">11</div> | |
</div> | |
<div class="row"> | |
<div class="col5">5</div> | |
<div class="col6 offset1">6</div> | |
</div> | |
<div class="row"> | |
<div class="col2">2</div> | |
<div class="col2 offset2">2</div> |
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
<div class="row"> | |
<div class="col12"> | |
12 | |
<div class="row"> | |
<div class="col6">6</div> | |
<div class="col6">6</div> | |
</div> | |
</div> | |
</div> | |
<div class="row"> |
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
<h1 class="lv1">heading lv1</h1> | |
<h2 class="lv2">heading lv2</h2> | |
<h3 class="lv3">heading lv3</h3> | |
<h4 class="lv4">heading lv4</h4> | |
<h5 class="lv5">heading lv5</h5> | |
<h6 class="lv6">heading lv6</h6> |
OlderNewer