Skip to content

Instantly share code, notes, and snippets.

View wings1685's full-sized avatar

Yutaka Imagawa wings1685

View GitHub Profile
@wings1685
wings1685 / Gruntfile.coffee
Created December 30, 2014 01:30
Gruntfile.coffee の中身をまとめてみた ref: http://qiita.com/wings1685/items/8c38613a20c0d87e3f77
module.exports = (grunt) ->
pkg = grunt.file.readJSON 'package.json'
grunt.initConfig
compass:
dev:
options:
config: 'config.rb'
environment: 'development'
force: true
specify: '<%= dir.src %>'
@wings1685
wings1685 / _include.sass
Created December 28, 2014 02:09
_include.sass に必ず書いている機能 ref: http://qiita.com/wings1685/items/76b8c488ffaf0f248ea1
=transition($property, $time, $delay: 0)
+transition-property($property)
+transition-duration($time)
+transition-delay($delay)
=ellipsis()
overflow: hidden
text-overflow: ellipsis
white-space: nowrap
=animation($name, $time, $delay: 0, $count: 1)
+animation-name($name)
@wings1685
wings1685 / box-shadow.css
Created December 12, 2014 06:55
sass の prefix を付けるのが面倒、@include も面倒というあなたへ ref: http://qiita.com/wings1685/items/2fad12a57c8cb8297804
.hoge {
-moz-box-shadow: 0px 0px 3px black;
-webkit-box-shadow: 0px 0px 3px black;
box-shadow: 0px 0px 3px black;
}
[
{
"name": "徒歩(約5分/0.4 km)",
"walk": [
{
"name": "<b>北</b>に進む",
"from": {
"lat": 35.0103785,
"lng": 135.7656932
},
[
{
"id": "4b5a5b3bf964a520a1bf28e3",
"type": "shrine",
"name": "八坂神社",
"location": {
"lat": "35.00375",
"lng": "135.77742"
},
"icon": "http://guide794.info/images/pin_shrine.png"
[
{
"id": "4b5be445f964a520f41b29e3",
"type": "shrine",
"name": "晴明神社",
"ruby": "せいめいじんじゃ",
"location": {
"lat": "35.02768579588001",
"lng": "135.7516086101532"
},
http://api.guide794.info/4baf4e50f964a520c8f63be3/4b7218acf964a5207b6e2de3
http://api.guide794.info/35.0029326984136,135.77277709619523/35.00611837085235,135.78206290380479
http://api.guide794.info/晴明神社
http://api.guide794.info/FROM/TO