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
//Run this from /admin/orders/. Paste it into the javascript console and press enter. | |
function delete_all() | |
{ | |
l = $("[name*=order_ids_]"); | |
console.log("Found "+l.length+" checkboxes"); | |
for(i=0; i<l.length; i++) | |
{ | |
name = $(l[i]).attr("name"); | |
if(name.indexOf("order_ids_") > -1) | |
{ |
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
-----MATCH( display-993d4d5db819cdaef93a43356af11ea7.json ): duneguide -----------( adclick.g.doubleclick.net s1.2mdn.net http://www.farmfreshtoyou.com/?utm_source=conversant media&utm_medium=banners&utm_campaign=resolution ) | |
0)http://bid.g.doubleclick.net/xbbe/creative/adi?d=APEucNUR3xhxqsAj0IogObzAPoa2aFwyP-f5Wd48HYRgfTLboiixhL0SdMeTQUxzGEbmjsR9kUoORKxFQ15An_e8Dhn0dp8bmyQ1fVFpKgHLFMgnzJQJ2t_-u91XJgaxzhfKGUQnmZ4b7C5bRC5k6LwsCLCKxbIzfK7dQbvL8YX1zdxJOR3k4oAMxfQxOVhT_QWrRhv9MAixyX6JIcucvdpf4sA4rbZHsRip_tHShwcg27afIUd1jBFZIFzXfvpueRU-hNBUro1PMi04sR1V0xOAcifgQi_OY5xfqTKtVMR91v55l2e2OjMllqs6l9sNq7xHSe3O4_NYRoXVGs-rlQymfhr8jDTKtRKosxuye1FA_bVAnaC3DBU-OVChBSNlu4nNTSxciOdB&pr=VNeECwADFHUKgQ5JAAAU6O6xN_VBgCIlqmNTkg&c=http://adclick.g.doubleclick.net/aclk%3Fsa%3DL%26ai%3DCVoLNC4TXVPWoDMmchAToqYCQC_KX1uQD2qzKzmXAjbcBEAEgAGDJ9viGyKOgGYIBF2NhLXB1Yi02NDczNTY2NDUzODY1MzkwyAEJqAMBqgRqT9DYGRGPz9c1ceNT0BJy0nzioYKMp4dwZOa_afjA3p-lZGow7WnK4f2uAWjkhGVM-6M1YDLlZkgC7Apy-15BCZ_boy0_cTY2q5XClJAVy-zz8GO2F2a4eLBPo0tUmzpX4Jufo-qoAI7h |
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
//BACKGROUND AD SCRIPT | |
function setBGCursor() | |
{ | |
top.document.body.style.cursor='pointer'; | |
} | |
function clearBGCursor() | |
{ | |
top.document.body.style.cursor='default' | |
} |
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 sys | |
import time | |
from twisted.internet import reactor,defer, threads | |
from klein import Klein | |
app = Klein() | |
num=0 | |
reactor.suggestThreadPoolSize(30) | |
@app.route('/sleep_test',methods = ['GET']) | |
def sleep_test(request): | |
global num |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |