gavanwanggw

导航

上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 165 下一页

2017年6月30日 #

oracle 数据库开发面试题

摘要: 近期參加了数场面试,总结一下竞聘oracle 开发岗位最常问到哪些问题: 1、delete 与 truncate 差别? 1)truncate 是DDL语句。delete 是DML语句; 2)truncate 速度远快于 delete。 原因是:当我们运行delete操作时全部表数据先被copy到回 阅读全文

posted @ 2017-06-30 12:53 gavanwanggw 阅读(377) 评论(0) 推荐(0) 编辑

待机异常篇

摘要: 待机异常篇 待机异常篇待机异常 1: 按Power key后,连early_suspend都没进。待机异常 2: 能够进early_suspend。但进不了suspend待机异常 3: 能够进suspend,但出现:PM: Some devices failed to suspend待机异常 4: 阅读全文

posted @ 2017-06-30 11:28 gavanwanggw 阅读(1702) 评论(0) 推荐(0) 编辑

HTTP状态码(HTTP Status Code)

摘要: HTTP状态码是反映网页的返回值。比方能正常打开的网页返回状态码就是200,这些状态码在我们寻常时浏览网页的时候不会显示的,须要调用专用的查询工具才干看到。以火狐浏览器为例,使用Firefox开发人员工具,能够查看到服务端返回的状态码。 HTTP状态码除了推断网页时候能正常打开以外,还有其它用途。比 阅读全文

posted @ 2017-06-30 10:08 gavanwanggw 阅读(424) 评论(0) 推荐(0) 编辑

POJ3126——Prime Path

摘要: 非常水的一道广搜题(专业刷水题)。。。 #include<iostream> #include<cstdio> #include<queue> #include<cstring> #define inf 1000000 using namespace std; int d[4]={1,10,100, 阅读全文

posted @ 2017-06-30 09:26 gavanwanggw 阅读(131) 评论(0) 推荐(0) 编辑

实体拼错名字,一点经验教训

摘要: 这次的项目中出了一个问题,问题不大,可是挺坑的… V 3.0的时候我们使用Hibernate完毕实体和数据库的映射,当时有人把实体的一个属性拼写错了,然后数据库字段也错了.V3.1的时候呢,我们换成了EclipseLink,改动了实体关联,但还是沿用了当时的API中的Entity和数据库. 3.1的 阅读全文

posted @ 2017-06-30 08:15 gavanwanggw 阅读(126) 评论(0) 推荐(0) 编辑

2017年6月29日 #

hdu1075

摘要: 链接:点击打开链接 题意:给出一句话依照密文所相应的原文输出应该输出的内容。详细看题目例子就能够 代码:#include <iostream> #include <string.h> #include <stdio.h> using namespace std; char s[1000005][15 阅读全文

posted @ 2017-06-29 21:55 gavanwanggw 阅读(177) 评论(0) 推荐(0) 编辑

CentOS 7 安装Nginx做反向代理

摘要: 题记 须要使用nginx的反向代理功能,測试环境为centos+NGINX 1.8.0. 跳过一些繁琐的问题,直接记录核心 步骤 (1)centos 安装在VM中。因此须要注意网络连接问题 (2)安装nginx使用的是具有网络的yum功能 (3)配置centos防火墙,须要开启80 port (4) 阅读全文

posted @ 2017-06-29 21:00 gavanwanggw 阅读(392) 评论(0) 推荐(0) 编辑

hdu1209(Clock)

摘要: 点击打开hdu1209 Problem Description There is an analog clock with two hands: an hour hand and a minute hand. The two hands form an angle. The angle is mea 阅读全文

posted @ 2017-06-29 20:04 gavanwanggw 阅读(209) 评论(0) 推荐(0) 编辑

[NodeJS]使用Node.js写一个简单的在线聊天室

摘要: 声明:教程来自《Node即学即用》。源代码案例均出自此书。博文仅为个人学习笔记。第一步:创建一个聊天server。首先,我们先来写一个Server:var net = require('net') var chatServer = net.createServer() chatServer.on(' 阅读全文

posted @ 2017-06-29 18:45 gavanwanggw 阅读(252) 评论(0) 推荐(0) 编辑

UVa 11168 Airport , 凸包

摘要: 题意: 给出平面上n个点,找一条直线,使得全部点在直线的同側。且到直线的距离之平均值尽量小。 先求凸包 易知最优直线一定是凸包的某条边,然后利用点到直线距离公式进行计算。 #include<cstdio> #include<cstring> #include<vector> #include<cma 阅读全文

posted @ 2017-06-29 17:34 gavanwanggw 阅读(131) 评论(0) 推荐(0) 编辑

上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 165 下一页