Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Stefan Imhoff kogakure

🏠
Working from home
View GitHub Profile
View keybase.md

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 Jul 31, 2018
Customizations for www.styleurl.app via StyleURL.
View Stylefile.yml
---
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 Feb 19, 2018
Overriding prettier rules for specific file types
View .prettierrc.json
{
"singleQuote": true,
"trailingComma": "es5",
"overrides": [
{
"files": "**/*.css",
"options": {
"singleQuote": false
}
}
@kogakure
kogakure / article.md
Last active Mar 19, 2017
Hugo: Shortcode for loading Flickr images over JSON into blog post
View article.md
title date
How get Flickr images into Hugo
2016-09-03 14:15:19 +0200

{{% flickr_gallery "72157656063987631" %}}

View box-sizing.css
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
@kogakure
kogakure / index.html
Created Dec 28, 2016
Inline SVG Demo 2
View index.html
<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 Aug 1, 2016 — forked from zhoujiealex/gulpfile.js
sample of gulpfile.js for hexo generate blog, compress public files
View gulpfile.js
/* 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 Dec 18, 2019
Pure CSS multiline text with ellipsis
View gist:27b6e02034bae4ed7c70
/* 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 Feb 20, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
@mixin attention($self: false) {
@if($self != false) {
&,
&:hover,
&:active,
@kogakure
kogakure / .slate
Created Nov 10, 2014
Slate configuration
View .slate
# =============================================================================
# Configuration
# =============================================================================
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
config secondsBetweenRepeat 0.1
config checkDefaultsOnLoad true
config focusCheckWidthMax 3000
config windowHintsShowIcons true
You can’t perform that action at this time.