Windows Batch VS Linux Shell. Jason Zhu

Size: px
Start display at page:

Download "Windows Batch VS Linux Shell. Jason Zhu"

Transcription

1 Windows Batch VS Linux Shell Jason Zhu

2 Agenda System and Shell Windows batch and Linux Shell Dos and Linux Shell internal Commands Windows and Linux external commands Batch and Shell variable and special sign Batch and Shell Key words build forge VS batch/shell Batch/Shell VS Perl/python

3 System history

4 Shell history Shell: a piece of software that provides an interface for users Unix/Linux: Bourne/Korn/C/Tc/Bash Linux GUI: Gnome,kde,xfce Windows: cmd.exe/explorer.exe g)

5 The difference of Windows and Linux Case sensitive in Linux / in Linux No relationship between executable file and extension don't search current path Security policy is more strict in Linux link file VS shortcut ndows_and_linux

6 Same internal commands MS-DOS /Linux / Unix description echo set date time cd more exit pushd popd Displays messages. Displays environment variables. Displays or sets the date. Displays or sets the system time. Displays the name of the current directory. Display the content in several pages Exit dos or shell external. Saves the current directory then changes it. Restores the previous value of the current directory saved by pushd.

7 Different internal commands MS-DOS Linux / Unix descriptions cls clear Clears the screen. dir ls Displays a list of files and subdirectories in a directory. type cat Displays the contents of a text file. attrib chmod Displays or changes file attributes. copy / xcopy del /rd /erase move /ren / rename cp rm mv Copies one or more files to another location. Deletes one or more files. md /mkdir mkdir Creates a directory. Moves one or more files from one directory to another directory. cd pwd Displays the name of the current directory. find /findstr(stri ng in file) find (file) Searches for a text string in a file or files. Searches for a file in a directory.

8 Other internal Commands MS-DOS Linux / Unix descriptions at Schedules commands and programs to run on a computer. comp / fc ver / cmd tree subst assoc Compares the contents of two files or sets of files. Displays the Windows version. Graphically displays the directory structure of a drive or path. Associates a path with a drive letter. Displays or modifies file extension associations. chmod chown Change access permissions Change file owner and group tasklist ps Process status task kill kill Stop a process from running who whoami Print all usernames currently logged in Print the current user id and name

9 Command help MS-DOS help help command-name Linux / Unix help command-name -help Command-name /? whatis command-name whereis command-name man command-name Info command-name type command-name

10 External commands Windows Linux / Unix description ping ping Test internet connection. shutdown shutdown Turn off or reboot the machine. sleep sleep Delay for a specified time ipconfig ifconfig Displays or changes internet information. Zip/unzip/ gzip/7zip robocopy Compress or uncompress files. Copy files or directory robustly. printf printf Format and print data. expr expr Evaluate expressions sed sed Stream editor for filtering and transforming text. (replace and delete) awk awk AWK is a programming language that is designed for processing text-based data, either in files or data streams. grep grep Print lines matching a pattern.

11 Where to get more useful tools ftp://ftp.microsoft.com/reskit/ server2003reskit/ Other such as zip/unzip

12 Robocopy(windows) windows copy/xcopy: copy c:\new folder\1.txt c: copy c:\new folder\1.txt c:\2.txt Linux cp/windows cp.exe cp ~/a.txt ~/test (cp c:\1.txt c:\test2) cp ~/a.txt ~/test/b.txt (cp c:\1.txt c:\3.txt) Windows robocopy: robocopy /E /NP /R:12 /w:10 /MIR SourceDir DestinationDir *.txt *.doc /XF test.txt /xd test Must check the return value

13 Printf(windows/Linux) Printf Printf %3d 2 printf %-3d 2 Printf %03d 2 Printf %1.2f printf %8s "aaaa" printf "\nsubdoc: %03d\n" 3

14 Expr(windows/Linux) expr expr 5 6 expr 5 * 4 expr 5 / 7 expr 7 % 9 expr 1 0 expr 1 & 0 expr 3 > 6 expr 3 < 6 expr 3 >= 3 expr 3 <= 3 expr 3 = 3 expr 3!= 3 expr expr1 : re expr index expr1 expr2 expr substr expr1 expr2 expr3 expr length "abcdef" expr length "abcdef" "<" 5 " " 15-4 ">" 8

15 Awk(windows/Linux) awk '{print $0}' scores.txt awk '{if($2 ^> "60") print $0}' scores.txt awk 'BEGIN {print "start..."} {tot+=$2} END {print "totoal is:" tot; print "END..."}' scores.txt awk '{print length($2)}' scores.txt

16 sed sed [ 选项 ] s e d 命令输入文件 sed = test3.txt sed s/mapguide/mapguide2010/g test3.txt sed 5,6d test3.txt sed 3a\abcd test3.txt sed 10i\adflajflad\n\adfadfajdlf test3.txt Sed 10c\aaaa test3.txt sed 4q test3.txt sed 2r 1.txt test3.txt

17 grep grep "map" test4.txt grep "map" *.txt grep -c aud test4.txt grep -n aud test4.txt grep -v aud test4.txt grep -i aud test4.txt

18 Batch VS Shell Windows.bat /.cmd Linux/Unix.sh /.ksh /.bash /.csh/.tcsh off Bash x filename.sh Rem (::) # chmod a+x filename filename./filename

19 Environment variables Windows Set Name = Value Set path = Name;%PATH% Echo %path% set ; : %Name% Linux/Unix Name=Value PATH=Name:$PATH Echo $PATH No spaces Case Sensitive $Name readonly

20 windows Environment variables linux %* $* Lists all the arguments that have been passed to the script %0 $0 Stores the name of the script %1~9 $1~9 Stores the first to ninth argument passed to the script $# The number of arguments $$ The current process id $! The last background process id If parameters include blank spaces, you would need to surround both file names with double quotes before passing them to your script shift

