This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import svelte from 'rollup-plugin-svelte'; | |
import commonjs from '@rollup/plugin-commonjs'; | |
import resolve from '@rollup/plugin-node-resolve'; | |
import livereload from 'rollup-plugin-livereload'; | |
import sveltePreprocess from 'svelte-preprocess'; | |
import css from 'rollup-plugin-css-only'; | |
import esbuild from 'rollup-plugin-esbuild' | |
const production = !process.env.ROLLUP_WATCH; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/> | |
<title>My awesome Rust, WebAssembly, and Parcel application</title> | |
<script src="./async.mjs" type="module"></script> | |
<input type="button" id="start_button" value="start" /> | |
<ul> | |
<li><a href="./index.html">index.html</a></li> | |
<li><a href="./async.html">async.html</a></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rust from "@wasm-tool/rollup-plugin-rust"; | |
export default { | |
input: "Cargo.toml", | |
output: { | |
dir: "dist/js", | |
format: "iife", | |
sourcemap: true, | |
}, | |
plugins: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM archlinux:base-devel | |
ARG UID=1000 | |
ARG GID=1000 | |
ARG USERNAME=dozo | |
ARG LOCATE=JP | |
RUN cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup\ | |
&& curl -fsSL "https://archlinux.org/mirrorlist/?country=${LOCATE}&protocol=http&protocol=https&ip_version=4"\ | |
| sed 's/^#Server/Server/g' | tee /etc/pacman.d/mirrorlist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stable-slim | |
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright | |
ARG DEBIAN_FRONTEND=noninteractive | |
# prepare install | |
RUN apt-get update && apt-get install -y git curl ssh ca-certificates | |
# === INSTALL Node.js === |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div @click="changeName()"> | |
Hello, {{name}}. | |
</div> | |
</template> | |
<script> | |
export default { | |
data() { | |
return { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ $SHLVL = 1 ] ; then | |
xset -r 49 > /dev/null 2&>1 | |
(fcitx-autostart > /dev/null 2&>1 &) | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -L git.io/nodebrew | perl - setup | |
$ set -o noclobber # 念のため | |
$ echo export PATH='$HOME/.nodebrew/current/bin:$PATH' >> ~/.bashrc | |
$ source ~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install bash-completion build-essential x11-apps libxtst6 git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------- | |
1 | ERROR | An error occurred during processing; checking has been | |
| | aborted. The error message was: iconv_strlen(): Detected | |
| | an illegal character in input string in | |
| | D:\local\vendor\squizlabs\php_codesniffer\src\Tokenizers\Tokenizer.php | |
| | on line 193 | |
---------------------------------------------------------------------- |
NewerOlder