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
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
'400x300' # resize, maintain aspect ratio | |
'400x300!' # force resize, don't maintain aspect ratio | |
'400x' # resize width, maintain aspect ratio | |
'x300' # resize height, maintain aspect ratio | |
'400x300>' # resize only if the image is larger than this | |
'400x300<' # resize only if the image is smaller than this | |
'50x50%' # resize width and height to 50% | |
'400x300^' # resize width, height to minimum 400,300, maintain aspect ratio | |
'2000@' # resize so max area in pixels is 2000 | |
'400x300#' # resize, crop if necessary to maintain aspect ratio (centre gravity) |
# api.rb | |
# | |
# Requirments: | |
# As a service resource | |
# I want to be able to make API requests in a consistent manner | |
# So that results are predicatble and easy to handle. | |
# | |
# Synopsis: | |
# This file sets up a Faraday engine to make HTTP requests with, | |
# and defines a number of helper methods to make API requests easy. |
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
/* | |
This script, when used with Google Apps Scripts, will delete 400 emails and | |
can be triggered to run every few minutes without user interaction enabling you | |
to bulk delete email in Gmail without getting the #793 error from Gmail. | |
Google returns a maximum of 500 email threads in a single API call. | |
This script fetches 400 threads in case 500 threads is causing timeouts | |
Configure the search query in the code below to match the type of emails | |
you want to delete |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
* * * * * /home/steve/power/price | /home/steve/power/write |