Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Erik Terwan terwanerik

I may be slow to respond.
View GitHub Profile
View StringHelper.php
* Made by Erik Terwan
* All rights reserved
* Created on 2019-03-26
terwanerik / Vue component
Created Apr 16, 2018
Vue component file template for PHPStorm/WebStorm/IntelliJ
View Vue component
#set( $regex = "([a-z])([A-Z]+)")
#set( $replacement = "$1-$2")
#set( $COMPONENT_NAME_KEBAB = $COMPONENT_NAME.replaceAll($regex, $replacement).toLowerCase())
<div class="$COMPONENT_NAME">
<script type="text/babel">
terwanerik / DateFlowLayout.h
Created Dec 19, 2016 — forked from vigorouscoding/DateFlowLayout.h
UICollectionView with sticky headers which works for horizontal as well as vertical scrolling
View DateFlowLayout.h
#import <UIKit/UIKit.h>
@interface DateFlowLayout : UICollectionViewFlowLayout