⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
window.StarryDraw = function(self) { | |
var elem, | |
context, | |
size, | |
skip, | |
data, | |
// Particle | |
particles, |
- Nathan Weizenbaum » @nex3
# Fetches the production database on the server contents into the development | |
# database | |
# | |
# Assumes you have dbuser, dbhost, dbpassword, and application defined somewhere in your | |
# task. Modify as needed - database.yml is used for importing data, just not for exporting. | |
# | |
# Only supports MySQL. | |
desc "Load production data into development database" | |
task :fetch_remote_db, :roles => :db, :only => { :primary => true } do | |
require 'yaml' |
I work as an analyst contractor, these days my roles are often a mixture of development and management. I have been asked by a countless number of people what they need to do to get the jobs I’m offered – and it’s simpler than most expect. The market for talented developers in the United Kingdom (and in many talent-lite communities around the world) is such that anyone who merely knows what they are doing has a very good chance of getting a job. Even a job contracting (which ordinarily has senior-level requirements).
To become a web developer with a good salary and employment expectations you need skills. Below I’ll provide a plan to get you towards the top of the largest market: PHP Web Development. Advanced knowledge of everything on this list would immediately make you one of the best, so just strive to have an exposure if not a comprehensive understanding (though the *starred points are essential). To learn these technologies you should use several in combination on on
#!/bin/sh | |
# curl https://gist.github.com/raw/4611843/gistfile1.sh > .git/hooks/post-commit && chmod +x .git/hooks/post-commit | |
git diff-tree -p HEAD^ | grep livereload 2>&1 >/dev/null | |
if [ $? -eq 0 ] ; then | |
echo -e "\e[0;31m!!! Don't commit livereload stuff. --amend that commit.\e[0m" | |
fi |
$ compass compile --environment production && compass compile
Afterwards you will have both the minified and non-minified versions in your output folder. Note that compass clean
will not clean up your minified files.
So here's what I did. I don't know if it's anywhere NEAR what you're getting at, but I think it's neato. Thanks for the source images :)
I created a bunch of interstitial 50% blended frames, and at higher rates (like 24fps) I see a difference!
Here's what I did:
- dumped all the images to a dir
- wrote a python script (attached)
- created an
/output
dir - ran the python script, which copies source images + generates blended images using ImageMagick CLI junk