This article is essentially a translated version of 《深入理解javascript原型和闭包》by 王福朋1. Everything is O...

Redis Ordinary Commands Cookbook1. Redis Key (struct hash.)DEL [key] // delete key when existDUMP...

In the modern era, software is commonly delivered as a service: called web apps, or software-as...

NotesReference[1]. https://www.youtube.com/watch?v=PpX7J-G2PEo[2]. https://www.youtube.com/watch?...

Arthas from Alibaba, is an online trouble-shooting tool. No JVM restart, no additional code chan...

AtomicIntegerArrayprivate static final int base = unsafe.arrayBaseOffset(int[].class);private fin...

1. package structureconcurrent - atomic - locks - ... (several classes)2. atomicAtomic*(AtomicBoo...

When I was deploying my service to the server today, which is a debian 9 linux node, I met a stra...

1. jpsusage: jps [-help] jps [-q] [-mlvV] [<hostid>]Definitions: <hostid>: ...

Purpose:represent the void return type as a class and contain a Class public value. It is not ins...

The first two commits are local commits.View git log:$ git log yi@C02D37L9MD6R  ~/code/git/test-...

判断一个可能为空的字段不为某个值:select * from tblwhere tbl_col_1 <> 'CERTAIN_VALUE'如果某行该字段的值为nullselect ...

Programs in linux can be run as daemon by using &. But sometimes after the shell is closed, t...

I have encountered the same problem twice until I met a simple solution to the following problem ...

package mainimport ( "errors" format "fmt" "math/rand" "strconv" "sync")// single way channeltype...

Code optimization: chain-invokation saver - OptionalChain-invokation presents normally in our cod...

Echarts ExtensionHere are some unofficial extensions to Apache Echarts, implemented by Yi Zhao. ...

什么是JSONP?先说说JSONP是怎么产生的:其实网上关于JSONP的讲解有很多,但却千篇一律,而且云里雾里,对于很多刚接触的人来讲理解起来有些困难,着用自己的方式来阐释一下这个问题,看看是否...

Ngrok with linux server and client应用场景:1. 不满足于云服务器硬盘空间,需要配置NAS服务。2. 安全性场景。3. 远程办公,内网主机ssh。准备:公网主机...

Deploy application on the server Add a application secret to the project. You can do it by a...

Play framework Akka WebSocketWebSocketWebSocket is a computer communications protocol, providing ...

Linux command screenScreen is a full-screen software program that can be used to multiplexes a ph...

Git之SSH与HTTPS免密码配置[转载]source: https://www.jianshu.com/p/b5ec092fc1d1Git作为当前最受欢迎的版本控制软件,使用是很频繁的。但每...

Note for Neural Networks (3)Implementing the gradient descent step Vectorize the process:As we ne...

Note for Neural Networks (2)Gradient descentreduce the error between the anticipated and realist...

Note for Neural Networks (1)ANN: Artificial neural networks contains neurons which kind like org...

# Single line comments start with a number symbol.""" Multiline strings can be written using t...

前言如果你只想快速搭建一个 github 的静态网站, 而暂时没有时间来研究 jekyll 语法的话,建议直接 fork 我的这个仓库当然,阅读一下之前我记录的一些笔记也可以增长一些知识.Jek...

Memcached简介Memcached是以LiveJurnal旗下Danga Interactive公司的Bard Fitzpatric为首开发的高性能分布式内存缓存服务器。其本质上就是一个内...

实现需求在git中如果想忽略掉某个文件或者文件夹,不想这个文件或者文件夹提交到版本库中,可以使用修改根目录中 .gitignore 文件的方法(如无,则需自己手工建立此文件)。这个文件每一行保存...

目的我打算把所有服务器的配置文件用git管理起来,这样可以记录配置变更状况。 但是有一个问题是,如何多人协作?服务器配置信息非常敏感,如果这个版本库泄漏,整个公司的服务器架构就彻底泄漏了。 这个...