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
// 略 | |
/* | |
|-------------------------------------------------------------------------- | |
| 管理画面情報 | |
|-------------------------------------------------------------------------- | |
*/ | |
'admin' => [ | |
'allowipaddresses' => ['127.0.0.1', '100.100.100.100'], | |
], |
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
find . -name .DS_Store -exec rm -fr {} \; |
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
RewriteEngine On | |
RewriteCond %{REQUEST_URI} ^/profile/ [OR] | |
RewriteCond %{REQUEST_URI} ^/sp/profile/ | |
RewriteCond %{HTTPS} on | |
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R,L] |
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
<script> | |
#set($getCookie = '$.cookie("tabIndex");') | |
var activeTab = ${getCookie} | |
</script> |
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 | |
require_once 'Twig/Autoloader.php'; | |
Twig_Autoloader::register(); | |
$loader = new Twig_Loader_Filesystem('template/'); | |
$twig = new Twig_Environment($loader, array( | |
'cache' => 'cache/', | |
)); | |
echo $twig->render('hello.html', array('message' => 'HELLO!!')); |
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 | |
require_once 'Twig/Autoloader.php'; | |
Twig_Autoloader::register(); | |
$loader = new Twig_Loader_String(); | |
$twig = new Twig_Environment($loader); | |
echo $twig->render('Hello {{ name }}!', array('name' => 'Fabien')); | |
?> |
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
<script> | |
// IEのばかーーー | |
// いやだこんなの(>_<) | |
$(function() { | |
var zIndex = 1000; | |
$('div').each(function() { | |
$(this).css('zIndex', zIndex); | |
zIndex -= 10; | |
}); | |
}); |
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
java.lang.IllegalStateException: No Scope registered for scope 'session' | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) | |
(略) |
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
@-webkit-keyframes fade { | |
0% {opacity: 0;} | |
50% {opacity: 1;} | |
100% {opacity: 0;} | |
} | |
@-webkit-keyframes rotate { | |
0% {-webkit-transform: rotate(0);} | |
100%{-webkit-transform:rotate(360deg);} | |
} |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.e2info</groupId> | |
<artifactId>SpringMVC</artifactId> | |
<packaging>war</packaging> | |
<version>1.0</version> | |
<properties> | |
<maven.compiler.encoding>UTF-8</maven.compiler.encoding> |