Skip to content

Instantly share code, notes, and snippets.

Remove old docker install:

sudo apt-get remove docker docker-engine docker.io containerd runc

Remove previous old version configs:

class P1():
@property
def name(self):
return getattr(self, 'NAME', self.__class__.__name__)
@property
def title(self):
return getattr(self, 'TITLE', self.name)
@zas
zas / set_tz_utc.sh
Created September 9, 2016 00:04
Set timezone to UTC on Ubuntu 16.04 (xenial)
#!/bin/bash
sudo timedatectl set-timezone Etc/UTC

Keybase proof

I hereby claim:

  • I am zas on github.
  • I am zas (https://keybase.io/zas) on keybase.
  • I have a public key ASAtsSSU0REPW2-TsW-_Uz64u2tcN3WwUvtg4nXHg-yODAo

To claim this, I am signing this object:

@zas
zas / http.py
Created February 6, 2017 21:36
#!/usr/bin/python
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
from subprocess import Popen, PIPE
import argparse
import json
import os
import shlex
import signal
import sys
from contextlib import contextmanager
import io
import os
import shutil
import sys
import tempfile
import time
class Timer(object):
"Sens Factor =-5.806dB, SERNO: 1400858"
4.6758 -3.9233 23.59
5.099 -3.6242 24.37
5.5605 -3.3087 25.03
6.0638 -2.9919 25.14
6.6126 -2.6777 24.72
7.2111 -2.3646 24.19
7.8637 -2.0523 23.97
8.5755 -1.7464 23.78
9.3516 -1.452 23.08
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
- lodash._arrayeach@3.0.0 node_modules/npm/node_modules/lodash.clonedeep/node_modules/lodash._arrayeach
- lodash._basefor@3.0.3 node_modules/npm/node_modules/lodash.clonedeep/node_modules/lodash._basefor
- lodash._mapcache@4.0.0 node_modules/npm/node_modules/lodash.clonedeep/node_modules/lodash._stack/node_modules/lodash._mapcache
- lodash._stack@4.0.1 node_modules/npm/node_modules/lodash.clonedeep/node_modules/lodash._stack
- lodash._arrayincludes@4.0.0 node_modules/npm/node_modules/lodash.union/node_modules/lodash._arrayincludes
- lodash._arrayincludeswith@4.0.0 node_modules/npm/node_modules/lodash.union/node_modules/lodash._arrayincludeswith
- lodash._cachehas@4.0.0 node_modules/npm/node_modules/lodash.union/node_modules/lodash._cachehas
- lodash._mapcache@4.0.0 node_modules/npm/node_modules/lodash.union/node_modules/lodash._setcache/node_modules/lodash._mapcache
- lodash._setcache@4.0.1 node_modules/npm/node_modules/lodash.union/node_modules/lodash.