Remove all docker containers older than 7 days:
docker ps -a | awk '/[^1-7] days/ { system("docker rm "$1) }'
Remove docker images without a tag:
docker images | awk '/none/ { system("docker rmi "$3) }'
Remove all docker containers older than 7 days:
docker ps -a | awk '/[^1-7] days/ { system("docker rm "$1) }'
Remove docker images without a tag:
docker images | awk '/none/ { system("docker rmi "$3) }'
[x] I use the full SQS queue URL (it doesn't work with just the queue name)
[x] Verifying the SQS queue on Jenkins returns "Verified SQS Queue https://sqs.eu-west-1..."
[x] Jenkins successfully configures the SQS hook on github
[x] Testing the SQS hook on github returns "Test payload deployed!"
Reply from github support:
require 'delegate' | |
require 'faraday' | |
class ApiClient < SimpleDelegator | |
def initialize(args = {}) | |
args = defaults.merge(args) | |
@login = args.fetch(:login) | |
@password = args.fetch(:password) | |
I'm no audiophile, but the sound feels just right. The bass is crisp and smooth, never over-powering, the vocals are clear and pitch perfect, even on the highest volume. They are in the same league audio-quality wise as my former Sennheisers CX870, I honestly can't tell the difference between the two. As far as the MA450i are concerned though, they come with a remote and a mic which really grew on me. I didn't think they will be useful, but now they are my favourite feature. The remote in particular, which works perfectly on both iOS and OS X! When I cycle to work, sometimes I want to skip a track. It was quiet the mission before, now it's just click-click. When I'm using them with the computer, even though the volume control is on the keyboard, it feels a lot more natural to adjust it from the remote. I know, it sounds odd, but that's how well the whole package works.
The best part is the customer support. The braided fabric came loose from the ja
** Invoke default (first_time) | |
** Invoke compile (first_time) | |
** Execute compile | |
Compiling lib/capybara/poltergeist/client/agent.coffee | |
Compiling lib/capybara/poltergeist/client/browser.coffee | |
Compiling lib/capybara/poltergeist/client/connection.coffee | |
Compiling lib/capybara/poltergeist/client/main.coffee | |
Compiling lib/capybara/poltergeist/client/node.coffee | |
Compiling lib/capybara/poltergeist/client/web_page.coffee | |
** Invoke test (first_time) |
Calista ➜ gschef git:(master) ✗ traceroute gosquared.com | |
traceroute: Warning: gosquared.com has multiple addresses; using 50.17.236.226 | |
traceroute to gosquared.com (50.17.236.226), 64 hops max, 52 byte packets | |
1 my.router (192.168.1.1) 0.511 ms 0.300 ms 0.327 ms | |
2 10.224.208.1 (10.224.208.1) 28.147 ms 15.069 ms 6.602 ms | |
3 croy-core-1b-ge137.network.virginmedia.net (81.96.224.138) 7.778 ms 6.043 ms 5.871 ms | |
4 croy-core-2b-ae2-0.network.virginmedia.net (195.182.178.86) 6.757 ms 6.926 ms 7.766 ms | |
5 popl-bb-1b-ae10-0.network.virginmedia.net (81.96.226.5) 73.146 ms 5.996 ms 6.061 ms | |
6 tele-ic-5-ae0-0.network.virginmedia.net (213.105.159.117) 11.982 ms 5.834 ms 6.270 ms | |
7 equinix01-iad2.amazon.com (206.223.115.68) 97.550 ms 95.173 ms 96.490 ms |
# curl works fine | |
Calista ➜ api-docs git:(test-hooks) curl -I -X POST https://autobuild:secret@ci.gosquared.com/job/api-docs/build | |
HTTP/1.1 302 Found | |
Server: nginx | |
Date: Wed, 01 Aug 2012 15:50:16 GMT | |
Content-Length: 0 | |
Connection: keep-alive | |
Location: http://ci.gosquared.com/job/api-docs/ | |
X-Powered-By: Servlet/2.5 (Winstone/0.9.10) |
S3-backed proxies | |
FAIL (0:00:24.038) test_0001_https_static_gosquared_com_images_icons_144x144_png | |
Expected: "cloudflare-nginx" | |
Actual: "nginx" | |
@ (eval):8:in `must_equal' | |
test/nginx/s3_test.rb:7:in `block (2 levels) in <top (required)>' |
server { | |
... | |
# asset files (.css, .js, .png etc.) are not served correctly... | |
location /developer { | |
rewrite /(.*)/? /$1/index.html break; | |
root /mnt/www/docs/public; | |
} | |
# ... so they get a separate entry | |
# Being a more specific match, nginx uses this one for assets. |
redis 127.0.0.1:6379> zrevrange foo 0 -1 | |
1) "1570995626" | |
redis 127.0.0.1:6379> zrevrange foo 0 -1 WITHSCORES | |
1) "1570995626" | |
2) "1341396994" | |
# Why am I getting different results? |