View gist:1e3f1c165d3b405c09061ad2dc32bc84
// Resolver for login mutation
async logIn(root, {emailOrUsername, password}) {
const user = await User.authenticate(emailOrUsername, password)
if(user)
return {
token: buildMacaroon(user).serialize(),
user
}
else if(user == false)
throw new Error("Incorrect password")
View kakrc
hook global WinCreate .* %{
echo "Here"
set global modelinefmt "%val{bufname}"
%}
View keybase.md

Keybase proof

I hereby claim:

  • I am ndarilek on github.
  • I am ndarilek (https://keybase.io/ndarilek) on keybase.
  • I have a public key ASC-t0xKglMmXZc-vg7NF8fYDZ6y9-UatZjmuLsbPmxkjQo

To claim this, I am signing this object:

View gist:cb061b6c7ff8eab437b8
Attaching to root_server_1
server_1 | 151001 15:13:29 [Note] /usr/sbin/mysqld (mysqld 5.5.44-0ubuntu0.14.04.1-log) starting as process 24 ...
server_1 | Uptime: 2 Threads: 1 Questions: 2 Slow queries: 0 Opens: 34 Flush tables: 1 Open tables: 26 Queries per second avg: 1.000
server_1 | Setting up database
server_1 | CATTLE_AGENT_PACKAGE_AGENT_BINARIES_URL=/usr/share/cattle/artifacts/agent-binaries.tar.gz
server_1 | CATTLE_AGENT_PACKAGE_CADVISOR_URL=/usr/share/cattle/artifacts/cadvisor.tar.gz
server_1 | CATTLE_AGENT_PACKAGE_HOST_API_URL=/usr/share/cattle/artifacts/host-api.tar.gz
server_1 | CATTLE_AGENT_PACKAGE_NODE_AGENT_URL=/usr/share/cattle/artifacts/node-agent.tar.gz
server_1 | CATTLE_AGENT_PACKAGE_PYTHON_AGENT_URL=/usr/share/cattle/artifacts/python-agent.tar.gz
server_1 | CATTLE_AGENT_PACKAGE_RANCHER_DNS_URL=/usr/share/cattle/artifacts/rancher-dns.tar.gz
View gist:179a014a0c60ef8beb58
detailed error: :
error source line:
...lve();var t=p.defer(),n=0;return J(e,function(r,o,i){function s(e){t.resolve(e)}...
bundle.js (line 3)
detailed error: TypeError: window.matrixChat is undefined
error source line:
View gist:529163cca951ab32d309
+ exec rsyslogd -n
rsyslogd: pidfile '/var/run/rsyslogd.pid' and pid 1 already exist.
If you want to run multiple instances of rsyslog, you need to specify
different pid files for them (-i option).
rsyslogd: run failed with error -3000 (see rsyslog.h or try http://www.rsyslog.c
om/e/3000 to learn what that number means)
r
View gist:b5f6d4333a4636037485
INFO: http://172.17.0.2:8080/v1 is accessible
INFO: Inspecting host capabilities
INFO: System: false
INFO: Host writable: true
INFO: Token: xxxxxxxx
INFO: Running registration
Traceback (most recent call last):
File "./register.py", line 11, in <module>
secret_key=os.environ['CATTLE_REGISTRATION_SECRET_KEY'])
File "/usr/local/lib/python2.7/dist-packages/cattle.py", line 34, in from_env
View gist:14e595770b09cf99cab9
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
View gist:d0a4b424de4c1e929ac9
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
View gist:ed78d945263687b7fe99
FROM ubuntu:14.04
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y python-dev python-pip libffi-dev libssl-dev libjpeg-dev && \
apt-get clean && \
pip install --process-dependency-links https://github.com/matrix-org/synapse/tarball/master && \
adduser --system --home /app --shell /bin/sh app
# USER app
WORKDIR /app
ENV HOME /app