Skip to content

Instantly share code, notes, and snippets.

View yoojinl's full-sized avatar
🛠️
Coding...

Eugene L. yoojinl

🛠️
Coding...
View GitHub Profile
@yoojinl
yoojinl / actors.rb
Created October 29, 2011 20:19
Actors shmactors.
require 'thread'
require 'celluloid'
$q = Queue.new
class A
include Celluloid
def add
loop do
#!/usr/bin/env python
from pulp import *
import sys
x = []
thismodule = sys.modules[__name__]
for i in range(8):
name = 'x{0}'.format(i)
{
"kind": "PodList",
"apiVersion": "v1",
"metadata": {},
"items": [
{
"metadata": {
"name": "kube-proxy-node2",
"namespace": "kube-system",
"selfLink": "/api/v1/pods/namespaces/kube-proxy-node2/kube-system",