Note, please replace "WWW/tools" with where ever you store your web tools.
$ mkdir ~/WWW/tools
$ cd ~/WWW/tools
$ git clone https://github.com/phacility/libphutil.git
$ git clone https://github.com/phacility/arcanist.git
# change python version as needed | |
python_bin = $(wildcard ~/.pyenv/versions/3.6.9/bin/python3.6) | |
shell_src = $(shell echo *.sh) | |
.PHONY: shellcheck | |
shellcheck: ve | |
echo $(shell_src) | xargs shellcheck -x | |
.PHONY: ve | |
ve: |
/* @flow */ | |
const compose = (...objects: *) => | |
objects.reduce((merged, current) => { | |
Object.keys(current).forEach(methodKey => { | |
if (typeof current[methodKey] === 'function' && merged[methodKey]) { | |
const mergedMethod = merged[methodKey]; | |
// eslint-disable-next-line no-param-reassign | |
merged[methodKey] = (...args) => { | |
const mergedResult = mergedMethod(...args); | |
const currentResult = current[methodKey](...args); |
let isObject = (obj) => { | |
let type = typeof obj; | |
return type === "function" || type === "object" && !!obj; | |
}; | |
let deepExtend = (obj, ...args) => { | |
if (!isObject(obj)) { | |
return obj; |
// Running compass with the following flags during the talk | |
// $ compass watch -s expanded | |
//////////////////////////////////////////////////////////// | |
// 1. Difference between MIXIN and PLACEHOLDER | |
// A placeholder does not duplicate the CSS rules for each selector, but applies all selectors to one set of CSS rules by comma separating the selectors | |
// ex: .example1, .example2 { ... some css rules... } |
<?php | |
/** | |
* Configuration for "min", the default application built with the Minify | |
* library | |
* | |
* @package Minify | |
*/ | |
$dev = '/Users/christian.harden/WWW/site/NFL-site-web/src/main/webapp'; |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at |