In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# journal.sh | |
# ========== | |
# | |
# One daily text file to rule them all. | |
# | |
# Copyright: 2022 Tyler Cipriani <[email protected] | |
# License: GPLv3 | |
set -euo pipefail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=rtl_433 to mqtt | |
[Service] | |
ExecStart=/home/pi/rtl_433_mqtt_relay.py | |
Restart=always | |
RestartSec=5 | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00001000100000001011000011101000000011100001110110000000101000000111110000010111 | |
00000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
00011111111111111111000001010000000010000000001001000000111000000001110000010011 | |
00000101000000011001000111111111111111110000001101000000100100000001110000001000 | |
00000001000000000001000001001000000001010001111111111111111111111111111111111111 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Word of the Day! | |
# | |
# Get m-w.com's top word lookup of however long... | |
# | |
# USAGE: | |
# | |
# (/^ヮ^)/*:・゚✧ date -Is | |
# 2021-01-06T16:38:27-07:00 |
I'm doing this with the myrepos perl script. I started down the path of reimplementing a good chunk of functionality of myrepos before realizing my mistake and generating a config file instead :)
To generate the config file I used this beauty:
while read repo; do
printf '[%s]\n%s\n\n' "${repo}.git" "checkout = git clone --mirror https://gerrit-replica.wikimedia.org/r/${repo}"
done < <(curl -sL https://gerrit.wikimedia.org/r/projects/?all | \
Reading: https://hackernoon.com/bugs-priority-3b5cf5f6aadd#.6dea1eo0d
- Maintaining software is about tradeoffs
- Shared understanding of tradeoffs is important
- Tracking bugs is important
- What priority means?
- What else should we be using?
https://www.divio.com/blog/documentation/
- If your project is poorly documented
- Folks won’t use your software
- Folks will misuse your software, even if they’re forced to use it (see also rsync)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Pytail | |
# ------ | |
# Dumb python program that lets you tail a file while interactively filtering it | |
import os | |
import re | |
import select | |
import subprocess | |
import sys | |
import time |
Notes from Google’s Engineering Practices documentation
- CL: Stands for “changelist,” which means one self-contained change that has been submitted to version control or which is undergoing code review. Other organizations often call this a “change” or a “patch.”
- LGTM: Means “Looks Good to Me.” It is what a code reviewer says
NewerOlder