What do you want to save?
Add Code snippet
New code examples
-
Python 2021-08-27 20:58:02
is Cross policy an issue with puppeteer / headless chrome?
const fetch = require('node-fetch') const requestInterceptor = async (request) => { try { const url = request.url() const requestHeaders = request.headers() const acceptHeader = requestHeaders.accept || '' if (url.includes("exam... Add solution -
Shell/Bash 2021-08-27 20:25:01
windows wsl2 linux install docker
//INSTALL DOCKER ON LINUX SUBSYSTEM (ON WIN 10) AND ALL REQUIRED SOFTWARE //---------------------------------------------------------------------------------------------------- #ENABLE LINUX SUBSYTEM IN CONTROL PANEL #INSTALL WSL2 #INSTALL PREFFERED LINUX... Add solution -
Shell/Bash 2021-08-27 20:17:01
ubuntu higher displayer resolution
1. Open a Terminal by CTRL+ALT+T 2. Type xrandr and ENTER 3. Note the display name usually VGA-1 or HDMI-1 or DP-1 4. Type cvt 1920 1080 (to get the --newmode args for the next step) and ENTER 5. Type sudo xrandr --newmode "1920x1080_60.00" 173... Add solution -
Other 2021-08-27 19:34:02
apiipify
# This example requires the requests library be installed. You can learn more # about the Requests library here: http://docs.python-requests.org/en/latest/ from requests import get ip = get('https://api.ipify.org').text print('My public IP address is: {... Add solution -
-
Shell/Bash 2021-08-27 17:35:02
bash print lines unique to one file
# Example usage using awk: awk 'FNR==NR { b[$0] = 1; next } !b[$0]' input_file_1 input_file_2 # This command prints all lines of input_file_2 that aren't found in # input_file_1 (i.e. lines that are unique to input_file_2). Another # way of saying this is... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5