See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
esphome: | |
name: atomberg | |
esp32: | |
board: esp32dev | |
framework: | |
type: arduino | |
# Enable logging | |
logger: |
<html> | |
<body> | |
<div class="relative"> | |
<canvas width="500" height="500" id="canvas"></canvas> | |
<button id="blue-button">Blue</button> | |
<button id="red-button">Red</button> | |
<input type="range" id="pen-width" min="1" max="10" value="5" /> |
#! /usr/bin/perl | |
use v5.10; | |
use strict; | |
use warnings; | |
use Pod::Usage; | |
use Getopt::Long; | |
use POSIX 'dup2'; | |
our $VERSION= 0.001; |
#!/bin/bash | |
# Script to automatically restart mailboxd when IMAP mailboxes fail to lock | |
# (which usually indicates the server has hung) | |
# | |
# Configure MAILTO to match where you want the notification email sent. | |
# | |
# Prerequisite: You must install LogWarn, which can be found at | |
# https://github.com/archiecobbs/logwarn if your package manager doesn't have | |
# it. |
\ -*- Mode: Forth -*- | |
\ Conway's Game of Life | |
\ originally from http://rosettacode.org/wiki/Conway's_Game_of_Life#Forth | |
\ see also http://en.wikipedia.org/wiki/Conway's_Game_of_Life | |
\ ------------------------------------------------------------------- | |
\ The fast wrapping requires dimensions that are powers of 2. | |
\ (for playing just size, you may set terminal size to 64x17) |
# This implementation is based on the paper: https://github.com/deepseek-ai/DeepSeek-R1/blob/main/DeepSeek_R1.pdf | |
# | |
# pip install torch transformers | |
# python grpo_demo.py | |
import torch | |
import torch.nn as nn | |
import torch.optim as optim | |
from transformers import BertTokenizer, BertModel |
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers:
// Types for the result object with discriminated union | |
type Success<T> = { | |
data: T; | |
error: null; | |
}; | |
type Failure<E> = { | |
data: null; | |
error: E; | |
}; |