Skip to content

Instantly share code, notes, and snippets.

@picur
picur / gist:1992636
Created March 7, 2012 11:32 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@picur
picur / README.markdown
Created April 26, 2012 07:40 — forked from gudbergur/README.markdown
Bootstrap's Typeahead plugin extended (allowing for AJAX functionality) among other things

This is a fork of Bootstrap Typeahead that adds minimal but powerful extensions.

For example, process typeahead list asynchronously and return objects

  # This example does an AJAX lookup and is in CoffeeScript
  $('.typeahead').typeahead(
    # source can be a function
    source: (typeahead, query) ->
 # this function receives the typeahead object and the query string
@picur
picur / style.less
Created March 28, 2014 11:56
Atom.io dark theme scrollbar fix.
// dark theme / light scrollbar fix
::-webkit-scrollbar {
width: 8px;
height: 8px;
border-radius: 8px;
}
::-webkit-scrollbar-thumb {
border-radius: 8px;
background: rgba(255,255,255, 0.1);
#!/bin/bash
# Created Fri Mar 22 2014
# This is an indirect fork of https://gist.github.com/SeonghoonKim/4378896
# Most of it was reworked from http://blog.basefarm.com/blog/how-to-install-logstash-with-kibana-interface-on-rhel/
# This script will download, install and start
# the following items on CentOS 6.5:
# OpenJDK 1.7.0
# cURL
# ElasticSearch 1.3.2
# Logstash server 1.4.2