This file contains hidden or 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
# modified from: | |
# https://raw.githubusercontent.com/kubernetes/kubernetes/master/examples/guestbook/all-in-one/guestbook-all-in-one.yaml | |
# | |
# - Changed frontend service type to NodePort | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: redis-master | |
labels: | |
app: redis |
This file contains hidden or 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
period_dates, period_extent = self.date_range(ytd=True) | |
org = self.org() | |
all_periods = org.student_period_attendance.filter( | |
date__gte=period_extent[0], date__lte=period_extent[1], archived__exact=False, deleted__isnull=True | |
) | |
attended_periods = all_periods.filter(is_absent__exact=False) |
This file contains hidden or 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
/* | |
The filesystem package provides a unified interface to a real backed filesystem. | |
An example use case for this might be a server that wants serve up directory | |
listings/information and provide CRUD access to a filesystem. | |
*/ | |
package filesystem | |
import ( | |
trie "github.com/tchap/go-patricia/patricia" | |
"os" |
This file contains hidden or 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
package model | |
// TODO: use tags here for JSON unmarshaling | |
// TODO: maybe use the receiver object pattern from http://blog.golang.org/json-and-go | |
// TODO: Figure out the problem with public structs (http://stackoverflow.com/questions/11126793/golang-json-and-dealing-with-unexported-fields) | |
import ( | |
"fmt" | |
trie "github.com/tchap/go-patricia/patricia" | |
) |
This file contains hidden or 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
try: | |
self.state.load() | |
print "Loaded existing migration state" | |
except IOError: | |
print "Existing migration state not found" | |
except Exception as e: | |
print "Error loading migration state: {}".format(str(e)) |
This file contains hidden or 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
goroutine 252 [chan receive, 22 minutes]: | |
github.com/control-center/go-zookeeper/zk.(*Conn).request(0xc22842a340, 0xc200000003, 0xa730c0, 0xc23a6c4440, 0xa73120, 0xc22cbcedc0, 0x0, 0xc2088eb070, 0x0, 0x0) | |
/go/src/github.com/control-center/serviced/Godeps/_workspace/src/github.com/control-center/go-zookeeper/zk/conn.go:618 +0xcc | |
github.com/control-center/go-zookeeper/zk.(*Conn).Exists(0xc22842a340, 0xc23a6c4420, 0x17, 0xc23a6c4420, 0x17, 0x0, 0x0) | |
/go/src/github.com/control-center/serviced/Godeps/_workspace/src/github.com/control-center/go-zookeeper/zk/conn.go:732 +0x111 | |
github.com/control-center/serviced/coordinator/client/zookeeper.(*Connection).Exists(0xc22cbced70, 0xd0a590, 0x9, 0xc22745b580, 0x0, 0x0) | |
/go/src/github.com/control-center/serviced/coordinator/client/zookeeper/connection.go:177 +0x156 | |
github.com/control-center/serviced/zzk.PathExists(0x7f13d96bf698, 0xc22cbced70, 0xd0a590, 0x9, 0x9, 0x0, 0x0) | |
/go/src/github.com/control-center/serviced/zzk/zzk.go:120 +0x57 | |
github.com/control-center/serviced |
This file contains hidden or 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
# |------------------------------------>| | |
# |events-database | | |
# | | | |
# |------------------------------------>| | |
# |events-index |------------------->|--------------------->|------------------------------->|--------------------->| | |
# | |model-zenmigrate 3 model-zenpack 4 perf-convert 5 perf-import 6 | |
# |------------------------------------>| | |
# |model-database | | |
# | | | |
# |------------------------------------>| |
This file contains hidden or 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
newImage, err := ctr.Commit(image.ID.BaseName()) |
This file contains hidden or 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 '--exclude=.git' '--exclude=.svn' -Nurp ZenPacks.zenoss.DynamicView/ZenPacks/zenoss/DynamicView/browser/resources/js/dynamicview.js svn/ZenPacks.zenoss.DynamicView/ZenPacks/zenoss/DynamicView/browser/resources/js/dynamicview.js | |
--- ZenPacks.zenoss.DynamicView/ZenPacks/zenoss/DynamicView/browser/resources/js/dynamicview.js 2015-07-07 11:59:19.000000000 -0500 | |
+++ svn/ZenPacks.zenoss.DynamicView/ZenPacks/zenoss/DynamicView/browser/resources/js/dynamicview.js 2015-07-07 11:58:46.000000000 -0500 | |
@@ -36,7 +36,8 @@ Ext.define("Zenoss.dynamicview.DynamicVi | |
viewName: 'service_view', | |
contextUid: null, | |
serverVars: {}, | |
- flashVars: {elementID: config.id} | |
+ flashVars: {elementID: config.id}, | |
+ height: '100%' |
This file contains hidden or 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 '--exclude=.git' '--exclude=.svn' -Nurp ZenPacks.zenoss.WBEM/ZenPacks/zenoss/WBEM/__init__.py svn/ZenPacks.zenoss.WBEM/ZenPacks/zenoss/WBEM/__init__.py | |
--- ZenPacks.zenoss.WBEM/ZenPacks/zenoss/WBEM/__init__.py 2015-07-07 11:48:54.000000000 -0500 | |
+++ svn/ZenPacks.zenoss.WBEM/ZenPacks/zenoss/WBEM/__init__.py 2015-07-07 11:48:05.000000000 -0500 | |
@@ -25,8 +25,8 @@ class ZenPack(ZenPackBase): | |
"""WBEM ZenPack.""" | |
packZProperties = [ | |
- ('zWBEMPort', '5988', 'integer'), | |
+ ('zWBEMPort', '5989', 'integer'), | |
('zWBEMUsername', '', 'string'), |
NewerOlder