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
| <i class="macbook"></i> |
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 | |
| import glob, re, json, difflib | |
| import heapq | |
| def pdir(obj): | |
| print(dir(obj)) | |
| def pdirl(obj): | |
| ll = dir(obj) |
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>JS Bin</title> | |
| <link rel="stylesheet" href=""/> | |
| </head> | |
| <body> | |
| <table> | |
| <tr> |
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
| 0:00:00.190,0:00:06.790 | |
| news comes from sahi | |
| 0:00:06.790,0:00:10.509 | |
| you need to raise money for you could | |
| you please please please wait | |
| 0:00:10.509,0:00:14.309 | |
| deep throat until he plans to use it |
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
| 85 :'Chelle: | |
| 51 :'Kweng: | |
| 2 :5ER0: | |
| 2 :: | |
| 8 :Aanders: | |
| 45 :Aardman: | |
| 1 :Acey Nubbs: | |
| 11 :Acey Nubs: | |
| 10 :Admiral Breya: | |
| 68 :Admiral Emm: |
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
| @echo off | |
| if not exist Opera\includes\ (mkdir Opera\includes) | |
| if not exist Opera\modules\ (mkdir Opera\modules) | |
| if not exist XPI\data\ (mkdir XPI\data\) | |
| if "%1"=="clean" ( | |
| for %%G in (lib\*.js) do ( | |
| del XPI\data\%%G | |
| del Chrome\%%G |
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
| diff --git a/lib/reddit_enhancement_suite.user.js b/lib/reddit_enhancement_suite.user.js | |
| index 63409e5..ed514e8 100644 | |
| --- a/lib/reddit_enhancement_suite.user.js | |
| +++ b/lib/reddit_enhancement_suite.user.js | |
| @@ -8386,6 +8386,11 @@ modules['showImages'] = { | |
| value: true, | |
| description: 'Mark links visited when you view images (does eat some resources).' | |
| }, | |
| + preserveThumbnailLink: { | |
| + type: 'boolean', |
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
| diff --git a/lib/reddit_enhancement_suite.user.js b/lib/reddit_enhancement_suite.user.js | |
| index 63409e5..dfd4e30 100644 | |
| --- a/lib/reddit_enhancement_suite.user.js | |
| +++ b/lib/reddit_enhancement_suite.user.js | |
| @@ -8741,6 +8741,9 @@ modules['showImages'] = { | |
| }); | |
| } | |
| + //So the link gets colored when clicking the thumbnail | |
| + $(elem).closest('.thing').find('.thumbnail').attr('href', elem.href); |
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
| if exists("g:loaded_smartabbrev") | |
| finish | |
| endif | |
| let g:loaded_smartabbrev=1 | |
| if !exists("g:reservedMark") | |
| let g:reservedMark = "y" | |
| endif | |
| "match <cursor> preceded by 2n backslashes |
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
| function buildHTML(template) { | |
| /* | |
| htmlTemplateChild = string|number|Node|htmlTemplate | |
| htmlTemplate = { | |
| required name: string, | |
| //do not include the 'on' in the event name | |
| optional events: {name: function(event){},...} | |
| optional attrs: {name: string|number, ...}, | |
| //attributue shortcuts for frequently use attributes override the coresponding attrs[name] value | |
| optional id: string, |