Skip to content

Instantly share code, notes, and snippets.

@teh
teh / manifest
Last active October 17, 2017 14:55
Create a an ACI image with tar, then run it with rkt.
{
"acKind": "ImageManifest",
"acVersion": "0.7.0",
"name": "my-app",
"labels": [
{"name": "os", "value": "linux"},
{"name": "arch", "value": "amd64"}
],
"app": {
"exec": [
@joachifm
joachifm / ServiceGuide.org
Last active September 13, 2021 18:11
services

Service hardening basics

The ideal service runs with the minimum set of privileges necessary to perform the task it is configured to do.

When writing new services, consider the following:

  • Can the service run as an unprivileged user?
    • In most cases, the daemon can run as an unprivileged user or with a limited set of super-user capabilities
  • Can the service run without network access?
@atuyosi
atuyosi / make_inkscape_osx_native.md
Last active September 18, 2019 09:25
Procedure for create App bundle and dmg for Inkscape 0.92 on Sierra/Mountain Lion

Buiding macOS Native (Gtk2/Quartz) version package.

  • Inkscape 0.92
  • Gtk 2
  • App bundle
  • Inkscape.dmg

Pre Requirements

  • Xcode
@oxalica
oxalica / flake.nix
Created January 16, 2021 14:49
Rust wasm example development environment
{
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
flake-utils.url = github:numtide/flake-utils;
rust-overlay.url = github:oxalica/rust-overlay;
};
outputs = { nixpkgs, flake-utils, rust-overlay, ... }:
flake-utils.lib.eachSystem ["x86_64-linux"] (system: let
pkgs = import nixpkgs {
@akihikodaki
akihikodaki / README.en.md
Last active April 14, 2025 16:19
Linux Desktop on Apple Silicon in Practice

Linux Desktop on Apple Silicon in Practice

I bought M1 MacBook Air. It is the fastest computer I have, and I have been a GNOME/GNU/Linux user for long time. It is obvious conclusion that I need practical Linux desktop environment on Apple Silicon.

Fortunately, Linux already works on Apple Silicon/M1. But how practical is it?

  • Two native ports exist.