Skip to content

Instantly share code, notes, and snippets.

View kraftner's full-sized avatar

Thomas Kräftner kraftner

View GitHub Profile
@kraftner
kraftner / package.json
Created August 17, 2021 11:47
TypeError: Cannot read property 'insertAfter' of undefined
{
"name": "css-declaration-sorter-issue-170",
"version": "1.0.0",
"description": "",
"scripts": {
"build": "mix --production"
},
"author": "",
"license": "ISC",
"dependencies": {},
@kraftner
kraftner / custom_keys_git_ssh
Created August 7, 2020 14:43 — forked from vhermecz/custom_keys_git_ssh
Allow configuring multiple ssh deploy keys with git
#!/bin/bash
# Script to use custom ssh keys for various git repositories
# Run without arguments to get usage info.
#
# How it works:
# When used with SSH, git sends the path to the repository in the SSH command.
# @see: https://github.com/git/git/blob/e870325/connect.c#L1268
# We extract this info and search for a key with the name.
# Based on the source, this seems to be used format since v2.0 at least.
# @see: https://github.com/git/git/commit/a2036d7
@kraftner
kraftner / index.html
Last active January 26, 2016 10:10
NoScript Debug Inside Animation
<!DOCTYPE html>
<meta charset="utf-8">
<style>
* {
margin:0;
padding:0;
}
path:first-child {
fill: #2d2d2a !important;
}
@kraftner
kraftner / index.html
Created January 22, 2016 16:26
NoScript Debug Inside
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<style class="cp-pen-styles">
#back {
width: 100vw;
height: 100vh;
}
</style>
</head>
@kraftner
kraftner / index.html
Last active January 26, 2016 10:13
NoScript Debug
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<style class="cp-pen-styles">
#back {
width: 100vw;
height: 100vh;
}
#iframe {
@kraftner
kraftner / README.md
Last active January 26, 2016 14:51 — forked from mbostock/.block
Voronoi Tessellation
@kraftner
kraftner / gist:84bc3f9cc938d157ba29
Last active October 7, 2015 13:41
wordpress-seo_add_to_focus_keyword_test.js
;(function (){
if(typeof window.ystTestFocusKw === 'undefined'){
return;
}
/**
* Backups the original function
* @type {function}
*/
var ystTestFocusKw_original = window.ystTestFocusKw;
@kraftner
kraftner / example.html
Created May 29, 2013 12:35
Sass Mixins for row dividers in a fully fluid multi-row grid layout that support variable element height and count. Blog-Post: http://kraftner.com/en/blog/responsive-dividers-sass-mixins/
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Responsive Dividers</title>
<style type="text/css">
/* Demo Styling */
*{
margin:0;