Skip to content

Instantly share code, notes, and snippets.

View areeves9's full-sized avatar
🏠
Working from home

Andrew areeves9

🏠
Working from home
  • Drund
  • Pacific Northwest
  • 16:43 (UTC -08:00)
View GitHub Profile
@li0nel
li0nel / certbot
Created July 12, 2018 08:03
Execute Certbot
# Use Let's Encrypt certbot to order a free certificate
certbot certonly --non-interactive --manual \
--manual-auth-hook "./auth-hook.sh UPSERT your_domain.com" \
--manual-cleanup-hook "./auth-hook.sh DELETE your_domain.com" \
--preferred-challenge dns \
--config-dir "./letsencrypt" \
--work-dir "./letsencrypt" \
--logs-dir "./letsencrypt" \
--agree-tos \
--manual-public-ip-logging-ok \
@mdang
mdang / FREELANCING.md
Last active November 24, 2023 12:27
Lesson: Freelancing

Freelance Development

Learning Objectives

  • Explain what freelance development is and why companies contract developers
  • List what paperwork is generally involved on both sides
  • Explain what a Statement of Work (SOW) is
  • Explain what scope creep is, and how to avoid it
  • Describe the accounting required for freelance developers
  • Explain how to price your services
@joyrexus
joyrexus / README.md
Last active January 21, 2024 21:51 — forked from btoone/curl.md
curl tutorial

An introduction to curl using GitHub's API.

Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin

Includes HTTP-Header information in the output

@Kartones
Kartones / postgres-cheatsheet.md
Last active November 15, 2024 21:14
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@nunosans
nunosans / html-head-boilerplate.html
Last active September 16, 2024 10:10
HTML Head Boilerplate & Reference
<!doctype html>
<html>
<head>
<!-- Priority tags. These must come first. -->
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge; chrome=1"> <!-- Render Chrome if available or using latest version of Internet Explorer (Recommended). -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<!-- Document Title -->
<title>Page Title</title>
<!-- Allows control over where resources are loaded from. Place as early in the document as possible, only applies to content below this tag. -->