(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| [alias] | |
| vommit = !sh -c \"cat ~/.gitvommit\" |
| #!/bin/sh | |
| # | |
| # Written by Denis Vazhenin <[email protected]> | |
| # | |
| # This script was ported from Debian/Ubuntu version of start script for Gitlab: | |
| # https://raw.github.com/gitlabhq/gitlabhq/master/lib/support/init.d/gitlab | |
| # | |
| # PROVIDE: gitlab | |
| # REQUIRE: NETWORKING SERVERS DAEMON LOGIN | |
| # KEYWORD: shutdown |
| class Array | |
| def comprehend &block | |
| return self unless block | |
| head, *tail = self.map(&:to_a) | |
| return head.map(&block).compact if tail.empty? | |
| return head.product(*tail).map(&block).compact | |
| end | |
| end | |
| def sieve list |
| # Gemfile | |
| gem 'kramdown' |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/bash | |
| # Script for remote processing of multiple mail server's OpenDMARC history files | |
| # Based on a script from Hamzah Khan (http://blog.hamzahkhan.com/) | |
| set -e | |
| cd /tmp | |
| # Remote Hosts, Database, and History File Info | |
| HOSTS='mx1.example.com mx2.example.com mx3.example.com' |
npm install -g jspm@betajspm initjspm install angular2 reflect-metadata zone.js es6-shimThis will create a jspm_packages folder, and a config.js file.
Open the config.js file - this file manages options for the System.js loader - tweak it as appropriate
| ssh [email protected] "ffmpeg -i $URL -c copy -f nut pipe:1" | ffplay -i pipe:0 |
| ffmpeg -i input.mp4 -c copy -ss 00:04:25.000 -to 00:09:25.000 output.mp4 |
LVM on LUKS Arch installation with systemd-boot
Sources:
Note: If you want a simpler encryption setup (with LUKS only), you can instead use the archinstall "guided" installer included with Arch since April 2021.