This text is italic
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 pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj) | |
const compose = (...fns) => res => fns.reduce((accum, next) => next(accum), res) | |
const unfold = (f, seed) => { | |
const go = (f, seed, acc) => { | |
const res = f(seed) | |
return res ? go(f, res[1], acc.concat([res[0]])) : acc | |
} | |
return go(f, seed, []) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> Hello Extensions </title> | |
</head> | |
<body> | |
<button onclic="alert("BOOM! There goes his experiments to smithereeeeens. Such is the move and groove of how things go boom! IN DEXTER's LaaAAAAB!");">Ooh, What Does THIS Button Do?</button> | |
<p> No DeeDee, No! Don't Press that baawtun! </p> | |
</body> |
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
/** mandel5 */ | |
// Uses DrCiRCUiT's Canvas Library, but you can change the drawing / canvas methods for something else. | |
(function () { | |
var scr; | |
var plane = { | |
real: { min: -2, max: 2 }, | |
imag: { min: -2, max: 2 } | |
}; | |
function setup() { | |
scr = dcl.setupScreen(512, 512); |
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
# Updated by Nikhil Kartha | |
import pandas as pd | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from time import sleep, strftime | |
from random import randint | |
import pandas as pd | |
chromedriver_path = 'C:/Users/User/Downloads/chromedriver_win32/chromedriver.exe' # Change this to your own chromedriver path! |
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 bs4 import BeautifulSoup | |
import requests | |
import os | |
def get_article_content(link, fp): | |
try: | |
page_link =link | |
page_response = requests.get(page_link, timeout=20) | |
page_content = BeautifulSoup(page_response.content, "html.parser") | |
article = page_content.find('article') |
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
<div class="container new-login-area"> | |
<div id='sign-in' class='login-setup-section'> | |
<h3 class="request-otp-header">Please verify your mobile number</h3> | |
<div class="form-group login-label"> | |
<label for="inputnumber">mobile number</label> | |
<input type="number" class="form-control input-edit" placeholder='Enter mobile number' id="number"> | |
</div> | |
<button type="button" class="btn btn-default btn-lg btn-block request-otp" id='request-otp'>Get OTP</button> | |
</div> |
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
<div class="cotn_principal"> | |
<div class="cont_centrar"> | |
<div class="cont_login"> | |
<div class="cont_info_log_sign_up"> | |
<div class="col_md_login"> | |
<div class="cont_ba_opcitiy"> | |
<h2>OTP Verification</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> |
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
# Note that this is designed for Python 3.6.4. This might not run on 2.7 at all, because of the change to print statements. | |
# ----------------------------------------------------------------------------------------------------------------------- # | |
x = 3; | |
# Everything top-level doesn't have spacing. Adding spacing will break it | |
# Except for with comments. PEP8 will complain, but it still runs. | |
y = 3; | |
# This doesn't work: | |
# z = 4 | |
# Remove the # to see the error. Your IDE might complain (if you're using one). If not, it will complain when you run it. |
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
// A Hello World! program in C#. | |
using System; | |
namespace HelloWorld | |
{ | |
class Hello | |
{ | |
static void Main() | |
{ | |
Console.WriteLine("Hello World!"); |
NewerOlder