Skip to content

Instantly share code, notes, and snippets.

View DwordPtr's full-sized avatar
💭
Dreaming in elixir-lang

Bryan DwordPtr

💭
Dreaming in elixir-lang
  • Cool consulting co
  • Middle TN
View GitHub Profile
@DwordPtr
DwordPtr / curl.md
Created July 11, 2019 20:37 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@DwordPtr
DwordPtr / actionlist.vim
Created April 9, 2019 22:16 — forked from zchee/actionlist.vim
IdeaVim actionlist
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>
#make sure ssh-agent is installed on your machine
if [ -z $SSH_AUTH_SOCK ] ; then
eval `ssh-agent`
ssh-add ~/.ssh/id_rsa
fi
@DwordPtr
DwordPtr / git_aliases.sh
Created December 21, 2017 03:16
my git aliases
#git aliases
alias grset='git reset HEAD --hard'
alias lsha="git log -1 | top | awk '{print $2}'"
alias sb='git rev-parse --abbrev-ref HEAD'
function git_add_tracked(){
if [[ $# -eq 0 ]] ; then
git ls-files --modified | xargs git add
else
git ls-files --modified | grep "$@" | xargs git add
@DwordPtr
DwordPtr / .gitignore
Created September 26, 2017 19:28
Basic .gitignore for spring-boot projects
target/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans