自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (6)
  • 收藏
  • 关注

原创 Cloud9 on Docker镜像发送

老外有做过几个cloud9的镜像,但是都有各种各样的问题。小弟在此做了一个docker镜像,特此分享,希望各位大佬多提宝贵意见。谢谢。Cloud9 Online IDECoding anywhere.下载地址docker pull hub.c.163.com/ismdeep/cloud9:latest启动命令,需要使用docker exec进入docker实例内部,然后执行下列命令。cd /root

2017-11-02 09:06:01 613

原创 mongodb 修改用户密码 2种方法

mongodb的用户信息是存放在system.users表中的,修改密码不能直接更新表数据,这样的话,存到表里的密码是明文的,这就不对了。1,错误做法,直接更新表> db.system.users.update({"_id" : ObjectId("529e67553992b24438d5e315")},{"user":"tank2","readOnly" : false,"pwd":"123"})

2016-09-24 16:25:21 924

原创 Codeforces 718C C. Sasha and Array

E. Sasha and Arraytime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSasha has an array of integers a1, a2, …, an. You have to perform m queries. T

2016-09-23 21:47:05 869

原创 Codeforces 718A A. Efim and Strange Grade

C. Efim and Strange Gradetime limit per test1 secondmemory limit per test256 megabytesinput standard inputoutput standard outputEfim just received his grade for the last test. He studies in a specia

2016-09-23 21:46:24 805

原创 Codeforces 719B B. Anatoly and Cockroaches

B. Anatoly and Cockroachestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnatoly lives in the university dorm as many other students do. As you

2016-09-23 21:46:07 659

原创 Codeforces 719A A. Vitya in the Countryside

A. Vitya in the Countrysidetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputEvery summer Vitya comes to visit his grandmother in the countryside.

2016-09-23 21:45:45 592

原创 Codeforces 716E E. Digit Tree

E. Digit Tree time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output ZS the Coder has a large tree. It can be represented as an undirected connec

2016-09-18 07:32:11 931

原创 Codeforces 716D D. Complete The Graph

D. Complete The Graph time limit per test4 seconds memory limit per test256 megabytes inputstandard input outputstandard output ZS the Coder has drawn an undirected graph of n vertices numbered fr

2016-09-18 07:31:57 862

原创 Codeforces 716C C. Plus and Square Root

C. Plus and Square Root time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output ZS the Coder is playing a game. There is a number displayed on the

2016-09-18 07:31:39 625

原创 Codeforces 716B B. Complete the Word

B. Complete the Word time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output ZS the Coder loves to read the dictionary. He thinks that a word is n

2016-09-18 07:31:19 410

原创 Codeforces 716A A. Crazy Computer

A. Crazy Computer time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output ZS the Coder is coding on a crazy computer. If you don’t type in a word

2016-09-18 07:30:38 341

原创 12306火车票查询

因为我已经足够懒了,只显示了硬卧和硬座的余票信息(毕竟其他票我也没什么购买欲望)。===========================以上全是扯淡题外话===========================代码(GitHub地址)中所用到的接口,可以在12306官方新版查询网页中获取到。本文笔者使用了prettytable让显示结果更加美观,使用了json将纯文本的json格式转换成python中

2016-06-24 11:16:03 1703

原创 Linux下简单的tomcat管理脚本

现在使用Linux作为项目运行环境的已经越来越多,Linux下tomcat启动默认是看不到输出信息的,如日常开发中可以在eclipse中看到的输出信息都被输出到logs/catalina.out.需要查看的话可以使用tail -f logs/catalina.out笔者经常需要发布项目新版本,需要不断操作tomcat启动和关闭。于是写了以下tomcat.py的Python脚本:# encoding:

2016-06-24 11:14:17 461 1

原创 eclipse开启代码自动提示功能

在eclipse中选择菜单 Window->Preferences然后打开Java->Editor->Content Assist选项,如下图,在Auto activation triggers for Java.中填入._0123456789abcdefghijklmnopqrstuvwxyz

2016-03-14 11:22:13 669

原创 怎样把NotePad++添加到右键菜单里?

NotePad++是一个轻量级的文本编辑类软件,使用起来非常方便。当你安装了NotePad++之后,因为经常需要使用的原因,会想把它添加到右键菜单里去。那么,怎样把NotePad++添加到右键菜单里?方法一新建一个文本文档把以下内容复制然后粘贴进去:REGEDIT4[HKEY_CLASSES_ROOT\*\Shell\使用NotePad++编辑][HKEY_CLASSES_ROOT\*\Shel

2016-03-14 10:12:02 6605 1

原创 DHT网络存储设计

最近迷上了DHT网络,关于DHT网络的解释和概念介绍就不赘述了。

2016-01-26 15:00:43 483

转载 GridView的使用

<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" andr

2015-12-10 20:41:01 362

原创 【木、碎生活】青春不朽

昨天死党告诉我,他在下载《致青春》的高清版,虽然是删减的,但我还是想看一看。也算是要对得起我的青春了。本来我并不是一个喜欢围观他人生活的人。在死党对剧情的一番解说之下,而且之后他说看完他哭了,我也就想看看到底是什么样的电影能有如此杀伤力。我想,我大致能够猜出电影的剧情,但是,就算能够猜出剧情又能怎样,很多电影不都是这样拍的吗?即使会被猜出剧情,也非常受欢迎。我也是其中一个。我想起了

2013-09-14 16:19:39 488

gmp-6.1.2.tar.xz

The GMP computers are maintained by a single person on a volunteer basis. The current situation with Intel Meltdown + Spectre hardware, Intel ME bugs/backdoors are making the GMP servers far from as secure as we'd like them to be. We don't have the time or resources to keep up with the bugs nor the financial resources to purchase safer hardware. The system which runs this web server as well as mail server, mailing list server, firewall, etc, has an Intel E5-1650 v2 Meltdown + Spectre CPU with buggy Intel ME and it runs Xen with a poor history of guest escape vulnerabilities. Please keep that in mind when using the resources here. Please understand that we don't take security lightly, but that we effectively are DoS'ed by sloppy engineering. 没办法选择0积分。非常抱歉。

2018-10-12

Java TCP 编程

Java TCP 编程

2014-12-27

hustoj-install

HUSTOJ 是采用GPL的自由软件。

2013-09-14

everything ,,快速搜索工具。

everything ,,快速搜索工具。

2013-01-09

Reilly.Hibernate.A.Developers.Notebook

[Java编程及相关书籍].Reilly.Hibernate.A.Developers.Notebook java 资源 共享。。。

2012-06-03

[疯狂Android讲义].李刚.源码.zip

疯狂android讲义 源代码分享,,大家一起研究android开发的技术吧。。

2012-06-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除