To create an anchor to a heading in github flavored markdown.
Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:
[create an anchor](#anchors-in-markdown)
| #!/usr/bin/env bash | |
| ## | |
| ## Parse metadata variables from a markdown file. | |
| ## | |
| ## The key-values are returned as field-deliminated lines to | |
| ## stdout, or, as a variable string that can be passed to pandoc | |
| ## as command-line parameters. | |
| ## | |
| ## Delcare metadata in the markdown file using the format: | |
| ## % meta keyname1="value1" |
| Original tweet size in JSON 2624 Msgpack = 1817 Gzip + Json = 1058 Gzip + Msgpack = 1116 LZ4 + Json = 1628 LZ4 + Msgpack = 1361 | |
| Original tweet size in JSON 1863 Msgpack = 1443 Gzip + Json = 0783 Gzip + Msgpack = 0835 LZ4 + Json = 1153 LZ4 + Msgpack = 1040 | |
| Original tweet size in JSON 2074 Msgpack = 1670 Gzip + Json = 0842 Gzip + Msgpack = 0894 LZ4 + Json = 1229 LZ4 + Msgpack = 1139 | |
| Original tweet size in JSON 2025 Msgpack = 1617 Gzip + Json = 0845 Gzip + Msgpack = 0895 LZ4 + Json = 1238 LZ4 + Msgpack = 1143 | |
| Original tweet size in JSON 2069 Msgpack = 1663 Gzip + Json = 0846 Gzip + Msgpack = 0901 LZ4 + Json = 1243 LZ4 + Msgpack = 1164 | |
| Original tweet size in JSON 2035 Msgpack = 1634 Gzip + Json = 0852 Gzip + Msgpack = 0907 LZ4 + Json = 1247 LZ4 + Msgpack = 1167 | |
| Original tweet size in JSON 1988 Msgpack = 1464 Gzip + Json = 0804 Gzip + Msgpack = 0862 LZ4 + Json = 1220 LZ4 + Msgpack = 1061 | |
| Original tweet size in JSON 1910 Msgpack = 1502 Gzip + Json = 0775 Gzip + Msgpack = 0832 LZ4 + Json = 1154 LZ4 + Msgpack = 1060 |
| // vertex shader ---------------------------------- | |
| uniform float t; | |
| uniform float freq; | |
| uniform float amp; | |
| varying vec3 normal; | |
| varying vec2 uv; | |
| void main() |
| curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |
| /** | |
| * Creates a new Uint8Array based on two different ArrayBuffers | |
| * | |
| * @private | |
| * @param {ArrayBuffers} buffer1 The first buffer. | |
| * @param {ArrayBuffers} buffer2 The second buffer. | |
| * @return {ArrayBuffers} The new ArrayBuffer created out of the two. | |
| */ | |
| var _appendBuffer = function(buffer1, buffer2) { | |
| var tmp = new Uint8Array(buffer1.byteLength + buffer2.byteLength); |
| var svg = document.getElementById('graph'), | |
| xml = new XMLSerializer().serializeToString(svg), | |
| data = "data:image/svg+xml;base64," + btoa(xml), | |
| img = new Image() | |
| img.setAttribute('src', data) | |
| document.body.appendChild(img) |
| // ES6 for loops | |
| // ============= | |
| // Things in ES6 can be "iterable". Arrays are iterable by default. | |
| var fruits = ['Apple', 'Banana', 'Grape']; | |
| for (var fruit of fruits) | |
| console.log('Fruit: ' + fruit); |
| #install esseintal packages for opencv | |
| apt-get -y install build-essential | |
| apt-get -y install cmake | |
| apt-get -y install pkg-config | |
| apt-get -y install libgtk2.0-dev libgtk2.0 | |
| apt-get -y install zlib1g-dev | |
| apt-get -y install libpng-dev | |
| apt-get -y install libjpeg-dev | |
| apt-get -y install libtiff-dev | |
| apt-get -y install libjasper-dev |
| <element name="cs-component"> | |
| <template> | |
| I am a {{ language }} component | |
| </template> | |
| <script type="text/coffeescript"> | |
| Polymer.register @, | |
| language: "CoffeeScript" | |
| ready: -> | |
| console.log "READY", @ | |
| </script> |