Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
let isvowel c = | |
c = 'a' || c = 'e' || c = 'i' || c = 'o' || c = 'u';; | |
let isconsonant c = not (isvowel c);; | |
let rec factorial n = | |
if n <= 0 then 1 | |
else n * factorial (n - 1);; |
#!/bin/bash | |
export PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
# Create subfolder to store renamed files | |
createDestination() { | |
destination="$(dirname "$file")/sorted" | |
mkdir -p "$destination" | |
} |
# See explanation of linters at https://golangci-lint.run/usage/linters/ | |
linters: | |
disable-all: true | |
enable: | |
- bodyclose | |
# Disabled due to flakes: https://github.com/sourcegraph/sourcegraph/issues/33183 | |
# - depguard | |
- forbidigo | |
- gocritic | |
- goimports |
using System; | |
class Program { | |
static void Main(string[] args) { | |
var name = "Microsoft"; | |
Console.WriteLine($"Hello, {name}!"); | |
} | |
} |
.PHONY: psql up down venv check-deps update-deps install-deps isort black mypy flake8 bandit lint test migrate serve | |
ifneq (,$(wildcard ./.env)) | |
include .env | |
export | |
endif | |
VENV=.venv | |
PYTHON=$(VENV)/bin/python3 |
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
# Round the number from input to the required number of decimals. | |
# | |
# The input format: | |
# Two lines: the first with a floating-point number, the second with an integer representing the decimal count. | |
# | |
# The output format: | |
# A formatted string containing the rounded number. | |
number = float(input()) | |
precision = int(input()) |
FROM golang:1.13.6-stretch AS builder | |
RUN apt-get update && apt-get install git ca-certificates && update-ca-certificates | |
ENV GO111MODULE=on\ | |
CGO_ENABLED=0 | |
WORKDIR /build | |
# Cache go modules – they don't change much often |