Skip to content

Instantly share code, notes, and snippets.

View max's full-sized avatar
🏔️

Max Schoening max

🏔️
View GitHub Profile
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .33), inset 0 1px 1px rgba(255, 255, 255, .1);
.panel form .action {
margin: 24px 0 0 0;
overflow: hidden;
p.reset_password {
text-align:left;
margin-bottom:0;
float:left;
a {
opacity:.7;
}
require 'digest/md5'
email = 'nick@bylinebreak.com'
secret = 'FLAREAPPISAWESOME'
md5 = Digest::MD5.hexdigest(email + secret)
random_charset = Array.new(10) { (rand(122-97) + 97).chr }.join
serial = md5.tr('0-9', random_charset).upcase
puts serial
/* =IE7 & IE8 hax
---------------------------------------------- */
#heroku-header {
min-width/*\**/: 991px\9;
}
/* ------------------------------------------- */
<?php
function get_content_url($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept: application/json"));
$json = curl_exec($ch);
curl_close($ch);
<!--
This template is surrounded by a li added by the Backbone view before it's
inserted into the DOM. I'm not a big fan of how that works as I'd rather
define the entire view here. Once I'm more familiar with Backbone, I'll
revisit the issue.
-->
<form action="/items/{{id}}" method="post">
<input name="_method" type="hidden" value="put" />
.example {
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 1px 1px rgba(255, 255, 255, .5) inset;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 1px 1px rgba(255, 255, 255, .5) inset;
box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 1px 1px rgba(255, 255, 255, .5) inset;
}
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td {
margin:0;
padding:0
}
Two raindrops you can give away exclusively:
[Autoupload Folder](http://nckplsn.me/3Q2k3j14432T0O3J3219)
To set the folder:
`defaults write com.linebreak.Cloud.AutouploadFolder CLAutouploadPath '/Users/Max/Desktop/Test'`
---

Border Radius for Gecko

Declaring border-radius for specific corners is not the same in Webkit and Mozilla. That's why you get this in Firefox. Here's a good tool to help you with that (be sure to sort the attributes according to our CSS guide).

Best Practices that kill us in the long run

Things like this are best practices that will kill us in the long run because it's no obvious why you did this:

#apps-processes .sidebar .delta,