- useful functions, applicable when using a groupby,
AVG(*)
min(*) max(*)
count(*)
- conversions
from_unixtime()
AVG(*)
min(*) max(*)
count(*)
from_unixtime()
* great tool! | |
https://github.com/rkern/line_profiler |
python -m trace --trace YOURSCRIPT.py
export PS1="\e[0;36mblah\e[m \$"
# common | |
local_port=55432 | |
destination_port=5432 | |
# | |
db=blahblah.rds.amazonaws.com | |
tunnel_box=my-tunnel-box-blah | |
echo "Run tunnel on ${local_port}:${db}:${destination_port} on \"${tunnel_box}\"." | |
ssh -N -L ${local_port}:${db}:${destination_port} ${tunnel_box} |
license: apache-2.0 |