代码改变世界

随笔分类 -  Linux

zsh vs. bash

2025-10-09 11:49 by 蜡笔小旧, 5 阅读, 收藏,
摘要: bash array=(1 2 3) echo $array # output: 1 zsh array=(1 2 3) echo $array # output: 1 2 3 阅读全文

记一次gitlab artifact问题

2025-09-12 03:21 by 蜡笔小旧, 6 阅读, 收藏,
摘要: 今天前端告诉我前端发布越来越慢了. 一看gitlab的deploy文件1千多个. 就开始查已开始查问题, 1. 一直觉得是前端build的问题,后来看了下build的文件只有几十个. 那就不是build的问题. 2. 开始怀疑是cache把dist目录缓存了, 后面发现也没有. 3. 怀疑是arti 阅读全文

Manual install .NET SDK 9 on ubuntu with .NET SDK 8

2025-07-17 20:50 by 蜡笔小旧, 27 阅读, 收藏,
摘要: echo $DOTNET_ROOT wget https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.302/dotnet-sdk-9.0.302-linux-x64.tar.gz sudo tar -xzf dotnet-sdk-9.0.302-lin 阅读全文

Configure oh my zsh

2023-10-03 20:46 by 蜡笔小旧, 48 阅读, 收藏,
摘要: sudo apt install zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" REF: https://github.com/ohmyzsh/o 阅读全文

Setting up development environment with Ubuntu 22.04

2023-09-28 21:44 by 蜡笔小旧, 44 阅读, 收藏,
摘要: 0. Dont' use Snap & Ubuntu appliation store. 90%的问题可以通过重启解决 改了IP后需要,禁用网络后再开启才生效 1. Input: https://shurufa.sogou.com/linux/guide 2. .NET: https://www.j 阅读全文

WSL linux reset password

2022-11-20 18:02 by 蜡笔小旧, 40 阅读, 收藏,
摘要: Kali: cd C:\Users\user\AppData\Local\Microsoft\WindowsApps powershell.exe kali config --default-user root passwd bob exit kali config --default-user b 阅读全文

Windows 10 access ext4

2021-09-19 19:47 by 蜡笔小旧, 83 阅读, 收藏,
摘要: Here are options to write ext4 from Windows 1. Using DiskGenius and need to pay 2. If you are Windows 11 or Windows Insider Program user, you can inst 阅读全文

docker run

2020-10-05 10:56 by 蜡笔小旧, 170 阅读, 收藏,
摘要: These are docker run examples for my need(run docker container that mounts the host file system without using .Dockerfile): 1. Run docker Nginx contai 阅读全文

Linux Commands

2020-02-17 21:16 by 蜡笔小旧, 181 阅读, 收藏,
摘要: 卸载腾讯云云服务器安全监控组件 step1: /usr/local/qcloud/YunJing/YDDelCrontab.sh step2: /usr/local/qcloud/YunJing/uninst.sh step3: /usr/local/qcloud/stargate/admin/de 阅读全文