Skip to content

Instantly share code, notes, and snippets.

@junkor-1011
junkor-1011 / README.md
Last active May 4, 2024 06:52
Setup Note for Ubuntu24.04 LTS Desktop

Ubuntu24.04(Noble Numbat) LTS Desktop セットアップメモ

コンセプトのメモ:

  • デスクトップ用途含めてユーザー・実績が多く、安定性に優れると考えられるため、 Ubuntu LTS版をベースOSに使う
  • waylandを基本的に使うようにする(ホスト/ゲスト共に)
  • WindowsのWSL2に着想を得て、KVMベースの仮想マシンを諸々の開発や検証に使うようにする
    • ベース側(Ubuntu24.04 LTS Desktop)はホストOSとしての機能と、ブラウザ周りなどデスクトップで行うのに適したものを行うのに使い、 必要以上に開発用途のライブラリ・ツールを入れすぎたりカスタマイズを行わないようにする
@junkor-1011
junkor-1011 / README.md
Last active July 3, 2023 15:56
note(escape): rewriting html file by using jsdom

rewriting html by using jsdom

Example

  • rewrite single file
import path from 'node:path';
@junkor-1011
junkor-1011 / index.html
Created June 5, 2023 12:29
LT資料: pep668 & pipx
<!DOCTYPE html>
<html>
<head>
<title>about pep668</title>
<meta charset="utf-8">
<style>
@page {
size: 1210px 681px;
margin: 0;
@junkor-1011
junkor-1011 / README.md
Last active May 13, 2023 15:46
deno test

test

cli install

deno install \
  -n hoge \
  --import-map=https://gist.githubusercontent.com/junkor-1011/96efc32a454e956d468ba5516e811ca9/raw/ed87f6757b1524c02db5de2d00e513b6bef00d90/import_map.json \
  # --no-check \
 https://gist.githubusercontent.com/junkor-1011/96efc32a454e956d468ba5516e811ca9/raw/ed87f6757b1524c02db5de2d00e513b6bef00d90/cli.ts
@junkor-1011
junkor-1011 / .editorconfig
Last active May 13, 2023 08:34
LT資料: Makefile as a task runner
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
@junkor-1011
junkor-1011 / .gitignore
Last active April 24, 2023 14:41
geopandas intro
testdata
tmp
temp
.tmp
.temp
# Created by https://www.toptal.com/developers/gitignore/api/jupyternotebooks,visualstudiocode,python,pycharm+all
# Edit at https://www.toptal.com/developers/gitignore?templates=jupyternotebooks,visualstudiocode,python,pycharm+all
### JupyterNotebooks ###
@junkor-1011
junkor-1011 / .gitignore
Last active April 24, 2023 15:21
pyspark intro
testdata
# Created by https://www.toptal.com/developers/gitignore/api/jupyternotebooks,visualstudiocode,python,pycharm+all
# Edit at https://www.toptal.com/developers/gitignore?templates=jupyternotebooks,visualstudiocode,python,pycharm+all
### JupyterNotebooks ###
# gitignore template for Jupyter Notebooks
# website: http://jupyter.org/
.ipynb_checkpoints
@junkor-1011
junkor-1011 / .gitignore
Last active March 26, 2023 14:47
wsl custom images
distro
@junkor-1011
junkor-1011 / README.md
Last active March 26, 2023 06:03
Linux under proxy-environment

Proxy環境下でLinuxを使うときのまとめ

(Zenn - Proxy環境下でLinuxを使うときのまとめに移行)


個人的な備忘録。

インターネットアクセスにプロキシが必要な環境において、 WSL2などを動かすのに割と設定が必要だったりトラップがあるのでまとめる。

@junkor-1011
junkor-1011 / Dockerfile
Last active April 8, 2024 19:35
AmazonLinux2023をWSL2上で動かす
FROM amazonlinux:2023
COPY wsl.conf /etc/wsl.conf
USER root
RUN dnf update -y && \
# 必要そうなパッケージを追加していく \
dnf install -y --allowerasing coreutils && \
dnf install -y nano vim \
sudo passwd audit acl \