Skip to content

Instantly share code, notes, and snippets.

View superfine's full-sized avatar
🥳
"my github account is full of empty repositories with good intentions" (@kvlly)

Patrick Laubner superfine

🥳
"my github account is full of empty repositories with good intentions" (@kvlly)
View GitHub Profile
@superfine
superfine / .gitconfig
Created December 5, 2023 21:25 — forked from bsara/.gitconfig
Standard .gitconfig sections
[branch]
autosetuprebase = always
[core]
autocrlf = false
ignorecase = false
[push]
default = simple
[pull]
default = simple
@superfine
superfine / git-ssh-auth-win-setup.md
Created December 5, 2023 21:25 — forked from bsara/git-ssh-auth-win-setup.md
Setup SSH Authentication for Git Bash on Windows

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config
@superfine
superfine / pure_html_css_modal.css
Created April 30, 2019 15:16 — forked from calebporzio/pure_html_css_modal.css
The CSS for the pure HTML/CSS modal I tweeted about.
details summary {
cursor: pointer;
outline: none !important;
display: inline-block;
padding: 8px 12px;
padding-top: 10px;
border-radius: 4px;
overflow: hidden;
background: #F09825;
color: white;
@superfine
superfine / ReadmeDrivenDevelopment.md
Last active April 16, 2019 12:47 — forked from stefanbirkner/ReadmeDrivenDevelopment.md
Readme Driven Development

Readme Driven Development

Problem

Build software that helps people.

Solution

// " Make IE Better Compatible "
// IE CSS Hacks All - IE6, 7, 8, 9, 10, 11, Edge
// <!--[if IE]>
// <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
// <![endif]-->
// ==================
// IE6 Only
// ==================
@superfine
superfine / is_installed.sh
Created February 19, 2018 16:19 — forked from JamieMason/is_installed.sh
Check if a program exists from a bash script.Thanks to twitter.com/joshnesbitt and twitter.com/mheap for the help with detecting npm packages.
#!/bin/bash
# Functions ==============================================
# return 1 if global command line program installed, else 0
# example
# echo "node: $(program_is_installed node)"
function program_is_installed {
# set to 1 initially
local return_=1
@superfine
superfine / _usage.scss
Last active January 8, 2018 13:46 — forked from stowball/_usage.scss
Recursive z-index management
$z-indexes: (
main: (
above-inherit: (),
nested: (
low,
middle,
high
),
tooltip: ()
),
@superfine
superfine / SassMeister-input.scss
Created December 29, 2017 07:44
Precise control over responsive typography for Sass
// ----
// libsass (v3.3.6)
// ----
// =========================================================================
//
// PRECISE CONTROL OVER RESPONSIVE TYPOGRAPHY FOR SASS
// ---------------------------------------------------
// Indrek Paas @indrekpaas
//
@superfine
superfine / README.md
Created October 26, 2017 21:49 — forked from addyosmani/README.md
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

@superfine
superfine / nuke.scss
Created October 21, 2017 05:27 — forked from JamieMason/nuke.scss
nuke.scss
a, abbr, acronym, address, applet, area, article, aside, audio, b, base,
basefont, bdi, bdo, bgsound, big, blink, blockquote, body, br, button, canvas,
caption, center, cite, code, col, colgroup, content, data, datalist, dd, del,
details, dfn, dir, div, dl, dt, em, embed, fieldset, figcaption, figure, font,
footer, form, frame, frameset, h1, h2, h3, h4, h5, h6, head, header, hgroup, hr,
html, i, iframe, img, input, ins, isindex, kbd, keygen, label, legend, li, link,
listing, main, map, mark, marquee, menu, menuitem, meta, meter, nav, nobr,
noframes, noscript, object, ol, optgroup, option, output, p, param, plaintext,
pre, progress, q, rp, rt, ruby, s, samp, script, section, select, shadow, small,
source, spacer, span, strike, strong, style, sub, summary, sup, table, tbody,