See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| // ==UserScript== | |
| // @name Overleaf - Paste Images from Clipboard | |
| // @namespace https://github.com/BLumbye/overleaf-userscripts | |
| // @version 0.6 | |
| // @description Paste images from your clipboard directly into Overleaf (Community Edition, Cloud and Pro) | |
| // @author Sebastian Haas, Benjamin Lumbye | |
| // @license GPL-3 | |
| // @match https://www.overleaf.com/project/* | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.js | |
| // @grant none |
| { | |
| "core": { | |
| "dry_run": false, | |
| "rclone_binary_path": "/usr/bin/rclone", | |
| "rclone_config_path": "/home/smurf/.config/rclone/rclone.conf" | |
| }, | |
| "hidden": { | |
| "/mnt/local/.unionfs-fuse": { | |
| "hidden_remotes": [ | |
| "td-02", |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| def merge(arr, start, middle, end): | |
| i = j = 0 | |
| k = start | |
| left = arr[start:middle] | |
| right = arr[middle:end] | |
| while i < len(left) and j < len(right): | |
| if left[i] < right[j]: | |
| arr[k] = left[i] | |
| i += 1 |
| def multiply(x, y): | |
| n = len(str(x)) | |
| if n == 1: | |
| return x * y | |
| nby2 = n // 2 | |
| ten_to_nby2 = 10 ** nby2 | |
| a = x // ten_to_nby2 | |
| b = x % ten_to_nby2 | |
| c = y // ten_to_nby2 |
| from selenium import webdriver | |
| from selenium.webdriver.chrome.options import Options | |
| from bs4 import BeautifulSoup | |
| import pandas | |
| from random import randint | |
| from time import sleep | |
| options = Options() |