Skip to content

Instantly share code, notes, and snippets.

💭
Dreaming in elixir-lang

Bryan DwordPtr

💭
Dreaming in elixir-lang
View GitHub Profile
@DwordPtr
DwordPtr / curl.md
Created Jul 11, 2019 — forked from subfuzion/curl.md
curl POST examples
View curl.md

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 Apr 9, 2019 — forked from zchee/actionlist.vim
IdeaVim actionlist
View actionlist.vim
--- 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>
View gist:2696f889ec5cf4ff865ff31934a72535
#make sure ssh-agent is installed on your machine
if [ -z $SSH_AUTH_SOCK ] ; then
eval `ssh-agent`
ssh-add ~/.ssh/id_rsa
fi
View git_aliases.sh
#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 Sep 26, 2017
Basic .gitignore for spring-boot projects
View .gitignore
target/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
You can’t perform that action at this time.