Run the app as follows:
# install flask and requests
virtualenv venv -p python3
source ./venv/bin/activate
pip install flask requests
FLASK_APP=app.py FLASK_DEBUG=1 flask run
# add this to your bashrc to generate a weekly git report | |
# useage: $ report | |
alias report='git log --branches=* --pretty=format:"%ad - %an: %s" --after=$(date +%Y-%m-%d -d "-9 day") --until=$(date +%Y-%m-%d) --author="YOUR NAME"' |
Run the app as follows:
# install flask and requests
virtualenv venv -p python3
source ./venv/bin/activate
pip install flask requests
FLASK_APP=app.py FLASK_DEBUG=1 flask run
curl https://managedway.dl.sourceforge.net/project/timidity/TiMidity++/TiMidity++-2.15.0/TiMidity++-2.15.0.tar.gz
tar -xvzf TiMidity++-2.15.0.tar.gz
cd TiMidity++-2.15.0
apt install libasound2-dev libogg-dev libvorbis-dev
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
{ | |
"vim.disableAnnoyingNeovimMessage": true, | |
"files.associations": { | |
"*.mmark":"markdown" | |
}, | |
"extensions.ignoreRecommendations": false, | |
"window.zoomLevel": 1, | |
"emmet.syntaxProfiles": { | |
"javascript": "vue" | |
}, |
#!./venv/bin/python | |
import os, sys, glob, re | |
from fuzzywuzzy import fuzz | |
LOWER = 60 | |
UPPER = 99 | |
pattern = re.compile(r'".+?"|\'.+?\'') | |
permFile = "/mnt/c/dev/openstorefront/server/openstorefront/openstorefront-core/model/src/main/java/edu/usu/sdl/openstorefront/core/entity/SecurityPermission.java" | |
rootDir = "/mnt/c/dev/openstorefront/server/openstorefront" |
#!/bin/bash | |
#By Dave Newton from SmashingMagazine article | |
#This function is from https://www.smashingmagazine.com/2015/06/efficient-image-resizing-with-imagemagick/ | |
#I am puting this here so I can find it when I need it. Super helpful for web image resizing. | |
# | |
# usage: | |
# smartresize inputfile.png 300 outputdir/ | |
smartresize() { |
\documentclass[12pt, letterpaper]{article} | |
\usepackage{fontspec} | |
\usepackage{tikz-er2} | |
\usetikzlibrary{positioning} | |
\begin{document} | |
\begin{figure}[h!] | |
\begin{center} | |
\begin{tikzpicture}[node distance=2cm] | |
\node[entity] (emp) {Employee}; |
-- This is a set of data to use with USU CS5800 Homework 1, Relational Algebra | |
group: HomeWork1 | |
Supplier = { | |
Name:string, City:string | |
'Amazon', 'Seattle' | |
'Google', 'Ventura' | |
'Disney', 'Anaheim' |
\documentclass[12pt]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[english]{babel} | |
\usepackage[a4paper,margin=1in]{geometry} | |
\usepackage[singlespacing]{setspace} | |
\usepackage{hyperref} | |
\usepackage{graphicx} | |
\usepackage{amsmath,amssymb,amsfonts,amsthm} | |
\usepackage{enumitem} | |
\usepackage{fix-cm} |