I use [Tcl] as my scripting language of choice, and recently someone asked me why. This article is an attempt to answer that question.
Ousterhout's dichotomy claims that there are two general categories of programming languages:
#!/bin/sh | |
# | |
# *** For DSM v7.x *** | |
# | |
# CAUTION: DSM removes files from ~root on various system updates/upgrades. That's why this is copied across from pfSense each time. | |
# This version augmented with: | |
# - switches to use alt port instead of 22 | |
# - configuration for several popular packages that use SSL (including correct permission updates) | |
# - instructions on finding all other installed packages using SSL | |
# - latest nginx restart |
extern crate serde; | |
use base64; | |
use hex::FromHex; | |
use serde::{de, Deserialize, Deserializer, Serialize, Serializer}; | |
use std::convert::TryFrom; | |
#[derive(Serialize, Deserialize, Debug)] | |
pub struct Config { | |
#[serde(serialize_with = "as_base64", deserialize_with = "from_base64")] | |
key: [u8; 32], |
Primarily, I use TouchID for sudo authentication on OSX, but I also tend to be connected to a CalDigit TS3 Plus dock and external monitors with my laptop lid closed. TouchID does not work in that situation.
In my quest to have another solution I found the instructions from Yubikey[1][2]. Unfortunately, the instructions are not well laid out, with formatting issues and some necessary information just missing. I hope to rectify that with this document.
This has been tested on MacOS 10.14.6 and should work on MacOS 10.15. This README assumes you are using Homebrew; it should be possible to configure everything w
## template: jinja | |
#cloud-config | |
{% if v1.distro_release == 'focal' %} | |
users: | |
- name: berkant | |
shell: /usr/bin/bash | |
ssh_import_id: gh:berkant | |
sudo: ALL=(ALL:ALL) NOPASSWD:ALL |
Inspired By: grafana/loki#333
version: "3"
networks:
loki:
#! /bin/bash | |
# Simple Utility Script for allowing debug of hardened macOS apps. | |
# This is useful mostly for plug-in developer that would like keep developing without turning SIP off. | |
# Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg | |
# Update 2022-03-10: Based on Fabian's feedback, add capability to inject DYLD for sanitizers. | |
# | |
# Please note: | |
# - Modern Logic (on M1s) uses `AUHostingService` which resides within the system thus not patchable and REQUIRES to turn-off SIP. | |
# - Some hosts uses separate plug-in scanning or sandboxing. | |
# if that's the case, it's required to patch those (if needed) and attach debugger to them instead. |
S3 Alternatives | |
--------------- | |
- https://wasabi.com | |
- https://www.exoscale.com | |
- https://www.vultr.com | |
- https://www.arubacloud.com/ | |
- https://www.digitalocean.com | |
- https://min.io/ | |
- http://leo-project.net/ | |
- https://www.backblaze.com/ |
Europe