Tech Talk
2013-07-26
Large Files in Git suck
Git is text
(even though a few images are fine)
Database dumps suck
(but sometimes they are necessary)
Worse than database dumps:
Having to download them manually.
The Solution
Git-annex
- manage files in git
- don't check the contents into git
Getting started
git init
git annex init "my laptop"
Remotes
git remote add laptop ~/annex
git remote add usbdrive /media/pascal/thumbdrive
Adding Files
git annex add big-large.iso
git commit -a -m "Added big large ISO"
Getting files
git pull laptop
git annex get big-large.iso
Easier: Sync
git annex sync
Updates all changes made to its remotes, pushes them and fetches changes.
The awesomesauce
- Automatic locking
(no accidental modifications) - Support for rsync, ssh, local files,
ftp, [name-your-protocol] - Web interface (git-annex assistant)
- ^ like Dropbox, but w/o PRISM
- Written in Haskell
- Can keep track of minimum number
of copies (backup solution!) - Encryption
Let's do it
- No reason not to use it.
- Let's add database dumps
to the repo.
- You can still get it the
old-fashioned way.
Random Candies
Bower 1.0.0
offline support, muuuch faster, nicer output, support for git SHA references, persistent conflict resolution, JSON output, register validation, components pruning, can download ubuntu
ngstorage
- LocalStorage
- AngularJS
- 'nuff said.
jspm.io
Frictionless browser package management
JSPM.IO
- Write ES6 modules today and use
them in any browser. - Load AMD and CommonJS modules
together in the same application. - Built on top of the ES6 Module Loader polyfill,
making it standards-compliant and future-friendly. - Demo
thx.
Techtalk 2013-07-26
By Pascal
Techtalk 2013-07-26
- 1,333