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
| #!/bin/bash | |
| if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
| appify v3.0.1 for Mac OS X - http://mths.be/appify | |
| Creates the simplest possible Mac app from a shell script. | |
| Appify takes a shell script as its first argument: | |
| `basename "$0"` my-script.sh |
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
| /*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
| that detects and handles AJAXed content. | |
| Usage example: | |
| waitForKeyElements ( | |
| "div.comments" | |
| , commentCallbackFunction | |
| ); |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| Task | Code |
|---|---|
| Change the background color of '#target' by script. | $('#target').css('background', 'blue'); |
| Change the text in the span, a child of '#target' | $('#target span').text('foo:bar'); |
| Create a clone of the span in '#target' and position it under the orgin. | $('#target span').clone().insertAfter('#target span'); |
| Change background color of the second of three '.target'. | $('.target').eq(1).css('background', 'blue'); |
| Disable the button | $('.target button').attr('disabled', 'disabled'); |
| Uncheck the boxes | $('.target input').removeAttr('checked'); |
| Move '#child' from '#parent1' to '#parent2' | $('#child').appendTo('#parent2'); |
| Make the textbox in '#target' read-only | $('#target input').attr('readonly', 'readonly') |
| //http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | |
| Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); |
| -480p - Run tenfoot in 480p rather than 1080p | |
| -720p - Run tenfoot in 720p rather than 1080p | |
| -accesscode - | |
| -all_languages - show longest loc string from any language | |
| -batterytestmode - rapidly cycle battery percentages for testing | |
| -bigpicture - Start in Steam Big Picture mode | |
| -blefw - | |
| -cafeapplaunch - Launch apps in a cyber cafe context | |
| -candidates - Show libjingle candidates for local connection as they are processed | |
| -ccsyntax - Spew details about the localized strings we load |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| // Use OpenGL 3.0+, but don't use GLU | |
| #define GLFW_INCLUDE_GL3 | |
| #define GLFW_NO_GLU | |
| #include <GL/glfw.h> | |
| #include <glm/glm.hpp> | |
| #include <glm/gtc/matrix_transform.hpp> | |
| #include <glm/gtc/type_ptr.hpp> | |
| extern "C" { |