One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
{ | |
"liveServer.settings.donotShowInfoMsg": true, | |
"editor.parameterHints": false, | |
"workbench.colorTheme": "Atom One Dark", | |
"workbench.iconTheme": "vscode-icons", | |
"editor.fontSize": 15, | |
"terminal.integrated.fontSize": 15, | |
"terminal.external.windowsExec": "C:\\Program Files\\Git\\bin\\bash.exe", | |
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", | |
"python.pythonPath": "${workspaceFolder}\\venv\\Scripts\\python.exe", |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" | |
crossorigin="anonymous"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" |
Note: everything here is pretty specific to my usage/accounts and not written for public use... You'll probably have to tweak a bunch of stuff.
$ bean-extract config.py ~/Downloads # the csvs should be in here
# PYTHON 2.7 | |
def unzip_data(src, dest): | |
"""Unzips *.gz file and places it in new location following the same directory structure. | |
args: | |
src (str): *.gz file to be unzipped | |
dest (str): drop location for unzipped file | |
return: None |
# While inside of git repository this command will output lines of code written by each author. | |
git ls-files | while read f; do git blame -w --line-porcelain -- "$f" | grep -I '^author '; done | sort -f | uniq -ic | sort -n |
"${:,.2f}".format(input) |
"""Description here | |
args: | |
arg1 (type): description | |
arg2 (type): description | |
kwargs: | |
kwargs (type): description | |
kwargs (type): description |
def append_csv(filename, value): | |
"""This will append a vaule to a csv file. | |
args: | |
filename (str): full path or relative path of the csv file. | |
value (str): string to append to the csv file. | |
Return: None | |
""" | |
with open(filename, 'a') as openFile: | |
openFile.write('\n{}'.format(value)) |