Skip to content

Instantly share code, notes, and snippets.

@cmluciano
cmluciano / failedassertiontest.txt
Created January 14, 2019 18:16
failedassertion test
[2019-01-14 17:41:40.464][018112][debug][connection] [source/common/network/connection_impl.cc:101] [C28] closing data_to_write=0 type=1
[2019-01-14 17:41:40.464][018112][debug][connection] [source/common/network/connection_impl.cc:183] [C28] closing socket: 1
[2019-01-14 17:41:40.464][018112][debug][client] [source/common/http/codec_client.cc:82] [C28] disconnect. resetting 0 pending requests
[2019-01-14 17:41:40.464][018112][trace][http] [source/common/http/http1/codec_impl.cc:369] [C28] parsed 222 bytes
[2019-01-14 17:41:40.464][018112][trace][main] [source/common/event/dispatcher_impl.cc:56] clearing deferred deletion list (size=1)
[2019-01-14 17:41:40.464][018254][debug][main] [source/server/server.cc:143] flushing stats
[2019-01-14 17:41:40.464][018254][debug][connection] [source/common/network/connection_impl.cc:101] [C29] closing data_to_write=0 type=1
[2019-01-14 17:41:40.464][018254][debug][connection] [source/common/network/connection_impl.cc:183] [C29] closing socket: 1
[2019-01-14 17:41:40.464][0
@cmluciano
cmluciano / failedstatsreject.txt
Last active January 14, 2019 18:16
largeclusterstatflush.txt
[ RUN ] IpVersions/StatsIntegrationTest.MemoryLargeClusterSizeWithStats/IPv4
[2019-01-14 18:04:06.995][000015][info][testing] [test/integration/fake_upstream.cc:358] starting fake server on port 34041. Address version is v4
[2019-01-14 18:04:06.995][000015][debug][misc] [test/config/utility.cc:157] No capture path set for tests
[2019-01-14 18:04:06.996][000015][debug][misc] [test/integration/integration.cc:284] Running Envoy with configuration static_resources {
listeners {
name: "listener_0"
address {
socket_address {
address: "127.0.0.1"
port_value: 0
@cmluciano
cmluciano / inject.yaml
Created November 7, 2017 15:08
istio-inject sidecar
spec:
containers:
- args:
- proxy
- sidecar
- -v
- "2"
- --configPath
- /etc/istio/proxy
@cmluciano
cmluciano / ufw_test_failure.txt
Created December 13, 2016 17:33
ufw test failures
==> default: FAIL: test_get_netfilter_capabilities (tests.unit.test_util.UtilTestCase)
==> default: Test get_netfilter_capabilities()
==> default: ----------------------------------------------------------------------
==> default: Traceback (most recent call last):
==> default: File "/ufwmount/tests/unit/test_util.py", line 929, in test_get_netfilter_capabilities
==> default: ufw.util.get_netfilter_capabilities)
==> default: File "/ufwmount/tests/unit/support.py", line 159, in check_for_exception
==> default: t.fail('%s not thrown' % str(expectedException))
==> default: AssertionError: <type 'exceptions.OSError'> not thrown
[DEFAULT]
#
# From tempest.config
#
# Whether to disable inter-process locks (boolean value)
#disable_process_locking = false
# Directory to use for lock files. (string value)
@cmluciano
cmluciano / nginx.conf
Last active August 29, 2015 14:10 — forked from jtimberman/nginx.conf
# Gist for archival purposes, via the wayback machine,
# https://web.archive.org/web/20131222092914/http://brainspl.at/nginx.conf.txt
# - brainspl.at seems to be offline :(
#
# View other versions at https://web.archive.org/web/*/http://brainspl.at/nginx.conf.txt
#
# user and group to run as
user ez ez;
# number of nginx workers

Keybase proof

I hereby claim:

  • I am drag00n on github.
  • I am drag00n (https://keybase.io/drag00n) on keybase.
  • I have a public key whose fingerprint is 26F7 012C 1165 1C01 A0A0 1D20 87B6 DE62 D168 4A01

To claim this, I am signing this object:

#Modified and simplified version of https://www.windowsazure.com/en-us/develop/net/common-tasks/continuous-delivery/
$subscription = "[Your Subscription Name]"
$service = "[Your Azure Service Name]"
$slot = "staging" #staging or production
$package = "[ProjectName]\bin\[BuildConfigName]\app.publish\[ProjectName].cspkg"
$configuration = "[ProjectName]\bin\[BuildConfigName]\app.publish\ServiceConfiguration.Cloud.cscfg"
$timeStampFormat = "g"
$deploymentLabel = "ContinuousDeploy to $service v%build.number%"
Write-Output "Running Azure Imports"
@cmluciano
cmluciano / gist:9811497
Last active August 29, 2015 13:57
Upgrading ghost blog to 0.4.2 on DigitalOcean

##Environment details

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.3 LTS
Release:	12.04
Codename:	precise

##Backup ghost core