Skip to content

Instantly share code, notes, and snippets.

// Works
save({
success: function() {
setTimeout(function() {
location = url;
}, 1000);
}
});
// Throws 10004
#!/usr/bin/python
# Filename: tictactoe.py
import sys
import fnmatch
import random
def _start():
global picindex
picindex=1
import threading
from queue import Queue
def worker():
while True:
item = q.get()
do_work(item) # Do shit here
q.task_done()
q = Queue()
import sublime, sublime_plugin
class SearchScriptReferenceCommand(sublime_plugin.TextCommand):
def run(self, edit):
first_s = self.view.sel()[0]
data = self.view.substr(first_s)
test(data)
def test(data):