21 Environment variables windows linux replace %VariableName:ReplacementString=Origin alstring% set a=belcome to CMD borld! set temp=%a:b=w% echo %temp% pause 将显示 welcome to CMD world! 即用 w 替换了变量 a 中的 b ${VAR/PATTERN/STRING} or ${VAR//PATTERN/STRING} 语法 第一种形式仅仅替换第一个匹配的项目, 第二个用 STRING 替换所有匹配 PATTERN 的项目 substr %VariableName:~StartPosition,Length% set a=superhero set temp=%a:~0,-3% echo %temp% pause 将显示 superh 即显示了变量 a 的第 0 位和第 -3 位中间包含的所有字符 ${varname:offset:length} Purpose: Returning parts of a string (substrings or slices). STRING="thisisaverylongn ame" echo ${STRING:6:5}

22 Linux 参数变量 a. 变量 =${ 参数 -word}: 如果设置了参数, 则用参数的值置换变量的值, 否则用 word 置换 即这种变量的值等于某一个参数的值, 如果该参数没有设置, 则变量就等于 word 的值 b. 变量 =${ 参数 =word}: 如果设置了参数, 则用参数的值置换变量的值, 否则把变量设置成 word, 然后再用 word 替换参数的值 注意, 位置参数不能用于这种方式, 因为在 Shell 程序中不能为位置参数赋值 c. 变量 =${ 参数?word}: 如果设置了参数, 则用参数的值置换变量的值, 否则就显示 word 并从 Shell 中退出, 如果省略了 word, 则显示标准信息 这种变量要求一定等于某一个参数的值 如果该参数没有设置, 就显示一个信息, 然后退出, 因此这种方式常用于出错指示 d. 变量 =${ 参数 +word}: 如果设置了参数, 则用 word 置换变量, 否则不进行置换

23 Call/start/source/sh Widnwos call Start Setlocal/endlocal Linux Source (sh 中可以使用 dot command 即.shell file name) Sh filename (sh filename &) Export

24 Windo ws linux & & command1 & command2 Special signs Runs the first command followed by the second command Comand1 command2 The result of the first comand will be as input of the second command && && command && command Runs the second command if the first command was successful command command Runs the second command if the first command had an error > > Echo hello > file.txt Transfer and overwrite >> >> Type file1.txt >> file.txt Transfer and append < < command < command ^ \ Disable the meaning of some special signs, such as >,<,& :: # Comment, it is equal to REM

25 Expression caculation windows SET /A variable = Expression set /a var=5+2 set /a var=55*34 set /a var=55/34 set /a var=55%%34 set /a var= (8+(9/3+7))*3 但 set /a vat=55.1*34 是错误的, 因为批处理不支持浮点运算 SET /A x = 1 SET /A y = 2 SET /A z = x + y + 3 ECHO z a=2 c=5 let b=$a*$c echo $b $((i++)) $((3 > 2)) $(( (3 > 2) (4 <= 1) )) declare -i val3=12 val4=5 declare -i result2 result2=val3*val4 echo $result2

26 Error status windows Linux errorlevel $? 2> file :Sends all error output to a file or device 2>&1 :Sends all error output to the same location as all normal output 文件描述符通常是 :STDIN,STDOUT,STDERR, 即 :0,1,2, 由此可以看出, 它将 command 在输出过程中产生的错误信息也放在了 STDOUT Standard Input. The location where the Windows shell looks for command input. By default, this is the computer's keyboard. Standard Output. The default location where the Windows shell sends all output. By default, this is the Windows command console. Standard Error. The default location where the Windows shell sends all error messages. By default, this is the Windows command console.

27 If/then/else 变量延迟 windows IF [NOT] EXIST filename command IF EXIST filename. ( del filename. ) ELSE ( echo filename. missing. ) if TEST-COMMANDS; then CONSEQUENT-COMMANDS; fi 如果 TEST-COMMANDS 结果是 0, 则执行 then 中的语句 if TEST-COMMANDS; then CONSEQUENT-COMMANDS; elif MORE-TEST-COMMANDS; then MORE-CONSEQUENT-COMMANDS; else ALTERNATE-CONSEQUENT- COMMANDS; fi

28 Label/goto/function Windows off echo 调用前 echo 调用子过程 call :sub Linux shell function FUNCTION { COMMANDS; } 或者 FUNCTION () { COMMANDS; } 调用 FUNCTION arguments echo 调用后 Goto end :sub echo 子过程调用中 goto :eof :end echo 退出 Pause exit

29 For FOR %variable IN (set) DO command [commandparameters] 在批处理程序中使用 FOR 命令时, 指定变量请使用 %%variable 而不要用 %variable 变量名称是区分大小写的, 所以 %i 不同于 %I. /l Sets up the loop to process a range of values /f Sets up the loop to process all elements stored within a string /d Sets up the loop to process all files stored within a specified folder /r Sets up the loop to process all subfolders stored within a specified parent folder for %%i in (a b c d e f g h i ) do ( echo %%i ) for /l %%i in (1,1,100) do ( set /a var+=1 ) for NAME [in LIST ]; do COMMANDS; done

30 Linux- Until/while/case/break/continue while CONTROL-COMMAND; do CONSEQUENT- COMMANDS; done until TEST-COMMAND; do CONSEQUENT- COMMANDS; done case EXPRESSION in CASE1) COMMAND-LIST;; CASE2) COMMAND-LIST;;... CASEN) COMMAND- LIST;; esac select WORD [in LIST]; do RESPECTIVE- COMMANDS; done Break/continue

31 Build Forge vs batch and shell variables definition : build forge syntax Variables using: both of windows and Linux Slashes: both of them are ok For linux OS: shell syntax For Windows OS: batch syntax

32 Batch and shell VS perl and python Shell simply and suitable for daily work Perl/python can work in different os; more powerful; but complex;

33 Shell and batch references mming.html

34 Batch and shell books Microsoft Windows Shell Script Programming for the Absolute Beginner.chm 批处理阶段教程奥运最终版 [ 英雄出品 ] Bash. 新手指南. 中文版.(Bash.Beginners.Guide.CHS).CHM Learning the bash Shell, 3rd Edition.chm UNIX Shells by Example Fourth Edition.chm

35 Thanks Q&A

36 Interactive Input windows SET /P off set /p input= 请输入! echo 您输入的是 %input% pause Read -p PROMPT name read year p input: Echo 您输入的是 $year

如何查看 Cache Engine 缓存中有哪些网站 /URL

如何查看 Cache Engine 缓存中有哪些网站 /URL 如何查看 Cache Engine 缓存中有哪些网站 /URL 目录 简介 硬件与软件版本 处理日志 验证配置 相关信息 简介 本文解释如何设置处理日志记录什么网站 /URL 在 Cache Engine 被缓存 硬件与软件版本 使用这些硬件和软件版本, 此配置开发并且测试了 : Hardware:Cisco 缓存引擎 500 系列和 73xx 软件 :Cisco Cache 软件版本 2.3.0

More information

PCU50 的整盘备份. 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 光标条停在 SINUMERIK 下方的空白处, 如下图, 按回车键 PCU50 会进入到服务画面, 如下图

PCU50 的整盘备份. 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 光标条停在 SINUMERIK 下方的空白处, 如下图, 按回车键 PCU50 会进入到服务画面, 如下图 PCU50 的整盘备份 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 OS Loader V4.00 Please select the operating system to start: SINUMERIK Use and to move the highlight to your choice. Press Enter

More information

ICP Enablon User Manual Factory ICP Enablon 用户手册 工厂 Version th Jul 2012 版本 年 7 月 16 日. Content 内容

ICP Enablon User Manual Factory ICP Enablon 用户手册 工厂 Version th Jul 2012 版本 年 7 月 16 日. Content 内容 Content 内容 A1 A2 A3 A4 A5 A6 A7 A8 A9 Login via ICTI CARE Website 通过 ICTI 关爱网站登录 Completing the Application Form 填写申请表 Application Form Created 创建的申请表 Receive Acknowledgement Email 接收确认电子邮件 Receive User

More information

Previous on Computer Networks Class 18. ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet

Previous on Computer Networks Class 18. ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet 前 4 个字节都是一样的 0 8 16 31 类型代码检验和 ( 这 4 个字节取决于 ICMP 报文的类型 ) ICMP 的数据部分 ( 长度取决于类型 ) ICMP 报文 首部 数据部分 IP 数据报 ICMP: Internet Control Message

More information

Command Dictionary CUSTOM

Command Dictionary CUSTOM 命令模式 CUSTOM [(filename)] [parameters] Executes a "custom-designed" command which has been provided by special programming using the GHS Programming Interface. 通过 GHS 程序接口, 执行一个 用户设计 的命令, 该命令由其他特殊程序提供 参数说明

More information

AvalonMiner Raspberry Pi Configuration Guide. AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide

