Skip to content

Instantly share code, notes, and snippets.

View shadeslayer's full-sized avatar
👁️‍🗨️

Rohan Garg shadeslayer

👁️‍🗨️
View GitHub Profile
def process_input(input)
my_stack = [] of Char
result = ""
input.each_char do |c|
if c == 't'
my_stack << c
else
if c != 'h'
my_stack.each do |t|
result += t
class Dict
def initialize
@data = [[]]
end
def hash_key(k)
k.hash % @data.size
end
def bucket(k)
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFRXlYIBEADrbnEhGbFCjEkYASk95azW9YURTDcffWzTdlirg1wpHa3wAZwc
3+zL0xPpulQakKNGNmHxN3HIlKG6hURrJBPb259ODKuz6VoQLvAbD0j3xik9YJ1Y
uDc2xbMTvXj67OMchXdNjiJKd2/3I7TSB1Obtqm/y1bOKVoxauK4fXodiq7GUB8o
QseJ6K2/aob00ebwQsHGEjmV7Y5rRevKofb+NuR2pUsZf6lJwzJx3caNIZmktJFy
Hn1s4TGbBwDBrVMYSHm5TgS6LCNhKJ3XfztulsvyaE0pyvZxLv+L7FhEy6xA7W1L
ljcwMM7neGlGrKh9BkHV00TGlwpDGbzuCT3H/yUm+4N71o9hSbNGijvHmm6L1YGB
TDijosSPAFD8M2TMSpa5sQawRPe89IN29i+ZiyGlIF+SZT+yy1d1uqadHxf4lyuj
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFRXlYIBEADrbnEhGbFCjEkYASk95azW9YURTDcffWzTdlirg1wpHa3wAZwc
3+zL0xPpulQakKNGNmHxN3HIlKG6hURrJBPb259ODKuz6VoQLvAbD0j3xik9YJ1Y
uDc2xbMTvXj67OMchXdNjiJKd2/3I7TSB1Obtqm/y1bOKVoxauK4fXodiq7GUB8o
QseJ6K2/aob00ebwQsHGEjmV7Y5rRevKofb+NuR2pUsZf6lJwzJx3caNIZmktJFy
Hn1s4TGbBwDBrVMYSHm5TgS6LCNhKJ3XfztulsvyaE0pyvZxLv+L7FhEy6xA7W1L
ljcwMM7neGlGrKh9BkHV00TGlwpDGbzuCT3H/yUm+4N71o9hSbNGijvHmm6L1YGB
TDijosSPAFD8M2TMSpa5sQawRPe89IN29i+ZiyGlIF+SZT+yy1d1uqadHxf4lyuj
class Foo < Array
def initialize(magic: false)
super
puts magic
end
end
Foo.new(magic: true)
Started by user anonymous
Building in workspace /var/lib/jenkins/workspace/analitza_binary_unstable
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/apachelogger/pangea-tooling.git # timeout=10
Fetching upstream changes from https://github.com/apachelogger/pangea-tooling.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/apachelogger/pangea-tooling.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
@shadeslayer
shadeslayer / syslog.log
Created October 4, 2014 20:32
Plasma 5 Syslog
Oct 4 19:21:51 kubuntu-plasma-5 rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="1321" x-info="http://www.rsyslog.com"] start
Oct 4 19:21:51 kubuntu-plasma-5 rsyslogd: rsyslogd's groupid changed to 103
Oct 4 19:21:51 kubuntu-plasma-5 rsyslogd: rsyslogd's userid changed to 100
Oct 4 19:21:51 kubuntu-plasma-5 kernel: [ 0.000000] Initializing cgroup subsys cpuset
Oct 4 19:21:51 kubuntu-plasma-5 kernel: [ 0.000000] Initializing cgroup subsys cpu
Oct 4 19:21:51 kubuntu-plasma-5 kernel: [ 0.000000] Initializing cgroup subsys cpuacct
Oct 4 19:21:51 kubuntu-plasma-5 kernel: [ 0.000000] Linux version 3.16.0-17-generic (buildd@batsu) (gcc version 4.9.1 (Ubuntu 4.9.1-15ubuntu1) ) #23-Ubuntu SMP Fri Sep 19 16:58:18 UTC 2014 (Ubuntu 3.16.0-17.23-generic 3.16.3)
Oct 4 19:21:51 kubuntu-plasma-5 kernel: [ 0.000000] Command line: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/kubuntu-plasma5.seed boot=casper maybe-ubiquity quiet splash --
Oct 4 19:21:51 kubuntu-plasma-5 kernel: [ 0.000
FROM debian:sid
MAINTAINER Rohan Garg <[email protected]>
RUN apt update && apt -y dist-upgrade && apt -y install curl
RUN echo "deb http://debile.anized.org/archive/ rc-buggy main" | tee /etc/apt/sources.list.d/debile.list
RUN echo "deb http://cloudfront.debian.net/debian experimental main" | tee /etc/apt/sources.list.d/experimental.list
RUN curl http://debile.anized.org/key.asc | apt-key add -
RUN apt update && apt -y install debile-master
COPY ./setup.sh /tmp/setup.sh
RUN /tmp/setup.sh
remote: Counting objects: 9651, done.
remote: Compressing objects: 100% (5623/5623), done.
error: RPC failed; result=56, HTTP code = 200 | 25.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
#0 nr_stun_message_has_attribute (msg=0x0, type=9, attribute=0x7fffe73fabf0) at /home/shadeslayer/src/other/gecko-dev/media/mtransport/third_party/nICEr/src/stun/stun_msg.c:165
#1 0x0000000000429eda in nr_stun_client_restart (ctx=0x7fffe8ce5c0c) at /home/shadeslayer/src/other/gecko-dev/media/mtransport/third_party/nICEr/src/stun/stun_client_ctx.c:159
#2 0x0000000000429f48 in nr_stun_client_restart_with_cb (ctx=<optimized out>, finished_cb=finished_cb@entry=0x42e924 <nr_turn_stun_ctx_cb>)
at /home/shadeslayer/src/other/gecko-dev/media/mtransport/third_party/nICEr/src/stun/stun_client_ctx.c:179
#3 0x000000000042eb51 in nr_turn_stun_ctx_restart (ctx=0x7fffe96bbbfc) at /home/shadeslayer/src/other/gecko-dev/media/mtransport/third_party/nICEr/src/stun/turn_client_ctx.c:227
#4 nr_turn_stun_ctx_cb (s=<optimized out>, how=<optimized out>, arg=0x7fffe96bbbfc)
at /home/shadeslayer/src/other/gecko-dev/media/mtransport/third_party/nICEr/src/stun/turn_client_ctx.c:306
#5 0x0000000000429ddc in nr_stun_client_s