Skip to content

Instantly share code, notes, and snippets.

{% set payload = {frontmatter: page.header, content: page.content} %}
{{ payload|json_encode|raw }}

Keybase proof

I hereby claim:

  • I am akoebbe on github.
  • I am akoebbe (https://keybase.io/akoebbe) on keybase.
  • I have a public key ASD1--rfCbUDj7EjJnB0XYVLOhPgCXgs580Gg3aYhmg5cwo

To claim this, I am signing this object:

@akoebbe
akoebbe / num.php
Last active November 16, 2015 16:27
<?php
pc_permute(array(1, 2, 3, 4, 5, 6, 7, 8, 9));
function pc_permute($items, $perms = array( )) {
if (empty($items)) {
if(check($perms)) {
print implode('',$perms);
exit();
}
} else {
@akoebbe
akoebbe / SassMeister-input.scss
Created April 14, 2015 15:05
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$green: #aaa;
span {
$green: #bbb;
color: $green;
@akoebbe
akoebbe / gist:80735d0e84852cf5b924
Last active August 29, 2015 14:18
Varnish on Nginx Sandwich Config
// Varnish config for my SSL Nginx -> Varnish -> Nginx -> PHP-FPM stack
acl upstream_proxy {
"127.0.0.1";
}
backend default {
.host = "127.0.0.1";
.port = "8000";
}
@akoebbe
akoebbe / SassMeister-input-HTML.html
Last active May 31, 2019 14:51
Generated by SassMeister.com.
<div class="shiny">Here's some copy</div>
@akoebbe
akoebbe / SassMeister-input-HTML.html
Last active May 30, 2019 18:33
Generated by SassMeister.com.
<div class="swatch primary"></div>
<div class="swatch primary-dim"></div>
<div class="swatch primary-bright"></div>
<div class="swatch secondary"></div>
<div class="swatch tertiary"></div>
<div class="swatch primary-gradient"></div>
@akoebbe
akoebbe / SassMeister-input-HTML.html
Last active May 30, 2019 18:32
Generated by SassMeister.com.
<div class="message">
Here is an important message!
</div>
<div class="message-error">
Here is an important message!
</div>