Dependency-less: start with only Unix utilities as specified by IEEE Std 1003.1-2008, SUS; then build up (or error) with what is needed.
This file contains 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
(flycheck-def-config-file-var flycheck-sass-lintrc sass-lint ".sass-lint.yml" | |
:safe #'stringp | |
:package-version '(flycheck . "0.23")) | |
(flycheck-define-checker sass-lint | |
"A Sass syntax checker using sass-lint. | |
See URL `https://github.com/sasstools/sass-lint'." | |
:command ("sass-lint" "-f" "unix" | |
(config-file "-c" flycheck-sass-lintrc) |
This file contains 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
STACK:=myapp-dev | |
TEMPLATE:=cloudformation-template_vpc-iam.json | |
PARAMETERS:=cloudformation-parameters_myapp-dev.json | |
AWS_REGION:=us-east-1 | |
AWS_PROFILE:=aws-dev | |
all: | |
@which aws || pip install awscli | |
aws cloudformation create-stack --stack-name $(STACK) --template-body file://`pwd`/$(TEMPLATE) --parameters file://`pwd`/$(PARAMETERS) --capabilities CAPABILITY_IAM --profile $(AWS_PROFILE) --region $(AWS_REGION) |
This file contains 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
(function () { | |
expose('createMyComponent', register, factory); | |
/** | |
* Exposes your new component to the window or to a module | |
* | |
* @param {string} name - the factory name to expose | |
* @param {function} definition - the definition of your web component. registers to the document | |
* @param {function} factory - method for programmatically creating web component | |
*/ |
This file contains 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
# Specify directories under /client/src to be copied directly | |
COPYDIRS = lib img | |
client: copy client/build/js/app.js client/build/css/app.css | |
clean: | |
rm -Rf client/build | |
rebuild: clean client |
This file contains 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
# | |
# css/js minification/compression makefile | |
# | |
# | |
# JS_TARGETS -- js files to minify/gzip | |
# CSS_TARGETS -- css files to minify/gzip | |
# CLEANUP -- additional files to delete during "make clean" | |
# |
This file contains 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
# Patterns matching CSS files that should be minified. Files with a -min.css | |
# suffix will be ignored. | |
CSS_FILES = $(filter-out %-min.css,$(wildcard \ | |
public/css/*.css \ | |
public/css/**/*.css \ | |
)) | |
# Patterns matching JS files that should be minified. Files with a -min.js | |
# suffix will be ignored. | |
JS_FILES = $(filter-out %-min.js,$(wildcard \ |
This file contains 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/local/bin/python | |
import os | |
import sys | |
import csv | |
from operator import itemgetter | |
from bs4 import BeautifulSoup | |
from anki import Collection as aopen | |
usmle_rx = open("/Users/drlulz/Desktop/test.html",'r').read() |