Skip to content

Instantly share code, notes, and snippets.

View painejake's full-sized avatar

Jake Paine painejake

  • Instiller
  • Birmingham, UK
View GitHub Profile
@painejake
painejake / php.ini
Created October 13, 2016 11:48
HHVM Default PHP Settings
; php options
; hhvm specific
hhvm.log.level = Warning
hhvm.log.always_log_unhandled_exceptions = true
hhvm.log.runtime_error_reporting_level = 8191
hhvm.mysql.typed_results = false
@painejake
painejake / server.ini
Last active October 16, 2016 14:28
HHVM Default Server Settings
; hhvm configuration
hhvm.pid_file = /var/log/hhvm/hhvm.pid
hhvm.server.user = nginx
hhvm.server.type = fastcgi
hhvm.server.file_socket=/var/run/hhvm/hhvm.sock
;hhvm.server.port = 9000
hhvm.server.default_document = index.php
.polaroid {
float: left;
position: relative;
width: 200px;
margin: 10px 10px;
padding: 6px 8px 10px 8px;
list-style: none;
-webkit-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
-moz-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
.polaroid:nth-child(even) {
-webkit-transform: rotate(5deg);
-moz-transform: rotate(5deg);
transform: rotate(5deg);
-ms-transform: rotate(5deg);
}
@painejake
painejake / Polaroid Effect
Created August 8, 2014 08:08
Polaroid Effect
.polaroid {
float: left;
position: relative;
width: 200px;
margin: 10px 10px;
padding: 6px 8px 10px 8px;
list-style: none;
-webkit-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
-moz-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
@painejake
painejake / gist:6683007
Created September 24, 2013 10:36
With permalinks
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[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">
<link rel="dns-prefetch" href="//www.google-analytics.com" />
@painejake
painejake / gist:6682998
Created September 24, 2013 10:35
Without permalinks
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[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">
<link rel="dns-prefetch" href="//www.google-analytics.com" />
@painejake
painejake / RotatingAnimation2.css
Created July 10, 2013 10:29
Rotating Animation 2
#social a:hover {
-webkit-animation: spin 2s linear infinite;
-moz-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
@painejake
painejake / RotatingAnimation1.css
Created July 10, 2013 09:38
Rotating Animation 1
@-webkit-keyframes spin {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
.polaroid:nth-child(even) {
-webkit-transform: rotate(5deg);
-moz-transform: rotate(5deg);
transform: rotate(5deg);
-ms-transform: rotate(5deg);
}