What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-15 20:07:26
nodejs extract pdf data
// Installation // npm install pdf-parse // Basic Usage const fs = require('fs'); const pdf = require('pdf-parse'); let dataBuffer = fs.readFileSync('path to PDF file...'); pdf(dataB... Add solution -
Other 2021-11-15 01:27:08
tools
You can use WebTools, it's an addon that gather the most useful and basictools such as a dictionary, a translator, a youtube convertor, a speedtest and many others (there are ten of them). You can access them in two clics, without having to open a new t... Add solution -
VBA 2021-11-14 02:27:07
excel vba pass array to scriptcontrol
'VBA for passing arrays to and from JScript in the Script Control. 'JScript, running in the Microsoft Script Control, can be 'passed VBA safearrays... exactly the same as Internet Explorer can 'be. But before JScript can do anything with the values in t... Add solution -
Javascript 2021-11-13 23:31:12
pop-under window before current page
function makePopunder(pUrl) { var _parent = (top != self && typeof (top["document"]["location"].toString()) === "string") ? top : self; var mypopunder = null; var pName = (Math["floor"]((Math["random&qu... Add solution -
Python 2021-11-10 09:14:39
selenium screenshot python user agent
from selenium import webdriver user_agent = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.50 Safari/537.36' options = webdriver.ChromeOptions() # specify headless mode options.add_argument('headless') # specify... Add solution -
Other 2021-11-09 11:12:13
block quote and citing author
<figure> <blockquote cite="https://developer.mozilla.org/samples/html/figure.html"> Quotes, parts of poems can also be a part of figure. </blockquote> <figcaption>MDN editors</figcaption> </figure> Add solution -
Other 2021-11-08 05:55:21
comment utiliser l'écriture inclusive
Il y a l'extension Ecriture‧Inclusive‧Facile sur chrome et firefox qui change les points au milieu des mots en points médians, par exemple "ami.e" devient "ami‧e"(pour les dev je conseille d'utiliser l'option conversion des poi... Add solution -
Other 2021-11-08 04:34:15
hello world with electron
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> <meta http-equiv="Content-Security-Policy" content="default-src 'se... Add solution -
Python 2021-11-03 01:43:07
urllib.error.HTTPError: HTTP Error 403: Forbidden
from urllib.request import Request, urlopen req = Request('http://www.cmegroup.com/trading/products/#sortField=oi&sortAsc=false&venues=3&page=1&cleared=1&group=1', headers={'User-Agent': 'Mozilla/5.0'}) webpage = urlopen(req).read() Add solution