I hereby claim:
- I am dword4 on github.
- I am dword4 (https://keybase.io/dword4) on keybase.
- I have a public key ASCO6E0SX6H7NNGE4r9ourvAjFQrWtI6xeaaeb0zqOngWQo
To claim this, I am signing this object:
| #!/usr/bin/python3 | |
| import pandas as pd | |
| import numpy as np | |
| import sys | |
| target = sys.argv[1] | |
| def getTargetTotal(target): | |
| df = pd.read_csv('data.csv', header=None,names=['date','description','ammount','balance']) |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| HOST=$1 | |
| echo "deploying salt -> $HOST" | |
| ssh root@$HOST "yum -y install epel-release && yum -y install salt-minion" | |
| ssh root@$HOST "sed -i 's/#master: salt/master: 192.168.1.50/g' /etc/salt/minion" | |
| ssh root@$HOST "systemctl start salt-minion && systemctl enable salt-minion" | |
| ssh root@$HOST "systemctl stop firewalld && systemctl disable firewalld" | |
| echo "salt successfully deployed |
| set t_Co=256 | |
| if has("syntax") | |
| syntax on | |
| endif | |
| set novisualbell | |
| set hlsearch | |
| "colorscheme apprentice | |
| "colorscheme slate | |
| "colorscheme dword2 |
| #@module.commands('lasttopic') | |
| def last_topic(bot, trigger): | |
| channel_list = [] | |
| conn_channels = bot.privileges | |
| for channel in conn_channels: | |
| if channel not in channel_list: | |
| channel_list.append(channel) | |
| for chan in channel_list: | |
| if chan == '#t3st': |
| #!/bin/bash | |
| SCRIPT_VERSION="0.1" | |
| # things to check | |
| # internal ip, external ip, dns server, connectivity to google | |
| # filesystem usage, current system load, memory usage | |
| > log.log | |
| date >> log.log | |
| IP=`ip addr | grep -P -o '\d{1,3}.\d{1,3}\.\d{1,3}\.\d{1,3}\/24'` |
| #!/usr/bin/python | |
| import datetime | |
| import calendar | |
| day = datetime.date.today().strftime("%d") | |
| month = datetime.date.today().strftime("%m") | |
| year = datetime.date.today().strftime("%Y") | |
| strip_month = datetime.date.today().strftime("%-m") |
| #!/usr/bin/python | |
| from imgurpython import ImgurClient | |
| from PIL import Image | |
| from creds import * | |
| import PIL | |
| from reportlab.pdfgen import canvas | |
| from reportlab.platypus import SimpleDocTemplate, Paragraph, Image, Spacer, PageBreak | |
| from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle | |
| from reportlab.lib.pagesizes import letter | |
| from reportlab.lib.units import inch |