This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| // @license http://opensource.org/licenses/MIT | |
| // copyright Paul Irish 2015 | |
| // Date.now() is supported everywhere except IE8. For IE8 we use the Date.now polyfill | |
| // github.com/Financial-Times/polyfill-service/blob/master/polyfills/Date.now/polyfill.js | |
| // as Safari 6 doesn't have support for NavigationTiming, we use a Date.now() timestamp for relative values | |
| // if you want values similar to what you'd get with real perf.now, place this towards the head of the page | |
| // but in reality, you're just getting the delta between now() calls, so it's not terribly important where it's placed |
| var fs = require('fs'), | |
| url = require('url'); | |
| module.exports = function (rootDir, indexFile) { | |
| indexFile = indexFile || "index.html"; | |
| return function(req, res, next){ | |
| var path = url.parse(req.url).pathname; | |
| fs.readFile('./' + rootDir + path, function(err, buf){ |
| # Thank you Austin! | |
| When we first came to Austin to start [MakerSquare](www.themakersquare.com), we were excited to dive into a growing tech scene with an entrepreneurial spirit. Austin is one of the fastest growing cities in the U.S. and we were happy to be in a position to help it grow. Over the past ten months we’ve graduated over 50 developers and currently have an additional 40 students learning Ruby on Rails & JavaScript. People have come from all over the world to take part in MakerSquare, and are leaving with a solid start to their development careers. | |
| Looking back and reflecting on what got us here, we realized we would be nowhere without the support of the Austin community, and for that, we thank you. Austin is a special place to start a company. On behalf of the 56 alumni, 40 students and 16 staff members at MakerSquare, thank you, Austin. | |
| Thank you, [Josh](http://www.twitter.com/joshbaer) and [Capital Factory](http://capitalfactory.com/), for hosting a meetup literally every day of the week. |
| require 'spec/support/grep_matcher' | |
| describe do | |
| disallow_presence_of pattern: "send(.*#", | |
| location: "app/", | |
| description: "Do not use dynamic method invocations", | |
| failure: "Please change dynamic method call to something more sane." | |
| end |
| Go to Bitbucket and create a new repository (its better to have an empty repo) | |
| git clone [email protected]:abc/myforkedrepo.git | |
| cd myforkedrepo | |
| Now add Github repo as a new remote in Bitbucket called "sync" | |
| git remote add sync [email protected]:def/originalrepo.git | |
| Verify what are the remotes currently being setup for "myforkedrepo". This following command should show "fetch" and "push" for two remotes i.e. "origin" and "sync" | |
| git remote -v |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
#How I built an audio book reader for my nearly blind grandfather
Last year, when visiting my family back home in Holland, I also stopped by my grand-parents. My grand-father, now 93 years old, had always been a very active man. However, during the presceding couple of months, he'd gone almost completely blind and now spent his days sitting in a chair. Trying to think of something for him to do, I suggested he try out audio books. After finally convincing him -- he said audio books were for sad old people -- that listening to a well performed recording is actually a wonderful experience, I realized the problem of this idea.
####The problem with audio devices and the newly blind. After my first impulse to jump up and go buy him an