most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| # | |
| # CORS header support | |
| # | |
| # One way to use this is by placing it into a file called "cors_support" | |
| # under your Nginx configuration directory and placing the following | |
| # statement inside your location block(s): | |
| # | |
| # include cors_support; | |
| # | |
| # A limitation to this method is that Nginx doesn't currently send headers |
| var React = require('react'); | |
| var events = require('add-event-listener'); | |
| var isVisible = require('../isVisible'); | |
| var LazyLoad = React.createClass({ | |
| displayName: 'LazyLoad', | |
| propTypes: { | |
| distance: React.PropTypes.number, | |
| component: React.PropTypes.node.isRequired, | |
| children: React.PropTypes.node.isRequired |
| #!/bin/bash | |
| # Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04 | |
| # Inspired from https://gist.github.com/faleev/3435377 | |
| # Remove any existing packages: | |
| sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev | |
| # Get the dependencies (Ubuntu Server or headless users): | |
| sudo apt-get update |
| #!/bin/bash | |
| SCRIPT='cd /web/vcms/; bundle exec sidekiq' | |
| RUNAS=dimon | |
| NAME=vcms-sidekiq | |
| PIDFILE=/web/vcms/tmp/pids/sidekiq.pid | |
| LOGFILE=/web/vcms/log/sidekiq.log | |
| start() { |
A lot of these are outright stolen from Edward O'Campo-Gooding's list of questions. I really like his list.
I'm having some trouble paring this down to a manageable list of questions -- I realistically want to know all of these things before starting to work at a company, but it's a lot to ask all at once. My current game plan is to pick 6 before an interview and ask those.
I'd love comments and suggestions about any of these.
I've found questions like "do you have smart people? Can I learn a lot at your company?" to be basically totally useless -- everybody will say "yeah, definitely!" and it's hard to learn anything from them. So I'm trying to make all of these questions pretty concrete -- if a team doesn't have an issue tracker, they don't have an issue tracker.
I'm also mostly not asking about principles, but the way things are -- not "do you think code review is important?", but "Does all code get reviewed?".
| user www-data; | |
| worker_processes 1; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| sendfile on; |
sudo apt-get install ghostscriptiapi.h etc) which are required but don't come with the default Ghostscript package: sudo apt-get install libgs-devsudo apt-get install gs-espsudo apt-get --purge remove imagemagickcd ImageMagick-xx./configure --with-gslib=yes [and what else you need]gslib yes yes and not gslib yes nomakemake installconvert -list configure | grep DELEGATES => DELEGATES bzlib djvu freetype gs jpeg jng jp2 lcms png tiff x11 xml zlib| sudo -i | |
| cd | |
| apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y | |
| wget http://www.imagemagick.org/download/ImageMagick.tar.gz | |
| tar xzvf ImageMagick.tar.gz | |
| cd ImageMagick/ | |
| ./configure --prefix=/opt/imagemagick && make | |
| checkinstall |
| ### Install Oracle Java 8, this means you agree to their binary license!! | |
| cd ~ | |
| sudo add-apt-repository -y ppa:webupd8team/java | |
| sudo apt-get update | |
| echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections | |
| echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections | |
| sudo aptitude -y install oracle-java8-installer | |
| ### Download and Install ElasticSearch |