Skip to content

Instantly share code, notes, and snippets.

🤖
Working

Dominik Wilkowski dominikwilkowski

🤖
Working
View GitHub Profile
View git.md

delete pushed tag

git tag -d [tagname]
git push origin :refs/tags/[tagname]

delete latest pushed commit

View keybase.md

Keybase proof

I hereby claim:

  • I am dominikwilkowski on github.
  • I am wilkowskidom (https://keybase.io/wilkowskidom) on keybase.
  • I have a public key whose fingerprint is 3C52 8C05 96D9 F267 1FB5 B776 E8CD F623 8194 F13C

To claim this, I am signing this object:

@dominikwilkowski
dominikwilkowski / get-first-image.liquid
Created Feb 13, 2014
This snippet takes HTML content from the Shopify editor and parses out the first image in all sizes.
View get-first-image.liquid
{% comment %}
This snippet takes HTML content from the Shopify editor and parses out the first image in all sizes.
Usage:
{% include 'get-first-image' with page.content %}
Return:
{{ FirstImagePico }}
{{ FirstImageIcon }}
{{ FirstImageThumb }}
View Sticky-Footer.markdown
@dominikwilkowski
dominikwilkowski / navigation.liquid
Last active Oct 13, 2016
Jekyll automatic page navigation
View navigation.liquid
{% comment %}
This snippet spits out the HTML navigation derived from the front matter settings in your markdown files.
https://gist.github.com/dominikwilkowski/c7d916c9b36e4eebbc90
Usage:
{% include navigation.liquid %}
Return:
HTML direct output
@dominikwilkowski
dominikwilkowski / 010-constructor.js
Last active Jul 14, 2016
Javascript modulated setup for node ES6
View 010-constructor.js
/***************************************************************************************************************************************************************
*
* Application framework and settings
*
* [Description of application]
*
* @license [url] [description]
* @author [author] [@email]
* @repository [url]
*
@dominikwilkowski
dominikwilkowski / 010-app.js
Last active May 31, 2016
Javascript modulated setup
View 010-app.js
/***************************************************************************************************************************************************************
*
* App framework and settings
*
* [Description of application]
*
* @license [url] [description]
* @author [author & @email]
* @repository [url]
*
@dominikwilkowski
dominikwilkowski / jsonnav.html
Last active Aug 29, 2015
Jekyll data-driven navigation
View jsonnav.html
{% comment %}
This snippet checks the data "navigation.json" file for pages not included
Usage:
{% include jsonnav.html %}
Return:
HTML direct output
Required:
@dominikwilkowski
dominikwilkowski / .bash_profile
Last active Aug 29, 2015
My .bash_profile file
View .bash_profile
export PATH=/usr/local/bin:$PATH
# promt colors
export PS1="\[\033[0;32m\]\w \[\033[0;97m\]\$\[\033[0m\] "
# ls alias for color-mode
alias ls='ls -lhaG'
# cd up
alias ..='cd ..'
@dominikwilkowski
dominikwilkowski / Gruntfile.js
Last active Aug 29, 2015
Basic grunt setup
View Gruntfile.js
'use strict';
/*******************************************************************************************************
*
* FOLDER STRUCTURE
*
* dev // files in root just move to ./prod/ and *.html files will look for grunt-includes directives
* ├── HTMLincludes // HTML snippets included by grunt-includes
* └── windows.html
* ├── fonts // files will simply be moved to ./prod/fonts/
You can’t perform that action at this time.