Windows Service with Python 3.5 and pyinstaller
- Python 3.5.x
- Visual C++ Build Tools 2015
- PyInstaller 3.2
| REMOTE=origin | |
| BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
| BATCH_SIZE=10 | |
| # check if the branch exists on the remote | |
| # if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then | |
| # # if so, only push the commits that are not on the remote already | |
| # range=$REMOTE/$BRANCH..HEAD | |
| # else | |
| # # else push all the commits |
Windows Service with Python 3.5 and pyinstaller
| """ | |
| Physics simulation with PyODE followed by a (basic) rendering with Vapory | |
| See the result here: http://i.imgur.com/TdhxwGz.gifv | |
| Zulko 2014 | |
| This script is placed in the Public Domain (Licence Creative Commons 0) | |
| """ |
| wget -O - http://curl.haxx.se/ca/cacert.pem | awk 'split_after==1{n++;split_after=0} /-----END CERTIFICATE-----/ {split_after=1} {print > "cert" n ".pem"}' |
| import itertools | |
| def lowpass(img): | |
| """ | |
| A simple pure python low pass (antialiasing) filter. | |
| Applies a gaussian blur on a 2D list of floats. | |
| """ | |
| width = len(img[0]) | |
| height = len(img) |
| drush user-create adminuser --mail="[email protected]" --password="UserPw"; drush user-add-role "administrator" adminuser |