摘要:
w https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face The @font-face CSS at-rule allows authors to specify online fonts to display text on the
阅读全文
posted @ 2017-02-24 09:55
papering
阅读(183)
推荐(0)
摘要:
w 通过发起、回复相关字符串,系统做出业务判断、处理。这和实物生活中的,“暗号匹配”、“小区门禁卡”、“自主存取款机”、“晚辈叫长辈发压岁钱”,同样的原理,是业务形式、方式的变体。
阅读全文
posted @ 2017-02-23 08:54
papering
阅读(187)
推荐(0)
摘要:
w https://developer.mozilla.org/en-US/docs/Web/CSS/calc The calc() CSS function can be used anywhere a <length>, <frequency>, <angle>, <time>, <number
阅读全文
posted @ 2017-02-22 19:35
papering
阅读(221)
推荐(0)
posted @ 2017-02-22 18:00
papering
阅读(261)
推荐(0)
摘要:
w对象 数组 分别对内存的 消耗 CI result() This method returns the query result as an array of objects, or an empty array on failure. http://stackoverflow.com/quest
阅读全文
posted @ 2017-02-22 16:46
papering
阅读(173)
推荐(0)
摘要:
http://www.phpernote.com/php-function/1244.html
阅读全文
posted @ 2017-02-22 15:32
papering
阅读(141)
推荐(0)
摘要:
w Table 13.25 Aggregate (GROUP BY) Functions NameDescription AVG() Return the average value of the argument BIT_AND() Return bitwise AND BIT_OR() Retu
阅读全文
posted @ 2017-02-22 10:25
papering
阅读(205)
推荐(0)
摘要:
w 个性化推荐:分析该访问者的当前和历史信息,进行推荐。 w 现阶段处理 对于支持开团商品且规则为允许同时该商品下多种开团类型且支持同时开多个相同团 0-显示最大折扣(从顾客角度考虑) 01-最大折扣下已经有进行中开团的,显示最早一个开团的的剩余时间(从促销角度考虑) 02-最大折扣下无开团的,显示
阅读全文
posted @ 2017-02-22 09:12
papering
阅读(879)
推荐(0)
摘要:
w为监控响应功能做准备。 ubuntu@VM-52-248-ubuntu:~$ php -f /var/www/html/wlinux.phpwwubuntu@VM-52-248-ubuntu:~$ /var/www/html/wlinux.php <?phpecho 'w';
阅读全文
posted @ 2017-02-21 21:45
papering
阅读(173)
推荐(0)
摘要:
memset - C++ Reference http://www.cplusplus.com/reference/cstring/memset/ memset void * memset ( void * ptr, int value, size_t num ); Fill block of me
阅读全文
posted @ 2017-02-21 21:34
papering
阅读(289)
推荐(0)
摘要:
w 0-生产环境下,为了脚本持续执行的效率:用原生函数、写硬代码。 该自重复执行脚本的执行环境: 00-Windows 下 shell 或浏览器 01-Linux 下 1-php监控文件目录变动信息
阅读全文
posted @ 2017-02-21 21:03
papering
阅读(193)
推荐(0)
摘要:
w通过元素背景色定位元素,改变其属性。 不可行,没有定位到目标,使其不能被点击。 可行
阅读全文
posted @ 2017-02-21 12:06
papering
阅读(341)
推荐(0)
摘要:
w从开发会议室预定系统,思考值悬浮直尺、圆尺插件开发。
阅读全文
posted @ 2017-02-21 03:31
papering
阅读(182)
推荐(0)
摘要:
https://jqueryui.com/datepicker/ w timepicker datepicker 日期 时间 选择器
阅读全文
posted @ 2017-02-21 03:26
papering
阅读(348)
推荐(0)
摘要:
import ( "reflect" "testing" ) type args struct { input []int } var Sorttests = []struct { name string args args want []int }{ // TODO: Add test cases
阅读全文
posted @ 2017-02-20 20:36
papering
阅读(275)
推荐(0)
摘要:
w https://cait.calarts.edu/hc/en-us/articles/217055138-Error-Maximum-Number-of-Cookie-Values-Reached http://browsercookielimits.squawky.net/
阅读全文
posted @ 2017-02-20 10:22
papering
阅读(209)
推荐(0)
posted @ 2017-02-20 09:14
papering
阅读(187)
推荐(0)
摘要:
递归练习 组合总和 - 组合总和 - 力扣(LeetCode) https://leetcode.cn/problems/combination-sum/solution/zu-he-zong-he-by-leetcode-solution/ func combinationSum(candidat
阅读全文
posted @ 2017-02-20 01:00
papering
阅读(3361)
推荐(0)
摘要:
w新的预订时间戳区间之间是否有旧的预订信息。
阅读全文
posted @ 2017-02-19 09:21
papering
阅读(195)
推荐(0)
摘要:
小结: 1、jpeg这个协议本身就支持调整图片质量的 glup 压缩图片 大图上传 Golang压缩Jpeg图片和PNG图片 - 员力 - 博客园 https://www.cnblogs.com/lianggx6/p/12684885.html
阅读全文
posted @ 2017-02-17 18:20
papering
阅读(175)
推荐(0)
摘要:
前端加载超大图片(100M以上)实现秒开解决方案 - 知乎 https://zhuanlan.zhihu.com/p/615286222
阅读全文
posted @ 2017-02-17 12:32
papering
阅读(407)
推荐(0)
posted @ 2017-02-17 12:20
papering
阅读(194)
推荐(0)
摘要:
时间消耗 耗时 import timefrom datetime import datetimelimit_ms = 10000start = datetime.now()time.sleep(1.234)end = datetime.now()duration = end - startms =
阅读全文
posted @ 2017-02-17 02:35
papering
阅读(1530)
推荐(0)
摘要:
使用 JavaScript,HTML 和 CSS 构建跨平台的桌面应用程序 流程模型 | Electron https://www.electronjs.org/zh/docs/latest/tutorial/process-model 流程模型 Electron 继承了来自 Chromium 的多
阅读全文
posted @ 2017-02-17 01:01
papering
阅读(295)
推荐(0)
摘要:
推荐算法架构 :召回(1) - 知乎 https://zhuanlan.zhihu.com/p/475120402 推荐算法架构 :召回(1) 召回模块面对几百上千万的推荐池物料规模,候选集十分庞大。由于后续有排序模块作为保障,故不需要十分准确,但必须保证不要遗漏和低延迟。目前主要通过多路召回来实现
阅读全文
posted @ 2017-02-16 23:14
papering
阅读(890)
推荐(0)
摘要:
Linux inotify功能及实现原理 https://mp.weixin.qq.com/s?src=11×tamp=1642038821&ver=3555&signature=L1s3NlAcI-rPNc-9ZZgBMdagfIIslFJVblDmz5lydogzw1fimX9Ij*k
阅读全文
posted @ 2017-02-16 23:11
papering
阅读(503)
推荐(0)
posted @ 2017-02-16 22:49
papering
阅读(217)
推荐(0)
摘要:
w 0-订单表为2张:非拼团、拼团; 1-拼团类型表,拼团维度:人数、周期、单品或组合、折扣; 评团创建表:上类型表共拼团创建人选择; 团成员表:上创建表中共新成员选择; 商品录入表:独立表,仅商品价格、名字、描述等基本信息。 顾客页面端需要3次join才能进行拼团信息的展示、参团、开团、下单,对其
阅读全文
posted @ 2017-02-16 22:40
papering
阅读(907)
推荐(0)
摘要:
实践: 1) 首先,可以先查看一下数据库现在的sql_mode的值,sql语句为: select version(), @@sql_mode; 获取结果可能如下,不同的设置查询出来的有区别: 然后可以使用如下语句,去设置自己需要的sql_mode. SET sql_mode=(SELECT REPL
阅读全文
posted @ 2017-02-16 15:32
papering
阅读(345)
推荐(0)
摘要:
https://docs.djangoproject.com/en/2.2/ref/contrib/ contrib packages Django aims to follow Python’s “batteries included” philosophy. It ships with a va
阅读全文
posted @ 2017-02-16 14:06
papering
阅读(365)
推荐(0)
摘要:
w数组的元素排序,不同编程语言的算法。 w耗时、耗内存。 情景: 一张grab表,行时时新增中;每次按一定条件取出一定行,遍历每行,对单表单行数据进行处理分析,分析后再更新是否分析二元值标识字段。 若采用外部脚本分析,如php,暂时不考虑存储过程,同时认为只有一个分析脚本在运行,无并发分析,则需要获
阅读全文
posted @ 2017-02-16 13:11
papering
阅读(777)
推荐(0)
摘要:
w TypeError : Cannot set property 'innerHTML' of nullTypeError : Cannot set property 'value' of null通过id或其他部分属性查找元素改变页面值时,如在点击中event.target.getAttribu
阅读全文
posted @ 2017-02-15 13:44
papering
阅读(310)
推荐(0)
摘要:
Python | super() function with multilevel inheritance - GeeksforGeeks https://www.geeksforgeeks.org/python-super-function-with-multilevel-inheritance/
阅读全文
posted @ 2017-02-14 17:50
papering
阅读(316)
推荐(0)
摘要:
https://docs.djangoproject.com/en/2.2/topics/pagination/ Paginator objects¶ The Paginator class has this constructor: class Paginator(object_list, per
阅读全文
posted @ 2017-02-14 17:42
papering
阅读(278)
推荐(0)
摘要:
http://www.world-english.org/boys_names-j-l.htm w http://ename.dict.cn/list/male/F/4 http://babynames.net/all/starts-with/d?page=2
阅读全文
posted @ 2017-02-14 15:51
papering
阅读(312)
推荐(0)
摘要:
w HTTP The Definitive Guide Cookies themselves are not believed to be a tremendous security risk, because they can be disabled and because much of the
阅读全文
posted @ 2017-02-14 11:31
papering
阅读(231)
推荐(0)
摘要:
w HTTP The Definitive Guide 11.6.9 Cookies and Caching You have to be careful when caching documents that are involved with cookie transactions. You d
阅读全文
posted @ 2017-02-14 11:29
papering
阅读(180)
推荐(0)
摘要:
w HTTP The Definitive Guide Cookies can be used to track users as they make multiple transactions to a web site. E-commerce web sites use session cook
阅读全文
posted @ 2017-02-14 11:26
papering
阅读(306)
推荐(0)
摘要:
w https://www.zhihu.com/question/35307626 w 0-客户端(附加用户信息)首次请求服务端 》服务端生成session(有唯一性)、session_id,cookie(可能含有用户名、登录密码、浏览历史),并且设定cookie的生命周期、适用域名、适用域名下的路
阅读全文
posted @ 2017-02-14 11:20
papering
阅读(248)
推荐(0)
摘要:
HTTP The Definitive Guide Cookies are the best current way to identify users and allow persistent sessions. They don't suffer many of the problems of
阅读全文
posted @ 2017-02-14 11:16
papering
阅读(222)
推荐(0)