Skip to content

Instantly share code, notes, and snippets.

View sandman21dan's full-sized avatar

Daniel Perez sandman21dan

  • ComplyAdvantage
View GitHub Profile
@sandman21dan
sandman21dan / expand.css
Created November 2, 2017 10:48
Css height expand animation
@keyframes height-expand {
0% {
opacity: 0;
transform: translateY(-4px);
}
100% {
opacity: 1;
}
}
@sandman21dan
sandman21dan / .tmux.conf
Last active June 12, 2018 13:47
Terminal Config Files
# Use zsh as default shell
set-option -g default-shell /usr/local/bin/zsh
# Use vim keybindings in copy mode
set-window-option -g mode-keys vi
# Vim like pane switching
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
(function() {
'use strict';
angular
.module('appName')
.filter('splitCamelCase', splitCamelCase);
function splitCamelCase() {
return splitCamelCaseFilter;
@sandman21dan
sandman21dan / title-case-filter.js
Last active April 29, 2016 09:53 — forked from jeffjohnson9046/title-case-filter.js
A title-case filter for AngularJs
(function() {
'use strict';
angular
.module('appName')
.filter('titlecase', titlecase);
function titlecase() {
return function (input) {
var smallWords = /^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;