Skip to content

Instantly share code, notes, and snippets.

@diomededavid
diomededavid / .bashrc
Created May 14, 2018 01:14
Bash Profile
alias bprofile='nano ".bash_profile"'
alias checkoutdevelopall='ls | xargs -P10 -I{} git -C {} checkout develop'
alias debug='open /Users/daviddiomede/Sites/VVV/www/fansidedblogs.test/htdocs/wp-content/debug.log'
alias devall='ls | xargs -P10 -I{} git -C {} checkout develop'
alias dke='docker exec -i -t'
alias dkls='docker images'
alias dkps='docker ps -a'
alias flushdns='sudo dscacheutil -flushcache'
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'
alias hidefiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'
@diomededavid
diomededavid / package.json
Created February 4, 2018 07:15
Create react app with sass configuration
{
"name": "popular-discussions-react",
"version": "0.1.0",
"private": true,
"dependencies": {
"node-sass-chokidar": "^0.0.3",
"npm-run-all": "^4.1.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-scripts": "1.1.0",
@diomededavid
diomededavid / droplet.css
Last active March 15, 2016 22:51 — forked from vindia/droplet.css
CSS 3 Water Droplet
body { padding: 4em; }
#droplet {
background-color: lightblue;
width: 150px;
height: 150px;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 75px;
-webkit-border-bottom-right-radius: 75px;
-webkit-border-bottom-left-radius: 75px;
-webkit-transform:rotate(45deg);
@diomededavid
diomededavid / .bash_profile
Created November 22, 2015 01:38 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management