Skip to content

Instantly share code, notes, and snippets.

@yields
Last active December 12, 2015 02:39

Revisions

  1. Amir Abu Shareb revised this gist Feb 3, 2013. 1 changed file with 1 addition and 13 deletions.
    14 changes: 1 addition & 13 deletions License
    Original file line number Diff line number Diff line change
    @@ -1,13 +1 @@
    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    Version 2, December 2004

    Copyright (C) 2004 Sam Hocevar <[email protected]>

    Everyone is permitted to copy and distribute verbatim or modified
    copies of this license document, and changing it is allowed as long
    as the name is changed.

    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

    0. You just DO WHAT THE FUCK YOU WANT TO.
    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  2. Amir Abu Shareb revised this gist Feb 3, 2013. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions License
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    Version 2, December 2004

    Copyright (C) 2004 Sam Hocevar <[email protected]>

    Everyone is permitted to copy and distribute verbatim or modified
    copies of this license document, and changing it is allowed as long
    as the name is changed.

    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

    0. You just DO WHAT THE FUCK YOU WANT TO.
  3. Amir Abu Shareb renamed this gist Feb 3, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. Amir Abu Shareb created this gist Feb 3, 2013.
    11 changes: 11 additions & 0 deletions gistfile1.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    import sublime, sublime_plugin
    from subprocess import call
    import os

    class MakeComponents(sublime_plugin.EventListener):
    def on_post_save_async(self, view):
    win = view.window()
    path = win.folders()[0]
    cmd = 'make --directory=' + path
    json = os.path.exists(path + '/component.json')
    json and call(cmd, shell=True)