This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sublime, sublime_plugin | |
| BLOCKLEN = 4 | |
| class TypeFileOutCommand(sublime_plugin.TextCommand): | |
| def nextchar(self): | |
| if self.body: | |
| totype = [] | |
| while 1: | |
| try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @author Stuart Langridge <[email protected]> | |
| // ==/UserScript== | |
| if (external.getUnityObject) { | |
| window.Unity = external.getUnityObject(1.0); | |
| // use the Apple touch icon as icon | |
| var icnsize=0, icnurl; | |
| Array.prototype.slice.call(document.querySelectorAll("link[rel='apple-touch-icon']")).forEach(function(icn) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>Pure CSS toggle switch</title> | |
| <style> | |
| body { | |
| font-size: 2em; | |
| } | |
| input { position: absolute; opacity: 0 } |
NewerOlder