Skip to content

Instantly share code, notes, and snippets.

View mi-skam's full-sized avatar

mi-skam mi-skam

  • mi-skam
  • Zeitz
  • 12:11 (UTC +02:00)
View GitHub Profile
@mi-skam
mi-skam / boxstarter.ps1
Last active February 13, 2019 08:36 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Original Author: Jess Frazelle <[email protected]>
# Author: Maksim
# Last Updated: 2019-02-13
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
# Import for syncthing you need to provide your login password (as a secure-string like so):
@mi-skam
mi-skam / dockercompose_systemd.md
Created April 24, 2019 13:28 — forked from mosquito/README.md
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/[email protected]

[Unit]
Description=%i service with docker compose
Requires=docker.service
After=docker.service
@mi-skam
mi-skam / nginx.conf
Created April 29, 2019 16:30 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@mi-skam
mi-skam / autotools.nix
Last active May 25, 2020 12:15 — forked from lucabrunox/autotools.nix
Nix pill 12
pkgs: attrs:
with pkgs;
let defaultAttrs = {
builder = "${bash}/bin/bash";
args = [ ./builder.sh ];
setup = ./setup.sh;
baseInputs = [ gnutar gzip gnumake gcc binutils-unwrapped coreutils gawk gnused gnugrep patchelf findutils ];
buildInputs = [];
system = builtins.currentSystem;
};