linux 挂载 windows共享

linux 挂载 windows共享 先在 Windows 下面共享需要挂载的目录 1 2 3 4 5 6 7 8 sudo mount -t cifs -o username=<username>,password=<password> //192.168.50.104/path/to/win/share /mnt/path/to/linux/mnt/dir # windows域控账户不需要加前缀,直接写用户名 # 查看

kafka rebalance

kafka rebalance Kafka session.timeout.ms heartbeat.interval.ms 参数的区别以及对数据存储的一些思考 在计算机世界中经常需要与数据打交道,这也是我们戏称 CURD 工程师的原因之一。写了两年代码,接触了不少存

pixel2, pixel3 root, android root

pixel2,pixel3 root, android root 线刷 android 安卓线刷升级 flash factory image for android device http://blog.wiloon.com/android/factory-image Enable USB Debugging mode Download MagiskManager apk 并安装 到手机 https://github.com/topjohnwu/Magisk 从第一步线刷升级用的镜像文件 image-blueline-sp1a.210812.016.c2.zip 里解压出 boot.img, 传到手机上的 download 目录 打开magis

buildah

buildah 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 # removes all dangling images, same as docker prune podman image prune # remove image buildah rmi 0d2d0133941b sudo pacman -S fuse-overlayfs sudo pacman -S buildah # login buildah login container.wiloon.com buildah login --tls-verify=false container.wiloon.com # buildah needs to run as root!

linux capability, setcap/getcap

linux capability, setcap/getcap http://www.cnblogs.com/iamfy/archive/2012/09/20/2694977.html 一)概述: 1)从2.1版开始,Linux内核有了能力(capability)的概念,即它打破了UNIX/LINUX操作系统中超级用户

Podman, Buildah, Skopeo

Podman, Buildah, Skopeo podman Podman是该工具套件的核心,用来替换Docker中了大多数子命令 (RUN,PUSH,PULL等) 。Podman无需守护进程,使用

CentOS firewalld, firewall-cmd

‘CentOS firewalld, firewall-cmd’ Firewalld 使用区域和服务的概念。根据您将要配置的区域和服务,您可以控制允许或阻止与系统之间的流量。 可以使用 firewall-cmd 命令行实用程序配置和管理 Firewalld 。 在 CentOS 8

伪共享 (false sharing)

伪共享 (false sharing) 伪共享的非标准定义为: 缓存系统中是以缓存行 (cache line) 为单位存储的,当多线程修改互相独立的变量时,如果这些变量共享同一个缓存行,就会无意中

archlinux grub

archlinux grub parted flag For parted set/activate the flag bios_grub on the partition. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 parted -a optimal /dev/sda set 1 bios_grub on pacman -S grub # where /dev/sdX is the disk (not a partition) grub-install --target=i386-pc /dev/sdX grub-mkconfig -o /boot/grub/grub.cfg ### exit arch-chroot exit # 重启 reboot

tune2fs

tune2fs tune2fs命令 一.简介: tune2fs用来调整和查看ext2/ext3 (现在有ext4了) 文件系统的文件系统参数,Windows平台如

ios iphone basic

ios iphone basic 儿童账户 APP 年龄限制设置 Family> 儿童账户> Screen Time> Content & Privacy Restrictions> Content Restrictions> Apps 关闭辅助触控, 关闭屏幕上的圆点 设置》通用》辅助功能》触控》辅助触控》关闭

ansible-pull

ansible-pull ansible-pull 该指令的使用涉及Ansible的另一种工作模式: pull模式 (Ansible默认使用push模式) 。这和通常使用的push模式工作机理刚

java 中的内省 introspector

java 中的内省 introspector 概述 经常需要使用java对象的属性来封装程序的数据,每次都使用反射技术完成此类操作过于麻烦,所以sun公司开发了一套API,专门

junit

junit junit5 JUnit5的第一个可用性版本是在2017年9月10日发布的。 JUnit5架构 相比JUnit4,JUnit5由三个不同的子项目及不同的模

用 shell 脚本生成文本文件, shell 创建文件

用 shell 脚本生成文本文件, shell 创建文件 1 2 # sudo echo "nohup ${app_path}/goland/default/bin/goland.sh >/dev/null 2>&1 &" | sudo tee /usr/local/bin/goland > /dev/null 生成一个具有特定内容的文本文件 使用 echo 命令 1 2 echo "Hello, World! My name is Shengbin." > readme.txt 这种方法其实就

Redis 持久化 RDB 和 AOF

Redis 持久化 RDB 和 AOF Redis本身的机制是 AOF 持久化开启且存在AOF文件时,优先加载AOF文件;AOF 关闭或者AOF文件不存在时,加载RDB文件;加

Integration of Angular with Spring MVC

‘Integration of Angular with Spring MVC’ https://stackoverflow.com/questions/50481885/integration-of-angular-5-with-spring-mvc 1.Create normal Dynamic web project. 2.Add all dependancy required for spring or user maven pom.xml 3.Open CMD, navigate to angular2 application. Hit command ‘npm install’ and then ‘ng build’ or use ‘ng build -prod’ for production build. this command will create a “dist” folder, copy all files including all folders. Paste those files and folders into 'WebContent' directory. Last thing, you need to change basehref=".