Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
| <uses-permission android:name="android.permission.INTERNET"/> | |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| #!/bin/sh | |
| SOC_USB=/sys/devices/platform/soc/20980000.usb | |
| if [ ! -d $SOC_USB ]; | |
| then | |
| SOC_USB=/sys/devices/platform/soc/3f980000.usb # Raspberry Pi 3 | |
| fi | |
| BUSPOWER=$SOC_USB/buspower |
| /* Set up Git Configuration */ | |
| git config --global user.email "you@yourdomain.com" | |
| git config --global user.name "Your Name" | |
| git config --global core.editor "vi" | |
| git config --global color.ui true |
| ######################### | |
| # .gitignore file for Xcode4 and Xcode5 Source projects | |
| # | |
| # Apple bugs, waiting for Apple to fix/respond: | |
| # | |
| # 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? | |
| # | |
| # Version 2.3 | |
| # For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
| # |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <div> |
| # -*- coding: utf-8 -*- | |
| from django.contrib.auth.decorators import login_required | |
| from django.utils.cache import patch_response_headers | |
| from django.utils.decorators import method_decorator | |
| from django.views.decorators.cache import cache_page, never_cache | |
| from django.views.decorators.csrf import csrf_exempt | |
| class NeverCacheMixin(object): | |
| @method_decorator(never_cache) |
| Name.objects.exclude(alias__isnull=True).exclude(alias__exact='') |
Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
Base URL: http://translate.google.com/translate_tts
It converts written words into audio. It accepts GET requests.
q
The query string to convert to audio
tl
Translation language, for example, ar for Arabic, or en-us for English
| cd ~ | |
| sudo apt-get update | |
| sudo apt-get install openjdk-7-jre-headless -y | |
| ### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below | |
| # NEW WAY / EASY WAY | |
| wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.deb | |
| sudo dpkg -i elasticsearch-1.0.1.deb |