[TOC]
- Download Raspberry Pi Imager on laptop
- Setup network anyway...
- Setup each cluster nodes (raspberry pis)
- Write to Micro SD or USB drive using Raspberry Pi Imager, with SSH enabled
cmake_minimum_required(VERSION 3.10) | |
project(bmp) | |
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) | |
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_CURRENT_BINARY_DIR}) | |
add_executable(dummy_bmp main.c bmp.c) |
/* from https://giscus.app/themes/light.css and https://giscus.app/themes/dark.css for dark mode */html:not(.dark) main{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#2429 |
interface Pending { | |
resolve: (value: any) => void; | |
reject: (error: any) => void; | |
criticalSection: () => Promise<unknown>; | |
} | |
export function criticalSection(): <T>( | |
criticalSection: () => Promise<T> | |
) => Promise<T> { | |
const pending: Pending[] = []; |
/* ************************************************************************** */ | |
/* */ | |
/* ::: :::::::: */ | |
/* get_next_line.c :+: :+: :+: */ | |
/* +:+ +:+ +:+ */ | |
/* By: Juyeong Maing <jmaing@student.42seoul.kr> +#+ +:+ +#+ */ | |
/* +#+#+#+#+#+ +#+ */ | |
/* Created: 2023/04/16 16:47:34 by Juyeong Maing #+# #+# */ | |
/* Updated: 2023/04/22 19:26:51 by Juyeong Maing ### ########.fr */ | |
/* */ |
[TOC]
Q := $(if $(filter 1,$(V) $(VERBOSE)),,@) | |
NAME := config.mk | |
$(NAME): variable_cc.mk variable_diagnostics.mk | |
$Qrm -f tmp_$@ | |
$Qcat variable_*.mk > tmp_$@ | |
$Qmv tmp_$@ $@ | |
$Qecho "Configure OK!" | |
$Qmake --no-print-directory clean |
#!/bin/bash | |
# link cache directories to goinfre | |
TARGET=( | |
"Caches" | |
"ApplicationSupport/Code/Cache" | |
"ApplicationSupport/Code/CachedData" | |
"ApplicationSupport/Code/CachedExtensions" |
FROM ubuntu:18.04 | |
# command: docker build -t janus-test:0.0.2 . | |
# install dependencies | |
RUN apt update && apt install -y \ | |
libjansson-dev \ | |
libconfig-dev \ | |
libnice-dev \ |
git clone --sparse --filter=blob:none --depth=1 -b $BRANCH_NAME --single-branch $REPOSITORY_URL dts-react | |
cd dts-react | |
npm i | |
npm i csstype | |
git sparse-checkout add prop-types | |
git sparse-checkout add scheduler/tracing | |
git sparse-checkout add react-dom | |
git sparse-checkout add types/react-addons-create-fragment | |
git sparse-checkout add types/react-addons-linked-state-mixin | |
git sparse-checkout add types/react-addons-pure-render-mixin |
var InputAutocomplete = window.InputAutocomplete = (function () { | |
function result(options) { | |
if (!(this instanceof result)) throw new Error('InputAutocomplete is a constructor'); | |
if (!options) throw new Error('InputAutocomplete requires options to be provided'); | |
this.inputElement = options.inputElement; | |
this.show = options.show; | |
this.hide = options.hide; | |
this.setFailed = options.failed; | |
this.setLoading = options.loading; | |
this.setPlaceholder = options.placeholder; |