As of July 2018, Raspbian does not yet include the latest Python release, Python 3.7.4. This means we will have to build it ourselves, and here is how to do it.
- Install the required build-tools (some might already be installed on your system).
| import tubes | |
| import numpy as np | |
| from matplotlib import pyplot | |
| import glob | |
| from os import path | |
| FILES = glob.glob(path.expanduser("~/src/data/ngrams/1gram/googlebooks*")) | |
| PYTHON_MATCH = '0' | |
| PASCAL_MATCH = '1' |
| #! /usr/bin/env python3 | |
| """Fixing bluetooth stereo headphone/headset problem in debian distros. | |
| Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
| Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
| This will be only fixes the bluez5 problem mentioned above . | |
| Licence: Freeware |
| # 10_basic.py | |
| # 15_make_soup.py | |
| # 20_search.py | |
| # 25_navigation.py | |
| # 30_edit.py | |
| # 40_encoding.py | |
| # 50_parse_only_part.py |
| # Taken from http://ae-book.appspot.com/static/pgae-ndb-20121009.pdf | |
| # Video at https://www.youtube.com/watch?v=xZsxWn58pS0#t=3184 | |
| ## Cursors | |
| # • Fetch results using an iterator, with cursors enabled: | |
| it = query.iter(produce_cursors=True) | |
| for result in it: # ... | |
| # • Test whether there’s another result: | |
| if it.has_next(): # ... | |
| if it.probably_has_next(): # ... |
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
| - url: /_ah/queue/deferred/.* | |
| script: google.appengine.ext.deferred.application |
The code and README has been moved: https://github.com/voscausa/appengine-gcs-blobstore-python
| @echo off | |
| :: Path to Sublime Text installation dir. | |
| SET stPath=%~dp0sublime_text.exe | |
| SET stPathOnly=%~dp0 | |
| :: Key name for the registry entries. | |
| SET UserEntry=Sublime Text | |
| SET AdminEntry=Sublime Text As Admin | |
| :: Context menu texts. | |
| SET "UserMenuText=Open with Sublime(&-)" | |
| SET "AdminMenuText=Open with Sublime As Admin(&+)" |