Skip to content

Instantly share code, notes, and snippets.

@mikowl
mikowl / gulpfile.js
Last active August 4, 2017 22:32
My Gulpfile
/* ==========================================================================
Dependencies
========================================================================== */
var gulp = require('gulp'),
clean = require('gulp-clean'),
uglify = require('gulp-uglify'),
imagemin = require('gulp-imagemin'),
autoprefixer = require('gulp-autoprefixer'),
concat = require('gulp-concat'),
@mikowl
mikowl / gist:7bd04ab0b49d7250c2ff
Last active November 13, 2018 19:14
My gulpefile.js
/* ==========================================================================
Dependencies
Installation Instructions:
$ npm init
$ npm install gulp-clean gulp-uglify gulp-imagemin gulp-autoprefixer gulp-concat gulp-rename gulp-ruby-sass gulp-minify-css gulp-notify gulp-cache gulp-plumber tiny-lr gulp-livereload --save-dev
$ gulp
========================================================================== */
var gulp = require('gulp'),
clean = require('gulp-clean'),
@mikowl
mikowl / gulpfile.js
Last active November 14, 2018 17:09
Simple gulpfile for WP theme
/* ==========================================================================
Dependencies
========================================================================== */
var gulp = require('gulp'),
clean = require('gulp-clean'),
uglify = require('gulp-uglify'),
autoprefixer = require('gulp-autoprefixer'),
concat = require('gulp-concat'),
rename = require('gulp-rename'),
@mikowl
mikowl / package.json
Created November 13, 2018 19:58
package.json example for gulp
{
"name": "ME",
"version": "1.0.0",
"private": true,
"description": "Website name",
"main": "gulpfile.js",
"author": "Michael Elias",
"devDependencies": {
"gulp": "^3.9.1",
"gulp-autoprefixer": "^6.0.0",
@mikowl
mikowl / .bash_profile
Last active April 6, 2019 00:05
My bash_profile
# My Aliases
alias atom='open -a "Atom"'
alias brofile='open ~/.bash_profile'
alias chrm='open -a /Applications/Google\ Chrome.app'
alias tree='tree -I ".sass-cache|node_modules"'
alias ghd='open -a "/Applications/GitHub Desktop.app"'
alias flush="dscacheutil -flushcache && killall -HUP mDNSResponder"
alias getpath='pwd | tr -d "\r\n" | pbcopy'
alias getwp='curl -O https://wordpress.org/latest.zip && unzip latest.zip && rm latest.zip'
@mikowl
mikowl / .hyper.js
Created November 17, 2018 01:30
My hyper.js settings
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 14,
// font family with optional fallbacks
fontFamily: '"Source Code Pro", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// default font weight: 'normal' or 'bold'
fontWeight: 'normal',
@mikowl
mikowl / .zshrc
Last active April 23, 2019 02:04
My .zshrc powerline9k config
export TERM="xterm-256color"
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
KEYTIMEOUT=1
ZSH_THEME="powerlevel9k/powerlevel9k"
@mikowl
mikowl / myaliases.plugin.zsh
Last active October 23, 2024 21:50
My bash/zsh aliases
# My aliases
# Easier navigation
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
# ls stuff, most are set in lib/directories.zsh
# I use lsd (https://github.com/Peltoche/lsd) for certain listings
@mikowl
mikowl / Solarizsh9k.terminal
Last active April 12, 2019 20:49
My terminal profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGKyxYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKcHCBMZHSQoVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NPECUwLjEyNDczNTg3
NDQgMC4xMjk5Nzk1MTQ0IDAuMTY0Njg3NSAxTxApMC4wOTQ0NzczNDgwMyAwLjA5NzI0
@mikowl
mikowl / .vimrc
Last active July 15, 2020 16:51
My vim config
set encoding=utf8
set nocompatible
" Plugins
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-markdown'
Plug 'tpope/vim-speeddating'