See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
\documentclass[sigconf,anonymous=$anonymous$]{acmart} | |
\usepackage{booktabs} | |
\usepackage{caption} % http://mirror.easyname.at/ctan/macros/latex/contrib/caption/caption-eng.pdf | |
\usepackage{balance} % balancing bibstyles as per request in accepted submission | |
\usepackage{graphicx} | |
% We will generate all images so they have a width \maxwidth. This means | |
% that they will get their normal width if they fit onto the page, but | |
% are scaled down if they would overflow the margins. |
Sometimes you don't need all of jQuery's modules. Officially, you can use their Grunt script to build a slimmed-down jQuery, but what if Webpack is more your thing? Enter this guide.
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
/* | |
* Written by Joshua Saxby ("saxbophone") 2023-03-14 -- saxbophone.com | |
* | |
* This demonstration program for how to derive max/min "safe" integers for | |
* conversion to and from floating point is hereby released into the public domain. | |
*/ | |
#include <limits> // numeric_limits | |
#include <type_traits> // make_signed |
# DISCLAIMER: This is probably not the best way to do it. This is just one way to make it work. | |
# There's 2 stages: | |
# - building the app | |
# - serving the app | |
# Build step | |
FROM node:10 as builder | |
# in case you want to use ENV variables you need to provide them as build-time configuration arguments |
// zod schema | |
z.object({ | |
// valid if string or: | |
optional: z.string().optional(), // field not provided, or explicitly `undefined` | |
nullable: z.string().nullable(), // field explicitly `null` | |
nullish: z.string().nullish(), // field not provided, explicitly `null`, or explicitly `undefined` | |
}); | |
// type | |
{ |