These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
# Repeat an operation n times, e.g. | |
# @dotimes 100 println("hi") | |
macro dotimes(n, body) | |
quote | |
for i = 1:$(esc(n)) | |
$(esc(body)) | |
end | |
end | |
end |
/* Taken from https://www.cybercom.net/~dcoffin/dcraw/dcraw.c */ | |
/* Which itself attributes this algorithm to "Frank Markesteijn" */ | |
#define TS 512 /* Tile Size */ | |
#define fcol(row,col) xtrans[(row+6) % 6][(col+6) % 6] | |
void CLASS xtrans_interpolate (int passes) | |
{ | |
int c, d, f, g, h, i, v, ng, row, col, top, left, mrow, mcol; | |
int val, ndir, pass, hm[8], avg[4], color[3][8]; |
These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
{ pkgs ? import <nixpkgs> {}} : | |
with pkgs; | |
buildFHSUserEnv { | |
name = "antidote9"; | |
targetPkgs = pkgs: (with pkgs; [ | |
dbus | |
firefox | |
fontconfig |
cmake_minimum_required(VERSION 3.5) | |
# Find python and Boost - both are required dependencies | |
find_package(PythonLibs 2.7 REQUIRED) | |
find_package(Boost COMPONENTS python REQUIRED) | |
# Without this, any build libraries automatically have names "lib{x}.so" | |
set(CMAKE_SHARED_MODULE_PREFIX "") | |
# Add a shared module - modules are intended to be imported at runtime. |
SELECT table, | |
formatReadableSize(sum(bytes)) as size, | |
min(min_date) as min_date, | |
max(max_date) as max_date | |
FROM system.parts | |
WHERE active | |
GROUP BY table |
Europe
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/ |
#! /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. |
Inspired By: grafana/loki#333
version: "3"
networks:
loki: