Skip to content

Instantly share code, notes, and snippets.

View cratermoon's full-sized avatar

Steven E. Newton cratermoon

View GitHub Profile
@cratermoon
cratermoon / techdoc.md
Last active October 9, 2024 23:22
Aspects of Software Technical Documentation

Writing is an essential skill for software developers.

Software documentation should cover the development and engineering decisions, not the code. It should explain why and how it was built and is maintained. An ideal to strive for is making it possible to recreate the system from scratch, without access to the code, should it be necessary.

Technical documentation for any software system should include:

  • A logical model of the domain
  • logical architecture schema
  • physical architecture schema
@cratermoon
cratermoon / experienced-devs.md
Last active June 18, 2024 19:14
Experienced Developer Notes
title author date lastModified lang
Experienced Developer Notes
Steven E. Newton
2022-11-12 04:56:49 -0800
2024-06-18 12:13:05 -0700
en-US

The last thing a programmer should be worried about is how fast they can type in code.

Everything is a people problem when you dig deep enough.

@cratermoon
cratermoon / githubcurl.c
Created January 29, 2024 20:26
creating a curl program using curl and --libcurl
/********* Sample code generated by the curl command line tool **********
* All curl_easy_setopt() options are documented at:
* https://curl.se/libcurl/c/curl_easy_setopt.html
* curl -s --libcurl github.c https://github.com
************************************************************************/
#include <curl/curl.h>
int main(int argc, char *argv[])
{
CURLcode ret;
Word Occurences
zettelkasten 41
sublime 32
focus 28
things 22
ebooks 22
life 19
like 18
good 17
zero 15
@cratermoon
cratermoon / techvmgt.md
Created January 2, 2019 05:51
Tech or management path
  • If I subsequently regret making the move to management, what is my way back to a hands-on technical role?
  • Don't layoffs hit middle management first?
  • Why not Rachel or Marya?
  • What support for new managers is there and who supports me?
  • Who is my manager?
  • How big is my team? Do I get any say who is on it?
  • Is there an intermediate step? Offically recognized mentor and leader that isn't straight up management?
  • What happens when I have to fire someone? Who do I work with in HR for personnel issues?
@cratermoon
cratermoon / gist:393448fa912a73a71464c6f073888c7c
Created September 17, 2016 03:08
create 1000 files match Screenhive file
const fs = require('fs');
for (i = 0; i < 1000; i++) {
var appid = Math.floor(Math.random() * (531480 - 5)) + 5;
var ds = (new Date()).toISOString().replace(/[^0-9]/g, "")
var filename = appid + "_" + ds + "_1.png";
fs.open(filename, "w", (err, fd) => {
fs.close(fd, console.log);
}
);