Skip to content
View namgivu's full-sized avatar

Block or report namgivu

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. pytest-start pytest-start Public

    Python 3

  2. increase mymory by swap file increase mymory by swap file
    1
    # ref. https://askubuntu.com/a/1075516/22308
    2
    
                  
    3
    sudo swapoff /swapfile # make all swap off
    4
    sudo rm -rf /swapfile # remove the current
    5
    
                  
  3. test psql at specific ip:port test psql at specific ip:port
    1
    # ref. https://stackoverflow.com/a/59657648/248616
    2
    echo 'QUIT' | nc -w SECONDS YOUR_HOST PORT; echo $?
    3
    # eg
    4
    echo 'QUIT' | nc -w 1       localhost 5432; echo $?
  4. install-pipenv-w-pyenv-at-python-3.6... install-pipenv-w-pyenv-at-python-3.6.x.sh
    1
    #!/bin/bash
    2
    
                  
    3
    _='run the below scripts line by line not run the whole as a batch file';
    4
    _='gist github ref. bit.ly/nnpipenv';
    5
    
                  
  5. Multi-line bash command Multi-line bash command
    1
    echo `cat << EOF
    2
        line 1
    3
        line 2
    4
    EOF`
    5
  6. falcon-start falcon-start Public

    1