This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
version: 2.7.0 | |
title: Lexikon Service | |
description: foo | |
servers: | |
- url: /v2 | |
description: The current Lexikon Service instance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.DS_Store | |
*~ | |
._* | |
*.pyc | |
.idea/ | |
api-key* | |
apikey* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# | |
# Shared Folders | |
# -------------- | |
# => http://docs.vagrantup.com/v2/synced-folders/index.html | |
# | |
# Customize Machine Settings | |
# -------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python -u | |
import os | |
import re | |
import json | |
LOG_PATH = '/var/log/datawarehouse/application.log' | |
logfile = open(LOG_PATH, 'r') | |
jsonfile = open('dwerrors.json', 'w') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bkuberek@aimee:~$ grep 'HiveCommandError' /var/log/datawarehouse/application.log | egrep -o '2014-[[:digit:]]+-[[:digit:]]+' | awk -F_ '{A[$1" :: "$2]++}END{for (i in A) print i,A[i]}' | sort | |
2014-01-02 :: 1 | |
2014-01-06 :: 1 | |
2014-01-07 :: 1 | |
2014-01-08 :: 2 | |
2014-01-09 :: 2 | |
2014-01-10 :: 1 | |
2014-01-13 :: 1 | |
2014-01-14 :: 3 | |
2014-01-15 :: 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get -y autoremove | |
# Zero out the free space to save space in the final image: | |
dd if=/dev/zero of=/EMPTY bs=1M | |
rm -f /EMPTY | |
# Removing leftover leases and persistent rules | |
echo "cleaning up dhcp leases" | |
rm /var/lib/dhcp/* | |
rm /var/lib/dhcp3/* |