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="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>rollover テスト</title> | |
</head> | |
<body> | |
<p><a class="hoge" href="http://example.com/"><img src="img/test.gif" alt="test">hoge</a></p> | |
<p><a class="hoge" href="http://example.com/"><img src="img/test.png" alt="test">hoge</a></p> |
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
function! CSS3PropertyDuplicate() | |
let reg_save = @@ | |
silent normal Y | |
let css3 = @@ | |
let ind = matchlist(css3, '\v(\s*)(.*)') | |
let webkit = ind[1] . "-webkit-" . ind[2] | |
let moz = ind[1] . "-moz-" . ind[2] | |
let ms = ind[1] . "-ms-" . ind[2] | |
let o = ind[1] . "-o-" . ind[2] |
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
/** | |
* node.js/express twitter oauth integration sample | |
*/ | |
var express = require('express'), | |
connect = require('connect'); | |
/*var MemoryStore = require('connect/middleware/session/memory');*/ | |
var OAuth= require('oauth').OAuth; | |
var app = express.createServer(); |
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" /> | |
<style> | |
body, div, ul, li, h1, h2, h3 { | |
margin: 0; | |
padding: 0; | |
} |
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
var express = require('express') | |
, mapRouter = require('./express-mapRouter') | |
, app = express.createServer() | |
, routesDir = __dirname + '/routes'; | |
// 'GET /' : 'root:index' はこれと同じ | |
// var root = require('./routes/root'); | |
// app.get('/', root.index); | |
var routesMap = { | |
'GET /' : 'root:index' |
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 module(express, ejs) | |
* @author edo | |
*/ | |
var express = require('express'), | |
app = express.createServer( | |
express.bodyParser() | |
, express.cookieParser() | |
, express.static(__dirname + '/public') | |
); |
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
(function () { | |
'use strict'; | |
//////////////////////////////////////////////////// | |
/** | |
* Local functions. | |
*/ | |
function randomNumGet(from, to){ |
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
-allow-file-access-from-files |
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
@charset "utf-8"; | |
////////////////////////////////////////////////////// | |
// defined global variables. | |
$prefixs: -webkit-, -moz-, -ms-, -o-, ''; | |
////////////////////////////////////////////////////// | |
// defined mixins. |
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
/* #! scss */ | |
#status { | |
width: 10px; | |
height: 10px; | |
margin-top: 10px; | |
background: green; | |
&.error { | |
background: red; |
OlderNewer