List all symlinks in a directory
ls -la . | grep "\->"
Make a symlink
ln -s path/to/real/file path/to/symlink
Delete a symlink - same as removing a file
if(navigator.userAgent.match(/iPhone; CPU iPhone OS 7_0/)) { | |
document.write('<style type="text/css">body{-webkit-transform: translate3d(0,20px,0)}</style>'); | |
} |
Update all remotes
git fetch --all
Change to my branch
git checkout my-branch
Original reference: https://github.com/ajoslin/conventional-changelog/blob/master/conventions/angular.md
Appears under "Features" header, pencil subheader:
feat(pencil): add 'graphiteWidth' option
export async function load({id, src, onEnd}) { | |
try { | |
const node = await createNode(src, onEnd); | |
nodes[id] = node; | |
return { | |
duration: node.duration() | |
} | |
} catch(error) { | |
throw error; | |
} |
<smil xmlns="http://www.w3.org/ns/SMIL" xmlns:epub="http://www.idpf.org/2007/ops" version="3.0"> | |
<body> | |
<seq epub:textref="the_horror.xhtml"> | |
<par> | |
<text src="../../s9ml/the_thrill_of_horror/the_horror.xhtml#data-uuid-dcd02aaaf7fa46dcb9c94cf1a3cab096" /> | |
<audio clipBegin="00:00:00.000" clipEnd="00:00:01.169" src="../../audio/sn_77e0-c02-s04-038.mp3"/> | |
</par> | |
<par epub:type="learning-resource"> | |
<text src="page.xhtml#id-of-element-that-forces-stop" /> | |
</par> |
1. Install Mongodb - I used Homebrew | |
2. sudo mkdir -p /data/db | |
3. sudo chown <username> /data/db | |
4. mongod - (runs mongo) |
// Rollup plugins | |
import babel from 'rollup-plugin-babel'; | |
import eslint from 'rollup-plugin-eslint'; | |
export default { | |
entry: 'src/scripts/main.js', | |
dest: 'build/js/main.min.js', | |
format: 'iife', | |
sourceMap: 'inline', | |
plugins: [ |