- <Linux>(极简关键、省时省力)《Linux操作系统原理分析》(2)
Ealser
Linuxlinuxarm开发运维
《Linux操作系统原理分析》(2)2Linux概述2.1Linux发展史2.2Linux与GNC2.3Linux性能2.4Linux技术特点2Linux概述2.1Linux发展史年份事件1991年22岁的荷兰大学生LinusB.Torvalds在PC机上开发出简单的操作系统内核程序。1994年3月Linus领导的世界各地的爱好者共同开发的第一个功能完整、性能稳定的Linux内核版Linux1.0
- 01 Linux概述
GavinGe
目录Linux简介Linux初体验Linux简介?是开源的类Unix操作系统(对下层管理硬件,让硬件工作,对上层提供接口,供应用程序调用)开源类Unix发展历史1991年,Linux诞生1994年,Linux1.0发布,内核代码量17万1995年,Redhat发行版发布1996年,Linux2.0发布,内核代码量40万1998年2月,以EricRaymond为首的一批年轻的"老牛羚骨干分子"终于认
- Linux学习笔记(四)Linux基础操作
胜者为王,自然而然。
笔记linux学习
1、Linux系统简介Linux是一套开源的操作系统,其内核由林纳斯·本纳第克特·托瓦兹于1991年10月5日首次发布,它继承了Unix以网络为核心的设计思想,是一个性能稳定的多用户网络操作系统。1994年3月,Linux1.0发布,代码量17万行,当时是按照完全自由免费的协议发布,随后正式采用GPL协议。1995年1月,BobYoung创办了RedHat(小红帽),以GNU、Linux为核心,集
- linux1.0操作系统源码剖析 sched.h sched.c
EW_DUST
计算机系统Linux源码剖析
这篇文章只是学习笔记,如有错误或疑问,欢迎指出。#ifndef_SCHED_H#define_SCHED_H#defineNR_TASKS64//系统最多的进程数#defineHZ100//系统时钟频率100HZ#defineFIRST_TASKtask[0]//任务0是比较特殊init()#defineLAST_TASKtask[NR_TASKS-1]//任务数组里面最后一个#include#i
- Linux安装及远程登录
索伦x
Linux简介概述Linux操作系统是UNIX操作系统的一个克隆版本UNIX1969年由贝尔实验室开发,Linux是一款类Unix1987年由阿姆斯特丹大学的老师AndrewS.Tanenbaum(AST)开发,主要用于教学,让学生学习跟了解操作系统原理1993年,Linux1.0版本发行UnixvsLinuxUNIX系统大多是与硬件配套的,而Linux则可运行在多种硬件平台上.UNIX是商业软件
- centos7-15-Linux的发展史和主流发行版系列
皮皮冰燃
Centos7系统linux
Linux发展史简述一般我们说的Linux版本有2个,一个是Linux内核版本,一个是各厂商的发行版本。1Linux的发展Linux是一套开源的操作系统,于1991年10月5日正式对外发布。它继承了Unix以网络为核心思想,是一个性能稳定的多用户网络操作系统。1993年,大约有100余名程序员参与了Linux内核代码编写/修改工作,其中核心组由5人组成。1994年3月,Linux1.0发布,代码量
- linux1.0版本mmap研究
柯基是只dog
今天看go的runtime的时候,内存堆初始化的时候是调用mmap申请的虚拟内存,于是搜了下0.11的linux源码,发现还没有实现,就又找了1.0版本的(毕竟越早代码越少都是核心实现--)先看代码asmlinkageintsys_mmap(unsignedlong*buffer){interror;unsignedlongflags;structfile*file=NULL;error=veri
- 小白对于Linux的学习
豌豆来学IT了
小白linux了解内核linux
Linux的起源和发展Linux操作系统构成Linux内核、系统基本库、应用程序Linux内核项目主要作者:芬兰赫尔辛基大学的LinuxTorvalds1991年10月,发布Linux0.02版(第一个公开版)1994年3月,Linux1.0版发布Linux内核的标志——企鹅Tux,取于芬兰的吉祥物官方网站Linux内核版本由Linux内核项目团体统一进行发布Linux发行版可以自由选择使用某个版
- Linux发展史简述
zhouyudaxian
简述
Linux是一套开源的操作系统,于1991年10月5日正式对外发布。它继承了Unix以网络为核心思想,是一个性能稳定的多用户网络操作系统。1993年,大约有100余名程序员参与了Linux内核代码编写/修改工作,其中核心组由5人组成。1994年3月,Linux1.0发布,代码量17万行,当时是按照完全自由免费的协议发布,随后正式采用GPL协议。1995年1月,BobYoung创办了RedHat(小
- linux源码笔记
zzljn
linuxapplicationsystem磁盘
这部分能用本着想记就就记,想不起来就不记的原则。同是出于练习英文的目的,部分不重要内容计划用英文。事先说明我读的是linux1.0,这里可以几乎不用怎么看到lock前缀,都是单cpu,同时有引导程序。首先说明cpu为什么会运转起来:1:cpu上电后会从某一个地址开始顺序执行程序,当然此时是实模式(如果问什么是实模式,保护模式,简单怎么也该知道,不然拉去补课)2:bios当然有一些基础磁盘操作和其他
- Linux 发行版 manjaro 安装指南
云溪111
linux
Linux历史1994年3月,Linux1.0版正式发布,MarcEwing成立RedHat软件公司,成为最著名的Linux经销商之一。早期Linux的引导管理程序(bootloader)使用LILO(LinuxLoader),早期的LILO存在着一些难以容忍的缺陷,例如无法识别1024柱面以后的硬盘空间,后来的GRUB(GRandUnifiedBootloader)克服这些缺点,具有‘动态搜索内
- 【Linux 1.0内核源码剖析】创建进程——fork.c
selfimpr1991
LinuxKernelOpenSource
由于Linux0.11很多模块尚未跟进,而Linux1.0相比与现在的版本,基本功能,尚属完善,所以后续将研究Linux1.0源码,事实上阅读早期版本的源码,更有利于理解其过程。关于进程的前面已有介绍进程基础编程、进程管理(linux2.6)Linux1.0\kernel\fork.cunix系统通过fork系统调用创建一个进程,fork.c的主要任务是为新的进程填写数据结构,相关步骤有:取得一个
- linux1.0内核代码学习(一)
xiebingsuccess
库文件和头文件在程序中,使用#include类似的头文件stdio.h在编译器的头文件路径中,#include"abc.h"中的abc.h文件则应该在当前目录。通过对编译器指定参数-I来指定头文件所在目录,可以用#include参数指定库文件的目录,-l指定包含的库文件。例如,要使用libXXX.so库,参数为-lXXX。一般一个库编译完成后有库文件和头文件。如果要使用这个库,可以将库文件目录和头
- linux1.0内核代码学习(六) 之内核从软盘引导,从硬盘加载根文件系统
xiebingsuccess
linux1.0内核代码学习(六)之内核从软盘引导,从硬盘加载根文件系统环境配置如下:(在这之前用过linux0.98、1.0、1.13、1.2.13、2.0.4内核,尝试过用gcc2.2.2、gcc2.4.5、gcc2.6.3、gcc2.95.3进行编译调试都没有完全成功过,不过积累了很多经验)编译环境readhat9.0wmware虚拟机+gccversion3.2.2内核源码:https:/
- linux1.0内核代码学习(二)
xiebingsuccess
这节主要是对Makefile进行详细注解:VERSION=1##版本号PATCHLEVEL=0#补丁号ALPHA=all:VersionzImage#all标示创建Makefile所知的最顶层的目标。这里就是Version和zImage。zImage就是引导启动盘映像文件,#若将其写入软盘就可以使用该软盘引导linux系统了。#Version用于生成.config和.depend文件,zImage
- linux1.0内核代码学习(三) 之linu1.0内核运行
xiebingsuccess
通过Makefile中的命令makezdisk可以制作从磁盘启动的linux1.0映像文件,由于linux1.0开发的时候当时的gun工具版本比较低,当时生成的可执行文件时a.out格式的,但现在的gun工具编译出来的可执行文件都是elf格式的,比如我的gcc版本是4.3.2的,而linux1.0的tools工具在生成可执行文件的过程中都是按照a.out格式来制作的,我曾经尝试用gcc编译a.ou
- Fastdfs源码分析3----哈希管理器设计
唐一墨
Fastdfs
记得在4年以前,在下刚刚读完linux1.0内核源码,当时意气风发,无惧无畏。总感觉看任何c代码都没有问题,如履平地。甚至跟北京一家中科院的博士(某存储公司的cto,是我朋友)掷下豪言说:自己的c语言编程水准,敢于接受任何的挑战。不料,看余庆大神的哈希表时,就没有完全看明白,虽然当时懂了大部分。时光荏苒,中间做了一段是时间c后就开始用c++编程。越多了大量的开源库,c已经忘却(在写c++时会觉得c
- python去除文本多余空格
nudt_qxx
python
原来的文本如下:Linux于1991年诞生于芬兰。大学生LinusTorvalds,由于没有足够的钱购买昂贵的商用操作系统,于是自己编写了一个小的操作系统内核,这就是Linux的前身。LinusTorvalds将操作系统的源代码在Internet上公布,受到了计算机爱好者的热烈欢迎。各种各样的计算机高手不断地为它添加新的特性,并不断地提高它的稳定性。1994年,Linux1.0正式发布。现在,Li
- Linux版本类型,Google的Android真的是开源的吗?Android离Linux原来越远了
hfldqwe
Linux简介Linux是一类Unix计算机操作系统的统称。Linux操作系统的内核的名字也是“Linux”。Linux操作系统也是自由软件和开放源代码发展中最著名的例子。严格来讲,Linux这个词本身只表示Linux内核,但在实际上人们已经习惯了用Linux来形容整个基于Linux内核,并且使用GNU工程各种工具和数据库的操作系统。1994年3月,Linux1.0发布代码量17万行,当时是按照完
- 7个你不知道的Linux的事实
Wyatt Jee
科斯基摩心得闲谈UbuntuLinuxCoskimo
从Linux1.0发布到现在,Linux已经走过了20个年头了。这个开源的操作系统在企业数据中心方面也拥有了举足轻重的地位。在公共网络和公共云服务也有涉及。除了桌面这一邻域,Linux可谓是真正的大赢家。但是大家不怎么清楚Linux的发展。coskimö建议大家可以看一部电影叫做《TheCode》,一部关于Linux发展的影片。在2007年的时候,Linus和其他的内核提交者们提交内核补丁的速率达
- linux1.0内核代码学习(四) 之在zboot中符号表的应用
xiebingsuccess
linux1.0以上的内核是压缩过的,在启动的过程中会调用zboot/misc.c中的decompress_kernel函数解压缩,在解压缩的过程中需要得到压缩文件tools/zSystem的文件长度input_len,这是一个外部引用的变量,这个变量的值在哪里定义的,这就需要用到符号表了,是通过zBoot/piggyback.c文件中定义了input_len的符号表,并对这个变量赋值,然后再将这
- 《linux内核源码分析----dma.c》
唐一墨
linux应用开发
linux0.11、linux1.0、linux1.3、linux2.0、linux2.6分别是1万多行、16万行、32万行、70万行、480万行c代码。1.0带vfs和proc文件系统,内核的基本模型是没有多少变化。因此用于讲解kernel源码比较适合。kernel一级源码目录:[
[email protected]]#lltotal92drwxr-xr-x.2rootroot53Nov302
- 转Linus学习笔记
haidongqingqq
Linus
第1章Linux安装及基本命令1、Linux的起源与发展Linux内核项目是由芬兰赫尔辛基大学的LinusTorvalds创建的1991年10月,Linux第一个公开版0.02版发布1994年3月,Linux1.0版发布Linus的标志是可爱的企鹅,取自芬兰的吉祥物2、开源软件的定义及许可协议GPL(GNUGeneralPublicLicense)GPL许可协议的主要目标是保证软件对所有的用户都
- 一个学习R语言的捷径,很多人可能不知道。
实验楼v
莫扎特6岁开始作曲,写出不朽作品,是在20岁以后。Linus11岁就开始写代码,25岁发布了Linux1.0版本。格拉德威尔在《异类》中说:“人们眼中的天才之所以卓越非凡,并非天资超人一等,而是付出了持续不断的努力。1万小时的锤炼是任何人从平凡变成超凡的必要条件”。这是大家熟知的一万小时定律。所谓天才,是那些很早就开始这1万小时锤炼的人。有一位程序员去面试,简历写着6年经验。HR说,不,你只有1年
- python-I
文安海
python
1.什么是python?python是一种解释型的、面向对象的、带有动态语义的高级程序设计语言。2.python的简史1989年,Guido(龟叔)为ABC语言写的一个插件。因MontyPython的喜剧团体的原因,故给这个语言起名python。linux也是1989年诞生的,1991年正式发布linux1.0内核;1990年,发布python的第一个版本;2001年发布python2.0版本;2
- Linux基础
话语一句甜
Linux基础个人总结
Linux基础一。Linux操作系统1.系统构成:1.1Linux内核:偏向底层,用于和硬件交互1.2其他外围程序(如Shell、gnome等):偏向用户,接受用户输入传递给内核2.Linux起源与发展由LinusTorvalds(林纳斯•托瓦兹)开发1991.10:发布0.02版(第一个公开版)1994.3:Linux1.0版发布Linux内核的标志:企鹅Tux,取自芬兰的吉祥物官方网站:htt
- linux发展历史
妙手折花
linux发展历史
操作系统由-内核-硬件-命令解释器程序组成Linux的发展历史1969年unix诞生于贝尔实验室1977年unix诞生了一个比较重要的分支BSD系统,此后各大厂商就开始着手研发unix收费系统1984年谭邦宁开发了minix系统用于教学1989年谭邦宁将minix系统运行在了x86平台1990年托瓦兹接触了minix系统1991年托瓦兹公布了linux内核0.02版1993年linux1.0发布并
- python背景介绍
西部开源-郭帆
python基础系列
什么是python?python是一种解释型的、面向对象的、带有动态语义的高级程序设计语言。人生苦短,我用python!python的简史1989年,Guido(龟叔)为ABC语言写的一个插件。因MontyPython的喜剧团体的原因,故给这个语言起名为python。linux也是1989年诞生的,1991年正式发布linux1.0内核;1990年,发布python的第一个版本;2001年发布py
- 你应该知道的Linux历史
yunwei888
linuxunix开源项目历史贝尔实验室
说道linux的历史不得不说的就是unix,我们的linux就是类unix系统:1969年第一台unix系统贝尔实验室
1970年C语言诞生,对unix内核重新编写
systemV(AT&T)和BSDlinux两大主流与此同时,HPsun等出现了
1984年自由软件组织,GNULGPLGPL
1991年10月李纳斯第一个linux系统0.02版
1994年linux1.0版比较知名的linux:S
- 【Linux 1.0内核源码剖析】创建进程——fork.c
yeswenqian
linuxfork1.0创建进程
由于Linux0.11很多模块尚未跟进,而Linux1.0相比与现在的版本,基本功能,尚属完善,所以后续将研究Linux1.0源码,事实上阅读早期版本的源码,更有利于理解其过程。关于进程的前面已有介绍进程基础编程、进程管理(linux2.6)Linux1.0\kernel\fork.c unix系统通过fork系统调用创建一个进程,fork.c的主要任务是为新的进程填写数据结构,相关步骤有:取得一
- 多线程编程之存钱与取钱
周凡杨
javathread多线程存钱取钱
生活费问题是这样的:学生每月都需要生活费,家长一次预存一段时间的生活费,家长和学生使用统一的一个帐号,在学生每次取帐号中一部分钱,直到帐号中没钱时 通知家长存钱,而家长看到帐户还有钱则不存钱,直到帐户没钱时才存钱。
问题分析:首先问题中有三个实体,学生、家长、银行账户,所以设计程序时就要设计三个类。其中银行账户只有一个,学生和家长操作的是同一个银行账户,学生的行为是
- java中数组与List相互转换的方法
征客丶
JavaScriptjavajsonp
1.List转换成为数组。(这里的List是实体是ArrayList)
调用ArrayList的toArray方法。
toArray
public T[] toArray(T[] a)返回一个按照正确的顺序包含此列表中所有元素的数组;返回数组的运行时类型就是指定数组的运行时类型。如果列表能放入指定的数组,则返回放入此列表元素的数组。否则,将根据指定数组的运行时类型和此列表的大小分
- Shell 流程控制
daizj
流程控制if elsewhilecaseshell
Shell 流程控制
和Java、PHP等语言不一样,sh的流程控制不可为空,如(以下为PHP流程控制写法):
<?php
if(isset($_GET["q"])){
search(q);}else{// 不做任何事情}
在sh/bash里可不能这么写,如果else分支没有语句执行,就不要写这个else,就像这样 if else if
if 语句语
- Linux服务器新手操作之二
周凡杨
Linux 简单 操作
1.利用关键字搜寻Man Pages man -k keyword 其中-k 是选项,keyword是要搜寻的关键字 如果现在想使用whoami命令,但是只记住了前3个字符who,就可以使用 man -k who来搜寻关键字who的man命令 [haself@HA5-DZ26 ~]$ man -k
- socket聊天室之服务器搭建
朱辉辉33
socket
因为我们做的是聊天室,所以会有多个客户端,每个客户端我们用一个线程去实现,通过搭建一个服务器来实现从每个客户端来读取信息和发送信息。
我们先写客户端的线程。
public class ChatSocket extends Thread{
Socket socket;
public ChatSocket(Socket socket){
this.sock
- 利用finereport建设保险公司决策分析系统的思路和方法
老A不折腾
finereport金融保险分析系统报表系统项目开发
决策分析系统呈现的是数据页面,也就是俗称的报表,报表与报表间、数据与数据间都按照一定的逻辑设定,是业务人员查看、分析数据的平台,更是辅助领导们运营决策的平台。底层数据决定上层分析,所以建设决策分析系统一般包括数据层处理(数据仓库建设)。
项目背景介绍
通常,保险公司信息化程度很高,基本上都有业务处理系统(像集团业务处理系统、老业务处理系统、个人代理人系统等)、数据服务系统(通过
- 始终要页面在ifream的最顶层
林鹤霄
index.jsp中有ifream,但是session消失后要让login.jsp始终显示到ifream的最顶层。。。始终没搞定,后来反复琢磨之后,得到了解决办法,在这儿给大家分享下。。
index.jsp--->主要是加了颜色的那一句
<html>
<iframe name="top" ></iframe>
<ifram
- MySQL binlog恢复数据
aigo
mysql
1,先确保my.ini已经配置了binlog:
# binlog
log_bin = D:/mysql-5.6.21-winx64/log/binlog/mysql-bin.log
log_bin_index = D:/mysql-5.6.21-winx64/log/binlog/mysql-bin.index
log_error = D:/mysql-5.6.21-win
- OCX打成CBA包并实现自动安装与自动升级
alxw4616
ocxcab
近来手上有个项目,需要使用ocx控件
(ocx是什么?
http://baike.baidu.com/view/393671.htm)
在生产过程中我遇到了如下问题.
1. 如何让 ocx 自动安装?
a) 如何签名?
b) 如何打包?
c) 如何安装到指定目录?
2.
- Hashmap队列和PriorityQueue队列的应用
百合不是茶
Hashmap队列PriorityQueue队列
HashMap队列已经是学过了的,但是最近在用的时候不是很熟悉,刚刚重新看以一次,
HashMap是K,v键 ,值
put()添加元素
//下面试HashMap去掉重复的
package com.hashMapandPriorityQueue;
import java.util.H
- JDK1.5 returnvalue实例
bijian1013
javathreadjava多线程returnvalue
Callable接口:
返回结果并且可能抛出异常的任务。实现者定义了一个不带任何参数的叫做 call 的方法。
Callable 接口类似于 Runnable,两者都是为那些其实例可能被另一个线程执行的类设计的。但是 Runnable 不会返回结果,并且无法抛出经过检查的异常。
ExecutorService接口方
- angularjs指令中动态编译的方法(适用于有异步请求的情况) 内嵌指令无效
bijian1013
JavaScriptAngularJS
在directive的link中有一个$http请求,当请求完成后根据返回的值动态做element.append('......');这个操作,能显示没问题,可问题是我动态组的HTML里面有ng-click,发现显示出来的内容根本不执行ng-click绑定的方法!
 
- 【Java范型二】Java范型详解之extend限定范型参数的类型
bit1129
extend
在第一篇中,定义范型类时,使用如下的方式:
public class Generics<M, S, N> {
//M,S,N是范型参数
}
这种方式定义的范型类有两个基本的问题:
1. 范型参数定义的实例字段,如private M m = null;由于M的类型在运行时才能确定,那么我们在类的方法中,无法使用m,这跟定义pri
- 【HBase十三】HBase知识点总结
bit1129
hbase
1. 数据从MemStore flush到磁盘的触发条件有哪些?
a.显式调用flush,比如flush 'mytable'
b.MemStore中的数据容量超过flush的指定容量,hbase.hregion.memstore.flush.size,默认值是64M 2. Region的构成是怎么样?
1个Region由若干个Store组成
- 服务器被DDOS攻击防御的SHELL脚本
ronin47
mkdir /root/bin
vi /root/bin/dropip.sh
#!/bin/bash/bin/netstat -na|grep ESTABLISHED|awk ‘{print $5}’|awk -F:‘{print $1}’|sort|uniq -c|sort -rn|head -10|grep -v -E ’192.168|127.0′|awk ‘{if($2!=null&a
- java程序员生存手册-craps 游戏-一个简单的游戏
bylijinnan
java
import java.util.Random;
public class CrapsGame {
/**
*
*一个简单的赌*博游戏,游戏规则如下:
*玩家掷两个骰子,点数为1到6,如果第一次点数和为7或11,则玩家胜,
*如果点数和为2、3或12,则玩家输,
*如果和为其它点数,则记录第一次的点数和,然后继续掷骰,直至点数和等于第一次掷出的点
- TOMCAT启动提示NB: JAVA_HOME should point to a JDK not a JRE解决
开窍的石头
JAVA_HOME
当tomcat是解压的时候,用eclipse启动正常,点击startup.bat的时候启动报错;
报错如下:
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME shou
- [操作系统内核]操作系统与互联网
comsci
操作系统
我首先申明:我这里所说的问题并不是针对哪个厂商的,仅仅是描述我对操作系统技术的一些看法
操作系统是一种与硬件层关系非常密切的系统软件,按理说,这种系统软件应该是由设计CPU和硬件板卡的厂商开发的,和软件公司没有直接的关系,也就是说,操作系统应该由做硬件的厂商来设计和开发
- 富文本框ckeditor_4.4.7 文本框的简单使用 支持IE11
cuityang
富文本框
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>知识库内容编辑</tit
- Property null not found
darrenzhu
datagridFlexAdvancedpropery null
When you got error message like "Property null not found ***", try to fix it by the following way:
1)if you are using AdvancedDatagrid, make sure you only update the data in the data prov
- MySQl数据库字符串替换函数使用
dcj3sjt126com
mysql函数替换
需求:需要将数据表中一个字段的值里面的所有的 . 替换成 _
原来的数据是 site.title site.keywords ....
替换后要为 site_title site_keywords
使用的SQL语句如下:
updat
- mac上终端起动MySQL的方法
dcj3sjt126com
mysqlmac
首先去官网下载: http://www.mysql.com/downloads/
我下载了5.6.11的dmg然后安装,安装完成之后..如果要用终端去玩SQL.那么一开始要输入很长的:/usr/local/mysql/bin/mysql
这不方便啊,好想像windows下的cmd里面一样输入mysql -uroot -p1这样...上网查了下..可以实现滴.
打开终端,输入:
1
- Gson使用一(Gson)
eksliang
jsongson
转载请出自出处:http://eksliang.iteye.com/blog/2175401 一.概述
从结构上看Json,所有的数据(data)最终都可以分解成三种类型:
第一种类型是标量(scalar),也就是一个单独的字符串(string)或数字(numbers),比如"ickes"这个字符串。
第二种类型是序列(sequence),又叫做数组(array)
- android点滴4
gundumw100
android
Android 47个小知识
http://www.open-open.com/lib/view/open1422676091314.html
Android实用代码七段(一)
http://www.cnblogs.com/over140/archive/2012/09/26/2611999.html
http://www.cnblogs.com/over140/arch
- JavaWeb之JSP基本语法
ihuning
javaweb
目录
JSP模版元素
JSP表达式
JSP脚本片断
EL表达式
JSP注释
特殊字符序列的转义处理
如何查找JSP页面中的错误
JSP模版元素
JSP页面中的静态HTML内容称之为JSP模版元素,在静态的HTML内容之中可以嵌套JSP
- App Extension编程指南(iOS8/OS X v10.10)中文版
啸笑天
ext
当iOS 8.0和OS X v10.10发布后,一个全新的概念出现在我们眼前,那就是应用扩展。顾名思义,应用扩展允许开发者扩展应用的自定义功能和内容,能够让用户在使用其他app时使用该项功能。你可以开发一个应用扩展来执行某些特定的任务,用户使用该扩展后就可以在多个上下文环境中执行该任务。比如说,你提供了一个能让用户把内容分
- SQLServer实现无限级树结构
macroli
oraclesqlSQL Server
表结构如下:
数据库id path titlesort 排序 1 0 首页 0 2 0,1 新闻 1 3 0,2 JAVA 2 4 0,3 JSP 3 5 0,2,3 业界动态 2 6 0,2,3 国内新闻 1
创建一个存储过程来实现,如果要在页面上使用可以设置一个返回变量将至传过去
create procedure test
as
begin
decla
- Css居中div,Css居中img,Css居中文本,Css垂直居中div
qiaolevip
众观千象学习永无止境每天进步一点点css
/**********Css居中Div**********/
div.center {
width: 100px;
margin: 0 auto;
}
/**********Css居中img**********/
img.center {
display: block;
margin-left: auto;
margin-right: auto;
}
- Oracle 常用操作(实用)
吃猫的鱼
oracle
SQL>select text from all_source where owner=user and name=upper('&plsql_name');
SQL>select * from user_ind_columns where index_name=upper('&index_name'); 将表记录恢复到指定时间段以前
- iOS中使用RSA对数据进行加密解密
witcheryne
iosrsaiPhoneobjective c
RSA算法是一种非对称加密算法,常被用于加密数据传输.如果配合上数字摘要算法, 也可以用于文件签名.
本文将讨论如何在iOS中使用RSA传输加密数据. 本文环境
mac os
openssl-1.0.1j, openssl需要使用1.x版本, 推荐使用[homebrew](http://brew.sh/)安装.
Java 8
RSA基本原理
RS