:root { | |
--colors-pink: #ff62dc; | |
--colors-orange: #ff5b00; | |
--colors-yellow: #f7ff00; | |
--colors-green: #28ff00; | |
--colors-cyan: #00ffff; | |
--colors-blue: #00a4ff; | |
--colors-purple: #c210ff; | |
--colors-darker: #151613; |
let regex; | |
/* matching a specific string */ | |
regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello" | |
regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO" | |
regex = /hello/g; // looks for multiple occurrences of string between the forward slashes... | |
/* wildcards */ | |
regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo" | |
regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo" |
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j
<nav class="navbar navbar-default"> | |
<div class="container-fluid"> | |
<!-- Brand and toggle get grouped for better mobile display --> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> | |
<span class="sr-only">Toggle navigation</span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> |
<html class="gr__app_snipcode_hasura_me fa-events-icons-ready"><head> | |
<meta charset="UTF-8"> | |
<title>SnipCode- New Snip</title> | |
<link rel="stylesheet prefetch" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"> | |
<link rel="stylesheet prefetch" href="https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css"> | |
<link rel="stylesheet" href="/css/snip.css"> | |
<link rel="stylesheet" href="/lib/codemirror.css"> |
<!DOCTYPE html> | |
<head> | |
<link href="https://code.jquery.com/jquery-2.2.4.min.js"/> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"/> | |
</head> | |
<style> | |
@keyframes noise{ | |
0%{background-position:1000px;} | |
} |
##Importing Required Libraries | |
from bs4 import BeautifulSoup | |
import requests | |
from __future__ import print_function | |
from sqlalchemy import * | |
import MySQLdb as my | |
import urllib2 | |
##URl of Booking.Com to be fetched |
###Imported Required Libraries | |
import requests, bs4 | |
import webbrowser | |
import sqlalchemy | |
import unicodedata | |
from sqlalchemy import create_engine | |
from sqlalchemy import MetaData, Column, Table, ForeignKey | |
from sqlalchemy import Integer, String | |
import mysql.connector |