AvalonMiner Raspberry Pi Configuration Guide. AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide 简介 我们通过使用烧录有 AvalonMiner 设备管理程序的树莓派作为控制器 使 用户能够通过控制器中管理程序的图形界面 来同时对多台 AvalonMiner 6.0 或 AvalonMiner 6.01 进行管理和调试 本教程将简要的说明 如何把 AvalonMiner

More information

Understanding IO patterns of SSDs

Understanding IO patterns of SSDs 固态硬盘 I/O 特性测试 周大 众所周知, 固态硬盘是一种由闪存作为存储介质的数据库存储设备 由于闪存和磁盘之间物理特性的巨大差异, 现有的各种软件系统无法直接使用闪存芯片 为了提供对现有软件系统的支持, 往往在闪存之上添加一个闪存转换层来实现此目的 固态硬盘就是在闪存上附加了闪存转换层从而提供和磁盘相同的访问接口的存储设备 一方面, 闪存本身具有独特的访问特性 另外一方面, 闪存转换层内置大量的算法来实现闪存和磁盘访问接口之间的转换

More information

Logitech G302 Daedalus Prime Setup Guide 设置指南

Logitech G302 Daedalus Prime Setup Guide 设置指南 Logitech G302 Daedalus Prime Setup Guide 设置指南 Logitech G302 Daedalus Prime Contents / 目录 English................. 3 简体中文................. 6 2 Logitech G302 Daedalus Prime 1 On 2 USB Your Daedalus Prime

More information

nbns-list netbios-type network next-server option reset dhcp server conflict 1-34

nbns-list netbios-type network next-server option reset dhcp server conflict 1-34 目录 1 DHCP 1-1 1.1 DHCP 公共命令 1-1 1.1.1 dhcp dscp 1-1 1.1.2 dhcp enable 1-1 1.1.3 dhcp select 1-2 1.2 DHCP 服务器配置命令 1-3 1.2.1 address range 1-3 1.2.2 bims-server 1-4 1.2.3 bootfile-name 1-5 1.2.4 class 1-6

More information

计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法. 授课老师 : 王浩宇

计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法. 授课老师 : 王浩宇 计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法 授课老师 : 王浩宇 haoyuwang@bupt.edu.cn 1 Today: Bits, Bytes, and Integers Representing information as bits Bit-level manipulations Integers Representation: unsigned

More information

Triangle - Delaunay Triangulator

Triangle - Delaunay Triangulator Triangle - Delaunay Triangulator eryar@163.com Abstract. Triangle is a 2D quality mesh generator and Delaunay triangulator. Triangle was created as part of the Quake project in the school of Computer Science

More information

SNMP Web Manager. User s Manual

SNMP Web Manager. User s Manual SNMP Web Manager User s Manual Table of Contents 1. Introduction... 2 2. SNMP Web Manager Install, Quick Start and Uninstall... 2 2.1. Software Installation... 3 2.2. Software Quick Start... 6 2.3. Software

More information

实验三十三 DEIGRP 的配置 一 实验目的 二 应用环境 三 实验设备 四 实验拓扑 五 实验要求 六 实验步骤 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程

实验三十三 DEIGRP 的配置 一 实验目的 二 应用环境 三 实验设备 四 实验拓扑 五 实验要求 六 实验步骤 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程 实验三十三 DEIGRP 的配置 一 实验目的 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程 二 应用环境 由于 RIP 协议的诸多问题, 神州数码开发了与 EIGRP 完全兼容的 DEIGRP, 支持变长子网 掩码 路由选择参考更多因素, 如带宽等等 三 实验设备 1. DCR-1751 三台 2. CR-V35FC 一条 3. CR-V35MT 一条 四 实验拓扑

More information

三 依赖注入 (dependency injection) 的学习

三 依赖注入 (dependency injection) 的学习 三 依赖注入 (dependency injection) 的学习 EJB 3.0, 提供了一个简单的和优雅的方法来解藕服务对象和资源 使用 @EJB 注释, 可以将 EJB 存根对象注入到任何 EJB 3.0 容器管理的 POJO 中 如果注释用在一个属性变量上, 容器将会在它被第一次访问之前赋值给它 在 Jboss 下一版本中 @EJB 注释从 javax.annotation 包移到了 javax.ejb

More information

<properties> <jdk.version>1.8</jdk.version> <project.build.sourceencoding>utf-8</project.build.sourceencoding> </properties>

<properties> <jdk.version>1.8</jdk.version> <project.build.sourceencoding>utf-8</project.build.sourceencoding> </properties> SpringBoot 的基本操作 一 基本概念在 spring 没有出现的时候, 我们更多的是使用的 Spring,SpringMVC,Mybatis 等开发框架, 但是要将这些框架整合到 web 项目中需要做大量的配置,applicationContext.xml 以及 servlet- MVC.xml 文件等等, 但是这些文件还还不够, 还需要配置 web.xml 文件进行一系列的配置 以上操作是比较麻烦的,

More information

Chapter 1 (Part 2) Introduction to Operating System

Chapter 1 (Part 2) Introduction to Operating System Chapter 1 (Part 2) Introduction to Operating System 张竞慧办公室 : 计算机楼 366 室电邮 :jhzhang@seu.edu.cn 主页 :http://cse.seu.edu.cn/personalpage/zjh/ 电话 :025-52091017 1.1 Computer System Components 1. Hardware provides

More information

NetScreen 概念与范例. ScreenOS 参考指南 第 7 卷 : 虚拟系统. ScreenOS 编号 SC 修订本 E

NetScreen 概念与范例. ScreenOS 参考指南 第 7 卷 : 虚拟系统. ScreenOS 编号 SC 修订本 E NetScreen 概念与范例 ScreenOS 参考指南 第 7 卷 : 虚拟系统 ScreenOS 5.0.0 编号 093-0930-000-SC 修订本 E Copyright Notice Copyright 2004 NetScreen Technologies, Inc. All rights reserved. NetScreen, NetScreen Technologies, GigaScreen,

More information

Chapter 11 SHANDONG UNIVERSITY 1

Chapter 11 SHANDONG UNIVERSITY 1 Chapter 11 File System Implementation ti SHANDONG UNIVERSITY 1 Contents File-System Structure File-System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency and

More information

Chapter 7: Deadlocks. Operating System Concepts 9 th Edition

Chapter 7: Deadlocks. Operating System Concepts 9 th Edition Chapter 7: Deadlocks Silberschatz, Galvin and Gagne 2013 Chapter Objectives To develop a description of deadlocks, which prevent sets of concurrent processes from completing their tasks To present a number

More information

上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分

上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分 上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分 SGM IT < 上汽通用汽车供应商门户网站项目 (SGMSP)> 工作产品名称 :< User Guide 用户手册 > Current Version: Owner: < 曹昌晔 > Date Created:

More information

测试 SFTP 的 问题在归档配置页的 MediaSense

测试 SFTP 的 问题在归档配置页的 MediaSense 测试 SFTP 的 问题在归档配置页的 MediaSense Contents Introduction Prerequisites Requirements Components Used 问题 : 测试 SFTP 按钮发生故障由于 SSH 算法协商故障解决方案 Bug Reled Informion Introduction 本文描述如何解决可能发生的安全壳 SSH 算法协商故障, 当您配置一个安全文件传输协议

More information

学习沉淀成长分享 EIGRP. 红茶三杯 ( 朱 SIR) 微博 : Latest update:

