Skip to content

Instantly share code, notes, and snippets.

View funkylarma's full-sized avatar

Adam Chamberlin funkylarma

View GitHub Profile
@funkylarma
funkylarma / 19nQwPKcmwVSIgvqJX.json
Created January 20, 2025 12:43
Webmention Request from telegraph
{
"result": "accepted",
"data": {
"type": "feed",
"items": [
{
"type": "entry",
"published": "2025-01-20",
"summary": "Yes, I'm going to Homebrew Website Club Europe/London.",
"rsvp": "yes",
/**
* This gist demonstrates how to properly load jQuery within the context of WordPress-targeted JavaScript so that you don't
* have to worry about using things such as `noConflict` or creating your own reference to the jQuery function.
*
* @version 1.0
*/
(function( $ ) {
"use strict";
$(function() {
@funkylarma
funkylarma / brew -v
Created August 31, 2012 17:34
Homebrew php54 on 10.8.1
brew -v
Homebrew 0.9.3
@funkylarma
funkylarma / gist:2027860
Created March 13, 2012 09:40
HTML: html5 starter
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Page Title</title>
<!-- Meta-data -->
<meta name="author" content="Adam Chamberlin">
// REQUIRED VARS. Defaults to a 950px wide, 24-column grid that has 30px wide units and 10px wide
// gutters. If you do the fluid grid, then this 950/24/30/10px size will become the maximum size.
$grid_type: fixed !default
$grid_columns: 24 !default
$grid_column_width: 30 !default
$grid_gutter_width: 10 !default
// GENERATED VARS. You can ignore these.
$grid_full_width: $grid_columns * $grid_column_width + $grid_columns * $grid_gutter_width - $grid_gutter_width
$grid_column_width_percent: ($grid_column_width / $grid_full_width * 100) * 1%