See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
🌞 Morning 42 commits ███░░░░░░░░░░░░░░░░░░ 14.6% | |
🌆 Daytime 69 commits █████░░░░░░░░░░░░░░░░ 24.0% | |
🌃 Evening 138 commits ██████████░░░░░░░░░░░ 47.9% | |
🌙 Night 39 commits ██▊░░░░░░░░░░░░░░░░░░ 13.5% |
import Document, { Head, Main, NextScript } from 'next/document' | |
export default class CustomDocument extends Document { | |
static async getInitialProps (ctx) { | |
return await Document.getInitialProps(ctx) | |
} | |
render () { | |
return ( | |
<html> | |
<Head> |
class Tree(object): | |
def __init__(self, val, children=[]): | |
self.val = val; | |
self.children = children; | |
def __str__(self, level=0, depth=0): | |
if depth == 0: | |
depth = self.getDepth() | |
ret = "\t" * level + repr(self.val) + ("____" * depth) + "\n" | |
for child in self.children: |
This snippet of code was posted in 2014 and slightly revised in 2016 and 2017. It was more of a quick'n'dirty script than a polished tool. It is made only for Linux and in Python 2, which has since become outdated.
I currently do not use it, and I suggest you avoid it as well. Please do not expect support for using this script.
🔥 If you need an alternative, @glaucocustodio has kindly suggested EasyVPN in this comment.
The rest of the README is left for historical purposed.