abc
- a a a
| [core] | |
| editor = "mvim -f -c 'au VimLeave * !open -a Terminal'" | |
| [merge] | |
| tool = vimdiff | |
| guitool = mvim | |
| [diff] | |
| tool = vimdiff | |
| guitool = mvim | |
| [mergetool "mvim"] | |
| cmd = mvim -f -d "$LOCAL" "$MERGED" "$REMOTE" |
| function Gauge(placeholderName, configuration) | |
| { | |
| this.placeholderName = placeholderName; | |
| var self = this; // some internal d3 functions do not "like" the "this" keyword, hence setting a local variable | |
| this.configure = function(configuration) | |
| { | |
| this.config = configuration; |
| var svg = d3.select("svg") | |
| var rectBar = function(svg, x, y, width, height, color) { | |
| return svg.append("svg:rect") | |
| .attr("x", x + 0.5) | |
| .attr("y", y + 0.5) | |
| .attr("width", width) | |
| .attr("height", height) | |
| .style("fill", color) | |
| .style("stroke", 'black') |
| var svg = d3.select("svg") | |
| var rectBar = function(svg, x, y, width, height, color) { | |
| return svg.append("svg:rect") | |
| .attr("x", x + 0.5) | |
| .attr("y", y + 0.5) | |
| .attr("width", width) | |
| .attr("height", height) | |
| .style("fill", color) | |
| .style("stroke", 'black') |
| var svg = d3.select("svg") | |
| var rectBar = function(svg, x, y, width, height, color) { | |
| return svg | |
| .append("svg:rect") | |
| .attr("x", x + 0.5) | |
| .attr("y", y + 0.5) | |
| .attr("width", width) | |
| .attr("height", height) | |
| .style("fill", color) |
| var svg = d3.select("svg") | |
| var rectBar = function(svg, x, y, width, height, color) { | |
| return svg | |
| .append("svg:rect") | |
| .attr("x", x + 0.5) | |
| .attr("y", y + 0.5) | |
| .attr("width", width) | |
| .attr("height", height) | |
| .style("fill", color) |
| var svg = d3.select("svg"); | |
| var rectBar = function(svg, x, y, width, height, color) { | |
| return svg | |
| .append("svg:rect") | |
| .attr("x", x + 0.5) | |
| .attr("y", y + 0.5) | |
| .attr("width", width) | |
| .attr("height", height) | |
| .style("fill", color) | |
| .style("stroke", 'black') |
| * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } | |
| .container { | |
| font-family: "helvetica neue", helvetica, sans-serif; | |
| font-weight: 200; | |
| font-size: 30px; | |
| top: 40px; | |
| height: 300px; | |
| width: 400px; | |
| margin-top: 50px; |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |