[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
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; |
var InfiniteScroll = window.InfiniteScroll = (function () { | |
var instanceKey = window.Symbol ? Symbol('InfiniteScroll') : '__IE_POLYFILL__SYMBOL__INFINITE_SCROLL'; | |
function result(options) { | |
if (!(this instanceof result)) { | |
throw new Error('InfiniteScroll must called with new operator and options object'); | |
} | |
this.init(options); | |
} | |
Object.defineProperties(result.prototype, { | |
init: { |
//----------------------------------------------------------------------------- | |
// File: Meshes.cpp | |
// | |
// Desc: For advanced geometry, most apps will prefer to load pre-authored | |
// meshes from a file. Fortunately, when using meshes, D3DX does most of | |
// the work for this, parsing a geometry file and creating vertx buffers | |
// (and index buffers) for us. This tutorial shows how to use a D3DXMESH | |
// object, including loading it from a file and rendering it. One thing | |
// D3DX does not handle for us is the materials and textures for a mesh, | |
// so note that we have to handle those manually. |