学习沉淀成长分享 EIGRP. 红茶三杯 ( 朱 SIR) 微博 :  Latest update: 学习沉淀成长分享 EIGRP 红茶三杯 ( 朱 SIR) 微博 :http://t.sina.com/vinsoney Latest update: 2012-06-01 课程目标 EIGRP 协议基础 EIGRP 基础配置 EIGRP 协议基础 EIGRP 的协议特点 EIGRP 的三张表 EIGRP 数据包 初始路由发现 EIGRP metric DUAL 算法 EIGRP 的协议特点 CISCO

More information

组播路由 - MSDP 和 PIM 通过走

组播路由 - MSDP 和 PIM 通过走 组播路由 - MSDP 和 PIM 通过走 Contents Introduction 拓扑控制 - 飞机来源注册 ( 步骤 1-3) 接受器参加组 ( 第 4 步 - 第 11 步 ) R4 PIM RP 修剪 (S, G) 步骤 12 摘要 Related Information Introduction 本文描述独立于协议的组播 (PIM) 和多播源发现协议 (MSDP) 的操作与使用一简单的组播拓扑

More information

Apache Kafka 源码编译 Spark 大数据博客 -

Apache Kafka 源码编译 Spark 大数据博客 - 经过近一个月时间, 终于差不多将之前在 Flume 0.9.4 上面编写的 source sink 等插件迁移到 Flume-ng 1.5.0, 包括了将 Flume 0.9.4 上面的 TailSou rce TailDirSource 等插件的迁移 ( 当然, 我们加入了许多新的功能, 比如故障恢复 日志的断点续传 按块发送日志以及每个一定的时间轮询发送日志而不是等一个日志发送完才发送另外一个日志

More information

Command Dictionary -- DAMSTAB

Command Dictionary -- DAMSTAB 命令模式 DAMSTAB [(divlist)] /SDIC /SDIHC /SDIHR /SDI194C[SP] /SDI194P[SP] /SDI216C[SP] /SDI216P[SP] /SDIPtype [/L:l1,l2] [/B:b1[,b2]] [/N:n1,n2] [/STOP[AT][:n]] [/DLL:draftloadline] [/LIMITHEEL:angle] [/WRITE:runfile]

More information

OTAD Application Note

OTAD Application Note OTAD Application Note Document Title: OTAD Application Note Version: 1.0 Date: 2011-08-30 Status: Document Control ID: Release _OTAD_Application_Note_CN_V1.0 Copyright Shanghai SIMCom Wireless Solutions

More information

display portal server display portal user display portal user count display portal web-server

display portal server display portal user display portal user count display portal web-server 目录 1 Portal 1-1 1.1 Portal 配置命令 1-1 1.1.1 aaa-fail nobinding enable 1-1 1.1.2 aging-time 1-1 1.1.3 app-id (Facebook authentication server view) 1-2 1.1.4 app-id (QQ authentication server view) 1-3 1.1.5

More information

Operating Systems. Chapter 4 Threads. Lei Duan

Operating Systems. Chapter 4 Threads. Lei Duan Operating Systems Chapter 4 Threads Lei Duan leiduan@scu.edu.cn 2015.2 Agenda 4.1 Processes and Threads 4.2 Types of Threads 4.3 Multicore and Multithreading 4.4 Summary 2015-04-01 2/49 Agenda 4.1 Processes

More information

Skill-building Courses Business Analysis Lesson 3 Problem Solving

Skill-building Courses Business Analysis Lesson 3 Problem Solving Skill-building Courses Business Analysis Lesson 3 Problem Solving Review Software Development Life Cycle/Agile/Scrum Learn best practices for collecting and cleaning data in Excel to ensure accurate analysis

More information

Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司

Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司 Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司 RemoteFX 中新的 USB 重定向特性 在 RDS 中所有设备重定向机制 VDI 部署场景讨论 : 瘦客户端和胖客户端 (Thin&Rich). 用户体验 : 演示使用新的 USB 重定向功能 81% 4 本地和远程的一致的体验 (Close

More information

mod_callcenter callcenter.conf.xml 范例 odbc-dsn

mod_callcenter callcenter.conf.xml 范例 odbc-dsn mod_callcenter 本文英文部分是来自 https://freeswitch.org/confluence/display/freeswitch/mod_callcenter, 中文部分是通过分析 mod_callcenter.c 的代码根据个人 的理解整理而成 关于作者 鼎鼎 :cdevelop@qq.com qq:1280791187 本文会不定期更新, 最新版本在 http://www.ddrj.com/?p=79

More information

Air Speaker. Getting started with Logitech UE Air Speaker. 快速入门罗技 UE Air Speaker. Wireless speaker with AirPlay. 无线音箱 (AirPlay 技术 )

Air Speaker. Getting started with Logitech UE Air Speaker. 快速入门罗技 UE Air Speaker. Wireless speaker with AirPlay. 无线音箱 (AirPlay 技术 ) Air Speaker Getting started with Logitech UE Air Speaker Wireless speaker with AirPlay 快速入门罗技 UE Air Speaker 无线音箱 (AirPlay 技术 ) for ipad, iphone, ipod touch and itunes ipad, iphone, ipod touch itunes Logitech

More information

Supplementary Materials on Semaphores

Supplementary Materials on Semaphores Supplementary Materials on Semaphores Contents Semaphores Basic synchronization patterns Producers-Consumers (Bounded Buffer) Readers-Writers The Dining Philosophers More Exercises for You Dijkstra Edsger

More information

Software Engineering. Zheng Li( 李征 ) Jing Wan( 万静 )

Software Engineering. Zheng Li( 李征 ) Jing Wan( 万静 ) Software Engineering Zheng Li( 李征 ) Jing Wan( 万静 ) 作业 Automatically test generation 1. 编写一个三角形程序, 任意输入三个整数, 判断三个整形边长能否构成三角形, 如果是三角形, 则判断它是一般三角形 等腰三角形或等边三角形, 并输出三角形的类型 2. 画出程序的 CFG, 计算圈复杂度 3. 设计一组测试用例满足测试准则

More information

ROOT Analysis FrameWork (II) Basics. Qipeng Hu March 22, 2015

ROOT Analysis FrameWork (II) Basics. Qipeng Hu March 22, 2015 ROOT Analysis FrameWork (II) Basics Qipeng Hu March 22, 2015 Webpage of this tutorial http://home.ustc.edu.cn/~hqp/root15 2 Outline Introduction to Linux command line Introduction to text editor Plotting

More information

PTZ PRO 2. Setup Guide 设置指南

PTZ PRO 2. Setup Guide 设置指南 PTZ PRO 2 Setup Guide 设置指南 3 ENGLISH 8 简体中文 2 KNOW YOUR PRODUCT 1 4 9 5 10 6 7 11 8 2 13 14 3 12 15 Camera 1. 10X lossless zoom 2. Camera LED 3. Kensington Security Slot Remote 4. Mirror 5. Zoom in 6.

More information

Autodesk Backburner 2011 安装手册

Autodesk Backburner 2011 安装手册 Autodesk Backburner 2011 安装手册 Autodesk Backburner 2011 2010 Autodesk, Inc. All rights reserved. Except as otherwise permitted by Autodesk, Inc., this publication, or parts thereof, may not be reproduced

More information

Lecture 3 for pipelining

Lecture 3 for pipelining Lecture 3 for pipelining The control hazard How to solve the control hazard Pipelining Hazards Taxonomy of Hazards Structural hazards These are conflicts over hardware resources. OK, maybe add extra hardware

More information

Multiprotocol Label Switching The future of IP Backbone Technology

Multiprotocol Label Switching The future of IP Backbone Technology Multiprotocol Label Switching The future of IP Backbone Technology Computer Network Architecture For Postgraduates Chen Zhenxiang School of Information Science and Technology. University of Jinan (c) Chen

More information

OpenCascade 的曲面.

OpenCascade 的曲面. 在 OpenSceneGraph 中绘制 OpenCascade 的曲面 eryar@163.com 摘要 Abstract : 本文对 OpenCascade 中的几何曲面数据进行简要说明, 并结合 OpenSceneGraph 将这些曲面显示 关键字 Key Words:OpenCascade OpenSceneGraph Geometry Surface NURBS 一 引言 Introduction

More information

Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 2. APPLICABLE PRODUCT 适用范围

Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 2. APPLICABLE PRODUCT 适用范围 107-68703 Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 Define the packaging specifiction and packaging method of MBXL HSG. 订定 MBXL HSG 产品之包装规格及包装方式 2. APPLICABLE PRODUCT 适用范围 PKG TYPE

More information

CA Application Performance Management

CA Application Performance Management CA Application Performance Management for IBM WebSphere Portal 指南 版本 9.5 本文档包括内嵌帮助系统和以电子形式分发的材料 ( 以下简称 文档 ), 其仅供参考,CA 随时可对其进行更改或撤销 未经 CA 事先书面同意, 不得擅自复制 转让 翻印 透露 修改或转录本文档的全部或部分内容 本文档属于 CA 的机密和专有信息, 不得擅自透露,

More information

Bi-monthly report. Tianyi Luo

Bi-monthly report. Tianyi Luo Bi-monthly report Tianyi Luo 1 Work done in this week Write a crawler plus based on keywords (Support Chinese and English) Modify a Sina weibo crawler (340M/day) Offline learning to rank module is completed

More information

Sun XVR-300 图形加速器用户指南

Sun XVR-300 图形加速器用户指南 Sun XVR-300 图形加速器用户指南 Sun Microsystems, Inc. www.sun.com 文件号码 819-7507-10 2006 年 10 月, 修订版 A 请将有关本文档的意见和建议提交至 : http://www.sun.com/hwdocs/feedback 版权所有 2006 Sun Microsystems, Inc., 4150 Network Circle,

More information

TBarCode OCX Microsoft ActiveX compliant Barcode Control

TBarCode OCX Microsoft ActiveX compliant Barcode Control TBarCode OCX Microsoft ActiveX compliant Barcode Control Version 9.0 Tutorial 19 December 2008 TEC-IT Datenverarbeitung GmbH W agnerstrasse 6 A-4400 Steyr, Austria t ++43 (0)7252 72720 f ++43 (0)7252 72720

More information

ZWO 相机固件升级参考手册. ZWO Camera Firmware Upgrade reference manual. 版权所有 c 苏州市振旺光电有限公司 保留一切权利 非经本公司许可, 任何组织和个人不得擅自摘抄 复制本文档内容的部分或者全部, 并

ZWO 相机固件升级参考手册. ZWO Camera Firmware Upgrade reference manual. 版权所有 c 苏州市振旺光电有限公司 保留一切权利 非经本公司许可, 任何组织和个人不得擅自摘抄 复制本文档内容的部分或者全部, 并 ZWO 相机固件升级参考手册 ZWO Camera Firmware Upgrade reference manual 文档编号 :ZW1802240ACSC ZWO Co., Ltd. Phone:+86 512 65923102 Web: http://www.zwoptical.com 版权所有 c 苏州市振旺光电有限公司 2015-2035 保留一切权利 非经本公司许可, 任何组织和个人不得擅自摘抄

More information

漂亮的测试. By Alberto Savoia 代码之美 第七章 史际帆

漂亮的测试. By Alberto Savoia 代码之美 第七章 史际帆 漂亮的测试 代码之美 第七章 By Alberto Savoia 史际帆 作者简介 :Alberto Savoia Alberto Savoia is co-founder and CTO of Agitar Software. Before Agitar, he was Senior Director of Engineering at Google; prior to that he was the

More information

菜鸟调错 原文出处 : 菜鸟调错作者 : 刘水镜 本系列文章经作者授权在看云整理发布, 未经作者允许, 请勿转载! 菜鸟调错 分享开发中遇到的各种各样的错误, 以及解决方法, 让更多的人少走同样的弯路 本文档使用看云构建

菜鸟调错 原文出处 : 菜鸟调错作者 : 刘水镜 本系列文章经作者授权在看云整理发布, 未经作者允许, 请勿转载! 菜鸟调错 分享开发中遇到的各种各样的错误, 以及解决方法, 让更多的人少走同样的弯路 本文档使用看云构建 前言 原文出处 : 作者 : 刘水镜 本系列文章经作者授权在看云整理发布, 未经作者允许, 请勿转载! 分享开发中遇到的各种各样的错误, 以及解决方法, 让更多的人少走同样的弯路 - 1 - ( 一 )Maven 项目部署到 Jboss 出现 :Failed to create a new SAX parser 今天调试的时候遇到一个错误, 往 Jboss 的 deploy 目录扔 war 包的时候,

More information

T19264B -1 SPECIFICATION FOR APPROVAL 产品说明书 T19264B-1( 带中文字库 ) APPOVED SIGNATURES Blue Moon Customer

T19264B -1 SPECIFICATION FOR APPROVAL 产品说明书 T19264B-1( 带中文字库 ) APPOVED SIGNATURES Blue Moon Customer SPECIFICAION FOR APPROVAL 19264B-1( 带中文字库 ) APPOVED SIGNAURES Blue Moon Customer 产品说明书 目 录 ( 一 ) 概述 ( 二 ) 外形尺寸 ( 三 ) 模块主要硬件构成说明 ( 四 ) 模块的外部接口 ( 五 ) 指令说明 ( 六 ) 读写操作时序 ( 七 ) 应用举例 ( 八 ) 附录 一 概述 1. 液晶显示模块是

More information

A bottom-up parser traces a rightmost derivation in reverse. Bottom-Up Parsing. Bottom-up parsing is more general than topdown.

A bottom-up parser traces a rightmost derivation in reverse. Bottom-Up Parsing. Bottom-up parsing is more general than topdown. Bottom-Up Parsing Bottom-Up Parsing Bottom-up parsing is more general than topdown parsing And just as efficient Builds on ideas in top-down parsing Bottom-up is the preferred method Originated from Prof.

More information

Safe Memory-Leak Fixing for C Programs

Safe Memory-Leak Fixing for C Programs Safe Memory-Leak Fixing for C Programs Qing Gao, Yingfei Xiong, Yaqing Mi, Lu Zhang, Weikun Yang, Zhaoing Zhou, Bing Xie, Hong Mei Institute of Software, Peking Unversity 内存管理 安全攸关软件的开发必然涉及内存管理问题 软件工程经典问题,

More information

<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <!--- global properties --> <property>

<?xml version=1.0?> <?xml-stylesheet type=text/xsl href=configuration.xsl?> <configuration> <!--- global properties --> <property> 1 重读配置文件 core-site.xml 要利用 Java 客户端来存取 HDFS 上的文件, 不得不说的是配置文件 hadoop-0.20.2/conf/core-site.xml 了, 最初我就是在这里吃了大亏, 所以我死活连不 上 HDFS, 文件无法创建 读取

More information

Spark Standalone 模式应用程序开发 Spark 大数据博客 -

Spark Standalone 模式应用程序开发 Spark 大数据博客 - 在本博客的 Spark 快速入门指南 (Quick Start Spark) 文章中简单地介绍了如何通过 Spark s hell 来快速地运用 API 本文将介绍如何快速地利用 Spark 提供的 API 开发 Standalone 模式的应用程序 Spark 支持三种程序语言的开发 :Scala ( 利用 SBT 进行编译 ), Java ( 利用 Maven 进行编译 ) 以及 Python

More information

Chapter 2: Java OO II. Yang Wang wyang AT njnet.edu.cn

Chapter 2: Java OO II. Yang Wang wyang AT njnet.edu.cn Chapter 2: Java OO II Yang Wang wyang AT njnet.edu.cn Outline Abstraction Abstract Class Interface Inheritance Polymorphism Abstraction Abstraction What is Abstraction? An abstraction is a general idea

More information

Grandstream Networks, Inc.

Grandstream Networks, Inc. GXV21XX IP 电话 /GXP1450 IP 电话 目录 概述...3 IT 原理及构造...3 XML 语法...3 自定义屏保举例...9 自定义 Logo...9 自定义软按键...9 自定义账号状态...10 附录...10 基本要素 Screen...10 要素 LeftStatusBar...11 要素 IdleScreen...11 要素 DISPLAYSTR...11 GXP21XX/GXP1450

More information

U-CONTROL UMX610/UMX490/UMX250. The Ultimate Studio in a Box: 61/49/25-Key USB/MIDI Controller Keyboard with Separate USB/Audio Interface

U-CONTROL UMX610/UMX490/UMX250. The Ultimate Studio in a Box: 61/49/25-Key USB/MIDI Controller Keyboard with Separate USB/Audio Interface U-CONTROL UMX610/UMX490/UMX250 The Ultimate Studio in a Box: 61/49/25-Key USB/MIDI Controller Keyboard with Separate USB/Audio Interface 2 U-CONTROL UMX610/UMX490/UMX250 快速启动向导 3 其他的重要信息 ¼'' TS 1. 2. 3.

More information

Additional Information

Additional Information Additional Information Apple, ipad, iphone, ipod touch, Macintosh, Mac OS, OS X and Bonjour are trademarks of Apple Inc., registered in the U.S. and other countries. AirPrint and the AirPrint logo are

More information

Decode Zend. Darkness/Airsupply

Decode Zend. Darkness/Airsupply Decode Zend Darkness/Airsupply 关于 PHP 深入了解 PHP 目录 Decode 的关键 ---Opcode Opcode Hooker 技术介绍 分析 Zend Optimizer 开始 Decode 饶过混淆技术 简约不简单 跨平台 使用广泛 About PHP Inside PHP Php core 与 ZendCore 1 把原始的 php 脚本生成中间代码

More information

Color LaserJet Pro MFP M477 入门指南

Color LaserJet Pro MFP M477 入门指南 Color LaserJet Pro MFP M477 入门指南 Getting Started Guide 2 www.hp.com/support/colorljm477mfp www.register.hp.com ZHCN 4. 在控制面板上进行初始设置...2 5. 选择一种连接方式并准备安装软件...2 6. 找到或下载软件安装文件...3 7. 安装软件...3 8. 移动和无线打印

More information

第二小题 : 逻辑隔离 (10 分 ) OpenFlow Switch1 (PC-A/Netfpga) OpenFlow Switch2 (PC-B/Netfpga) ServerB PC-2. Switching Hub

第二小题 : 逻辑隔离 (10 分 ) OpenFlow Switch1 (PC-A/Netfpga) OpenFlow Switch2 (PC-B/Netfpga) ServerB PC-2. Switching Hub 第二小题 : 逻辑隔离 (10 分 ) 一 实验背景云平台服务器上的不同虚拟服务器, 分属于不同的用户 用户远程登录自己的虚拟服务器之后, 安全上不允许直接访问同一局域网的其他虚拟服务器 二 实验目的搭建简单网络, 通过逻辑隔离的方法, 实现用户能远程登录局域网内自己的虚拟内服务器, 同时不允许直接访问同一局域网的其他虚拟服务器 三 实验环境搭建如图 1-1 所示, 我们会创建一个基于 OpenFlow

More information

Cisco IP Phone 8800 系列和 Cisco IP Conference Phone 8832 多平台 电话设置指南

Cisco IP Phone 8800 系列和 Cisco IP Conference Phone 8832 多平台 电话设置指南 Cisco IP Phone 8800 系列和 Cisco IP Conference Phone 8832 多平台 电话设置指南 首次发布日期: 2016 年 1 月 29 日 上次修改日期: 2019 年 1 月 30 日 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706

More information

MP3 文件是由帧 (frame) 构成的, 帧是 MP3 文件最小的组成单位 MP3 的全称应为 MPEG1 Layer-3 音频文件,MPEG(Moving Picture Experts Group) 在汉语中译为活动图像专家组, 特指活动影音压缩标准,MPEG

MP3 文件是由帧 (frame) 构成的, 帧是 MP3 文件最小的组成单位 MP3 的全称应为 MPEG1 Layer-3 音频文件,MPEG(Moving Picture Experts Group) 在汉语中译为活动图像专家组, 特指活动影音压缩标准,MPEG MP3 文件格式一. 概述 : MP3 文件是由帧 (frame) 构成的, 帧是 MP3 文件最小的组成单位 MP3 的全称应为 MPEG1 Layer-3 音频文件,MPEG(Moving Picture Experts Group) 在汉语中译为活动图像专家组, 特指活动影音压缩标准,MPEG 音频文件是 MPEG1 标准中的声音部分, 也叫 MPEG 音频层, 它根据压缩质量和编码复杂程度划分为三层,

More information

Technology: Anti-social Networking 科技 : 反社交网络

Technology: Anti-social Networking 科技 : 反社交网络 Technology: Anti-social Networking 科技 : 反社交网络 1 Technology: Anti-social Networking 科技 : 反社交网络 The Growth of Online Communities 社交网络使用的增长 Read the text below and do the activity that follows. 阅读下面的短文, 然后完成练习

More information

Lecture 3 Process API in UNIX systems

Lecture 3 Process API in UNIX systems Lecture 3 Process API in UNIX systems Contents In this lecture, you will learn some process creation API, including: How to Create Wait for Execute A process, and Why in such the way. The fork() System

More information

朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘

朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘 朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘 文本我们会一步一步做一个例子来看看 SpringBoot 的自动配置是如何实现的, 然后来看一 些 SpringBoot 留给我们的扩展点 自己制作一个 SpringBoot Starter 我们知道 SpringBoot 提供了非常多的启动器, 引入了启动器依赖即可直接享受到自动依赖 配置和自动属性配置 : https://github.com/spring-projects/spring-boot/tree/master/spring-boot-project/springboot-starters

More information

public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host)

public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host) 网络编程 杨亮 网络模型 访问 网络 Socket InetAddress 类 public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host) public class OreillyByName

