CUnit

CUnit http://blog.csdn.net/scucj/article/details/4385630 CUnit下载地址: http://sourceforge.net/projects/cunit/ CUnit 在线文档帮助:http://cunit.sourceforge.net/doc/index.html 关于CUni

git server

git server 在远程仓库一节中,我们讲了远程仓库实际上和本地仓库没啥不同,纯粹为了7x24小时开机并交换大家的修改。 GitHub就是一个免费托管开源代

DevOps

DevOps 由 Atlassian 提出的 DevOps (英文Development和Operations的组合) 是一组过程、方法与系统的统称,用于促进开发 (应用程序/软件工程) 、技

rfkill

rfkill https://linux.cn/article-5957-1.html 很多计算机系统包含无线电传输,其中包括Wi-Fi、蓝牙和3G设备。这些设备消耗电源,在不使用这些设备时是一种能源浪费。 RFKill 是Linux内核

maven repo

maven repo aliyun 1 2 https://maven.aliyun.com/mvn/view https://maven.aliyun.com/repository/public repo1 1 https://repo1.maven.org/maven2/ 1 2 3 4 maven { url 'http://repo.grails.org/grails/repo' } maven { url 'http://repo.grails.org/grails/plugins' } http://maven.aliyun.com/nexus/content/groups/public/

gradle maven snapshot

gradle maven snapshot configurations.all { // check for updates every build resolutionStrategy.cacheChangingModulesFor 0, ‘seconds’ } dependencies { compile group: “group”, name: “projectA”, version: “1.1-SNAPSHOT”, changing: true } https://discuss.gradle.org/t/how-to-get-gradle-to-download-newer-snapshots-to-gradle-cache-when-using-an-ivy-repository/7344 gradle maven plugin https://docs.gradle.org/current/userguide/publishing_maven.html#header gradle v5.3.1 group = “com.wiloon.group0” version = “0.0.1-SNAPSHOT” plugins { java-library maven-publish id(“com.gradle.build-scan”) version “2.2.1” } tasks.register(“sourcesJar”) { from(sourceSets.main.get().allJava) archiveClassifier.set(“sources”) } tasks.register(“javadocJar”) { from(tasks.javadoc) archiveClassifier.set(“javadoc”) } publishing { publications { create(“maven”) { from(components[“java”]) artifact(tasks[“sourcesJar”]) artifact(tasks[“javadocJar”]) } } repositories { maven { val releasesRepoUrl = “http://nexus.

archlinux hostapd

archlinux hostapd system: archlinux interface: eth2, wlan1 无线网卡必须支持AP模式 1 iw list 配置 接入点的设置包含两个主要部分: 设置Wi-Fi链路层,这样无线客户端可以与电脑的"软

linux 环境 变量, /etc/profile, /etc/profile.d/

linux 环境 变量, /etc/profile, /etc/profile.d/ ~/.bashrc, ~/.profile Archlinux Interactive, non-login shells 会加载 ~/.bashrc, login shell 不会加载 ~/.bashrc /root/.bashrc 主要是为交互式的 非登录 shell 准备的,而 root 用户登录时的默认 shell 会加载的文件是 /root/.pro

ANTLR

ANTLR http://blog.csdn.net/dc_726/article/details/45399371 当我们实现一种语言时,我们需要构建读取句子 (sentence) 的应用,并对输入中的元素做出反应。如果应用计算或执行句子,我们就叫它解释器 (interpreter) ,包括计算器、配

tprofiler

tprofiler 1 2 3 4 5 6 7 8 9 10 git clone https://github.com/alibaba/TProfiler.git #compile mvn assembly:assembly #create tprofiler.properties

async await

async await async/await 是以更舒适的方式使用 promise 的一种特殊语法,同时它也非常易于理解和使用。 1 async function 让我们以 async 这个关键字开始。它可以被放置在一个函数前面,如下所示

linux 监控 glances

‘linux 监控 glances’ http://glances.readthedocs.io/en/latest/index.html 1 2 3 4 5 6 7 8 9 10 11 12 13 #filter process glances -f process-name #server mode glances -s #client glances -c xxx.xxx.xxx.xxx:xxxx Glances 还是有些值得关注的,和那些常用的老牌监控工具比起来,比如 top/vmstat/iostat 只能监控本机系统,

AGPS

AGPS http://www.cnblogs.com/magicboy110/archive/2010/12/12/1903927.html AGPS定位基本原理浅析 2010-12-12 21:03 by MagicBoy110, 34759 阅读, 18 评论, 收藏, 编辑位置服务已经成为越来越热的一门技术,也将成为以后所有移动设备 (智能手机、掌上电

远程桌面, freerdp, rdesktop

远程桌面, freerdp, rdesktop freerdp 1 2 3 4 pacman -S freerdp xfreerdp /u:"user0" /v:192.168.50.182:3389 xfreerdp /v:192.168.50.9:3389 /u:"wiloon" /p:password0 /size:1680x1024 +clipboard xfreerdp /v:192.168.50.6:3389 /u:"wiloon" /p:password0 /size:1680x1024 +clipboard freerdp-shadow-cli 1 freerdp-shadow-cli -auth /port:12345 https://www.mankier.com/1/freerdp-shadow-cli# windows 远程桌面 剪切板 http://www.cnblogs.com/hobinly/archive/2012/09/20/2694708.htmlT2001V00000087FG3 这几天遇到远程桌面控制服务器时, 无法剪切、粘贴一些

select for update

select for update 行级锁 排他锁 行级锁 行级锁不影响对数据的查询,它们只阻塞对同一行的写入和锁定。 排他锁 for update select for update 会导致由 select 语句查询的行被锁定 (行级锁, 排他

golang fmt/Println

golang fmt/Println 1 fmt.Printf("ab %d %d %d cd\n", 1, 2, 3) fmt包实现了格式化的I/O函数,这点类似C语言中的printf和scanf,但是更加简单. 占位符: The format/fmt ‘verbs’, 占位符 %v 值的

goroutine 退出, waitgroup, channel

如何优雅地等待所有的 goroutine 退出 WaitGroup sync包中的 Waitgroup 结构,是Go语言为我们提供的多个goroutine之间同步的好刀。下面是官方文档对它的描述: A WaitGroup