- Shell脚本学习_流程控制与函数
不想秃头儿
shell脚本学习运维Shelllinux
目录一、流程控制1、ifelse语句2、case语句3、while循环4、for循环5、until循环6、select语句二、函数1、系统函数1.basename系统函数:2.dirname系统函数2、自定义函数1.无带参数:2.有参函数3.shell程序与函数的区别三、重定向输入输出一、流程控制1、ifelse语句if语法:#多行if条件then命令fi#一行if条件;then命令;fiif-e
- shell脚本学习笔记
愤愤的有痣青年
shell脚本是一种可以在linux系统下运行的解释性脚本,应用广泛,功能强大,以下是本人在学习shell脚本过程中的学习笔记.shell脚本一般第一行为#!/bin/bash或#!/bin/sh,这是用来指定运行的解释器程序的路径第一个脚本#!/bin/bashecho"helloshell"脚本名称为test.sh,其运行方式有两种,一种是赋予可执行权限后使用./test.sh运行,另一种是手
- Linux_Shell脚本学习第四章-让文本飞(上)
qq_36521904
LinuxShell脚本学习笔记LinuxShell正则表达式学习笔记
一、使用正则表达式1.1正则表达式的规则1.1.1位置标记**位置标记锚点(positionmarkeranchor)是标识字符串位置的正则表达式。**默认情况下,正则表达式所匹配的字符可以出现在字符串中任何位置,如下图。1.1.2标识符标识符是正则表达式的基础组成部分。它定义了那些为了匹配正则表达式,必须存在(或不存在)的字符,如下图。1.1.3数量修饰符一个标识符可以出现一次、多次或是不出现。
- Shell脚本:Linux Shell脚本学习指南(第三部分Shell高级)一
别致的SmallSix
LinuxShell脚本学习linux运维服务器
第三部分:Shell高级(一)这一章讲解Shell脚本编程的进阶内容,主要涉及重定向、文件描述符、管道和过滤器、子Shell、信号等。本章会使用到一些底层的编程知识,有C语言和C++编程经验的程序员阅读起来将会更加轻松。一、LinuxShell重定向(输入输出重定向)精讲LinuxShell重定向分为两种,一种输入重定向,一种是输出重定向;从字面上理解,输入输出重定向就是「改变输入与输出的方向」的
- Shell脚本学习笔记之(自动填充函数模板)
呼啦啦的爱
其实,vii就是写的一个脚本,跟vi没半毛钱关系,只不过借用一下这个名字而已。那这个脚本长什么样呢?look:下面来详细的解析上面的代码,来看第1行:#!/bin/bash这是Shell脚本的格式,没啥好讲的。再来看第3-6行:if[$#-eq0]thenvifi这是是判断执行vii的时候带不带参数,假如不带参数,那么就直接启动vi再来看第8-16行:if[$#-eq1]thensuffix=`e
- ping通网络脚本
伪程序文艺猿
Linux脚本学习vimlinux
shell脚本学习——ping通网络脚本案例1[root@localhostshell_scripts]#catping.sh#!/bin/bashclearecho"请输入要ping的IP地址:"readIPifping-c1$IP&>/dev/null;thenecho-e"\t\t\t\t---网络可以ping通$IP!---"elseecho-e"\t\t\t\t---网络不能ping通$
- Shell脚本学习-阶段二十八-shell练习二
低调的小哥哥
shell
文章目录-练习2前言1.编写shell脚本程序,完成如下功能:输出helloworld!2.编写shell脚本程序,完成如下功能:输入你的姓名,输出hello,nicetomeetyou你的姓名!3.编写shell脚本程序,完成如下功能:输出当前登录用户的身份及当前所在目录(使用whoami及pwd命令)4.编写shell脚本程序,完成如下功能:输入一个合法的目录名,判断当前目录是否存在该目录,如
- shell脚本学习——编程之变量定义
小方童鞋
shell-学习shelllinux
文章目录SHELL编程模块课程目标一、SHELL介绍1.编程语言分类2.shell简介3.shell脚本㈠什么是shell脚本?㈡什么时候用到脚本?㈢shell脚本能干啥?㈣如何学习shell脚本?㈤学习shell脚本的秘诀㈥shell脚本的基本写法㈦shell脚本的执行方法==二、变量的定义==1.变量是什么?2.什么时候需要定义变量?3.变量如何定义?4.变量的定义规则㈠变量名区分大小写㈡变量
- shell脚本学习
waper97
shell脚本linux学习linux服务器
$0:Shell本身的文件名$!:Shell最后运行的后台进程PID$$:当前脚本运行的进程PID$?:执行上一个指令的返回值(显示最后命令的退出状态。0表示没有错误,其他任何值表明有错误)$*:所有参数列表。如"$*“用双引号引起来的情况、以”$1$2…$n"的形式输出所有参数,此选项参数可超过9个$@:所有参数列表。如"$@“用双引号引起来的情况、以”$1"“$2”…“$n”的形式输出所有参数
- Shell脚本学习指南(三)——文本处理工具
Jacky~~
ShellShell
文章目录排序文本行的排序以字段的排序文本块排序sort的效率sort的稳定性sort小结删除重复重新格式化段落计算行数、字数以及字符数打印打印技术的演化其他打印软件提取开头或结尾数行排序文本含有独立数据记录的文本文恶剪,通常都可以拿来排序。一个可预期的记录次序,会让用户的生活更便利:书的索引、字典、目录以及电话薄,如果没有次序依据就毫无价值。排序后的记录更易于程序化;也更有效率。就像awk、cut
- shell脚本学习
Ileo_km
shell脚本编程exportPS1='\n\e[1;37m[\e[m\e[1;32m\u\e[m\e[1;33m@\e[m\e[1;35m\H\e[m\e[4m`pwd`\e[m\e[1;37m]\e[m\e[1;36m\e[m\n\$'当shell脚本运行时,它会先查找系统环境变量ENV,该变量指定了环境文件(加载顺序通常是/etc/profile、~/bash_profile、~/bash_
- Shell脚本:Linux Shell脚本学习指南(第四部分Bash Shell快捷键)
别致的SmallSix
Linuxlinuxbash运维
第四年部分:BashShell快捷键有人说,Linux是为喜欢敲键盘的人们服务的,BashShell也遵循这个原则,它支持很多快捷键,可以让我们很方便的书写命令,比如粘贴、复制、移动到行首、移动到行尾等。此外,Bash还支持命令自动补全,以及历史命令检索。一、BashShell快捷键大全开玩笑地说,我经常把Unix描述为“这个操作系统是为喜欢敲键盘的人们服务的。”当然,Unix甚至还有一个命令行,
- Linux学习笔记之七(shell脚本的基本语法)
__TAT__
Linuxlinux学习笔记
Shell1、Shell脚本2、常用运算符2、特殊语法4、关于变量的一些命令4.1、echo4.2、export4.3、read4.4、declare/typeset4.5、local4.6、unset5、基本逻辑语法5.1、if判断5.2、for循环5.3、while循环5.4、case语句6、函数定义7、多脚本链接1、Shell脚本学习shell脚本开发之前,必须得有一些基础的Linux相关知
- Shell脚本:Linux Shell脚本学习指南(第三部分Shell高级)四
别致的SmallSix
Linuxlinuxchrome运维
十九、LinuxShelltrap命令:捕获信号到目前为止,我们在本教程所见的脚本中还没有需要信号处理功能的,因为它们的内容相对比较简单,执行时间很短,而且不会创建临时文件。而对于较大的或者更复杂的脚本来说,如果脚本具有信号处理机制可能就比较有用了。当我们设计一个大且复杂的脚本时,考虑到当脚本运行时出现用户退出或系统关机会发生什么是很重要的。当这样的事件发生时,一个信号将会发送到所有受影响的进程。
- Shell脚本:Linux Shell脚本学习指南(第三部分Shell高级)三
别致的SmallSix
Linuxlinuxchrome运维
十三、如何检测子Shell和子进程?上节我们说了子Shell和子进程的区别,这节就来看一下如何检测它们。我们都知道使用$变量可以获取当前进程的ID,我在父Shell和子Shell中都输出$的值,只要它们不一样,不就是创建了一个新的进程吗?那我们就来试一下吧。[mozhiyan@localhost~]$echo$$#父ShellPID3299[mozhiyan@localhost~]$(echo$$
- Shell脚本学习
_二师兄_
PARTI---Shell变量变量类型:1)局部变量:局部变量在脚本或命令中定义,仅在当前shell实例中有效,其他shell启动的程序不能访问局部变量。2)环境变量:所有的程序,包括shell启动的程序,都能访问环境变量,有些程序需要环境变量来保证其正常运行。必要的时候shell脚本也可以定义环境变量。3)shell变量:shell变量是由shell程序设置的特殊变量。shell变量中有一部分是
- shell脚本学习笔记
BuffaloX_X
debiangnubash
目录结构:/d/home/bash_test/total39drwxr-xr-x1Administrator197121012月616:22demo_folder1/drwxr-xr-x1Administrator197121012月616:22demo_folder2/prw-rw-rw-1Administrator197121012月1020:09my_pipe|-rwxr-xr-x1Admi
- linux命令行与shell脚本编程大全以及shell脚本学习指南
往事不堪回首_2e46
linux命令行与shell脚本编程大全以及shell脚本学习指南下载地址:https://fgk.pw/i/me9kEpG0753
- Shell脚本:Linux Shell脚本学习指南(第三部分Shell高级)四
别致的SmallSix
Linuxchrome前端
十九、LinuxShelltrap命令:捕获信号到目前为止,我们在本教程所见的脚本中还没有需要信号处理功能的,因为它们的内容相对比较简单,执行时间很短,而且不会创建临时文件。而对于较大的或者更复杂的脚本来说,如果脚本具有信号处理机制可能就比较有用了。当我们设计一个大且复杂的脚本时,考虑到当脚本运行时出现用户退出或系统关机会发生什么是很重要的。当这样的事件发生时,一个信号将会发送到所有受影响的进程。
- Shell脚本:Linux Shell脚本学习指南(第四部分Bash Shell快捷键)
别致的SmallSix
Linuxlinux运维服务器
第四年部分:BashShell快捷键有人说,Linux是为喜欢敲键盘的人们服务的,BashShell也遵循这个原则,它支持很多快捷键,可以让我们很方便的书写命令,比如粘贴、复制、移动到行首、移动到行尾等。此外,Bash还支持命令自动补全,以及历史命令检索。一、BashShell快捷键大全开玩笑地说,我经常把Unix描述为“这个操作系统是为喜欢敲键盘的人们服务的。”当然,Unix甚至还有一个命令行,
- Shell脚本:Linux Shell脚本学习指南(第二部分Shell编程)三
别致的SmallSix
Linuxlinux运维服务器
第二部分:Shell编程(三)二十一、Shelldeclare和typeset命令:设置变量属性declare和typeset都是Shell内建命令,它们的用法相同,都用来设置变量的属性。不过typeset已经被弃用了,建议使用declare代替。declare命令的用法如下所示:declare[+/-][aAfFgilprtux][变量名=变量值]其中,-表示设置属性,+表示取消属性,aAfFg
- Shell脚本:Linux Shell脚本学习指南(第三部分Shell高级)二
别致的SmallSix
Linuxlinux运维服务器
七、ShellHereString(内嵌字符串,嵌入式字符串)HereString是《六、ShellHereDocument(内嵌文档/立即文档)》的一个变种,它的用法如下:commandfourfivesix>seveneight"ONETWOTHEREFOURFIVESIXSEVENEIGHT2、总结与HereDocument相比,HereString通常是相当方便的,特别是发送变量内容(而不
- shell脚本学习笔记07
抹茶味的西瓜汁
shell脚本学习笔记
如何让shell实现可选择性执行的功能用了while进行循环,是死循环,在循环时,使用case进行使用哪个脚本进行执行。使用clear进行每一次操作前的清屏,eof代表输入这个会显示目录。read用来读取输入的值,如果不输入值不会进行任何操作。注意空格。运行:巡检内存使用率:free-m查看内存使用情况:sed-n'2p'获取到第二行。因为是以制表符为单位的,,所以这里用awk'{print$2}
- Shell脚本:Linux Shell脚本学习指南(第一部分Shell基础)一
别致的SmallSix
Linuxlinux运维服务器
你好,欢迎来到「LinuxShell脚本」学习专题,你将享受到免费的Shell编程资料,以及很棒的浏览体验。这套Shell脚本学习指南针对初学者编写,它通俗易懂,深入浅出,不仅讲解了基本知识,还深入底层原理,能让你在1天时间内快速了解Shell(当然,要想深入学习还得假以时日)。Shell既是一个连接用户和linux内核的程序,又是一门管理Linux系统的脚本语言。Shell脚本虽然没有C++、P
- Shell脚本:Linux Shell脚本学习指南(第一部分Shell基础)二
别致的SmallSix
Linuxlinux运维服务器
第一部分:Shell基础(开胃菜)二八、LinuxShell命令提示符启动Linux桌面环境自带的终端模拟包,或者从Linux控制台登录后,便可以看到Shell命令提示符。看见命令提示符就意味着可以输入命令了。命令提示符不是命令的一部分,它只是起到一个提示作用。不同的Linux发行版使用的提示符格式大同小异,例如在CentOS中,默认的提示符类似下面这样:[mozhiyan@localhost~]
- shell脚本学习06(小滴课堂)
抹茶味的西瓜汁
shell脚本学习
fi是结束循环的意思。这里脚本1:代表着脚本和1.txt文件处于同一目录下。脚本2为绝对路径的写法。在使用./进行启动时,我们需要给文件赋予执行权限。把文件名改为2.txt:什么都没有返回,说明文件已经不存在。可以使用脚本2ifelse的方式去写:还可以使用$进行传参的方式:接下来,我们来学习多分支判断:for循环:可以用seq命令进行循环遍历。只ping两次。case循环控制:while循环:
- Shell脚本学习笔记(一)
搬砖小张
shell脚本学习bashlinux
第一章构建基本脚本1.1使用多个命令shell脚本的关键在于输入多个命令并处理每个命令的结果,甚至将一个命令的结果传给另一个命令。shell可以让你将多个命令串起来,一次执行完成。如果要两个命令一起运行,可以把他们放在同一行中,彼此用分号隔开。$date;whoMonFeb2115:36:09EST2014Christinetty22014-02-2115:26Samanthatty32014-0
- shell脚本学习
Tonight 1
linuxbashlinux开发语言
文章目录一、文本处理工具1.grep文本处理工具语法和选项2、cut工具语法和选项3、sort工具4、uniq工具uniq和sort结合使用的练习5、tee工具6、diff工具1、正常显示2、上下文显示-c3、合并显示-u4、diff其他方法使用7、paste工具8、tr工具练习二、bash的特性1、命令和文件自动补全2、常见的快捷键3、常用的通配符(重点)4、bash中的引号(重点)三、SHEL
- 【linux系统基础知识-Shell脚本学习笔记12-循环】
dai9812
linuxshell学习bash后端linux自动化
12.1.【循环说明解释】循环是可以使你多次执行一系列命令。循环包括:for循环•while循环•select循环•for....do....done,while...do...done,until...do...done,12.2.【for循环】•for循环使你对列表中的每一项重复执行一系列命令。•语法格式:•fornameinword1world2…worldN•do•list•done•na
- Docker images 常用shell脚本
Tee xm
Dockerdocker容器运维shell脚本
这个是标题shell脚本学习1)拉取镜像根据镜像名和tag保存在本地2)删除Linux机器本机的镜像3)dockerload并且修改镜像的域名和项目名push到新的harborshell脚本学习1)拉取镜像根据镜像名和tag保存在本地docker_pull_save.sh.#!/bin/bash#定义镜像列表images_list=$(cat"image_list.txt")#遍历镜像列表fori
- ASM系列六 利用TreeApi 添加和移除类成员
lijingyao8206
jvm动态代理ASM字节码技术TreeAPI
同生成的做法一样,添加和移除类成员只要去修改fields和methods中的元素即可。这里我们拿一个简单的类做例子,下面这个Task类,我们来移除isNeedRemove方法,并且添加一个int 类型的addedField属性。
package asm.core;
/**
* Created by yunshen.ljy on 2015/6/
- Springmvc-权限设计
bee1314
springWebjsp
万丈高楼平地起。
权限管理对于管理系统而言已经是标配中的标配了吧,对于我等俗人更是不能免俗。同时就目前的项目状况而言,我们还不需要那么高大上的开源的解决方案,如Spring Security,Shiro。小伙伴一致决定我们还是从基本的功能迭代起来吧。
目标:
1.实现权限的管理(CRUD)
2.实现部门管理 (CRUD)
3.实现人员的管理 (CRUD)
4.实现部门和权限
- 算法竞赛入门经典(第二版)第2章习题
CrazyMizzz
c算法
2.4.1 输出技巧
#include <stdio.h>
int
main()
{
int i, n;
scanf("%d", &n);
for (i = 1; i <= n; i++)
printf("%d\n", i);
return 0;
}
习题2-2 水仙花数(daffodil
- struts2中jsp自动跳转到Action
麦田的设计者
jspwebxmlstruts2自动跳转
1、在struts2的开发中,经常需要用户点击网页后就直接跳转到一个Action,执行Action里面的方法,利用mvc分层思想执行相应操作在界面上得到动态数据。毕竟用户不可能在地址栏里输入一个Action(不是专业人士)
2、<jsp:forward page="xxx.action" /> ,这个标签可以实现跳转,page的路径是相对地址,不同与jsp和j
- php 操作webservice实例
IT独行者
PHPwebservice
首先大家要简单了解了何谓webservice,接下来就做两个非常简单的例子,webservice还是逃不开server端与client端。我测试的环境为:apache2.2.11 php5.2.10做这个测试之前,要确认你的php配置文件中已经将soap扩展打开,即extension=php_soap.dll;
OK 现在我们来体验webservice
//server端 serve
- Windows下使用Vagrant安装linux系统
_wy_
windowsvagrant
准备工作:
下载安装 VirtualBox :https://www.virtualbox.org/
下载安装 Vagrant :http://www.vagrantup.com/
下载需要使用的 box :
官方提供的范例:http://files.vagrantup.com/precise32.box
还可以在 http://www.vagrantbox.es/
- 更改linux的文件拥有者及用户组(chown和chgrp)
无量
clinuxchgrpchown
本文(转)
http://blog.163.com/yanenshun@126/blog/static/128388169201203011157308/
http://ydlmlh.iteye.com/blog/1435157
一、基本使用:
使用chown命令可以修改文件或目录所属的用户:
命令
- linux下抓包工具
矮蛋蛋
linux
原文地址:
http://blog.chinaunix.net/uid-23670869-id-2610683.html
tcpdump -nn -vv -X udp port 8888
上面命令是抓取udp包、端口为8888
netstat -tln 命令是用来查看linux的端口使用情况
13 . 列出所有的网络连接
lsof -i
14. 列出所有tcp 网络连接信息
l
- 我觉得mybatis是垃圾!:“每一个用mybatis的男纸,你伤不起”
alafqq
mybatis
最近看了
每一个用mybatis的男纸,你伤不起
原文地址 :http://www.iteye.com/topic/1073938
发表一下个人看法。欢迎大神拍砖;
个人一直使用的是Ibatis框架,公司对其进行过小小的改良;
最近换了公司,要使用新的框架。听说mybatis不错;就对其进行了部分的研究;
发现多了一个mapper层;个人感觉就是个dao;
- 解决java数据交换之谜
百合不是茶
数据交换
交换两个数字的方法有以下三种 ,其中第一种最常用
/*
输出最小的一个数
*/
public class jiaohuan1 {
public static void main(String[] args) {
int a =4;
int b = 3;
if(a<b){
// 第一种交换方式
int tmep =
- 渐变显示
bijian1013
JavaScript
<style type="text/css">
#wxf {
FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#97FF98);
height: 25px;
}
</style>
- 探索JUnit4扩展:断言语法assertThat
bijian1013
java单元测试assertThat
一.概述
JUnit 设计的目的就是有效地抓住编程人员写代码的意图,然后快速检查他们的代码是否与他们的意图相匹配。 JUnit 发展至今,版本不停的翻新,但是所有版本都一致致力于解决一个问题,那就是如何发现编程人员的代码意图,并且如何使得编程人员更加容易地表达他们的代码意图。JUnit 4.4 也是为了如何能够
- 【Gson三】Gson解析{"data":{"IM":["MSN","QQ","Gtalk"]}}
bit1129
gson
如何把如下简单的JSON字符串反序列化为Java的POJO对象?
{"data":{"IM":["MSN","QQ","Gtalk"]}}
下面的POJO类Model无法完成正确的解析:
import com.google.gson.Gson;
- 【Kafka九】Kafka High Level API vs. Low Level API
bit1129
kafka
1. Kafka提供了两种Consumer API
High Level Consumer API
Low Level Consumer API(Kafka诡异的称之为Simple Consumer API,实际上非常复杂)
在选用哪种Consumer API时,首先要弄清楚这两种API的工作原理,能做什么不能做什么,能做的话怎么做的以及用的时候,有哪些可能的问题
- 在nginx中集成lua脚本:添加自定义Http头,封IP等
ronin47
nginx lua
Lua是一个可以嵌入到Nginx配置文件中的动态脚本语言,从而可以在Nginx请求处理的任何阶段执行各种Lua代码。刚开始我们只是用Lua 把请求路由到后端服务器,但是它对我们架构的作用超出了我们的预期。下面就讲讲我们所做的工作。 强制搜索引擎只索引mixlr.com
Google把子域名当作完全独立的网站,我们不希望爬虫抓取子域名的页面,降低我们的Page rank。
location /{
- java-归并排序
bylijinnan
java
import java.util.Arrays;
public class MergeSort {
public static void main(String[] args) {
int[] a={20,1,3,8,5,9,4,25};
mergeSort(a,0,a.length-1);
System.out.println(Arrays.to
- Netty源码学习-CompositeChannelBuffer
bylijinnan
javanetty
CompositeChannelBuffer体现了Netty的“Transparent Zero Copy”
查看API(
http://docs.jboss.org/netty/3.2/api/org/jboss/netty/buffer/package-summary.html#package_description)
可以看到,所谓“Transparent Zero Copy”是通
- Android中给Activity添加返回键
hotsunshine
Activity
// this need android:minSdkVersion="11"
getActionBar().setDisplayHomeAsUpEnabled(true);
@Override
public boolean onOptionsItemSelected(MenuItem item) {
- 静态页面传参
ctrain
静态
$(document).ready(function () {
var request = {
QueryString :
function (val) {
var uri = window.location.search;
var re = new RegExp("" + val + "=([^&?]*)", &
- Windows中查找某个目录下的所有文件中包含某个字符串的命令
daizj
windows查找某个目录下的所有文件包含某个字符串
findstr可以完成这个工作。
[html]
view plain
copy
>findstr /s /i "string" *.*
上面的命令表示,当前目录以及当前目录的所有子目录下的所有文件中查找"string&qu
- 改善程序代码质量的一些技巧
dcj3sjt126com
编程PHP重构
有很多理由都能说明为什么我们应该写出清晰、可读性好的程序。最重要的一点,程序你只写一次,但以后会无数次的阅读。当你第二天回头来看你的代码 时,你就要开始阅读它了。当你把代码拿给其他人看时,他必须阅读你的代码。因此,在编写时多花一点时间,你会在阅读它时节省大量的时间。让我们看一些基本的编程技巧: 尽量保持方法简短 尽管很多人都遵
- SharedPreferences对数据的存储
dcj3sjt126com
SharedPreferences简介: &nbs
- linux复习笔记之bash shell (2) bash基础
eksliang
bashbash shell
转载请出自出处:
http://eksliang.iteye.com/blog/2104329
1.影响显示结果的语系变量(locale)
1.1locale这个命令就是查看当前系统支持多少种语系,命令使用如下:
[root@localhost shell]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
- Android零碎知识总结
gqdy365
android
1、CopyOnWriteArrayList add(E) 和remove(int index)都是对新的数组进行修改和新增。所以在多线程操作时不会出现java.util.ConcurrentModificationException错误。
所以最后得出结论:CopyOnWriteArrayList适合使用在读操作远远大于写操作的场景里,比如缓存。发生修改时候做copy,新老版本分离,保证读的高
- HoverTree.Model.ArticleSelect类的作用
hvt
Web.netC#hovertreeasp.net
ArticleSelect类在命名空间HoverTree.Model中可以认为是文章查询条件类,用于存放查询文章时的条件,例如HvtId就是文章的id。HvtIsShow就是文章的显示属性,当为-1是,该条件不产生作用,当为0时,查询不公开显示的文章,当为1时查询公开显示的文章。HvtIsHome则为是否在首页显示。HoverTree系统源码完全开放,开发环境为Visual Studio 2013
- PHP 判断是否使用代理 PHP Proxy Detector
天梯梦
proxy
1. php 类
I found this class looking for something else actually but I remembered I needed some while ago something similar and I never found one. I'm sure it will help a lot of developers who try to
- apache的math库中的回归——regression(翻译)
lvdccyb
Mathapache
这个Math库,虽然不向weka那样专业的ML库,但是用户友好,易用。
多元线性回归,协方差和相关性(皮尔逊和斯皮尔曼),分布测试(假设检验,t,卡方,G),统计。
数学库中还包含,Cholesky,LU,SVD,QR,特征根分解,真不错。
基本覆盖了:线代,统计,矩阵,
最优化理论
曲线拟合
常微分方程
遗传算法(GA),
还有3维的运算。。。
- 基础数据结构和算法十三:Undirected Graphs (2)
sunwinner
Algorithm
Design pattern for graph processing.
Since we consider a large number of graph-processing algorithms, our initial design goal is to decouple our implementations from the graph representation
- 云计算平台最重要的五项技术
sumapp
云计算云平台智城云
云计算平台最重要的五项技术
1、云服务器
云服务器提供简单高效,处理能力可弹性伸缩的计算服务,支持国内领先的云计算技术和大规模分布存储技术,使您的系统更稳定、数据更安全、传输更快速、部署更灵活。
特性
机型丰富
通过高性能服务器虚拟化为云服务器,提供丰富配置类型虚拟机,极大简化数据存储、数据库搭建、web服务器搭建等工作;
仅需要几分钟,根据CP
- 《京东技术解密》有奖试读获奖名单公布
ITeye管理员
活动
ITeye携手博文视点举办的12月技术图书有奖试读活动已圆满结束,非常感谢广大用户对本次活动的关注与参与。
12月试读活动回顾:
http://webmaster.iteye.com/blog/2164754
本次技术图书试读活动获奖名单及相应作品如下:
一等奖(两名)
Microhardest:http://microhardest.ite