Skip to content

Instantly share code, notes, and snippets.

@anish
anish / gist:f4c90af416b17f5acba2
Created May 22, 2014 21:27
git apply failure
anish@cerveza /home/workspace/archlinux/wine-silverlight/src/wine-1.7.19 $ grep wine_get_patches ../wine-compholio-daily-1.7.19/patches/patch-list.patch -B 5 | head -n 10
+++ b/dlls/ntdll/misc.c
@@ -60,6 +60,14 @@ const char * CDECL NTDLL_wine_get_version(void)
}
/*********************************************************************
+ * wine_get_patches (NTDLL.@)
+ */
+const void * CDECL NTDLL_wine_get_patches(void)
+{
@anish
anish / gist:975a611a503323d74ab6
Created November 6, 2015 09:17
hack/update-codecgen.sh
anish@hubland kubernetes > hack/update-codecgen.sh
0 1 /dump/workspace/kubernetes/pkg/apis/metrics/v1alpha1 bitbucket.org/ww/goautoneg bufio bytes compress/flate compress/gzip container/list crypto crypto/aes crypto/cipher crypto/des crypto/dsa crypto/ecdsa crypto/elliptic crypto/hmac crypto/md5 crypto/rand crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/sha512 crypto/subtle crypto/tls crypto/x509 crypto/x509/pkix encoding encoding/asn1 encoding/base64 encoding/binary encoding/gob encoding/hex encoding/json encoding/pem errors expvar flag fmt github.com/beorn7/perks/quantile github.com/davecgh/go-spew/spew github.com/docker/docker/pkg/mount github.com/docker/docker/pkg/units github.com/docker/libcontainer/cgroups github.com/docker/libcontainer/cgroups/fs github.com/docker/libcontainer/configs github.com/docker/libcontainer/system github.com/ghodss/yaml github.com/golang/glog github.com/golang/protobuf/proto github.com/google/gofuzz github.com/juju/ratelimit github.com/matttproud/golang_protobuf_extens
@anish
anish / gist:2efdb24accb522c0d063
Created November 6, 2015 09:59
hack/update-codecgen.sh
0 1 /dump/workspace/k8s.io/kubernetes/pkg/apis/metrics/v1alpha1 bitbucket.org/ww/goautoneg bufio bytes compress/flate compress/gzip container/list crypto crypto/aes crypto/cipher crypto/des crypto/dsa crypto/ecdsa crypto/elliptic crypto/hmac crypto/md5 crypto/rand crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/sha512 crypto/subtle crypto/tls crypto/x509 crypto/x509/pkix encoding encoding/asn1 encoding/base64 encoding/binary encoding/gob encoding/hex encoding/json encoding/pem errors expvar flag fmt github.com/beorn7/perks/quantile github.com/davecgh/go-spew/spew github.com/docker/docker/pkg/mount github.com/docker/docker/pkg/units github.com/docker/libcontainer/cgroups github.com/docker/libcontainer/cgroups/fs github.com/docker/libcontainer/configs github.com/docker/libcontainer/system github.com/ghodss/yaml github.com/golang/glog github.com/golang/protobuf/proto github.com/google/gofuzz github.com/juju/ratelimit github.com/matttproud/golang_protobuf_extensions/pbutil github.com/pborman/uuid github.co
0 1
hack/update-codecgen.sh: line 58: /dump/workspace/k8s.io/kubernetes/pkg/apis/metrics/v1alpha1: Is a directory
hack/update-codecgen.sh: line 58: /dump/workspace/k8s.io/kubernetes/pkg/apis/metrics/v1alpha1: Is a directory
hack/update-codecgen.sh: line 58: /dump/workspace/k8s.io/kubernetes/pkg/apis/metrics/v1alpha1: Is a directory
hack/update-codecgen.sh: line 58: /dump/workspace/k8s.io/kubernetes/pkg/apis/metrics/v1alpha1: Is a directory
hack/update-codecgen.sh: line 58: /dump/workspace/k8s.io/kubernetes/pkg/apis/metrics/v1alpha1: Is a directory
hack/update-codecgen.sh: line 58: /dump/workspace/k8s.io/kubernetes/pkg/apis/metrics/v1alpha1: Is a directory
hack/update-codecgen.sh: line 58: /dump/workspace/k8s.io/kubernetes/pkg/apis/metrics/v1alpha1: Is a directory
hack/update-codecgen.sh: line 58: /dump/workspace/k8s.io/kubernetes/pkg/apis/metrics/v1alpha1: Is a directory
hack/update-codecgen.sh: line 58: /dump/workspace/k8s.io/kubernetes/pkg/apis/metrics/v1alpha1: Is a directory
@anish
anish / gist:ded6190ab950057d486f
Created November 6, 2015 10:43
hack/update-codecgen.sh
0 1
0 2
0 3
0 4
0 5
0 6
0 7
0 8
0 9
0 10
@anish
anish / PKGBUILD
Created November 5, 2015 09:43
kubernetes 1.0.7 PKGBUILD
#Maintainer: Iwan Timmer <irtimmer@gmail.com>
Contributor: Anish Bhatt <anish@gatech.edu>
pkgname=kubernetes
pkgver=1.0.7
pkgrel=1
pkgdesc="Container Cluster Manager for Docker"
depends=('glibc')
makedepends=('go' 'rsync')
optdepends=('etcd: etcd cluster required to run Kubernetes')
Build timed out (after 60 minutes). Marking the build as aborted.
Build timed out (after 60 minutes). Marking the build as failed.
Build was aborted
Recording test results
ERROR: Step ‘Publish JUnit test result report’ aborted due to exception:
java.io.IOException: remote file operation failed: /var/lib/jenkins/workspace/kubernetes-pull-build-test-e2e-gce at hudson.remoting.Channel@52b6f4fb:builder-2: hudson.remoting.ChannelClosedException: channel is already closed
@anish
anish / test-go.sh
Created December 7, 2015 22:13
k8s.io/kubernetes/pkg/api/
# k8s.io/kubernetes/pkg/api/api
_output/local/go/src/k8s.io/kubernetes/pkg/api/api/mapper.go:41: too many arguments in call to meta.NewDefaultRESTMapper
_output/local/go/src/k8s.io/kubernetes/pkg/api/api/mapper.go:54: cannot use gv.String() (type string) as type unversioned.GroupVersion in argument to Scheme.KnownTypes
_output/local/go/src/k8s.io/kubernetes/pkg/api/api/mapper.go:65: too many arguments in call to mapper.Add
_output/local/go/src/k8s.io/kubernetes/pkg/api/api/ref.go:56: Scheme.ObjectVersionAndKind undefined (type *runtime.Scheme has no field or method ObjectVersionAndKind)
_output/local/go/src/k8s.io/kubernetes/pkg/api/api/register.go:28: cannot use "" (type string) as type unversioned.GroupVersion in argument to Scheme.AddKnownTypes
_output/local/go/src/k8s.io/kubernetes/pkg/api/api/register.go:73: cannot use "" (type string) as type unversioned.GroupVersion in argument to Scheme.AddKnownTypes
_output/local/go/src/k8s.io/kubernetes/pkg/api/api/register.go:74: cannot use "" (type string) as type
@anish
anish / gist:2b984bcb6e0e7128de9a
Created December 8, 2015 06:19
api test failure
=== RUN TestRoundTripTypes
--- FAIL: TestRoundTripTypes (0.22s)
serialization_test.go:79:
1: PersistentVolume: diff: (*api.PersistentVolume){TypeMeta:(unversioned.TypeMeta){Kind:(string) APIVersion:(string)} ObjectMeta:(api.ObjectMeta){Name:(string)I彥 GenerateName:(string)n Namespace:(string) SelfLink:(string)i{Ɇ鱁vɎ"澊\ UID:(types.UID)#"2$瘹wÈ6ʃ蒂$:驯ÔDZ奡 ResourceVersion:(string)13342962953036215102 Generation:(int64)0 CreationTimestamp:(unversioned.Time){Time:(time.Time){sec:(int64)0 nsec:(int32)0 loc:(*time.Location)<nil>}} DeletionTimestamp:(*unversioned.Time)<nil> DeletionGracePeriodSeconds:(*int64)<nil> Labels:(map[string]string)<nil> Annotations:(map[string]string)<nil>} Spec:(api.PersistentVolumeSpec){Capacity:(api.ResourceList)<nil> PersistentVolumeSource:(api.PersistentVolumeSource){GCEPersistentDisk:(*api.GCEPersistentDiskVolumeSource)<nil> AWSElasticBlockStore:(*api.AWSElasticBlockStoreVolumeSource)<nil> HostPath:(*api.HostPathVolumeSource)<nil> Glusterfs:(*api.GlusterfsVolume
@anish
anish / gist:f323f089312a9073dd17
Created December 9, 2015 02:21
valgrind sysdig
sh-4.1# valgrind sysdig
==6934== Memcheck, a memory error detector
==6934== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==6934== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==6934== Command: sysdig
==6934==
==6934== Invalid read of size 1
==6934== at 0x4A08180: strncpy (mc_replace_strmem.c:476)
==6934== by 0x602B8B: scap_create_userlist (in /usr/bin/sysdig)
==6934== by 0x5F5CAA: scap_open_live_int (in /usr/bin/sysdig)