Git Product home page Git Product logo

devkit's Introduction

devkit is a collection of useful tools for mac development and ubuntu systems administration with:

  • a configuration bundle vim+pathogen+nerdtree and other vim plugins all set up as submodules
  • lots of bash aliases for LAMP stack sys admin catered towards Drupal, git, Ubuntu and Mac users with some Rails and Python thrown in
  • backup scripts

Set up vim

cd ~
ln -s ~/path/to/devkit/.vimrc .vimrc 
ln -s ~/path/to/devkit/.vim .vim

cd devkit
git submodule init
git submodule update

Set up bash

On Linux, put this in ~/.bashrc:

source ~/path/to/devkit/linux.bashrc

On a Mac, put the above and the following in ~/.bashrc. You can always put it in .profile, but then it won't work in screen:

source ~/path/to/devkit/mac.bashrc

Set up backups on Ubuntu servers

Schedule the following with cron on your user

# Backup files daily at 6am and 10pm PST (9pm and 1pm GMT+8)
00 6/22 * * *  ~/devkit/backup-latest.sh

# Make remote backups weekly on Sundays, 8am PST (11pm GMT+8)
00 8 * * 0 ~/devkit/backup-archive.sh

Go ahead and copy these files elsewhere to override them

Tip: when having several users on a machine, you should run the regular backups as the user and the remote backups as root

Don't depend solely on this for backups. Also consider:

  • disk image backups (Linode has this)
  • VCS e.g. Git

devkit's People

Contributors

kriskhaira avatar

Stargazers

Lubomir avatar

Watchers

Lubomir avatar James Cloos avatar

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.