More information

Logitech ConferenceCam CC3000e Camera 罗技 ConferenceCam CC3000e Camera Setup Guide 设置指南

Logitech ConferenceCam CC3000e Camera 罗技 ConferenceCam CC3000e Camera Setup Guide 设置指南 Logitech ConferenceCam CC3000e Camera 罗技 ConferenceCam CC3000e Camera Setup Guide 设置指南 Logitech ConferenceCam CC3000e Camera English................. 4 简体中文................ 9 www.logitech.com/support............................

More information

RPG IV 新特性概览. 钟嘉田 DB2 for i Performance, IBM 中国系统与科技研发中心

RPG IV 新特性概览. 钟嘉田 DB2 for i Performance, IBM 中国系统与科技研发中心 RPG IV 新特性概览 钟嘉田 zhongjt@cn.ibm.com DB2 for i Performance, IBM 中国系统与科技研发中心 议程 RPG 更新旅程 V3R1 ~ V6R1,RPG IV 在各个领域的更新 7.1 ~ 7.3 RPG IV 的新功能 2017 International Business Machines Corporation 2 RPG 更新旅程 RPG

More information

Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源, 提高系统整体性能起到重要作用

Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源, 提高系统整体性能起到重要作用 在本博客的 Spark Metrics 配置详解 文章中介绍了 Spark Metrics 的配置, 其中我们就介绍了 Spark 监控支持 Ganglia Sink Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源,

