- Sign up and sign in to Cloudflare https://dash.cloudflare.com/sign-up.
- In your Cloudflare dashboard, select the
Domain Registration > Register Domains
tab. - Search for your favorite domain and purchase it. In my case, I purchased the domain https://nivethan.me/ for my portfolio.
- Sign in to Vercel and go to your dashboard, where you can see all your projects in the
Overview
tab. - Click on a project and on the top right, select
Domains
. - Type your domain in the text box, e.g.,
nivethan.me
, and clickAdd
. - Select the recommended option:
Add www.nivethan.me and redirect nivethan.me to it
. - Vercel will show an invalid configuration under your domains and display the relevant A record IP under
nivethan.me
and a CNAME IP underwww.nivethan.me
. These need to be set up on Cloudflare to make it work.
This file contains hidden or 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
# Build: docker build -t seleium_chrome -f selenium_chrome.dockerfile . | |
# Run: docker run selenium_chrome | |
FROM python:3.8 | |
RUN apt-get update && apt-get install -y unzip | |
# Install chrome & chromedriver dependencies | |
# Source: https://github.com/puppeteer/puppeteer/blob/v5.5.0/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix | |
# see section "Debian Dependencies" |
This file contains hidden or 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
// Charles Proxy License | |
// Registration code for any version of Charles, who would want to use a cracked version? | |
// Charles 4.5.5 is currently the latest version and is available. | |
Registered Name: https://zhile.io | |
License Key: 48891cf209c6d32bf4 | |
Author: Neo Peng |
This file contains hidden or 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
""" | |
Usage: | |
# From tensorflow/models/ | |
# Create train data: | |
python3 generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=data/train.record | |
# Create test data: | |
python3 generate_tfrecord.py --csv_input=data/test_labels.csv --output_path=data/test.record | |
""" | |
from __future__ import division | |
from __future__ import print_function |