Skip to content

Instantly share code, notes, and snippets.

View jesinity's full-sized avatar
🏠
Working from home

jesinity jesinity

🏠
Working from home
  • Genova , Milano , Italy
View GitHub Profile
export PS1="\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;13m\]@\[$(tput sgr0)\]\[\033[38;5;10m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;13m\]{\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;14m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;13m\]=>\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"
export CLICOLOR=1
export LSCOLORS="Gxfxcxdxbxegedabaggdgd"
#maven and sbt
alias mvncleaninstall='mvn clean install -DskipTests=true'
alias sbttar='sbt clean package universal:packageZipTarball'
@jesinity
jesinity / SimpleHTTPServerWithUpload.py
Last active February 19, 2018 12:13 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
##################################################################################
#
# example file upload : curl -X POST -F file=@./my_file.txt http://<host-ip>:8000
#
##################################################################################
"""Simple HTTP Server With Upload.