More information

VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 )

VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 ) VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 ) About Computer Windows System Requirements ( 电脑系统要求方面 ) 问 :VAS 5054A 安装过程中出现错误提示 :code 4 (corrupt cabinet) 答 : 客户电脑系统有问题, 换 XP 系统安装 Q: When vas5054 install, an error

More information

Useful Unix Commands Cheat Sheet

Useful Unix Commands Cheat Sheet Useful Unix Commands Cheat Sheet The Chinese University of Hong Kong SIGSC Training (Fall 2016) FILE AND DIRECTORY pwd Return path to current directory. ls List directories and files here. ls dir List

More information

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )

More information

XML allows your content to be created in one workflow, at one cost, to reach all your readers XML 的优势 : 只需一次加工和投入, 到达所有读者的手中

XML allows your content to be created in one workflow, at one cost, to reach all your readers XML 的优势 : 只需一次加工和投入, 到达所有读者的手中 XML allows your content to be created in one workflow, at one cost, to reach all your readers XML 的优势 : 只需一次加工和投入, 到达所有读者的手中 We can format your materials to be read.. in print 印刷 XML Conversions online

More information

密级 : 博士学位论文. 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究

密级 : 博士学位论文. 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究 密级 : 博士学位论文 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究 作者姓名指导教师学科 ( 专业 ) 所在学院提交日期 胡威陈天洲教授计算机科学与技术计算机学院二零零八年三月 A Dissertation Submitted to Zhejiang University for the Degree of Doctor of Philosophy TITLE: The

More information

PubMed 简介. PubMed 是美国国立医学图书馆 (NLM) 所属的国家生物技术信息中心 (NCBI) 开发的因特网生物医学信息检索系统

PubMed 简介. PubMed 是美国国立医学图书馆 (NLM) 所属的国家生物技术信息中心 (NCBI) 开发的因特网生物医学信息检索系统 生物医学文献数据库 PubMed PubMed 简介 PubMed 是美国国立医学图书馆 (NLM) 所属的国家生物技术信息中心 (NCBI) 开发的因特网生物医学信息检索系统 PubMed 主要提供基于 Web 的 Medline 数据库检索服务, 其中包括医学文献的订购, 全文在线阅读的链接, 专家信息的查询, 期刊检索以及相关书籍的链接等 数据每周二至周六每天更新 详见 http://baike.so.com/doc/1870897-1978857.html

More information

CHINA VISA APPLICATION CONCIERGE SERVICE*

CHINA VISA APPLICATION CONCIERGE SERVICE* TRAVEL VISA PRO ORDER FORM Call us for assistance 866-378-1722 Fax 866-511-7599 www.travelvisapro.com info@travelvisapro.com CHINA VISA APPLICATION CONCIERGE SERVICE* Travel Visa Pro will review your documents

More information

Declaration of Conformity STANDARD 100 by OEKO TEX

Declaration of Conformity STANDARD 100 by OEKO TEX Declaration of Conformity STANDARD 100 by OEKO TEX OEKO-TEX - International Association for Research and Testing in the Field of Textile and Leather Ecology OEKO-TEX - 国际纺织和皮革生态学研究和检测协会 Declaration of

More information

Epetra_Matrix. August 14, Department of Science and Engineering Computing School of Mathematics School Peking University

Epetra_Matrix. August 14, Department of Science and Engineering Computing School of Mathematics School Peking University _Matrix Department of Science and Engineering Computing School of Mathematics School Peking University August 14, 2007 _Matrix Department of Science and Engineering Computing School of Mathematics School

More information

The relational Algebra & calculus cont. Reference : UC Berkeley

The relational Algebra & calculus cont. Reference : UC Berkeley The relational Algebra & calculus cont Reference : UC Berkeley Formal Relational Query Languages Two mathematical Query Languages form the basis for real languages (e.g. SQL), and for implementation: ❶

More information

A Benchmark For Stroke Extraction of Chinese Characters

A Benchmark For Stroke Extraction of Chinese Characters 2015-09-29 13:04:51 http://www.cnki.net/kcms/detail/11.2442.n.20150929.1304.006.html 北京大学学报 ( 自然科学版 ) Acta Scientiarum Naturalium Universitatis Pekinensis doi: 10.13209/j.0479-8023.2016.025 A Benchmark

More information

Wireless Presentation Pod

Wireless Presentation Pod Wireless Presentation Pod WPP20 www.yealink.com Quick Start Guide (V10.1) Package Contents If you find anything missing, contact your system administrator. WPP20 Wireless Presentation Pod Quick Start Guide

More information

SHANDONG UNIVERSITY 1

SHANDONG UNIVERSITY 1 Chapter 12 Mass-Storage Systems SHANDONG UNIVERSITY 1 Contents Overview of Mass Storage Structure Disk Structure Disk Attachment Disk Scheduling Disk Management Swap-Space p Management RAID Structure Disk

More information

1. DWR 1.1 DWR 基础 概念 使用使用 DWR 的步骤. 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架

