- 博客(30)
- 收藏
- 关注
原创 Vue学习----第二课
目录 1.创建Vue实例和数据操作2.实现生命周期钩子2.1生命周期图示3.实例1.创建Vue实例和数据操作<!DOCTYPE html><html> <head> <meta charset="utf-8" > <title>Vue1-2</title> </he
2018-07-20 15:53:10
167
原创 Vue学习----第一课
目录 1.Vue是什么2.Vue安装3.Vue实例1.Vue是什么Vue (读音 /vjuː/,类似于 view) 是一套用于构建用户界面的渐进式框架。与其它大型框架不同的是,Vue 被设计为可以自底向上逐层应用。Vue 的核心库只关注视图层,不仅易于上手,还便于与第三方库或既有项目整合。另一方面,当与现代化的工具链以及各种支持类库结合使用时,Vue 也完全能够为复杂的单页...
2018-07-20 15:26:05
213
原创 Oracle 数据修改提交后 回滚数据到指定时间
阅读数:29031、 -- 查询在xxxx-xx-xx xx:xx:xx执行update 语句之前的数据 select * from 表名 as of timestamp to_timestamp('xxxx-xx-xx xx:xx:xx', 'yyyy-mm-dd hh24:mi:ss');2、 -- 开启可移动数据命令,执行完就可以回滚数据 alter table 表名 enable ...
2018-07-06 13:42:55
1749
2
原创 关于ggsic.exe无法启动的问题
关于ogg这个错误 ggsci.exe无法启动,目前原因有找了,是ogg在启动的时候通过环境变量去找一些需要的启动必要程序,而电脑的环境变量里面出现了d:\oracle\ora92\bin;而且是放在环境变量的最前面,但是实际服务器中没有D盘,删除该配置后,启动正常。...
2018-06-08 09:37:52
1342
1
原创 OGG配置
添加进程add replicat rehis101,exttrail ./dirdat/pa,checkpointtable hdcogg.ggs_checkpoint;修改进程alter replicat rehis101,exttrail ./dirdat/pb, extseqno 0000,extrba 0 重新配置抽取和投递进程的数据文件alter extract dp_test ,etr...
2018-03-29 15:57:44
245
原创 增加表空间无限制增大
ALTER TABLESPACE 表空间名 ADD DATAFILE'E:\DATABASE\xxx\xxx.ora' SIZE 50MAUTOEXTEND ON NEXT 5M maxsize unlimited ;
2018-03-07 08:51:48
5264
原创 syntaxhighlighter 代码高亮插件 高亮xml时要转义
当使用syntaxhighlighter 高亮插件,让xml高亮要注意将""进行转义成 <和 > 否则会将大写转换成小写
2017-12-12 14:38:49
698
原创 1. Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same
2017-09-18 09:03:30
314
原创 Oracle GoldenGate 处理错误方式
1.abend: Replicat遇到不能处理的记录时,回滚事务,然后停止处理,Replicat进程状态转为abend。2.discard: 将不能处理记录的错误信息放到discard文件而Replicat进程继续处理下面的记录。3.exception: 将错误按照预先定义好的方式处理。4.ignore: 将不能处理的记录先忽略掉,然后继续处理下面的记录。
2017-09-12 16:27:43
1035
原创 Nginx访问.do/.action的方法
location ~ \.(do|action)$ { proxy_pass xx:xx:xx ;}客户端如果访问localhost/xx.do或者localhost/xx.action 都会跳到对应的代理ip
2017-09-12 09:22:29
3376
原创 Nginx遇到无法创建或打开nginx.pid的解决方法
nginx: [error] CreateFile() "E:\nginx-1.13.5/logs/nginx.pid" failednginx: [error] Open() "E:\nginx-1.13.5/logs/nginx.pid" failed解决方法:使用命令创建/logs/nginx.pid文件:nginx -c conf/nginx.conf
2017-09-11 15:46:38
10571
原创 507. Perfect Number
We define the Perfect Number is a positive integer that is equal to the sum of all its positive divisors except itself.Now, given an integer n, write a function that returns true when it is a perfec
2017-09-04 10:17:46
148
原创 Oracle 冷备份步骤
1.第一步,将实例名、密码和控制文件路径输入oradim -new -sid 数据库实例名 -intpwd 密码(统一默认oracle) -pfile 控制文件路径(例:D:\app\wujiajun\admin\MyOracle\pfile\init.ora)2.再次输入控制文件路径create spfile from pfile='控制文件路径(例:D:\app\lenovo\ad
2017-08-30 15:35:14
1673
原创 342. Power of Four
Given an integer (signed 32 bits), write a function to check whether it is a power of 4.Example:Given num = 16, return true. Given num = 5, return false.Follow up: Could you solve it without
2017-08-29 14:38:48
167
原创 jquery通过参数给select设置默认值
jquery通过参数给select设置默认值var a=1;$(this).find('option[value="+a+"]').attr("selected",true);
2017-08-29 11:22:56
10010
3
原创 JS判断字段为空
var content ="";var content =null;var content =undefined;var content = 0;以上的content在bool表达式中都为false如果要判断是否为空只需要if(!content){alert("content为空");}可以方便判断从input中获取的数据是否有值
2017-08-29 11:21:40
769
原创 Echart小知识
1.遇到需要设定Echart空值时可以将其data设为 '-'即可显示空值2.EChart 横轴坐标全部显示 xAxis: { type: 'category', axisLabel:{ interval:0, rotate:30, margin:3, textStyle:{ color:"black" } }, boundaryGap: false, da
2017-08-29 11:20:18
400
原创 Oracle 恢复误删数据
对于Oracle中,使用delete误删了数据,使用以下语法进行恢复(注:必须是使用delete删除的才可以,使用truncate和drop的无法恢复)alter table table_Name enable row movement ; --行迁移,意思就是,一个现存的行允许改变其rowid(物理存储地址),通常情况下,数据行在分配了空间之后,行的 --
2017-08-29 10:27:02
275
原创 Oracle 查询表空间的存储大小和已使用率
select tablespace_name, max_gb, used_gb, round(100 * used_gb / max_gb) pct_used from (select a.tablespace_name tablespace_name, round((a.bytes_alloc - nvl(b.
2017-08-29 10:17:41
760
1
原创 599. Minimum Index Sum of Two Lists
Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants represented by strings.You need to help them find out their common interest with th
2017-08-24 10:08:15
295
原创 122. Best Time to Buy and Sell Stock II
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy one
2017-08-22 09:45:24
218
原创 283. Move Zeroes
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.For example, given nums = [0, 1, 0, 3, 12], after calling you
2017-08-21 09:08:29
122
原创 389. Find the Difference
Given two strings s and t which consist of only lowercase letters.String t is generated by random shuffling string s and then add one more letter at a random position.Find the letter that was
2017-08-18 10:42:05
165
原创 258. Add Digits
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2
2017-08-14 09:12:41
157
原创 371. Sum of Two Integers
Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example:Given a = 1 and b = 2, return 3.Answer:public class Solution {
2017-08-14 09:11:39
139
原创 448. Find All Numbers Disappeared in an Array
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once.Find all the elements of [1, n] inclusive that do not appear in this array.
2017-08-14 09:10:35
149
原创 344. Reverse String
Write a function that takes a string as input and returns the string reversed.Example:Given s = "hello", return "olleh".Answer:public class Solution { public String reverseS
2017-08-14 09:06:25
147
原创 595. Big Countries
There is a table World+-----------------+------------+------------+--------------+---------------+| name | continent | area | population | gdp |+-----------------+---
2017-08-14 09:02:10
325
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人