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
query fetchEventQuery { | |
events { | |
title | |
description | |
creator { | |
} | |
} | |
} |
Things you need...
chrome browser in your system chromdervier (add it in your environment PATH) https://chromedriver.chromium.org/downloads
install selenium with pip
pip install selenium
then use below script
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
@-moz-document url-prefix("https://www.google.com/search?") { | |
:root { | |
--main-bg: #121212; | |
--link-color: #3072e3; | |
--black-bg: #333; | |
--black-bg-dark: #222; | |
--black-bg-light: #444; | |
--grey: #999; | |
--light-grey: #555; | |
--black: var(--black); |
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
onChange={e => { | |
const val = e.target.value; | |
setMessage(prevState => { | |
return { ...prevState, message: val } | |
}); | |
}} |
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
function bytesToSize(bytes) { | |
var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; | |
if (bytes == 0) return '0 Byte'; | |
var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024))); | |
return Math.round(bytes / Math.pow(1024, i), 2) + ' ' + sizes[i]; | |
} |
Run PowerShell as Administrator
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade
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
// Theme Configuration | |
"workbench.colorTheme": "CodeSandbox Black", | |
// Font Configuration | |
"editor.wordWrap": "on", | |
"editor.fontSize": 17, | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact" | |
}, | |
"editor.fontFamily": "Operator SSm,verdana", |
NewerOlder