自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

陈冬明的专栏

Node.js 相关技术开发

  • 博客(9)
  • 资源 (3)
  • 收藏
  • 关注

原创 安装Microk8s 、pullk8s Google 镜像获取工具及Istio配置

一. 安装前的准备1. 安装 pullk8s 工具,此工具可以通过 hub.docker.com 的 opsdockerimage 仓库下载k8s所需的 k8s.gcr.io 或 gcr.io 镜像,无需自己翻墙,每天更新一次,包括所有image 的全平台的所有tags。$ sudo curl -L "https://raw.githubusercontent.com/OpsDocker/pullk8s/main/pullk8s.sh" -o /usr/local/bin/pullk8s$ su

2021-10-20 15:24:13 2492

原创 Node.js Redis Expess 开发环境配置及Session实现服务器间共享实例

Node.js 是一套用来编写非阻塞高性能网络服务器的JavaScript工具包。Redis 是一个高性能的key-value数据库,我们可以用它来高速存取session。Express 是一套流行的 Node.js 网站服务器框架。首先下载所需的文件:首先下载Windows版本的Node.js,到官网下载:http://nodejs.org/download 我的系统是Win

2013-03-13 00:13:37 1839

原创 一个命令行整理软著代码

创建一个文件:getcode.sh#!/bin/bash cat `find $1 -name "*.js" -or -name "*.vue"`|sed -e "/\s*\\/\\*/,/\\*\\/\s*/d" -e /^[[:space:]]*$/d -e '/^[[:space:]]*\/\//d' >doc.txtlinux 或 git shell 下执行:./getcode.sh /my/code/path则会在当前目录下生成一个 合并后的 doc.txt 文件。

2021-10-14 15:47:32 300

原创 JetBrains 的产品集成 GIT 的设置方法

JetBrains 的产品大家都爱不释手:IntelliJ IDEA、PhpStorm、WebStorm、PyCharm、RubyMine、AppCode、CLion、ReSharper、Android Studio 等等。而 Git 也成为大家最常用的版本控制工具,虽然JetBrains内置了GIT的管理工具,但是也留了些坑在文档中找不到解决方法。今天讲一个常见的坑,并教大家如何迈过去。

2016-07-25 13:06:42 4268

转载 PSR-2 编码风格手册

PSR-2 Coding Style Guide瀏覽:4,116這份文件(PSR-2)從PSR -1 這份基本編碼標準所延伸、擴充 。本文件希望能藉由一套共用的規則讓大家可以格式化 PHP 程式,以期降低大家在看各作者間程式碼時,因風格的不同所造成的衝擊。此處的風格規則由不同專案的成員所合作。各成員彼此合作於多個專案間,而這份指導方針讓他們使用在各個專案間。因此,這

2013-11-06 01:49:41 1285

原创 Windows下模拟Linux 的 time命令,实测PHP 5.3 5.4 5.5的速度比较

Linux 下的 time 命令可以获取命令执行时间,Windows 下并没有类似的命令,我们可以自力更生写一个批处理,命名为time.bat。@echo offset /a StartMS=%time:~3,1%*60000 + %time:~4,1%*6000 + %time:~6,1%*1000 + %time:~7,1%*100 + %time:~9,1%*10 + %tim

2013-09-25 01:38:52 941

原创 Gentoo 印象 -- Gentoo Linux 适合干什么?

我接触的第一个网络服务器是1993年,为客户通过电话线组建一个远程 Novell NetWare 3.11 联网项目,使用 IPX 协议通过 9600 bps Modem 连接的电话线远程 Novell 网,发现联网的电脑竟然这么强大。随后因工作涉及银行行业,开始接触SCO Unix,这是离开学校后再一次接触Unix系统,但当时 Unix 太专业仅局限在一些行业客户使用。

2013-05-18 23:31:32 1231

原创 Debian 7 启动时直接字符方式登陆的方法

到网上不少教大家 Debian 开机直接进入字符方式登录的方法,都有比较麻烦,而且有些只适用于旧版本。现在介绍下正规方法:第一步:如果你没更改过默认的 runlevel,则安装好后是  runlevel 2,我们先查看以下吧:# cat /etc/inittab | grep initdefaultid:2:initdefault:id:2 表示当前的 runlevel。

2013-05-17 20:54:18 940 1

转载 使用AngularJS构建大型Web网站

AngularJS是由Google创建的一种JS框架,使用它可以扩展应用程序中的HTML词汇,从而在web应用程序中使用HTML声明动态内容。在该团队工作的软件工程师Brian Ford近日撰写了一篇blog,分享了如何使用AngularJS构建大型Web应用的经验。这些经验对于使用其他JS框架构建大型应用的开发者也极具借鉴意义。AngularJS的官方网站上给出了这个框架的基本使用方法,

2013-03-15 01:51:03 2427

PHP 7 Quick Scripting Reference, 2nd Edition 完整版

This pocket reference guide has been updated with the new PHP 7.0 release. It is a condensed, code-rich scripting and syntax handbook for the PHP scripting language. PHP 7 Quick Scripting Reference presents the essential PHP syntax in a well-organized format. You won't find any technical jargon, bloated samples, drawn out history lessons or witty stories in this book. What you will find is a Web scripting language reference that is concise, to the point and highly accessible. The book is packed with useful information and is a must-have for any PHP programmer or Web developer. In it, you will find a concise reference to the PHP 7 scripting language syntax. It includes short, simple and focused code examples and a well laid out table of contents and a comprehensive index allowing easy review.

2016-05-24

Professional Python 完整版

Professional Python goes beyond the basics to teach beginner- and intermediate-level Python programmers the little-known tools and constructs that build concise, maintainable code. Design better architecture and write easy-to-understand code using highly adoptable techniques that result in more robust and efficient applications. Coverage includes Decorators, Context Managers, Magic Methods, Class Factories, Metaclasses, Regular Expressions, and more, including advanced methods for unit testing using asyncio and CLI tools. Each topic includes an explanation of the concept and a discussion on applications, followed by hands-on tutorials based on real-world scenarios. The "Python 3 first" approach covers multiple current versions, while ensuring long-term relevance. Python offers many tools and techniques for writing better code, but often confusing documentation leaves many programmers in the dark about how to use them. This book shines a light on these incredibly useful methods, giving you clear guidance toward building stronger applications.

2016-05-24

Professional Node.js Building Javascript Based Scalable Software电子书

Wiley Wrox出版的英文原版,讲述如理利用Node.js开发高扩展性的网络架构。371页完整版

2013-03-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除