Skip to content

Instantly share code, notes, and snippets.

View calebgrove's full-sized avatar

Caleb Grove calebgrove

View GitHub Profile
@calebgrove
calebgrove / style-li-numbers.scss
Created January 30, 2014 19:02
Style <li> Numbers
ol { counter-reset: item; }
li {
display: block;
&:before {
// create the numbers & increment...
content: counter(item) ".";
counter-increment: item;
// correct positioning...
float: left;
## Force ALL files in this directory to download
ForceType application/octet-stream

Keybase proof

I hereby claim:

  • I am CalebGrove on github.
  • I am calebgrove (https://keybase.io/calebgrove) on keybase.
  • I have a public key whose fingerprint is 46E5 5BF4 FD45 8CFF 7FB5 D0FB 6EB9 3481 7E5A 95B6

To claim this, I am signing this object:

@calebgrove
calebgrove / dabblet.css
Created November 19, 2012 23:19
CSS ID Wildcard
[id^='button'] {
width: 250px !important;
height: 50px !important;
margin: 10px !important;
border-radius: 8px !important;
background-color: #3F3F3F !important;
}
@calebgrove
calebgrove / dabblet.css
Created November 20, 2012 00:54
Untitled
[id^='button'] {
width: 250px !important;
height: 50px !important;
margin: 10px !important;
border-radius: 8px !important;
background-color: #3F3F3F !important;
@calebgrove
calebgrove / .htaccess
Last active December 22, 2015 04:28
Cache Expiration
# BEGIN EXPIRATION
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
@calebgrove
calebgrove / SassMeister-input-HTML.html
Created December 16, 2013 18:15
Generated by SassMeister.com.
<p>This text should be 20px</p>
<div>This is unstyled text. If we set the body size to 62.5%, this would be 10px instead of 16px, which is fairly unusable.</div>
<?php
ini_set( 'display_errors', 1 );
error_reporting( E_ALL );
$from = "from@example.com";
$to = "to@example.com";
$subject = "PHP Mail Test script";
$message = "This is a test to check the PHP Mail functionality";
$headers = "From:" . $from;
mail($to,$subject,$message, $headers);
echo "Test email sent";
@calebgrove
calebgrove / CustomLandingPage.html
Last active February 17, 2018 03:53
Caleb's Dropshare Template
<!--
Dropshare Landing Page
By Caleb Grove @ Grove Design
https://grovedesign.co
-->
<!DOCTYPE html>
<html lang='en'>