码迷,mamicode.com
首页 >  
搜索关键字:star    ( 10038个结果
Nginx实例之反向代理Tomcat
nginx反向代理tomcat
分类:其他好文   时间:2018-01-14 22:42:38    阅读次数:157
python 1-2+3-4....99=? 这里的题,我看到别人的写法,五花八门的,自己也写一个
f = ""s = ""i = 1sum = 0while i < 100: if i %2 == 1 and i < 99: f = "-" sum = sum + i elif i == 99: f = "=" sum = sum + i elif i %2 == 0: f = "+" sum ...
分类:编程语言   时间:2018-01-14 17:39:18    阅读次数:195
Squid代理服务器
代理服务器概述:基本概念?proxy:代理人、经纪人、中介??? 代替用户处理事务?--能提供正常情况下不便或无法访问的资源?应用场景:? ? ? --web访问加速(正/反向)? ? ? --IP伪装、“×××”?Squid服务器???&n
分类:其他好文   时间:2018-01-14 15:15:24    阅读次数:161
3. Longest Substring Without Repeating Characters
"欢迎fork and star:Nowcoder Repository github" 3. Longest Substring Without Repeating Characters 题目 解析 solution思路循序渐进,很值得思考! 对找到元素后更新位置处理,i取max(mp[s[j]] ...
分类:其他好文   时间:2018-01-14 13:03:42    阅读次数:93
web项目启动时配置监听本地目录文件添加, 删除, 修改, 等操作
大致原理: 通过配置监听器在web容器启动或销毁的时候做相应的操作, 系统目录的监听器使用从jdk1.7才有的WatchService 操作步骤: 1> 自定义自己的监听器实现ServletContextListener接口中的两个方法, 一个未初始化Init方法, 一个是销毁方法Destoryed ...
分类:Web程序   时间:2018-01-14 01:01:49    阅读次数:742
Maya Calendar
Maya Calendar Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 80533 Accepted: 24745 Description During his last sabbatical, professor M. A. ...
分类:其他好文   时间:2018-01-13 22:20:05    阅读次数:177
python | 变量与数据 | 字符串转义 | 输入多行
1 # encoding: utf-8 2 3 # 字符串转义 4 s = 'I\'m ok' 5 print(s) 6 s = 'Learn \"Python\" in imooc' 7 print(s) 8 s = 'Bob said \"I\'m ok\"' 9 print(s) 10 11 ... ...
分类:编程语言   时间:2018-01-13 20:52:40    阅读次数:154
web布局新方法:弹性盒
弹性盒(flexbox, flexible box的简称)为css添加了一种新的布局模式,即弹性布局。 弹性盒提供了很多有用的属性,不需要使用浮动或者line-block值就能把多个元素排成一行。建立弹性盒子首先要提供两个组件。1. 弹性容器,建立弹性容器很简单,把div的display属性写成fl ...
分类:Web程序   时间:2018-01-13 20:52:16    阅读次数:167
python 微信跳一跳和源码解读
刚好周末,想研究一下前阵子很火的微信跳一跳 网上查了一下,好像star最多的是这个项目 https://github.com/wangshub/wechat_jump_game 原文地址:http://blog.csdn.net/LittleBeautiful/article/details/789 ...
分类:微信   时间:2018-01-13 18:51:01    阅读次数:318
topcoder srm 515 div1
problem1 link problem2 link problem3 link code for problem1 code for problem2 code for problem3 ...
分类:其他好文   时间:2018-01-13 15:33:40    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!