See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
# This is the main configuration file for Bukkit. | |
# As you can see, there's actually not that much to configure without any plugins. | |
# For a reference for any variable inside this file, check out the Bukkit Wiki at | |
# http://wiki.bukkit.org/Bukkit.yml | |
# | |
# If you need help on this file, feel free to join us on irc or leave a message | |
# on the forums asking for advice. | |
# | |
# IRC: #spigot @ irc.spi.gt | |
# (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ ) |
axios({ | |
url: 'http://localhost:5000/static/example.pdf', | |
method: 'GET', | |
responseType: 'blob', // important | |
}).then((response) => { | |
const url = window.URL.createObjectURL(new Blob([response.data])); | |
const link = document.createElement('a'); | |
link.href = url; | |
link.setAttribute('download', 'file.pdf'); | |
document.body.appendChild(link); |
#!/usr/bin/env bash | |
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep '\.jsx\?$') | |
BIN_PATH="$(git rev-parse --show-toplevel)/node_modules/.bin" | |
eslint() { | |
ESLINT="$BIN_PATH/eslint" | |
# Check for eslint |
With almost no bandwith at home, I needed a way to download DOOM
that didn't involve blocking the home internet line for two days.
Using steamcmd you can use any computer to download steam games.
login username password
#!/bin/sh | |
# Application path | |
APP_PATH="$(dirname "${BASH_SOURCE[0]}")" | |
cd "$APP_PATH" | |
# Executable file | |
APP_EXEC="$APP_PATH/.exe" | |
# Steam / IDs |
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- REQUIRES Noto fonts (along with Noto Color Emoji) | |
run `fc-list | grep -i -e "noto sans" -e "noto serif" -e "noto color emoji"` to confirm | |
--> | |
<!-- Change the string in the family tag to whatever font --> | |
<family>serif</family> | |
<prefer><family>Noto Serif</family></prefer> | |
</alias> |