跳至内容

小顾de杂记

O(∩_∩)O~|Across the great wall we can reach the every corner in the world.

Google自定义搜索

2010 年 10 月
一 二 三 四 五 六 日
 123
45678910
11121314151617
18192021222324
25262728293031
« 9 月   11 月 »

近期评论

  • Hack All 发表在《反向编译OpenWrt的Lua字节码 (Decompile Lua bytecode of OpenWRT)》
  • cancan 发表在《家庭拨号动态前缀IPv6环境下的内部设备IPv6地址的端口放通》
  • ihipop 发表在《IPv6地址自动配置中的有状态(stateful)和无状态(stateless)的区别》
  • ihipop 发表在《IPv6地址自动配置中的有状态(stateful)和无状态(stateless)的区别》
  • source 发表在《IPv6地址自动配置中的有状态(stateful)和无状态(stateless)的区别》
  • Ian 发表在《蒲公英 X3-3251 root 后的一些配置与共识》
  • 了然如一 发表在《导入Fiddler的DER格式的根证书为安卓系统证书》
  • 了然如一 发表在《阿里云官网给的PHP、GO的OSS直传签名的时间算法是错的》
  • Tan nSDF 发表在《反向编译OpenWrt的Lua字节码 (Decompile Lua bytecode of OpenWRT)》
  • Tan nSDF 发表在《反向编译OpenWrt的Lua字节码 (Decompile Lua bytecode of OpenWRT)》

标签

  • Apache
  • CentOS
  • CentOS 5
  • chnroutes
  • cron
  • debian
  • discuz
  • DiscuzX
  • DNSMASQ
  • exec
  • FreeRadius
  • Http
  • IPSec
  • Iptables
  • IPv6
  • javascript
  • jQuery
  • L2TP
  • Linux
  • MySQL
  • NAGIOS
  • nginx
  • OpenVPN
  • php
  • phpQuery
  • pptp
  • Python
  • rtorrent
  • sed
  • shell
  • Simultaneous-Use
  • SSH
  • SVN
  • ubuntu
  • vpn
  • μtorrent
  • 中文
  • 乱码
  • 加密
  • 日志
  • 模板
  • 脚本
  • 解析
  • 路由
  • 转换

日期: 2010 年 10 月 30 日

用phpCodeBeautifier,格式化(美化)PHP代码.

可以把你杂乱无章的PHP代码美化成和Python一样优雅。

效果见:http://www.waterproof.fr/products/phpCodeBeautifier/manual.php

下载:http://www.waterproof.fr/products/phpCodeBea[......]

继续阅读

发布于 2010年10月30日2010年10月30日分类 PHP Note标签 php、phpCodeBeautifier、代码美化、缩进于用phpCodeBeautifier,格式化(美化)PHP代码.留下评论

Python的print格式化输出还支持‘字符串’精度控制

1.格式化输出整数
[python]strHello = "the length of (%s) is %d" %('Hello World',len('Hello World'))
print strHello
#输出果:the length of (Hello Worl[......]

继续阅读

发布于 2010年10月30日2010年10月30日分类 Pyhton、Reproduced标签 print、Python、格式化、输出Python的print格式化输出还支持‘字符串’精度控制有 6 条评论

Python实现的Google simhash算法

[python]#!/usr/bin/env python
# -*- coding=utf-8 -*-

# Implementation of Charikar simhashes in Python
# See: http://dsrg.mff.cuni.cz/~holub/sw/sh[......]

继续阅读

发布于 2010年10月30日2010年10月30日分类 Pyhton、Reproduced标签 google、Python、simhash、文本相似Python实现的Google simhash算法有 2 条评论

发现一个淘代码片段的好地方,snipperize

http://snipperize.todayclose.com/

:-x

满全的,

Objective-C,C#,Ruby/Rails,XML/HTML,Java,

Python,CSS,Javascript,SQL,PHP,Bash/Shell,

甚至PowerShell,[......]

继续阅读

发布于 2010年10月30日2010年10月30日分类 MyOriginal、PHP Note、Pyhton标签 Python发现一个淘代码片段的好地方,snipperize有 3 条评论
自豪地采用WordPress