- Official Python Job Board https://www.python.org/jobs/
-
pycoders newsletter job board: http://www.pythonjobshq.com
-
Python Jobs http://www.pythonjobs.com
pycoders newsletter job board: http://www.pythonjobshq.com
Python Jobs http://www.pythonjobs.com
| import base64 | |
| import hashlib | |
| import hmac | |
| from urllib import urlencode | |
| HOSTNAME = 'http://publishing-api.singleplatform.com' | |
| SIGNING_KEY='YOUR_SIGNING_KEY' | |
| CLIENT_ID='YOUR_CLIENT_ID' |
| <!-- This is the HTML element that, when clicked, will cause the popup to appear. --> | |
| <button id="open-popup">Subscribe to our mailing list</button> |
| import code; code.interact(local=dict(globals(), **locals())) |
| function sendmail() { | |
| subject=$1 | |
| message=$2 | |
| /usr/bin/curl -XPOST | |
| --data-urlencode "api_user=$API_USER" \ | |
| --data-urlencode "api_key=$API_KEY"\ | |
| --data-urlencode "to=$EMAIL" \ | |
| --data-urlencode "subject=$subject" \ | |
| --data-urlencode "text=$message" \ |
| Alerts | |
| ====== | |
| [stag_alert style="white"]Your Alert![/stag_alert] | |
| Styles: white, grey, red, yellow, green, blue | |
| Buttons | |
| ======= |
| $("#selectBox").append('<option value="option6">option6</option>'); |
| tell application "System Events" | |
| tell process "Finder" | |
| if window 1 exists then | |
| tell application "Finder" | |
| set thePath to get quoted form of POSIX path of (target of front Finder window as text) | |
| return "cd " & thePath & return | |
| end tell | |
| else | |
| display alert "Finder doesn't have a window open." as warning giving up after 2 | |
| end if |
| #!/usr/bin/python | |
| # coding: utf-8 | |
| import json | |
| class JSONResponseMixin(object): | |
| """ | |
| A mixin that can be used to render a JSON response. | |
| """ |
| # YOU NEED TO INSERT YOUR APP KEY AND SECRET BELOW! | |
| # Go to dropbox.com/developers/apps to create an app. | |
| app_key = 'YOUR_APP_KEY' | |
| app_secret = 'YOUR_APP_SECRET' | |
| # access_type can be 'app_folder' or 'dropbox', depending on | |
| # how you registered your app. | |
| access_type = 'app_folder' |