Skip to content

Instantly share code, notes, and snippets.

View vlafiser's full-sized avatar

Vlastimil Fiser vlafiser

View GitHub Profile
<div class="wrap">
<div class="box-wrap">
<div class="box">
<div class="inner">
<div class="left"></div>
<div class="right">
<div class="line line1"></div>
<div class="line line2"></div>
<div class="line line3">
<div class="dot dot1"></div>
.wrap {
display: flex;
align-items: center;
justify-content: center;
position: relative;
width: 300px;
margin: 0 auto;
//background: red;
overflow: hidden;
@vlafiser
vlafiser / anime-js-hover-effect.markdown
Created December 4, 2017 07:30
anime.js hover effect
# used by Git (commit messages, rebase, ...)
export EDITOR=vim
# GIT bash current branch
# by HABR (modified by Dundee)
export PSORIG="$PS1"
function GITBRANCH() {
BRANCH="$(git branch 2>/dev/null | grep '*' | cut -d" " -f2-)"
if [ -n "$BRANCH" ] ; then
export PS1=$PSORIG$(echo -en "\[\033[01;33m\]$BRANCH > \[\033[00m\]")
@vlafiser
vlafiser / gist:3972622
Created October 29, 2012 09:37 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt