- 博客(1)
- 资源 (10)
- 收藏
- 关注
转载 Ubuntu下升级Node.js方法
sudo npm cache clean -f sudo npm install -g n sudo n stable执行命令即可升到最新版本
2018-01-12 22:32:38 1139
mobaxterm shell最新版工具
MobaXterm 又名 MobaXVT,是一款增强型终端、X 服务器和 Unix 命令集(GNU/ Cygwin)工具箱。
MobaXterm 可以开启多个终端视窗,以最新的 X 服务器为基础的 X.Org,可以轻松地来试用 Unix/Linux 上的 GNU Unix 命令。这样一来,我们可以不用安装虚拟机来试用虚拟环境,然后只要通过 MobaXterm 就可以使用大多数的 linux 命令。
MobaXterm 还有很强的扩展能力,可以集成插件来运行 Emacs、Fontforge、Gcc, G++ and development tools、MPlayer、Perl、Curl、Corkscrew、 Tcl / Tk / Expect、 Screen、 Png2Ico 、 NEdit Midnight Commander 等程序。
2019-04-04
FastCopy文件快速拷贝安装包
Fastcopy是日本的最快的文件拷贝工具。磁盘间相互拷贝文件是司空见惯的事情,通常情况都是利用WINDOWS自带的复制粘贴功能来实现的。这样做在数目较小的情况下倒也没什么问题,但是数目较大时,系统自带的复制功能就有些力不从心了。这时就需要FASTCOPY。一个424MB的电影其拷贝时间仅为21秒,传输速度达到了21MB/秒,不知比TotalCopy之流快了多少倍
2019-04-04
oracle客户端windows包
-------------------------------------------------------------------------
Oracle完整客户端安装文档
-------------------------------------------------------------------------
1、在某数据库服务器压缩oracle软件,假设$ORACLE_BASE=/opt/oracle/app/oracle/
# tar czvf /opt/oracle/app/Oracle_client.tar.gz /opt/oracle/app/oracle
# chmod 777 /tmp/Oracle_client.tar.gz
2、在需要安装oracle客户端上的主机上操作
1)从Oracle服务器上拷贝oracle打包软件
$ scp oracle@dbServerIP:/opt/oracle/app/Oracle_client.tar.gz /opt/oracle
$ cd /opt/oracle;tar xzvf Oracle_client.tar.gz
2)配置环境变量
vi /home/oracle/.profile
export ORACLE_BASE=/opt/oracle/oracle
export ORACLE_HOME=/opt/oracle/oracle/product/11.2.0/db_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:${LD_LIBRARY_PATH}
export PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH:/usr/local/bin
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
source ~/.profile
3)配置tnsnames.ora
--$ORACLE_HOME/network/admin/tnsnames.ora
testRAC =
(DESCRIPTION =
(FAILOVER = ON)
(LOAD_BALANCE = yes)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.72.10)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.72.11)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = racdb)
)
)
2019-04-04
learning vue.js mobi azw3 kindle电子书格式
About This Book
Learn how to propagate DOM changes across the website without writing extensive jQuery callbacks code.Learn how to achieve reactivity and easily compose views with Vue.js and understand what it does behind the scenes.Explore the core features of Vue.js with small examples, learn how to build dynamic content into preexisting web applications, and build Vue.js applications from scratch.
Who This Book Is For
This book is perfect for novice web developer seeking to learn new technologies or frameworks and also for webdev gurus eager to enrich their experience. Whatever your level of expertise, this book is a great introduction to the wonderful world of reactive web apps.
What You Will Learn
Build a fully functioning reactive web application in Vue.js from scratch.The importance of the MVVM architecture and how Vue.js compares with other frameworks such as Angular.js and React.js.How to bring reactivity to an existing static application using Vue.js.How to use plugins to enrich your applications.How to develop customized plugins to meet your needs.How to use Vuex to manage global application’s state.
In Detail
Vue.js is one of the latest new frameworks to have piqued the interest of web developers due to its reactivity, reusable components, and ease of use.
This book shows developers how to leverage its features to build high-performing, reactive web interfaces with Vue.js. From the initial structuring to full deployment, this book provides step-by-step guidance to developing an interactive web interface from scratch with Vue.js.
You will start by building a simple application in Vue.js which will let you observe its features in action. Delving into more complex concepts, you will learn about reactive data binding, reusable components, plugins, filters, and state management with Vuex. This book will also teach you how to bring reactivity to an existing static application using Vue.js. By the time you finish this book you will have built, tested, and deployed a complete reactive application in Vue.js from scratch.
Style and approach
This book is a thorough, step-by-step guide showing readers how to build complete web apps with Vue.js. While teaching its intricacies, this book shows how to implement the MVVM architecture in the real world and build high-performing web interfaces.
2019-04-04
lodash underscore js库速查手册
Collection Functions (Arrays or Objects)
_.each(list, iterator, [context]) Alias: forEach Iterates over a list of elements, yielding each in turn to an iterator function. The iterator is bound to the
_.map(list, iterator, [context]) Alias: collect Produces a new array of values by mapping each value in list through a transformation function (
_.reduce(list, iterator, memo, [context]) Aliases: inject, foldl Also known as inject and foldl, reduce boils down a list of values into a single value.
_.reduceRight(list, iterator, memo, [context]) Alias: foldr The right-associative version of reduce. Delegates to the JavaScript 1.8 version of
_.find(list, iterator, [context]) Alias: detect Looks through each value in the list, returning the first one that passes a truth test (iterator). The function returns as
_.filter(list, iterator, [context]) Alias: select Looks through each value in the list, returning an array of all the values that pass a truth test (
_.where(list, properties) Looks through each value in the list, returning an array of all the values that contain all of the key-value pairs listed in
_.findWhere(list, properties) Looks through the list and returns the first value that matches all of the key-value pairs listed in properties.
_.reject(list, iterator, [context]) Returns the values in list without the elements that the truth test (iterator) passes. The opposite of filter.
_.every(list, iterator, [context]) Alias: all Returns true if all of the values in the list pass the iterator truth test. Delegates to the native method
_.some(list, [iterator], [context]) Alias: any Returns true if any of the values in the list pass the iterator truth test. Short-circuits and stops traversing the list
_.contains(list, value) Alias: include Returns true if the value is present in the list. Uses indexOf internally, if list is an Array.
_.invoke(list, methodName, [*arguments]) Calls the method named by methodName on each value in the list. Any extra arguments passed to
_.pluck(list, propertyName) A convenient version of what is perhaps the most common use-case for map: extracting a list of property values.
_.max(list, [iterator], [context]) Returns the maximum value in list. If iterator is passed, it will be used on each value to generate the criterion by which the
_.min(list, [iterator], [context]) Returns the minimum value in list. If iterator is passed, it will be used on each value to generate the criterion by which the
_.sortBy(list, iterator, [context]) Returns a sorted copy of list, ranked in ascending order by the results of running each value through iterator
_.groupBy(list, iterator, [context]) Splits a collection into sets, grouped by the result of running each value through iterator. If iterator is a string instead of
_.countBy(list, iterator, [context]) Sorts a list into groups and returns a count for the number of objects in each group. Similar to groupBy
_.shuffle(list) Returns a shuffled copy of the list, using a version of the Fisher-Yates shuffle.
_.toArray(list) Converts the list (anything that can be iterated over), into a real Array. Useful for transmuting the arguments object.
_.size(list) Return the number of values in the list.
2019-04-04
Mariadb5.5 CentOS6 rpm安装包
环境:CentOS 6.8 Mariadb:5.5.61
下载 common compat client server四个包
删除相关的mysql包; rpm -qa|grep mysql
然后 yum remove mysqlxxx
rpm -i --force --nodeps common.rpm
rpm -i --force --nodeps compat.rpm
rpm -i client.rpm
rpm -i server.rpm
/etc/init.d/mysql start
修改root用户密码:
'/usr/bin/mysqladmin' -u root password '123456'
修改远程访问权限
mysql -u root -p
mysql>use mysql;
mysql>select 'host' from user where user='root';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY '123456' WITH GRANT OPTION;
flush privileges;
防火墙开启3306端口
# vi /etc/sysconfig/iptables
添加如下内容:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT
保存并退出编辑
重启防火墙服务
# service iptables restart
2019-04-04
精通D3.js交互式数据可视化高级编程
第1章 D3简介 1
1.1 D3是什么 1
1.1.1 D3简史 2
1.1.2 D3的优势 2
1.1.3 D3的适用范围 3
1.2 数据可视化是什么 3
1.2.1 目的 4
1.2.2 构成要素 4
1.2.3 相关概念 6
1.3 图表种类 6
1.4 学习方法 11
第2章 Web前端开发基础 13
2.1 浏览器和服务器 14
2.1.1 浏览器 14
2.1.2 服务器 15
2.2 HTML&CSS; 16
2.2.1 HTML元素 17
2.2.2 CSS选择器 20
2.2.3 综合运用 23
2.3 JavaScript 25
2.3.1 在HTML中使用JavaScript 26
2.3.2 语法 26
2.3.3 变量 27
2.3.4 数据类型 28
2.3.5 操作符 30
2.3.6 语句 32
2.3.7 函数 34
2.3.8 对象 34
2.3.9 数组 35
2.4 DOM 36
2.4.1 结构 37
2.4.2 访问和修改HTML元素 37
2.4.3 添加和删除节点 38
2.4.4 事件 39
2.5 SVG 40
2.5.1 位图和矢量图 40
2.5.2 图形元素 41
2.5.3 文字 46
2.5.4 样式 47
2.5.5 标记 48
2.5.6 滤镜 50
2.5.7 渐变 51
第3章 安装和使用 53
3.1 安装 53
3.1.1 下载文件 54
3.1.2 网络引用 54
3.2 搭建服务器 54
3.3 HELLO, WORLD 57
3.4 绘制矢量图 58
3.5 调试 59
第4章 选择集与数据 61
4.1 选择元素 61
4.2 选择集 63
4.2.1 查看状态 63
4.2.2 设定和获取属性 63
4.3 添加、插入和删除 66
4.4 数据绑定 67
4.4.1 datum()的工作过程 68
4.4.2 data()的工作过程 71
4.4.3 绑定的顺序 74
4.5 选择集的处理 76
4.5.1 enter的处理方法 76
4.5.2 exit的处理方法 77
4.5.3 处理模板 78
4.5.4 过滤器 79
4.5.5 选择集的顺序 79
4.5.6 each()的应用 80
4.5.7 call()的应用 80
4.6 数组的处理 81
4.6.1 排序 81
4.6.2 求值 82
4.6.3 操作数组 86
4.6.4 映射(Map) 89
4.6.5 集合(Set) 91
4.6.6 嵌套结构(Nest) 92
4.7 柱形图的制作 96
4.7.1 矩形和文字 97
4.7.2 更新数据 101
第5章 比例尺和坐标轴 105
5.1 定量比例尺 105
5.1.1 线性比例尺 106
5.1.2 指数和对数比例尺 109
5.1.3 量子和分位比例尺 110
5.1.4 阈值比例尺 112
5.2 序数比例尺 113
5.3 坐标轴 118
5.3.1 绘制方法 119
5.3.2 刻度 121
5.3.3 各比例尺的坐标轴 122
5.4 柱形图的坐标轴 123
5.5 散点图的制作 125
第6章 绘制 128
6.1 颜色 128
6.1.1 RGB 129
6.1.2 HSL 130
6.1.3 插值 131
6.2 线段生成器 132
6.3 区域生成器 136
6.4 弧生成器 137
6.5 符号生成器 140
6.6 弦生成器 142
6.7 对角线生成器 144
6.8 折线图的制作 145
第7章 动画 151
7.1 过渡效果 151
7.1.1 过渡的启动 152
7.1.2 过渡的属性 155
7.1.3 子元素 158
7.1.4 each()和call() 160
7.1.5 过渡样式 162
7.2 定时器 163
7.2.1 setInterval和setTimeout 163
7.2.2 d3.timer 164
7.3 应用过渡的场合 165
7.4 简单的动画制作 171
7.4.1 时钟 171
7.4.2 小球运动 172
第8章 交互 174
8.1 交互式入门 174
8.1.1 鼠标 176
8.1.2 键盘 178
8.1.3 触屏 180
8.2 事件 182
8.3 行为 183
8.3.1 拖曳 184
8.3.2 缩放 186
第9章 导入和导出 191
9.1 文件导入 191
9.1.1 JSON 192
9.1.2 CSV 194
9.1.3 XML 198
9.1.4 TEXT 199
9.2 文件导出 200
9.2.1 导出为SVG文件 200
9.2.2 编辑矢量图 203
第10章 布局 206
10.1 布局是什么 206
10.2 饼状图 207
10.3 力导向图 213
10.4 弦图 221
10.5 树状图 228
10.6 集群图 234
10.7 捆图 238
10.8 打包图 245
10.9 直方图 248
10.10 分区图 255
10.11 堆栈图 261
10.12 矩阵树图 268
第11章 地图 274
11.1 地图的数据 274
11.1.1 获取数据 275
11.1.2 简化数据 278
11.1.3 GeoJSON 280
11.1.4 TopoJSON 284
11.2 中国地图 285
11.2.1 基于GeoJSON 285
11.2.2 基于TopoJSON 289
11.3 地理路径 297
11.3.1 地理路径生成器 297
11.3.2 形状生成器 301
11.4 投影 306
11.5 球面数学 315
第12章 友好的交互 317
12.1 提示框 317
12.1.1 饼状图的提示框 318
12.1.2 提示框的样式 321
12.2 坐标系中的焦点 323
12.2.1 折线图的焦点 323
12.2.2 为折线图添加提示框 329
12.3 元素组合 334
12.3.1 饼状图的拖曳 335
12.3.2 移入和移出 336
12.3.3 合并 345
12.4 区域选择 347
12.4.1 在SVG画板里选择一块区域 348
12.4.2 散点图的区域选择 350
12.5 开关 353
12.5.1 思维导图的构造思路 353
12.5.2 思维导图的制作 356
第13章 地图进阶 363
13.1 值域的颜色 363
13.2 标注 368
13.2.1 标注地点 368
13.2.2 夜光图 370
13.3 标线 373
13.3.1 带有箭头的标线 373
13.3.2 球状地图的标线 377
13.4 拖动和缩放 378
13.4.1 平面地图 378
13.4.2 球面地图 381
13.5 力导向地图 383
13.5.1 Voronoi图和Delaunay三角剖分 383
13.5.2 力导向的中国地图 387
附录A 彩色插图 393
附录B 参考文献 410
2018-01-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人