Skip to content

年年有"余"

最好的投资是自己,最好的开始就是现在!( The best investment is investing in yourself and the best time to start is just now ! )

  • 最新文章
  • 论坛
  • 前端
    • 项目实战(iOS)
    • macOS
    • Html5
    • JavaScript
    • Android
    • 错误分析(iOS)
  • 后端
    • CentOS
    • Java
    • 数据库
    • 运维
  • 底层
    • C/C++
    • 汇编
    • 逆向工程
  • 其他
    • 投资理财
    • 汽车电子
  • 关于

How to disable ipv6 on ubuntu linux

Leave a reply
  1. Edit grub file at /etc/default/grub
  2. Within the GRUB configuration file, locate the line containing “GRUB_CMDLINE_LINUX_DEFAULT” and add “ipv6.disable=1” using the following syntax:
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
  1. Update GRUB with commond update-grub, after successfully updating the[……]

    继续阅读

This entry was posted in Debian/Ubuntu, 默认分类 and tagged ipv6, Linux, ubuntu on 2024年9月24日 by Sian.

How to display system infomation when login ubuntu

Leave a reply

The terminal will show the follow infomation when login ubuntu with ssh.

Welcome to Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-45-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System informatio[......]

继续阅读

This entry was posted in Debian/Ubuntu, 默认分类 and tagged landscape, Linux, ssh, system, ubuntu on 2024年9月23日 by Sian.

如何将手机投屏到电脑(Ubuntu)屏幕上

Leave a reply

How to mirror iphone screen on Ubuntu 22.04[……]

继续阅读

This entry was posted in Debian/Ubuntu and tagged airplay, iphone, mirror, ubuntu on 2024年4月12日 by Sian.

使用递归将一维数组转换为树型结构

Leave a reply
const list = [{id: 100,name: 100, pid: 10}, {id: 20, name: 20, pid: 2}, {id: 1, name: 1}, {id: 2, name: 2}, {id: 10, name: 10, pid: 1}, {id: 11, name: 11, pid: 1}]

const arrayToTree = (array, pid) => {
    return array.reduce((res, current) => {
        if (current.pid === pid) {[......]

继续阅读

This entry was posted in JavaScript and tagged Array, javascript, tree, 数据结构 on 2024年3月1日 by Sian.

如何在HTML中使用SVG制作一个税务章

Leave a reply

How to generate a stamp using SVG in HTML[……]

继续阅读

This entry was posted in Html5 and tagged Html, svg, 发票, 数电票 on 2024年2月1日 by Sian.

Post navigation

← Older posts
Newer posts →
May 2025
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Apr    

Archives

近期文章

  • How to write an image to a usb flash disk in debian 2025年4月13日
  • 新测能用的Docker镜像 2025年3月28日
  • 用 CNN(卷积神经网络)识别手写数字(0-9) 2025年3月6日
  • 理解卷积神经网络(CNN)四个基本概念四:展平与全连接 2025年3月5日
  • 理解卷积神经网络(CNN)四个基本概念三:矩阵 2025年3月5日
Proudly powered by WordPress