Skip to content

Instantly share code, notes, and snippets.

View ryo88c's full-sized avatar
🤩

HAYASHI Ryo ryo88c

🤩
View GitHub Profile
@ryo88c
ryo88c / 0_reuse_code.js
Created March 20, 2014 05:07
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
# CTags based autocompletion plugin for Sublime Text 2
# You can add the file to the User Package in ~/Library/Application Support/Sublime Text 2/Packages and restart Sublime Text 2.
# generate the .tags file in your project root with "ctags -R -f .tags"
import sublime, sublime_plugin, os
class AutocompleteAll(sublime_plugin.EventListener):
def on_query_completions(self, view, prefix, locations):
tags_path = view.window().folders()[0]+"/.tags"