Wesley13 Wesley13
3年前
DNS 常用工具与配置说明
基本常识1.在互联网中,DNS是分布式服务系统,同时具有TCP服务和UDP服务,端口都是53.2.DNS地址查询分为递归查询和迭代查询!(https://static.oschina.net/uploads/space/2017/0104/095433_jsOk_2256215.png)!(https://static.oschina
Stella981 Stella981
3年前
Go 1.16 embed特性的简单应用
项目结构如下:└─ui└─embed_ui.go└─dist└─index.html└─static├─css└─...├─fonts
Wesley13 Wesley13
3年前
pxe安装系统ubuntu之二 安装ubuntu
首先创建一个虚拟机如图这里要注意的是虚拟机的网卡选择的是vnet3!(http://static.oschina.net/uploads/img/201504/25135534_OuCT.jpg)重启虚拟机自动获得IP地址进入install !(http://static.oschina.net/uploads/img/20150
Wesley13 Wesley13
3年前
CAS之基本类型与引用类型
CAS之基本类型与引用类型1.1longstaticfinalUnsafeunsafe;staticLongoffset;privatevolatilelongstate1;static{try{
Wesley13 Wesley13
3年前
10多年码代码经验腾讯管理谈职业规划
!(https://static.oschina.net/uploads/img/201604/15131927_gMJW.jpg"优谈CTO")此人是我眼中的大神,曾经任职EA高级技术,腾讯技术管理,在级别提升后因为厌恶政治斗争,毅然离开腾讯开始创业。CTO眼中的牛人是什么?!(https://static.oschin
Stella981 Stella981
3年前
OC高效率52之使用dispatch_once来执行只需运行一次的线程安全代码
import "EOCClassShareInstance.h"@implementation EOCClassShareInstance/   一般创建单例方式 /(id)shareInstance{    static EOCClassShareInstance 
Stella981 Stella981
3年前
Lua 异步封装
在lua里面的异步代码主要是通过闭包实现,结合asio,一些简单的封装,方便编写异步代码,比如异步的while,异步的for等!(https://static.oschina.net/uploads/space/2017/1226/222454_dXBI_1391394.png)useage:!(https://static.oschin
Wesley13 Wesley13
3年前
MQ如何快速实现流量削峰填谷
问:站点与服务,服务与服务上下游之间,一般如何通讯?答:有两种常见的方式!(https://static.oschina.net/uploads/space/2017/0414/092333_BK2q_2441327.png)一种是“直接调用”,通过RPC框架,上游直接调用下游。!(https://static.oschina.net
Wesley13 Wesley13
3年前
IOS博客项目搭建
授权流程图:!(http://static.oschina.net/uploads/space/2016/0405/234839_qUI2_2557944.png)原有的代码有许多重复的地方,这里可以对原有的代码进行重构,对账号的有关操作可以抽出一个工具类:!(http://static.oschina.net/uploa
文盘Rust -- 生命周期问题引发的 static hashmap 锁 | 京东云技术团队
2021年上半年,撸了个rustcli开发的框架,基本上把交互模式,子命令提示这些cli该有的常用功能做进去了。项目地址:春节以前看到已经0.4.x了,于是想看看能不能用rust做个服务端的框架。春节后开始动手,在做的过程中会碰到各种有趣的问题。于是记下来