Skip to content

Instantly share code, notes, and snippets.

View kogakure's full-sized avatar
🏠
Working from home

Stefan Imhoff kogakure

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kogakure on github.
  • I am kogakure (https://keybase.io/kogakure) on keybase.
  • I have a public key ASD10xwjUmtKK5ponrhVnoCSbQQNKwT_wvpszotYnHOmigo

To claim this, I am signing this object:

@kogakure
kogakure / Stylefile.yml
Created July 31, 2018 09:54
Customizations for www.styleurl.app via StyleURL.
---
version: 1.0
domains:
- www.styleurl.app
url_patterns:
- www.styleurl.app/*
timestamp: '2018-07-31T09:54:39Z'
id: lF87
redirect_url: https://www.styleurl.app/
shared_via: StyleURL - (https://styleurl.app) import and export CSS changes from Chrome
@kogakure
kogakure / .prettierrc.json
Created February 19, 2018 16:11
Overriding prettier rules for specific file types
{
"singleQuote": true,
"trailingComma": "es5",
"overrides": [
{
"files": "**/*.css",
"options": {
"singleQuote": false
}
}
@kogakure
kogakure / article.md
Last active March 19, 2017 16:35
Hugo: Shortcode for loading Flickr images over JSON into blog post
title date
How get Flickr images into Hugo
2016-09-03 14:15:19 +0200

{{% flickr_gallery "72157656063987631" %}}

@kogakure
kogakure / box-sizing.css
Created February 25, 2017 10:20
CSS: box-sizing
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
@kogakure
kogakure / index.html
Created December 28, 2016 21:31
Inline SVG Demo 2
<main class="Demo bg-image">
<div class="Modal">
<h2>Sign In</h2>
<form class="Form">
<label class="Label">
<input class="Input" type="text"
placeholder="Username" name="username"
required minlength="4">
@kogakure
kogakure / gulpfile.js
Created August 1, 2016 11:19 — forked from zhoujiealex/gulpfile.js
sample of gulpfile.js for hexo generate blog, compress public files
/* Refrences:
1. http://notes.iissnan.com/2016/publishing-github-pages-with-travis-ci
2. https://github.com/chrisjlee/hexo-theme-zurb-foundation/blob/e82f45a82bbaaee063bcb1298cd9793575afb142/gulpfile.js
3. https://github.com/gulpjs/gulp/blob/master/docs/recipes/delete-files-folder.md
4. https://hexo.io/api/
5. https://github.com/iissnan/theme-next-docs/blob/master/.travis.yml
*/
var gulp = require('gulp');
var minifycss = require('gulp-clean-css');
@kogakure
kogakure / gist:27b6e02034bae4ed7c70
Last active December 18, 2019 15:00
Pure CSS multiline text with ellipsis
/* http://martinwolf.org/2013/01/29/pure-css-multiline-text-with-ellipsis/ */
$font-size: 26px;
$line-height: 1.4;
$lines-to-show: 3;
h2 {
display: block; /* Fallback for non-webkit */
display: -webkit-box;
max-width: 400px;
@kogakure
kogakure / SassMeister-input.scss
Created February 20, 2015 11:53
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
@mixin attention($self: false) {
@if($self != false) {
&,
&:hover,
&:active,
@kogakure
kogakure / .slate
Created November 10, 2014 09:22
Slate configuration
# =============================================================================
# Configuration
# =============================================================================
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
config secondsBetweenRepeat 0.1
config checkDefaultsOnLoad true
config focusCheckWidthMax 3000
config windowHintsShowIcons true