I hereby claim:
- I am linuxluser on github.
- I am linuxluser (https://keybase.io/linuxluser) on keybase.
- I have a public key ASCvsunP87hBD1RiqH032ge0BE-zXBe76hhUtYK2svjKNQo
To claim this, I am signing this object:
# Upstream nameservers | |
server=8.8.8.8 | |
server=8.8.4.4 | |
# Interface to listen on | |
interface=eth0 | |
# Interface(s) NOT to listen on | |
except-interface=wlan0 |
MP3ENCODERSYNTAX=lame # Specify encoder for mp3 | |
CDROMREADERSYNTAX=cdparanoia # CD reader program to use | |
LAME=/usr/bin/lame # Path to lame encoder | |
ID3V2=/usr/bin/id3v2 | |
EYED3=/usr/bin/eyeD3 # Path to eyeD3 | |
CDPARANOIA=/usr/bin/cdparanoia # Path to cdparanoia | |
CDDISCID=/usr/bin/cd-discid # Path to cd-discid |
#!/usr/bin/python2.7 | |
"""Libarary to extract the data from a Kerberos keytab and return a Python dict. | |
Inspiration taken from https://gist.github.com/liftoff/a7b059198c8dc55ceb81. I | |
just think my version is simpler and easier to understand. ;) | |
I also had a little help on the actual structs here: https://goo.gl/fy3DHG | |
""" |
from protorpc import messages | |
class MultiMessage(messages.Message): | |
"""Has a field for each basic value type. | |
""" | |
boolean = messages.BooleanField(1) | |
integer = messages.IntegerField(2) | |
float = messages.FloatField(3) | |
string = messages.StringField(4) |
# To build and run: | |
# $ docker build -t nvidia-docker-bug . | |
# $ docker run -ti --rm nvidia-docker-bug /bin/bash | |
# To reproduce, run container and try and install the package. | |
# | |
# Sample session: | |
# | |
# root@224ae124ddcd:/# dpkg -i nvidia-docker_1.0.0.rc.3-1_amd64.deb |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: nvidia-docker | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: A Docker plugin that brings Nvidia support to containers | |
# Description: A Docker plugin that brings Nvidia support to containers | |
### END INIT INFO |
Package: aptly | |
Priority: extra | |
Section: devel | |
Installed-Size: 19048 | |
Maintainer: Andrey Smirnov <example@example.org> | |
Architecture: amd64 | |
Version: 1.0.1 | |
Filename: pool/main/a/aptly/aptly_1.0.1_amd64.deb | |
Size: 5702560 | |
MD5sum: eac86ceab20b3ef1a3d363f7307b340e |
def TrendAnalysis(series, smoothing): | |
"""Analyze direction of trend and for how many periods in that direction.""" | |
# Get differences, smoothing them out to avoid insignificant "wiggles" | |
change = series.diff().rolling(window=smoothing).mean() | |
# Find the direction changes and get the current direction count | |
signs = list(reversed(np.sign(change).values)) | |
direction = signs[0] # current direction | |
periods = 1 | |
for sign in signs[1:]: |
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 69 | |
model name : Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz | |
stepping : 1 | |
microcode : 0x17 | |
cpu MHz : 2293.649 | |
cache size : 3072 KB | |
physical id : 0 |
I hereby claim:
To claim this, I am signing this object: