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
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
import time | |
import random | |
import sys | |
def print_same_line(text): | |
sys.stdout.write('\r') | |
sys.stdout.flush() |
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'; | |
import './index.css'; | |
import App from './App'; | |
import * as serviceWorker from './serviceWorker'; | |
import {BrowserRouter} from 'react-router-dom' | |
ReactDOM.render( | |
<React.StrictMode> |
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 { Switch, Route } from 'react-router-dom' | |
import './App.css'; | |
import Conatct from './pages/contact' | |
import Blog from './pages/blog' | |
import Index from './pages/index' | |
function App() { | |
return ( |
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
{ | |
"name": "myapi", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC" |
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 the Express using require() module | |
const express = require('express'); | |
// Initalize express app | |
const app = express(); | |
// Lets create Fake Data for api | |
const userData = [ | |
{ | |
id: 1, |
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
// Endpoint 1 | |
app.get('/api', function(req, res){ | |
res.send('Welcome to our API') | |
}) | |
// Endpoint 2 | |
app.get('/api/users', function(req, res){ | |
res.json(userData); | |
}) |
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
{ | |
"start":{ | |
"prefix": "!start", | |
"body": [ | |
"<html>", | |
"</html" | |
], | |
"description": "Basic Starter Template" | |
} | |
} |
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
{ | |
"start":{ | |
"prefix": "!start", | |
"body": [ | |
"<html>", | |
"</html" | |
], | |
"description": "Basic Starter Template" | |
}, | |
"h1":{ |
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
{ | |
"name": "bootstrap-snippets", | |
"displayName": "bootstrap-snippets", | |
"description": "A simple Bootstrap snippets", | |
"version": "0.0.1", | |
"engines": { | |
"vscode": "^1.44.0" | |
}, | |
"categories": [ | |
"Snippets" |
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
{ | |
"name": "bootstrap-snippets", | |
"displayName": "bootstrap-snippets", | |
"description": "A simple Bootstrap snippets", | |
"publisher": "piyushgarg", | |
"version": "0.0.1", | |
"engines": { | |
"vscode": "^1.44.0" | |
}, | |
"categories": [ |
OlderNewer