Skip to content

Instantly share code, notes, and snippets.

Ben Tilford btilford

View GitHub Profile
View gist:f9e7f76cd4d2669483167eaeccfb1b8d
### Keybase proof
I hereby claim:
* I am btilford on github.
* I am btilford (https://keybase.io/btilford) on keybase.
* I have a public key ASAVZpK_u0ceu8wy0XlmPk9gxvh12tuX07dZl9QgqwfbEQo
To claim this, I am signing this object:
@btilford
btilford / combo.html
Last active Aug 29, 2015
% grid + column + flexbox
View combo.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
@btilford
btilford / aggregation.js
Created Jul 31, 2012
jam + angularjs gists
View aggregation.js
'use-strict';
define(
'directives/directive-aggregator'
['directives/todoBlur' ,'directives/todoFocus']
,{blur:blur, focus:focus}
);
//-----------------------------------------
//or
@btilford
btilford / v1.0
Created Jul 31, 2012
gmaven-poms
View v1.0
<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 / Advantages.md
Created Nov 26, 2010
Comparison of Git with CVS and Git Overview
View Advantages.md

Git vs. CVS Advantages

Flexible Workflow

In Git your working copy is a clone of the entire repository. This includes branches and tags. This decreases the overhead (speed and manual work) involved when switching contexts and the need to be connected to a network. Some examples are:

  • When switching branches there is no need to connect to a remote server or close your IDE/project and open a checkout in another directory. Running git checkout [branch name] is all you need to do.
  • When merging you do not need a connection to the remote server, you have all branches locally. Since branches are so cheap in Git you could create a new branch to perform the merge in so that if you had a large amount of conflicts you could incrementally work on and commit without affecting the main branch then merge or create a patch after everything has been fixed.
  • Because Git is a distributed system in addition to connecting to a central repository developers can connect to another developers repository. This allows team
You can’t perform that action at this time.