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
<VirtualHost *:80> | |
ServerName test.localhost | |
Header always set Access-Control-Allow-Origin "*" | |
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT" | |
Header always set Access-Control-Max-Age "1000" | |
RewriteEngine On | |
RewriteCond %{HTTP:Connection} Upgrade [NC] | |
RewriteRule /(.*) ws://localhost:3001/$1 [P,L] | |
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
# Azure Links | |
#### Azure Regions | |
- https://azure.microsoft.com/en-in/regions | |
#### Available Services | |
- https://azure.microsoft.com/en-in/services/ |
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
8 |
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
>>> b# <!-- ... existing HTML ... --> <div id="like_button_container"> | |
</div> <!-- ... existing HTML ... --> / $ { dogglow } < { Github } > | |
<lf> |
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
*.js eol=lf | |
*.jsx eol=lf | |
*.json eol=lf |
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
<<-$ 17:41:13.754 ----- OpenVPN Start ----- $ 17:41:13.756 -- EVENT: | |
<< $ CORE_THREAD_ACTIVE 17:41:13.760 -- OpenVPN core 3.git::728733ae:Release android << $ armv7a thumb2 32-bit PT_PROXY$ built on Aug 14 2019 14:13:59 17:41:13.761 -- << << $ Frame=512/2048/512 mssfix-ctrl=1250 17:41:13.764 -- UNUSED OPTIONS 0 [verb] | |
<< $ [4] 5 [nobind] 8 [resolv-retry] [infinite] 9 [persist-key] | |
<< $ 10 [persist-tun] 17:41:13.765 -- EVENT: RESOLVE 17:41:13.769 -- Contacting | |
<< $ x.x.x.x:1194 via UDP 17:41:13.770 -- EVENT: WAIT 17:41:13.777 -- | |
<< $ Connecting to [x.x.x.x]:1194 (x.x.x.x) | |
<< $ 8.via UDPv4 17:41:23.766 -- Server poll timeout, trying next remote entry... | |
<< $ 17:41:23.767 -- EVENT: RECONNECTING 17:41:23.772 -- EVENT: RESOLVE 17:41:23.784 | |
<< $ Contacting x.x.x.x :1194l via UDP 17:41:23.785 -- | |
<< $ EVENT: WAIT 17:41:23.793 -- Connecting to [x.x.x.x] |
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 puppeteer = require('puppeteer'); | |
const getPdf = (page) => { | |
let url = await page.url(); | |
return page.evaluate(url => { | |
return new Promise(async resolve => { | |
const reader = new FileReader(); | |
const response = await window.fetch(url, { | |
credentials: 'same-origin', | |
method: 'POST' | |
}); |