Skip to content

Instantly share code, notes, and snippets.

@raik
raik / index.html
Created July 5, 2012 12:40
A web page created at CodePen.io
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Admin Login &middot; CodePen</title>
<link rel="stylesheet" href="http://codepen.io/stylesheets/css/normalize.css">
@raik
raik / index.html
Created July 5, 2012 12:40
A web page created at CodePen.io
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Admin Login &middot; CodePen</title>
<link rel="stylesheet" href="http://codepen.io/stylesheets/css/normalize.css">
@raik
raik / index.html
Created July 5, 2012 12:40
A web page created at CodePen.io
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Admin Login &middot; CodePen</title>
<link rel="stylesheet" href="http://codepen.io/stylesheets/css/normalize.css">
@raik
raik / media-query-mixin.scss
Created September 10, 2012 18:10 — forked from Snugug/media-query-mixin.scss
Media Query Sass Mixin
//////////////////////////////
// Generalized Media Query Mixin
//
// Requires Sass 3.2+
// Until released:
// (sudo) gem install sass --pre
//////////////////////////////
@mixin media-query($value, $operator: 'min-width', $query: 'screen') {
@media #{$query} and (#{$operator}: #{$value}) {
@content;
@raik
raik / mq.scss
Created September 26, 2012 07:03 — forked from antsa/mq.scss
Media Query mixin - @MQ
// A mixin for media queries: @mq
//
// Use with keywords in $medias array:
// @include mq($media: wide) {
// ...
// }
//
// Or use with manual queries:
// @include mq("all and (min-width:33em)") {
// ...
-- This script automatically `cd`s to the directory of the current document.
-- You can use $f to represent the file for the current document.
-- This is nowhere near perfect, just a quick and dirty script.
-- NOTE: you need to have "Enable access for assistive devices" checked...
-- in the Accessibility preference pane.
-- Example: select a file in Finder, and type: echo The filename is $f
on getCurrentDocument()
Verifying that +raik is my openname (Bitcoin username). https://onename.io/raik
// Resetting Gravity Forms styles
// 'To be sure' specificity
//
// http://www.gravityhelp.com/documentation/gravity-forms/user-guides/design-and-layout/css-targeting-samples/
body .gform_wrapper {
max-width: 100%;
margin: 0;
}
(function(){
let lists = document.querySelectorAll('.js-list')
Array.from(lists).forEach(function(el, index, array) {
let spans = el.querySelectorAll('span.badge-text')
let sum = 0
Array.from(spans).forEach(function(el, index, array) {
let str = el.innerText
let re = /estimate\:\s+([+-]?([0-9]*[.])?[0-9]+)$/i;
let nr = str.match(re)

Keybase proof

I hereby claim:

  • I am raik on github.
  • I am raik (https://keybase.io/raik) on keybase.
  • I have a public key ASCF3k_JMV_f7xY1VokRicxecZghel4gQT1Vv8y8WKKyggo

To claim this, I am signing this object: