Please check the new Guide
Signal Server Installation Guide
Author: Aqnouch Mohammed aqnouch.mohammed@gmail.com
import { Injectable } from '@angular/core'; | |
import { SwUpdate } from '@angular/service-worker'; | |
import { DialogService } from '@csl/ui'; | |
@Injectable({ | |
providedIn: 'root' | |
}) | |
export class UpdatesService { | |
public loading = false; |
#!/bin/bash | |
local=$(avahi-resolve -4 -n $(hostname).local | cut -f 2) | |
hostname=$1 | |
if [ $local != "127.0.0.1" ] | |
then | |
echo "Aliasing $local as $hostname." | |
avahi-publish -a -R $hostname $local | |
else |
# Summary | |
A few notes I took to see if I could use MacOS as Hypevirsor in a similar fashion to Linux | |
I wanted to see how few addons were needed instead of using Parallels, Virtual Box, VM Fsion etc. | |
The idea is to use QEMU, Hypervisor Framework (https://developer.apple.com/documentation/hypervisor) and some custom host networking. | |
# Installations | |
brew install qemu (For controlling Hypervisor Framework) | |
brew install cdrtools (For making cloud init iso's) | |
http://tuntaposx.sourceforge.net/download.xhtml (For customer tap based networking) |
Signal Server Installation Guide
Author: Aqnouch Mohammed aqnouch.mohammed@gmail.com
The shorewall documentation explains in http://shorewall.org/Docker.html how to configure shorewall for use with docker. The problem with the configuration is that it only allows connections from the host to the main bridge docker0
. Connections to other networks on dynamically created bridges, with names starting by default with br-
, is blocked. Instead of the recommended contents of /etc/shorewall/interfaces
, use wild-card interface names as follows:
#ZONE INTERFACE OPTIONS
#dock docker0 bridge # disabled default recommendation
dock docker0 physical=docker+,routeback=1
dock br physical=br-+,routeback=1
Compile with:
webpack --config vendor.webpack.config.js
webpack --config app.webpack.config.js
Use with the following index.html
#!/bin/bash | |
# | |
# lxc: linux Container library | |
# Authors: | |
# Daniel Lezcano <daniel.lezcano@free.fr> | |
# This library is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU Lesser General Public |
Add the following chunk to your existing ISC dhcpd.conf
file.
if exists user-class and ( option user-class = "iPXE" ) {
filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
filename "undionly.kpxe";
}
(or see https://gist.github.com/4008017 for a more elaborate setup
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |