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
import org.apache.commons.csv.CSVFormat; | |
import org.apache.commons.csv.CSVPrinter; | |
import org.apache.commons.csv.CSVRecord; | |
import org.jsoup.Jsoup; | |
import org.jsoup.nodes.Document; | |
import org.jsoup.nodes.Element; | |
import org.jsoup.select.Elements; | |
import java.io.*; | |
import java.net.*; |
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
(defun cod (list &optional acc) | |
(cond | |
((null list) (reverse acc)) | |
(T (cod | |
(remove (car list) list) | |
(cons | |
(cons | |
(count (car list) list) | |
(cons (car list) nil) |
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
import React from "react"; | |
import ReactDOM from "react-dom"; | |
function App() { | |
return ( | |
<div> | |
<hr /> | |
{joinJSX( | |
[ | |
<span key={3}>1</span>, |
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
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "/uses schema validation", | |
"type": "array", | |
"items": { "$ref": "#/definitions/page" }, | |
"definitions": { | |
"page": { | |
"type": "object", | |
"properties": { | |
"name": { "type": "string" }, |
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 <Arduino.h> | |
#include "Barrier.h" | |
Barrier::Barrier(int left, int right) { | |
this->setCurrent(left, right); | |
} | |
void Barrier::setCurrent(int left, int right) { | |
this->leftPrevious = this->leftCurrent; | |
this->rightPrevious = this->rightCurrent; |
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
[ | |
"https://frontendmasters.com/books/front-end-handbook/2017/practice/interview-q.html", | |
"https://github.com/h5bp/Front-end-Developer-Interview-Questions", | |
"https://career.guru99.com/top-50-html-interview-questions/", | |
"https://www.wisdomjobs.com/e-university/css-advanced-interview-questions.html", | |
"https://www.onlineinterviewquestions.com/advanced-javascript-interview-questions/#.W48GfJMzYWo", | |
"https://github.com/ganqqwerty/123-Essential-JavaScript-Interview-Questions", | |
"https://medium.com/coderbyte/a-tricky-javascript-interview-question-asked-by-google-and-amazon-48d212890703", | |
"https://medium.com/javascript-scene/10-interview-questions-every-javascript-developer-should-know-6fa6bdf5ad95", | |
"https://h5bp.github.io/Front-end-Developer-Interview-Questions/", |
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
const path = require('path') | |
const url = require('url') | |
// console.log(path.resolve('/', '/baz/asdf/')); | |
// console.log(path.resolve('/', 'baz/asdf/')); | |
// console.log(path.resolve('/', '/baz/asdf')); | |
// console.log(path.resolve('/', 'baz/asdf')); | |
// console.log(path.resolve('/baz/asdf/')); | |
// console.log(path.resolve('/')); | |
getServedPath('') |
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
package com.antepay; | |
import io.github.bonigarcia.wdm.DriverManagerType; | |
import io.github.bonigarcia.wdm.WebDriverManager; | |
import org.openqa.selenium.Capabilities; | |
import org.openqa.selenium.chrome.ChromeOptions; | |
import org.openqa.selenium.firefox.FirefoxOptions; | |
import org.openqa.selenium.firefox.FirefoxProfile; | |
import org.openqa.selenium.remote.DesiredCapabilities; |
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
package com.antepay.utility; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.support.pagefactory.DefaultFieldDecorator; | |
import org.openqa.selenium.support.pagefactory.ElementLocator; | |
import org.openqa.selenium.support.pagefactory.ElementLocatorFactory; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.InvocationHandler; | |
import java.lang.reflect.Proxy; |
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
SELECT users.id, product.id, files.id, files.mime_type from files | |
JOIN product on files.product_id = product.id | |
JOIN users on product.owner_id = users.id | |
ORDER BY users.id, product.id, files.thumbnail_id; |