Skip to content

Instantly share code, notes, and snippets.

@btilford
btilford / v1.0
Created July 31, 2012 03:56
gmaven-poms
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelversion>4.0.0</modelVersion>
<modules>
<module>module-a</module>
<module>module-b</module>
</modules>
<groupid>com.mycompany</groupId>
<artifactid>gmaven-1.0-example</artifactId>
<packaging>pom</packaging>
<name>gmaven-1.0-example</name>
@btilford
btilford / aggregation.js
Created July 31, 2012 04:52
jam + angularjs gists
'use-strict';
define(
'directives/directive-aggregator'
['directives/todoBlur' ,'directives/todoFocus']
,{blur:blur, focus:focus}
);
//-----------------------------------------
//or
@btilford
btilford / combo.html
Last active August 29, 2015 14:26
% grid + column + flexbox
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
@btilford
btilford / rush-completion
Created May 6, 2020 00:45
Shell Scripts
#!/usr/bin/env bash
__rush_command() {
##############################################################################
# rush --help
# Lists commands:
# * indented 4 spaces
##############################################################################
local subcmds="$(rush -h | grep -e "^\s\s\s\s\w" | awk '{print $1}')"
COMPREPLY+=($(compgen -W "$subcmds" -- "$1"))