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
| pr 06 15:15:00 staging-worker-0 systemd[1]: Started Rancher System Agent. | |
| Apr 06 15:15:00 staging-worker-0 rancher-system-agent[3443]: time="2023-04-06T15:15:00Z" level=info msg="Rancher System Agent version v0.2.13 (4fa9427) is starting" | |
| Apr 06 15:15:00 staging-worker-0 rancher-system-agent[3443]: time="2023-04-06T15:15:00Z" level=info msg="Using directory /var/lib/rancher/agent/work for work" | |
| Apr 06 15:15:00 staging-worker-0 rancher-system-agent[3443]: time="2023-04-06T15:15:00Z" level=info msg="Starting remote watch of plans" | |
| Apr 06 15:15:01 staging-worker-0 rancher-system-agent[3443]: E0406 15:15:01.149583 3443 memcache.go:206] couldn't get resource list for management.cattle.io/v3: | |
| Apr 06 15:15:01 staging-worker-0 rancher-system-agent[3443]: time="2023-04-06T15:15:01Z" level=info msg="Starting /v1, Kind=Secret controller" | |
| Apr 06 15:15:01 staging-worker-0 rancher-system-agent[3443]: time="2023-04-06T15:15:01Z" level=info msg="Detected first start, force-applying one-time instruction set" | |
| Apr 06 15:15:0 |
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
| import time | |
| import zmq | |
| context = zmq.Context() | |
| socket = context.socket(zmq.PULL) | |
| sid = 1 | |
| socket.connect("ipc://jewels_%s" % sid) | |
| while 1: |
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
| # coding: utf8 | |
| import time | |
| import zmq | |
| context = zmq.Context() | |
| socket = context.socket(zmq.PUSH) | |
| socket.bind("ipc://jewels_1") | |
| socket.bind("ipc://jewels_2") | |
| socket.bind("ipc://jewels_3") | |
| socket.bind("ipc://jewels_4") |
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
| # -*- coding: utf-8 -*- | |
| import time | |
| import threading | |
| from itertools import repeat | |
| class KeepAliveThread(threading.Thread): | |
| nodes = [] |
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
| %% Copyright | |
| -module(serv). | |
| -author("dsociative"). | |
| %% API | |
| -export([listen/1, listen/0, talk/1]). | |
| listen() -> | |
| listen(9998). | |
| listen(Port) -> |
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
| import logging | |
| import os, sys | |
| def my_excepthook(excType, excValue, traceback, logger=logger): | |
| logger.error("Logging an uncaught exception", | |
| exc_info=(excType, excValue, traceback)) | |
| sys.excepthook = my_excepthook |
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
| # coding: utf8 | |
| from tests.controller.building.BuildingCommon import BuildingCommon | |
| from tycoon.controller.CommandBase import CommandBase | |
| class BuildingBuild(CommandBase, BuildingCommon): | |
| params = 'location_id', 'building_id', 'x', 'y', 'r' | |
| requires = 'user', 'location', 'balance_building', | |
| name = 'building.build' |
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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import unittest | |
| if __name__ == '__main__': | |
| MASK = 'Test' | |
| runner = unittest.TextTestRunner() |
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
| def run_callback(self, obj, args=None): | |
| try: | |
| assert hasattr(self, 'on%s' % obj) | |
| f = getattr(self, 'on%s' % obj) | |
| if args: | |
| return f(args) | |
| else: | |
| return f() | |
| except Exception as 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
| installing github.com/coreos/go-etcd/etcd ... 2015/09/18 11:24:19 failed installing packages: failed building package github.com/coreos/go-etcd/etcd, error: # github.com/coreos/go-etcd/etcd | |
| ./response.generated.go:112: r.EncodeMapKVSeparator undefined (type codec.encDriver has no field or method EncodeMapKVSeparator) | |
| ./response.generated.go:123: r.EncodeArrayEntrySeparator undefined (type codec.encDriver has no field or method EncodeArrayEntrySeparator) | |
| ./response.generated.go:137: r.EncodeMapEntrySeparator undefined (type codec.encDriver has no field or method EncodeMapEntrySeparator) | |
| ./response.generated.go:143: r.EncodeMapKVSeparator undefined (type codec.encDriver has no field or method EncodeMapKVSeparator) | |
| ./response.generated.go:158: r.EncodeArrayEntrySeparator undefined (type codec.encDriver has no field or method EncodeArrayEntrySeparator) | |
| ./response.generated.go:173: r.EncodeMapEntrySeparator undefined (type codec.encDriver has no field or method EncodeMapEntrySeparator) | |
| ./response.generated.go:179: |
NewerOlder