01 2017 档案

python AES 加密
摘要:pad: ZeroPadding mode: cbc #!/usr/bin/env python# -*- coding:utf-8 -*-# 这里使用pycrypto‎库# 按照方法:easy_install pycrypto‎ from Crypto.Cipher import AESimpor 阅读全文

posted @ 2017-01-23 18:22 alex.shu 阅读(8485) 评论(2) 推荐(0) 编辑

AES加解密JS和php互相处理字符
摘要:Reference: http://blog.csdn.net/carlos__z/article/details/53185082 JavaScript code? 1 2 3 4 5 6 7 8 9 10 11 text = 'T10515'; var key = '123454536f6674 阅读全文

posted @ 2017-01-23 17:18 alex.shu 阅读(2557) 评论(0) 推荐(0) 编辑

js中的extend
摘要:js中的extend 1. JS中substring与substr的区别 之前在项目中用到substring方法,因为C#中也有字符串的截取方法Substring方法,当时也没有多想就误以为这两种方法的使用时一样的。这样就直接按照在C#中使用Substring的方式,直接在js中用了substrin 阅读全文

posted @ 2017-01-22 10:36 alex.shu 阅读(2870) 评论(0) 推荐(0) 编辑

elasticsearch的python增删查改实例分析
摘要:Reference: http://bigg.top/2015/11/29/elasticsearch%E7%9A%84python%E5%A2%9E%E5%88%A0%E6%9F%A5%E6%94%B9%E5%AE%9E%E4%BE%8B%E5%88%86%E6%9E%90/ ES的部署请查看相关 阅读全文

posted @ 2017-01-18 18:35 alex.shu 阅读(1745) 评论(0) 推荐(0) 编辑

使用 Elasticsearch 实现博客站内搜索
摘要:Reference: http://www.open-open.com/lib/view/open1452046497511.html 一直以来,为了优化本博客站内搜索效果和速度,我使用 bing 的 site: 站内搜索做为数据源,在服务端获取、解析、处理并缓存搜索结果,直接输出 HTML。这个方 阅读全文

posted @ 2017-01-17 18:35 alex.shu 阅读(3424) 评论(1) 推荐(1) 编辑

How To Install and Configure Elasticsearch on Ubuntu 14.04
摘要:Reference: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-elasticsearch-on-ubuntu-14-04 Introduction Elasticsearch is a 阅读全文

posted @ 2017-01-17 18:00 alex.shu 阅读(209) 评论(0) 推荐(0) 编辑

python下RSA加密解密以及跨平台问题
摘要:Reference: http://www.cnblogs.com/luchanghong/archive/2012/07/18/2596886.html 项目合作需要,和其他网站通信,消息内容采用RSA加密方式传递。之前没有接触过RSA,于是两个问题出现了: 声明: 环境WIN 7 + pytho 阅读全文

posted @ 2017-01-17 16:52 alex.shu 阅读(6515) 评论(0) 推荐(1) 编辑

scrapy+Lucene搭建小型搜索引擎
摘要:Reference: http://blog.csdn.net/napoay/article/details/51477586 一、选题 工程类搜索型: 定向采集 3-4 个新闻网站, 实现这些网站信息的抽取、索引和检索。网页数 目不少于 10 万条。能按相关度、时间、热度 (需要自己定义) 等属性 阅读全文

posted @ 2017-01-10 19:11 alex.shu 阅读(2389) 评论(0) 推荐(0) 编辑

普通程序员如何转向AI方向
摘要:眼下,人工智能已经成为越来越火的一个方向。普通程序员,如何转向人工智能方向,是知乎上的一个问题。本文是我对此问题的一个回答的归档版。相比原回答有所内容增加。 一. 目的 本文的目的是给出一个简单的,平滑的,易于实现的学习方法,帮助 “普通” 程序员踏入AI领域这个门。这里,我对普通程序员的定义是:拥 阅读全文

posted @ 2017-01-03 18:28 alex.shu 阅读(9330) 评论(3) 推荐(2) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示