• Manjaro美化 配置教程

    Manjaro美化 配置教程 title: manjaro的美化 date: 2019-04-24 22:59:57 tags: manjaro categories: manjaro 切换源 sudo vi /etc/pacman.conf 加入arch源 [archlinuxcn]SigLevel = Optional TrustedOnlyServer = https://mirrors.ustc.edu.cn/archlinuxcn/$arch black...

    2019-08-19 08:47:40

  • 将Jexus+mono和网站一起通过Dockerfile打包到docker镜

    将Jexus+mono和网站一起通过Dockerfile打包到docker镜像 上次使用别人打包好的docker镜像,往里边加入文件,最终asp.net的docker容器化运行。 这次决定直接全新打包一个jexus+asp.net网站的docker包。 进入root目录,并在root目录下建立一个名称为docker的目录作为我们...

    2019-08-19 08:47:35

  • 【原创】Linux Suspend流程分析

    【原创】Linux Suspend流程分析 背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: Kernel版本:4.14 ARM64处理器 使用工具:Source Insight 3.5, Visio 1. 介绍 Linux Kernel支持四种 Sleep State : Suspend-...

    2019-08-19 08:47:32

  • centos7下通过yum方式安装docker环境

    centos7下通过yum方式安装docker环境 1、移除旧版本: yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-selinux \ docker-engine-selinux \ docker-enginerm -rf /e...

    2019-08-19 08:47:28

  • 程序运行时间测试 - 使用系统函数 getrusage 获取程序

    程序运行时间测试 - 使用系统函数 getrusage 获取程序运行时间 https://github.com/yaowenxu/Workplace/blob/master/timer/getrusagetimer.c 关键结构体: struct rusage { struct timeval ru_utime; /* user time used */ struct timeval ru_stime; /* system time us...

    2019-08-19 08:47:26

  • LRU的实现(使用list)

    LRU的实现(使用list) 首先是LRU的定义,LRU表示最近最少使用,如果数据最近被访问过,那么将来被访问的几率也更高。 所以逻辑应该是每次都要将新被访问的页放到列表头部,如果超过了list长度限制,就将列表尾部的元素踢出去。 主要结构,STL中的双向链表结构list。...

    2019-08-19 08:47:22

  • 程序运行时间测试 - 使用libc 中 time 函数 实现秒级

    程序运行时间测试 - 使用libc 中 time 函数 实现秒级的运行时间检测 c 标准库中,有time 函数,可以返回 1970年1月1日 开始到现在的秒数,我们可以调用两次的时间差来计算程序运行时间: https://github.com/yaowenxu/Workplace/blob/master/timer/timetimer.c NAME ti...

    2019-08-19 08:47:18

  • liunx-centos-基础命令详解(1) -主要内容来自 —https

    liunx-centos-基础命令详解(1) -主要内容来自 —https://www.cnblogs.com/caozy/p/9261224.html 关机: halt/poweroff :立刻关机 reboot :立刻重启 shutdown -r now :立刻重启 shutdown -h 00:00 :定时重启 now:立刻 shutdown -h +num :num分钟后重启 shutdown -c :取...

    2019-08-19 08:47:14

  • 程序运行时间测试 - 使用libc 中 clock 函数

    程序运行时间测试 - 使用libc 中 clock 函数 我们运行程序的时候,可以简单使用clock函数测试程序的运行时间:(本示例中以微秒为单位输出) https://github.com/yaowenxu/Workplace/blob/master/timer/clocktimer.c /* * * Author: Yaowen Xu * Github: https://githu...

    2019-08-19 08:47:11

  • Installation of the latest version of netease-clou

    Installation of the latest version of netease-cloud-music on Fedora 30 linux platform Installation of the latest version of netease-cloud-music on Fedora 30 linux platform Abtract As weknow, netease company pushed debian-based version of cloud-music...

    2019-08-19 08:47:05

2