摘要: ```c++ auto __start = std::chrono::high_resolution_clock::now(); std::cout ((std::chrono::high_resolution_clock::now() - __start)).count() ((std::chro 阅读全文
posted @ 2021-11-03 16:39 Tifa_Best 阅读(56) 评论(0) 推荐(0)
摘要: 产生关于git仓库的信息,输出格式为json #!/bin/bash set -uo pipefail # # Check for prerequisite utilities # PREREQ_COMMANDS="git" for COMMAND in ${PREREQ_COMMANDS}; do 阅读全文
posted @ 2021-03-30 12:14 Tifa_Best 阅读(119) 评论(0) 推荐(0)
摘要: iterm2 After viewing a file with less command, the screen gets garbled 阅读全文
posted @ 2021-02-04 15:03 Tifa_Best 阅读(73) 评论(0) 推荐(0)
摘要: ZooKeeper 的应用场景 Zookeeper系列一:Zookeeper介绍、Zookeeper安装配置、ZK Shell的使用 Zookeeper系列二:分布式架构详解、分布式技术详解、分布式事务 阅读全文
posted @ 2020-12-22 17:12 Tifa_Best 阅读(72) 评论(0) 推荐(0)
摘要: Linux kernel中常见的宏整理 - yooooooo - 博客园中看到roundup和ALIGN宏功能类似,便做了个对比。 在O3优化,#define SZ 4的情况下,截取部分汇编代码如下 int r0 = (r + SZ - 1) / SZ * SZ;被编译成 leal 6(%rax), 阅读全文
posted @ 2020-12-06 01:11 Tifa_Best 阅读(201) 评论(0) 推荐(0)
摘要: SIMD(MMX/SSE/AVX)变量命名规范心得 Intel® Intrinsics Guide SIMD、SSE、AVX指令集 | Header | Purpose | | | | | x86intrin.h | Everything, including non-vector x86 inst 阅读全文
posted @ 2020-12-05 21:43 Tifa_Best 阅读(121) 评论(0) 推荐(0)
摘要: 在做循环展开时,处理完整除块后,还需要在剩余块处理。做了个实验对比,用switch加速剩余块段处理 // switch0.c #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <time.h> int main(i 阅读全文
posted @ 2020-12-05 17:14 Tifa_Best 阅读(102) 评论(0) 推荐(0)
摘要: greenplum for kubernetes 天作之合:Greenplum移植到Kubernetes上 Pivotal Greenplum for Kubernetes | Pivotal Greenplum for Kubernetes Docs Greenplum for Kubernete 阅读全文
posted @ 2020-11-05 15:25 Tifa_Best 阅读(361) 评论(0) 推荐(0)
摘要: docker Docker 入门教程 Docker 核心技术与实现原理 Docker原理及使用 Install Docker Engine on Ubuntu Ubuntu - Docker —— 从入门到实践 设置非root账号不用sudo直接执行docker命令 镜像加速器 - Docker — 阅读全文
posted @ 2020-10-23 11:39 Tifa_Best 阅读(105) 评论(0) 推荐(0)
摘要: hdfs-mount hdfs-mount是一个将HDFS挂载为本地Linux文件系统的工具,使用go语言开发,不依赖libdfs和java虚拟机。它允许将远程HDFS作为本地Linux文件系统挂载,并允许任意应用程序或shell脚本以高效和安全的方式访问HDFS作为普通文件和目录。 官方地址mic 阅读全文
posted @ 2020-10-21 16:04 Tifa_Best 阅读(774) 评论(0) 推荐(0)