1. DWR 1.1 DWR 基础 概念 使用使用 DWR 的步骤. 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架 1. DWR 1.1 DWR 基础 1.1.1 概念 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架 2 作用 使用 DWR, 可以直接在 html 网页中调用 Java 对象的方法 ( 通过 JS 和 Ajax) 3 基本原理主要技术基础是 :AJAX+ 反射 1) JS 通过 AJAX 发出请求, 目标地址为 /dwr/*, 被 DWRServlet(

More information

TW5.0 如何使用 SSL 认证. 先使用 openssl 工具 1 生成 CA 私钥和自签名根证书 (1) 生成 CA 私钥 openssl genrsa -out ca-key.pem 1024

TW5.0 如何使用 SSL 认证. 先使用 openssl 工具 1 生成 CA 私钥和自签名根证书 (1) 生成 CA 私钥 openssl genrsa -out ca-key.pem 1024 TW5.0 如何使用 SSL 认证 先使用 openssl 工具 1 生成 CA 私钥和自签名根证书 (1) 生成 CA 私钥 openssl genrsa -out ca-key.pem 1024 Generating RSA private key, 1024 bit long modulus.++++++...++++++ e is 65537 (0x10001) (2) 生成待签名证书 openssl

More information

[CVE ] GNU binutils Integer Overflow

[CVE ] GNU binutils Integer Overflow [CVE-2018-6323] GNU binutils 2.29.1 Integer Overflow 0x00 漏洞描述 二进制文件描述符 (BFD) 库 ( 也称为 libbfd) 中头文件 elfcode.h 中的 elf_object_p() 函数 (binutils-2.29.1 之前 ) 具有无符号整数溢出, 溢出的 原因是没有使用 bfd_size_type 乘法 精心制作的 ELF

More information

最短路径算法 Dijkstra 一 图的邻接表存储结构及实现 ( 回顾 ) 1. 头文件 graph.h. // Graph.h: interface for the Graph class. #if!defined(afx_graph_h C891E2F0_794B_4ADD_8772_55BA3

最短路径算法 Dijkstra 一 图的邻接表存储结构及实现 ( 回顾 ) 1. 头文件 graph.h. // Graph.h: interface for the Graph class. #if!defined(afx_graph_h C891E2F0_794B_4ADD_8772_55BA3 最短路径算法 Dijkstra 一 图的邻接表存储结构及实现 ( 回顾 ) 1. 头文件 graph.h // Graph.h: interface for the Graph class. #if!defined(afx_graph_h C891E2F0_794B_4ADD_8772_55BA3 67C823E INCLUDED_) #define AFX_GRAPH_H C891E2F0_794B_4ADD_8772_55BA367C823E

More information

CloudStack 4.3 API 开发指南!

CloudStack 4.3 API 开发指南! CloudStack 4.3 API 开发指南 CloudStack4.3 离发布也不远了, 自从 CloudStack4.1 以后, 其耦合度 一步步下降, 这使开发变得更加容易, 今天我们就以 CloudStack4.3 版本为基础, 来感受 一下如何添加 一个新的 API 首先,CloudStack4.3 里所有的 API 都可认为是 一个插件提供的服务, 诸如 ACL, 网络, 主机以及管理服务器

More information

Oriented Scene Text Detection Revisited. Xiang Bai Huazhong University of Science and Technology

Oriented Scene Text Detection Revisited. Xiang Bai Huazhong University of Science and Technology The Invited Talk in Vision and Learning Seminar (VALSE) Xiamen, 2017-4-22 Oriented Scene Text Detection Revisited Xiang Bai Huazhong University of Science and Technology xbai@hust.edu.cn http://mclab.eic.hust.edu.cn/~xbai/

More information

Chapter2 Instruction Sets

Chapter2 Instruction Sets Coputer Architecture Chapter Instruction Sets Zheng Qinghua CS Departent of XJTU 05.3 Introduction to Instruction Set Architecture ISA is the structure of a coputer that a achine language prograer ust

More information

搭建最简单的 SpringMVC 框架 ( 使用 maven)

搭建最简单的 SpringMVC 框架 ( 使用 maven) 搭建最简单的 SpringMVC 框架 ( 使用 maven) 本文说明 : 本文介绍使用 maven 搭建 SpringMVC 最简单的框架程序过程, 适合初学者上手 1. 创建一个 maven webapp 工程 2. 修改 WEB-INF 目录下的 web.xml 文件 : 内容如下, 文中有注释

More information

Python for Everybody. Exploring Data Using Python. Charles R. Severance

Python for Everybody. Exploring Data Using Python. Charles R. Severance Python for Everybody Exploring Data Using Python Charles R. Severance Credits Editorial Support: Elliott Hauser, Sue Blumenberg Cover Design: Aimee Andrion Printing History -Jul- First Complete Python.

More information

IPC 的 Proxy-Stub 设计模式 (b)

IPC 的 Proxy-Stub 设计模式 (b) B05_b 基於軟硬整合觀點 IPC 的 Proxy-Stub 设计模式 (b) By 高煥堂 2 IBinder 接口的一般用途基於軟硬整合觀點 ib.transact(1, data, reply, 0); //. ib.transact(2, data, reply, 0); boolean ontransact( int code, Parcel data, Parcel reply, int

More information

Virtual Memory Management for Main-Memory KV Database Using Solid State Disk *

Virtual Memory Management for Main-Memory KV Database Using Solid State Disk * ISSN 1673-9418 CODEN JKYTA8 E-mail: fcst@vip.163.com Journal of Frontiers of Computer Science and Technology http://www.ceaj.org 1673-9418/2011/05(08)-0686-09 Tel: +86-10-51616056 DOI: 10.3778/j.issn.1673-9418.2011.08.002

More information

MateCam X1 User Manual

MateCam X1 User Manual MateCam X1 User Manual Thank you for using our product! Please read this manual in detail before using this device. Notes: 1. this product is a precision device, please do not drop it, break, splash with

More information

Oxford isolution. 下載及安裝指南 Download and Installation Guide

Oxford isolution. 下載及安裝指南 Download and Installation Guide Oxford isolution 下載及安裝指南 Download and Installation Guide 系統要求 個人電腦 Microsoft Windows 10 (Mobile 除外 ) Microsoft Windows 8 (RT 除外 ) 或 Microsoft Windows 7 (SP1 或更新版本 ) ( 網上下載 : http://eresources.oupchina.com.hk/oxfordisolution/download/index.html)

More information

Stratix V 器件中的收发器配置. Stratix V 器件含有一个专用的收发器物理编码子层 (PCS) 和物理介质附加子层 (PMA) 电路 要实现一个协议, 请使用表 4-1 中所列出的 PHY IP

Stratix V 器件中的收发器配置. Stratix V 器件含有一个专用的收发器物理编码子层 (PCS) 和物理介质附加子层 (PMA) 电路 要实现一个协议, 请使用表 4-1 中所列出的 PHY IP 4 订阅 Stratix V 器件含有一个专用的收发器物理编码子层 (PCS) 和物理介质附加子层 (PMA) 电路 要实现一个协议, 请使用表 4-1 中所列出的 PHY IP Stratix V 器件支持以下通信协议 : 10GBASE-R 和 10GBASE-KR Interlaken PCI Express (PCIe ) Gen1 Gen2 和 Gen3 CPRI 和 OBSAI 确定性延迟

More information

: Operating System 计算机原理与设计

: Operating System 计算机原理与设计 11741: Operating System 计算机原理与设计 Chapter 9: Virtual Memory( 虚存 ) 陈香兰 xlanchen@ustceducn http://staffustceducn/~xlanchen Computer Application Laboratory, CS, USTC @ Hefei Embedded System Laboratory, CS,

More information

Protocol in General Outline. What is protocol. Why using protocol. What kind of Protocols are there.

Protocol in General Outline. What is protocol. Why using protocol. What kind of Protocols are there. Protocol in General Information Network Center Beijing University of Posts and Telecommunications Sept. 2016 Outline An overview on protocols Well-known protocol stacks Protocol mechanisms Protocol specification

More information

Apache OpenWhisk + Kubernetes:

Apache OpenWhisk + Kubernetes: Apache OpenWhisk + Kubernetes: A Perfect Match for Your Serverless Platform Ying Chun Guo guoyingc@cn.ibm.com Zhou Xing xingzhou@qiyi.com Agenda What is serverless? Kubernetes + Apache OpenWhisk Technical

More information