Skip to content

Instantly share code, notes, and snippets.

html, body{
height:100%;
background:#222;
}
body{
display:flex;
align-items:center;
justify-content:center;
}
#!/usr/bin/env ruby
require 'open-uri'
require 'socket'
require 'net/http'
require 'net/https'
p Time.now.strftime("%d/%m/%Y %H:%M")
domain = '...'
current_ip = open('http://whatismyip.akamai.com').read
@jshawl
jshawl / precess-input-1397235393.scss
Created April 11, 2014 16:56
a precess production
$track-icons: 'hairtechnique', 'hairtexture', 'barber', 'makeup', 'nail', 'business', 'genericplaceholder';
div{
@for $i from 1 through length($track-icons){
&.#{nth( $track-icons , $i )}{
position:relative;
&:after{
content:'';
display:block;
position:absolute;
height:70px;
@jshawl
jshawl / index.html
Created March 27, 2014 17:01
Ajax instead of captcha?
<!DOCTYPE html>
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
</head>
<body>
<!DOCTYPE html>
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
</head>
<body>

Keybase proof

I hereby claim:

  • I am jshawl on github.
  • I am jshawl (https://keybase.io/jshawl) on keybase.
  • I have a public key whose fingerprint is 3758 9426 D58C 9735 5D1C 6FB4 CC42 B149 A905 154C

To claim this, I am signing this object:

@jshawl
jshawl / precess-input-1395845807.scss
Created March 26, 2014 14:56
a precess production
$blockSize:25px;
$color: #000;
body{
padding:$blockSize;
}
.invader{
height:7 * ($blockSize +1);
width:11 * ($blockSize +1);
@jshawl
jshawl / precess-input-1395511365.scss
Created March 22, 2014 18:02
a precess production
@for $i from 1 to 5{
a{
top:$i;
}
}
@jshawl
jshawl / precess-input-1395418548.less
Created March 21, 2014 16:15
a precess production
@base: #f938ab;
.box-shadow(@style, @c) when (iscolor(@c)) {
-webkit-box-shadow: @style @c;
box-shadow: @style @c;
}
.box {
color: saturate(@base, 5%);
border-color: lighten(@base, 30%);