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 / .bashrc
Created February 22, 2019 07:35
Simple bash settings for git bash
# -------------------------------------------------------------------
# Information
alias ll='ls -la'
alias version='java -version && mvn -version && git --version && node --version && npm version && ruby -v && gem li'
alias npmls='npm -g list -depth=0'
# Git Bash
alias update='git reset --hard && git pull'
alias amend='git add . && git commit --amend && git push'
@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 / .sytlelintrc.js
Created December 29, 2017 07:51
Stylelint Settings
module.exports = {
extends: [
'stylelint-config-recommended',
'stylelint-config-recommended-scss'
],
plugins: ['stylelint-order'],
rules: {
'indentation': 2,
'no-eol-whitespace': true,
'color-named': 'never',
@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
//