Since I live in germany, I set my time zone and keyboard layout to it. This does not apply to the system language!
I am writing this guide while installing Arch in a virtual machine.
Therefore my hard disk is /dev/sda
and the hostname arch-vm
.
#!/bin/bash | |
clear | |
# clone the repository | |
# (c)kasparsd | |
git clone https://github.com/kasparsd/php-7-debian.git | |
cd php-7-debian | |
# build dependencies and install them | |
./build.sh |
#!/usr/bin/env bash | |
set -e | |
printf -- "#########################################\n" | |
printf -- "# This script has only been tested with #\n" | |
printf -- "# Ubuntu 20.04 #\n" | |
printf -- "# It might work with other versions #\n" | |
printf -- "#########################################\n\n" | |
################################################################################### |
/*! ***************************************************************************** | |
Copyright (C) Microsoft. All rights reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | |
this file except in compliance with the License. You may obtain a copy of the | |
License at http://www.apache.org/licenses/LICENSE-2.0 | |
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | |
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | |
MERCHANTABLITY OR NON-INFRINGEMENT. | |
See the Apache Version 2.0 License for specific language governing permissions |
const { Socket } = require("net"); | |
const tcpClient = (address, port, data) => | |
new Promise((resolve, reject) => { | |
const client = new Socket(); | |
client.connect({ port, address }); | |
client.on("connect", () => { | |
client.write(Buffer.from( |
The official installation guide contains a more verbose description.
.iso
image from https://www.archlinux.org/.iso
to a USB-drive#!/usr/bin/env bash | |
SETUP_KEYMAP='de-latin1' | |
SETUP_DEVICE='/dev/nvme0n1' | |
SETUP_WIFI='' | |
SETUP_AMD='' | |
printf -- "[+] wifi support (N, y): " | |
read SCRIPT_INPUT |
set(CMAKE_C_COMPILER clang) | |
set(CMAKE_CXX_COMPILER clang++) | |
cmake_minimum_required(VERSION 3.18) | |
set(APP_NAME "example-app") | |
project("${APP_NAME}") | |
set(CMAKE_CXX_STANDARD 20) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -std=c++20 -Wno-multichar") |