$ git reset HEAD~1
$ git push origin +HEAD
10/31/2016
react-text: 46 The hapi framework ecosystem has been pretty quiet lately. With all the community changes around other frameworks (express, restify) and the lack of splashy new hapi releases, I've been asked about the longevity and direction of hapi. This conversation will address these questions as well as answer any roadmap related questions you might have. /react-text react-text: 47 /react-text react-text: 48 I will also discuss how the framework is being maintained post-Walmart, what kind of contributions are needed, and look into the future as people and companies still rely on the framework for their critical infrastructure. /react-text
$ license-checker --exclude 'MIT, MIT OR X11, BSD, ISC, BSD-3-Clause, Unlicense, Apache-2.0, CC-BY-3.0' |
## | |
# FINDER SPECIFIC | |
## | |
alias show-files='defaults write com.apple.finder AppleShowAllFiles YES; | |
killall Finder /System/Library/CoreServices/Finder.app' # show hidden files in Finder | |
alias hide-files='defaults write com.apple.finder AppleShowAllFiles NO; | |
killall Finder /System/Library/CoreServices/Finder.app' # hide hidden files in Finder | |
## | |
# SHELL SPECIFIC | |
## |
# one or the other, NOT both | |
[url "https://github"] | |
insteadOf = git://github | |
# or | |
[url "[email protected]:"] | |
insteadOf = git://github |
Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.
The basic idea is that C:\Program Files\Git\mingw64\
is your /
directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git
, the mingw64
in this directory is your root. Find it by using pwd -W
).
If you go to that directory, you will find the typical linux root folder structure (bin
, etc
, lib
and so on).
If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so
docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt |
These are generic npm scripts that you can copy & paste into your package.json
file as-is and get access to convinience scripts to manage your Docker images all in one place.
Looking for npm scripts for AWS ECS? Go here!
Watch the video: Do More With Less JavaScript
docker pull duluca/minimal-nginx-web-server
docker pull duluca/minimal-node-web-server
# delete local tag | |
git tag -d tagName | |
# delete remote tag | |
git push origin :refs/tags/tagName | |
# or | |
git push --delete origin tagName |
## | |
# POWERSHELL SPECIFIC | |
## | |
Set-Alias clr clear # slight contraction of clear command | |
function brc { Start notepad "C:\Users\kzimmerman012\Documents\PowerShell\profile.ps1" } # for editing this file | |
function Reload-PowerShell { Start-Process pwsh; exit } # reload PowerShell Core | |
Set-Alias relo Reload-PowerShell | |
function lw { dir | fw } # wide listing | |
function up { cd .. } # better back | |
function rmraf { Remove-Item -Recurse -Force $args[0] } |