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 _ = require('lodash'); | |
var hard = [ '6 2 3 ', | |
' 2 7 8', | |
' 9 4 ', | |
' 6 3 ', | |
'8 1', | |
' 7 4 ', | |
' 6 9 ', | |
'4 3 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
$ curl -v http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js 2>&1 | less | |
* Hostname was NOT found in DNS cache | |
* connect to 127.0.0.1 port 80 failed: Connection refused | |
* Trying 2607:f8b0:4010:801::100d... | |
* Connected to pagead2.googlesyndication.com (2607:f8b0:4010:801::100d) port 80 (#0) | |
> GET /pagead/js/adsbygoogle.js HTTP/1.1 | |
> User-Agent: curl/7.37.1 | |
> Host: pagead2.googlesyndication.com | |
> Accept: */* |
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
<html ng-app='test'> | |
<head> | |
<title>touch test</title> | |
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" /> | |
<style> | |
button { | |
width: 100%; | |
-webkit-tap-highlight-color: transparent; | |
} | |
</style> |
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
<input type="number" pattern="\d+" /> |
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
<input type="text" name="fname" placeholder="First name" /> | |
<input type="text" name="lname" placeholder="Last name" /> | |
<input type="text" name="email" placeholder="Email" /> |
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
<input type="text" pattern="\d*" /> |
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.image { | |
background: transparent center center no-repeat; | |
background-size: auto 100%; | |
width: 200px; | |
height: 200px; | |
} |
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 { | |
background: url(http://2.bp.blogspot.com/-LzjJphrxhVQ/Tc-hZ0Dp6sI/AAAAAAAADbE/rYNM9tEJWg8/s1600/70-the-most-awesome-picture-ever-taken.jpg) center center no-repeat; | |
width: 200px; | |
height: 200px; | |
} |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
p { margin: 0; } | |
ul { list-style-type: none; padding-left: 0; margin: .5em 0 } | |
li { display: inline-block; } | |
input { margin-left: 1.5em; } | |
li:first-child input { margin-left: 0 } | |
body { font-family: 'Avenir'; } |