- using
pkgutil
# list all your installed packages
pkgutil --pkgs
# show your package info
pkgutil --pkg-info
apt install -y vim | |
apt install -y wget | |
apt install -y sqlite3 (used by a test, not needed for the build to complete) | |
apt install -y curl | |
apt install -y git | |
apt install -y build-essential | |
apt install -y pkg-config |
// LZ4 streaming API example 2 (ring buffer) | |
#define _CRT_SECURE_NO_WARNINGS // for MSVC | |
#include "lz4.h" | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> |
1. general (rpm, speed, gear, time) | |
2. engine load (actual + target) | |
3. torque (actual + target) | |
4. accelerator pedal angle | |
5. throttle body angle | |
6. boost (actual + target) | |
7. wastegate duty cycle | |
8. fuel trims (short term) | |
9. fuel pressure (low + high) | |
10. ignition timing (all cylinders + average) |
#!/usr/bin/env bash | |
# --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\ | |
function register_clang_version { | |
local version=$1 | |
local priority=$2 | |
update-alternatives \ | |
--install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${version} ${priority} \ |
# edit and save this file to /usr/lib/systemd/system/clash.service | |
[Unit] | |
Description=clash | |
After=network.target | |
[Service] | |
WorkingDirectory="your home directory"/.config/clash | |
ExecStart="your home directory"/.config/clash/start-clash.sh | |
ExecStop="your home directory"/.config/clash/stop-clash.sh | |
Environment="HOME=your home directory" |
(* | |
## Goal | |
This script is make new calendar event to fantastical2 from things3 complete todos in 'Logbook' on specified date. | |
## How to use: | |
* Default is today | |
* `$ osascript things-to-fantastical.applescript` | |
* The specified date | |
* `$ osascript things-to-fantastical.applescript 2017/08/12` | |
*) |
require "formula" | |
class MobileShell < Formula | |
desc "Remote terminal application" | |
homepage "https://mosh.mit.edu/" | |
url "https://mosh.mit.edu/mosh-1.2.5.tar.gz" | |
sha256 "1af809e5d747c333a852fbf7acdbf4d354dc4bbc2839e3afe5cf798190074be3" | |
bottle do | |
sha256 "046b0c48cd1c573d57500e683122e3152a00556ad960938c6caa962b0c2ef460" => :el_capitan |