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
document.querySelectorAll('div/div/div/div/main/div/div/div/div/div/div/div/div/section/div/div/div/div/div/article/div/div/div/div/div/div/div/div/div/div/div/div/div/div/svg'.replaceAll('/', ' > ')).forEach((x, i) => x.closest('div').click()) | |
setTimeout(() => { | |
testxpath = document.evaluate("//span[text()='Delete']", document, null, XPathResult.ANY_TYPE, null ); | |
let nodes = []; let node; while (node = testxpath.iterateNext()) {nodes.push(node);} | |
nodes.forEach((x) => x.click()); | |
setTimeout(() => { | |
testxpath = document.evaluate('/html/body/div/div/div/div/div/div/div/div/div/div/div/div/div/div/div/span/span[text()="Delete"]', document, null, XPathResult.ANY_TYPE, null); | |
nodes = []; let node; while (node = testxpath.iterateNext()) {nodes.push(node);} | |
nodes.forEach((x) => x.click()); |
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
#ifndef PRODUCER_CONSUMER_QUEUE_HPP_ | |
#define PRODUCER_CONSUMER_QUEUE_HPP_ | |
// Based on code from http://www.justsoftwaresolutions.co.uk/threading/implementing-a-thread-safe-queue-using-condition-variables.html | |
// Original version by Anthony Williams | |
// Modifications by Michael Anderson -- https://gist.github.com/482342 | |
// Modifications by Viveret Steele -- https://gist.github.com/viveret/323d1cadf57468bd73bc97c3b952c124 | |
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
app.Map("/api/proxied-api", builder => builder.RunProxy(new ProxyOptions { | |
BackChannelMessageHandler = new ProxyHandler(builder.ApplicationServices), | |
Scheme = "https", | |
Host = "localhost", | |
Port = "44383" | |
})); | |
public class ProxyHandler : DelegatingHandler { | |
private readonly IServiceProvider serviceProvider; |
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
#include <cstdlib> | |
#include <iostream> | |
#include <vector> | |
#include "tiny-dnn/tiny_dnn/tiny_dnn.h" | |
#include <ws2tcpip.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <limits> |
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
sp_configure 'show advanced options',1 | |
reconfigure; | |
GO | |
sp_configure 'Ad Hoc Distributed Queries',1 | |
reconfigure; | |
GO | |
CREATE TABLE SampleText ( |
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
[ | |
{ | |
"uid":1, | |
"name":"Gender", | |
"desc_short":"Between the ears, not the legs", | |
"desc_long":"Gender is the range of characteristics pertaining to, and differentiating between, masculinity and femininity. Depending on the context, these characteristics may include biological sex (i.e. the state of being male, female or intersex), sex-based social structures (including gender roles and other social roles), or gender identity.", | |
"credit":"en.wikipedia.org/wiki/Gender", | |
"last_update":"2015-05-11 21:10:00", | |
"hit_count":72, | |
"is_slur":false, |