a helpful primer for users sick of git's poorly-named commands
I've used Git since 2011, and this is the stuff that I've always had to Google to remember. I hope it helps you not hate Git so much.
import logging | |
from traceback import format_exc | |
import datetime | |
from schedule import Scheduler | |
logger = logging.getLogger('schedule') | |
// This program is an example of how to run a command such as | |
// ps aux | grep root | grep sbin | |
// using C and Unix. | |
#include <stdlib.h> | |
#include <unistd.h> | |
int pid; | |
int pipe1[2]; | |
int pipe2[2]; |
These are my favorite tools for making my terminal a nice place to work.
Thanks to HAP-NodeJS
Service | UUID |
---|---|
Accessory Information | 0000003E-0000-1000-8000-0026BB765291 |
Air Quality Sensor | 0000008D-0000-1000-8000-0026BB765291 |
Battery Service | 00000096-0000-1000-8000-0026BB765291 |
Bridging State | 00000062-0000-1000-8000-0026BB765291 |
for Android Bluetooth Low Energy
Tired of remembering which properties go with which bits in the properties bitmask of a BluetoothGattCharacteristic
? Me too. Here's an easy-to-read table. Source.
Bit Value | Meaning
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
"github.com/eiannone/keyboard" | |
) |
#!/bin/bash | |
set -euo pipefail | |
set -a; source "$1"; set +a | |
"${@:2}" |