This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- PostgreSQL database dump | |
-- | |
-- Dumped from database version 10.3 (Ubuntu 10.3-1.pgdg16.04+1) | |
-- Dumped by pg_dump version 10.3 (Ubuntu 10.3-1.pgdg16.04+1) | |
SET statement_timeout = 0; | |
SET lock_timeout = 0; | |
SET idle_in_transaction_session_timeout = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Originally part of vpnc source code: | |
# © 2005-2012 Maurice Massar, Jörg Mayer, Antonio Borneo et al. | |
# © 2009-2012 David Woodhouse <dwmw2@infradead.org> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@saio:/opt/go/src/github.com/openstack/swift/go# make get test all | |
go get -t ./... | |
go vet ./... | |
go test -cover ./... | |
? github.com/openstack/swift/go/bench [no test files] | |
? github.com/openstack/swift/go/client [no test files] | |
? github.com/openstack/swift/go/cmd [no test files] | |
ok github.com/openstack/swift/go/hummingbird 4.325s coverage: 62.1% of statements | |
ok github.com/openstack/swift/go/middleware 0.009s coverage: 82.7% of statements | |
ok github.com/openstack/swift/go/objectserver 3.399s coverage: 71.0% of statements |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copied for updates/additions from this Chrome extension (highly recommended): | |
* "Smooth Scroll Sucks" (vong.io) | |
* https://chrome.google.com/webstore/detail/smooth-scroll-sucks/bpbeihnjhalcfmjbcdafhdmcedknoflm | |
* | |
* If you're a UX terrorist who thinks it's "super cool" or "totally sweet" to | |
* to hijack the scrollwheel/trackpad to make things horrifically slow: stop. | |
* Just stop it with that shit. This is not good behavior. Your site actually | |
* provides the perceived feedback of a pile of mayonnaise slowly sliding down | |
* the edge of the world's largest turd. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting with keystonemiddleware v4.5.0 (specifically, commit | |
f54ff06c1f5e274ea31ffac5faf1f57557fe586a), if a token is found to be cached but | |
is cached with an invalid state, the middleware attempts to log a debug message | |
indicating as much. However, the logger it references does not exist and | |
results in an AttributeError. As a result, this yields HTTP 500 responses once | |
the invalid token gets cached, rather than 401s. | |
To reproduce (in my case, with Swift using keystonemiddleware in the pipeline): | |
1. As expected, this fails with a 401: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## swift-ecdeps-osx.sh | |
## https://gist.github.com/briancline/364d539e0e230b92adae | |
## | |
## This script is meant to be used on OSX as a quick and easy way to download, | |
## build, and install gf-complete, Jerasure, and liberasurecode to any prefix | |
## path you specify. These are typically what you may want if you're working | |
## with OpenStack Swift for a quick and dirty EC-friendly test run. | |
## | |
## The Xcode command line tools are required in order for this to work. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"always_show_minimap_viewport": true, | |
"anaconda_gutter_theme": "hard", | |
"animation_enabled": false, | |
"auto_complete_commit_on_tab": true, | |
"auto_indent": true, | |
"binary_file_patterns": | |
[ | |
"*.jpg", | |
"*.jpeg", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pkgutil | |
import unittest | |
import mypkg | |
class TestModule(unittest.TestCase): | |
def setUp(self): | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"template": "unknown" | |
}, | |
"builders": [ | |
{ | |
"type": "qemu", | |
"iso_url": "http://mirror.utexas.edu/ubuntu-iso/CDs-Ubuntu/14.04.1/ubuntu-14.04.1-server-amd64.iso", | |
"iso_checksum": "946a6077af6f5f95a51f82fdc44051c7aa19f9cfc5f737954845a6050543d7c2", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/functional/swift_testing.py b/test/functional/swift_testing.py | |
index 50abc8e..6903b56 100644 | |
--- a/test/functional/swift_testing.py | |
+++ b/test/functional/swift_testing.py | |
@@ -141,7 +141,8 @@ def retry(func, *args, **kwargs): | |
snet=False, | |
tenant_name=swift_test_tenant[use_account], | |
auth_version=swift_test_auth_version, | |
- os_options={}) | |
+ os_options={}, |