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
@WIDTH: 400px; | |
@Y: 100px; | |
div#container { | |
width: @WIDTH; | |
margin: auto; | |
position: relative; | |
.persepective(350px); | |
.origin(@WIDTH * 0.5, @Y); | |
.preserve3d(); |
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
class LetterTracking | |
constructor: ($target) -> | |
$target.each((i, elem)=> | |
$elem = $(elem) | |
aTag = $elem.find('a'); | |
if (@hasATag(aTag)) | |
$elem = aTag | |
text = $elem.text() | |
spanText = @wrapSpan(text) |
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
module.exports = (grunt) -> | |
grunt.loadNpmTasks 'grunt-contrib-watch' | |
grunt.loadNpmTasks 'grunt-ftp-deploy' | |
ftpSettings = | |
auth: | |
host: "hogehoge.com" | |
port: 21 | |
authKey: "hogehogekey" | |
src: "www" |
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
grunt.initConfig | |
concat: | |
lib: | |
files: | |
'www/common/js/lib.js' : [ | |
'src/js/vendors/jquery/jquery.min.js' | |
'src/js/vendors/modernizr/modernizr.js' | |
] | |
'www/common/js/vendors/easeljs-0.6.0.min.js' : [ | |
'src/js/vendors/EaselJS-release_v0.6.0/lib/easeljs-0.6.0.min.js' |
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
_ = require 'lodash' | |
module.exports = (grunt) -> | |
grunt.loadNpmTasks 'grunt-contrib-jade' | |
require('./src/config/jade.config.coffee')(_) | |
jadeOptions = require './src/config/base.config.coffee' | |
grunt.initConfig |
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
grunt.initConfig | |
md2html: | |
build: | |
files: [ | |
expand: true, | |
cwd: 'src/jade', | |
src: ['**/*.md'], | |
dest: 'src/jade', | |
ext: '.html' | |
] |
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
Project Defaults | |
-default-size 640 1096 -swf-version=19 -default-frame-rate 60 -default-background-color 0xFFFFFF | |
Additional | |
-define+=CONFIG::mobile,false -define+=CONFIG::ios,false -define+=CONFIG::android,false -define+=CONFIG::desktop,true -define+=CONFIG::debug,true -define+=CONFIG::release,false -define+=CONFIG::device,false -compiler.optimize=false -compiler.incremental=true |
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
private function getType(type:*):String | |
{ | |
var result:String = ''; | |
switch (type) | |
{ | |
case -1: result = YoutubeEvent.UNSTARTED; break; | |
case 0: result = YoutubeEvent.ENDED; break; | |
case 1: result = YoutubeEvent.PLAYING; break; | |
case 2: result = YoutubeEvent.PAUSED; break; | |
case 3: result = YoutubeEvent.BUFFERING; break; |
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> | |
<Files ~ "\.(html)$"> | |
AuthType Basic | |
AuthName "enter id and pass" | |
AuthUserFile /srv/hogehoge/public/.htpasswd | |
require valid-user |
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
RewriteEngine On | |
RewriteRule ^(/|index.html)$ /test2/sub2/index.html [P,L] |