javascript:(function(){
allowCopyAndPaste = function(e){
e.stopImmediatePropagation();
return true;
};
document.addEventListener('copy', allowCopyAndPaste, true);
document.addEventListener('paste', allowCopyAndPaste, true);
document.addEventListener('onpaste', allowCopyAndPaste, true);
})();
This file contains 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
#!/usr/bin/env python | |
import os | |
import sys | |
import time | |
from datetime import datetime | |
def set_folder_dates(root): | |
for x in os.walk(root, topdown=False): |
This file contains 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
#SingleInstance Ignore | |
while (true) | |
{ | |
;back + start -> quit active window | |
if ((getKeyState("joy7") && getKeyState("Joy8")) || (getKeyState("2joy7") && getKeyState("2Joy8")) || (getKeyState("3joy7") && getKeyState("3Joy8"))) | |
{ | |
WinClose A | |
sleep 900 | |
} | |
;back + right stick click -> send esc |
This file contains 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
plotOptions: { | |
line : { | |
dataLabels : { | |
enabled : true, | |
formatter: function() { | |
var first = this.series.data[0], | |
last = this.series.data[this.series.data.length - 1]; | |
if ((this.point.category === first.category && this.point.y === first.y) || | |
(this.point.category === last.category && this.point.y === last.y)) { | |
return this.point.y; |