Skip to content

Instantly share code, notes, and snippets.

View praveenvvstgy's full-sized avatar

Praveen Gowda I V praveenvvstgy

View GitHub Profile
sudo apt-get update
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'
sudo apt-get install -y vim curl python-software-properties
sudo add-apt-repository -y ppa:ondrej/php5
sudo apt-get update
sudo apt-get install -y php5 apache2 libapache2-mod-php5 php5-curl php5-gd php5-mcrypt php5-readline mysql-server-5.5 php5-mysql git-core php5-xdebug
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network :private_network, ip: "192.168.33.21"
@praveenvvstgy
praveenvvstgy / README.md
Last active December 27, 2015 13:19 — forked from JoelBesada/README.md

This is an example command for Backtick. A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.

Here are the required steps to create a command:

  1. Create a new Gist with a command.js and command.json file, or simply fork this one.

  2. Write your JavaScript in command.js. This will be injected into and executed on the page the user is currently on when they run it.

  3. Add some metadata to the command.json file:

  • name: The name of the command.
@praveenvvstgy
praveenvvstgy / >
Created July 17, 2013 10:09 — forked from anonymous/>
<!DOCTYPE html> <!-- Helpful things to keep in your <head/> // Brian Blakely, 360i -->
<head>
<!-- According to Heather Champ, former community manager at flickr,
you should not allow search engines to index your "Contact Us"
or "Complaints" page if you value your sanity. This is an HTML-
centric way of achieving that. -->
<meta name="robots" content="noindex" />
<!-- Suppress IE6's pop-up-on-mouseover toolbar for images, that can
interfere with certain designs. -->

Twilight Theme Terminal Colors

Based on the timeless TextMate theme.

Basic Colors

Foreground:     #FEFFD3

Background: #141414

JSON API

Top Level

The top-level of a JSON API document has the following keys:

  • Resource names (posts, comments, people, etc.)
  • A meta section

Singular Resources

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after