Giter Site home page Giter Site logo

khan-dotfiles's Introduction

Dotfiles for Khan Academy website developers. Originally extracted from David's dotfiles, with commits and lines here and there stolen from Jamie, Desmond, and others.

A lot of what's here is Khan Academy-specific:

  • Vim filetype plugins conforming to Khan Academy's style guide
  • tell ack to skip crap that the deploy script litters (eg. combined/compressed CSS/JS files)
  • Kiln authentication stuff
  • a JS pre-commit linter

and the rest of it just contains generally useful things, such as

  • having hg pipe commands with large output to less
  • useful Mercurial aliases and extensions such as shelve (similar to git stash) and record (similar to git add -p && git commit)
  • handy git aliases such as git graph

This is meant to complement the dev setup on the Khan Academy Forge.

Setup

Clone this repo into your home directory and then run make in the cloned directory.

cd ~
git clone git://github.com/divad12/khan-dotfiles.git
cd khan-dotfiles
make

This will symlink all the dotfiles in the khan-dotfiles directory to your home directory. It will not overwrite any of your existing dotfiles but will emit a warning if it failed to symlink a file.

Have a look through the .hgrc to try out what the aliases and extensions do, and continue with the rest of the developer setup to install some scripts that the .hgrc here relies on.

To benefit from the .ackrc here, install ack, which is basically a faster, more configurable grep -r that ignores directories like .git and displays the results nicely.

Also, install autojump if you're a frequent user of the terminal to navigate the filesystem.

TODO(david): Automate all this in the Makefile.

Hello

It's 3 am and I need to sleep so I can wake up and help our four interns starting later this morning to get set up, so there's a lot of stuff missing. Pull requests are welcome!

khan-dotfiles's People

Contributors

divad12 avatar jlfwong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

khan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.