Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# docker network create nextcloud | |
NOTES: | |
1. certificatesresolvers.myresolver.acme.email=myemail@gmail.com | |
2. TRUSTED_PROXIES values based on your 'nexcloud network' | |
3. remove traefik.http.middlewares.nextcloud.headers.contentSecurityPolicy and | |
traefik.http.middlewares.nextcloud.headers.customFrameOptionsValue if you don't want to allow iframe your domain | |
3 | |
# cat docker-compose.yml |
# nix-env -p /nix/var/nix/profiles/system --delete-generations old | |
# nix-collect-garbage -d | |
# nix-env -p /nix/var/nix/profiles/system --list-generations | |
## Remove entries from /boot/loader/entries: | |
# sudo bash -c "cd /boot/loader/entries; ls | grep -v <current-generation-name> | xargs rm" |
//The global script scope | |
def ctx = context(scope: scriptScope()) | |
//What things can be on the script scope | |
contributor(ctx) { | |
method(name: 'pipeline', type: 'Object', params: [body: Closure]) | |
property(name: 'params', type: 'org.jenkinsci.plugins.workflow.cps.ParamsVariable') | |
property(name: 'env', type: 'org.jenkinsci.plugins.workflow.cps.EnvActionImpl.Binder') | |
property(name: 'currentBuild', type: 'org.jenkinsci.plugins.workflow.cps.RunWrapperBinder') | |
property(name: 'scm', type: 'org.jenkinsci.plugins.workflow.multibranch.SCMVar') |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
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:
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# Author : tintinweb@oststrom.com <github.com/tintinweb> | |
''' | |
A simple TCP three-way handshake example | |
#> python scapy_tcp_handshake.py | |
DEBUG:__main__:init: ('oststrom.com', 80) | |
DEBUG:__main__:start | |
DEBUG:__main__:SND: SYN |
# | |
# Auth filter /etc/fail2ban/filter.d/nginx-auth.conf: | |
# | |
# Blocks IPs that makes too much accesses to the server | |
# | |
[Definition] | |
failregex = ^<HOST> -.*"(GET|POST).*HTTP.*" | |
ignoreregex = |
""" | |
Convert a CFFI cdata structure to Python dict. | |
Based on http://stackoverflow.com/q/20444546/1309774 with conversion of | |
char[] to Python str. | |
Usage example: | |
>>> from cffi import FFI | |
>>> ffi = FFI() |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"