- 博客(289)
- 资源 (8)
- 收藏
- 关注
原创 [Python]Use Flask-Admin with PostgreSQL
This code recipe gives you an idea of how to use Flask-Admin with postgresql database.
2014-10-18 16:35:28
1634
原创 [Python]Understand attribute in Python
This recipe is a small code snippet of showing how to distinguish attribute and item in Python language.
2014-09-21 11:44:21
911
原创 [Python]How to handle the exception in Python?
This post demonstrates how to use try clause to handle the exceptions.
2014-09-19 14:05:43
1114
原创 [Ruby] Install vagrant and virtualbox-4.2 on ububtu
This post tells you how to install the mix of vagrant and virtualbox on ubuntu.
2014-09-06 08:09:11
1043
原创 [Python] The attribute with dynamic __dict__
This essay is aimed to articulate the usage of attributes in Python language
2014-08-30 10:49:26
816
原创 [Backbone]Make Backbone Better With Extensions
Make Backbone Better With Extensions
2014-08-17 07:44:27
896
原创 [Django] Base class in the model layer
In the model layer, the Model class is the base class while the ModelBase class is metaclass. They are the entry points of the whole model layer
2014-08-16 21:50:44
742
原创 [Python] How to unpack and pack collection in Python?
How to unpack and pack collection in Python?
2014-08-04 10:47:50
649
Python:自动解包
[flash=300,300]http://player.youku.com/player.php/sid/XNzQ2OTMyMzIw/v.swf[/flash]
2014-08-04 10:15:35
219
原创 [Ruby]How to create singleton class ?
Singleton is one design pattern in the software engineering. Ruby has its own special feature to declare singleton class
2014-07-07 09:59:00
735
原创 [Ruby] Define abstract methods
Ruby has its own style to define the abstract methods in its class.
2014-07-06 21:53:44
736
原创 [Ruby]Guide to return statement
In Ruby language, the return statement in the Ruby functions are interesting, Let's explore them as below:
2014-07-06 21:27:19
636
原创 [PHP]How to get the system info?
it is much easier to get the same result through PHP because the PHP language offers some global constant variables and built-in functions.
2014-07-06 12:43:18
858
原创 [Ruby] Ruby Variable Scope
Scope defines where in a program a variable is accessible. Ruby has four types of variable scope, local, global, instance and class.
2014-06-02 07:26:21
995
原创 [JavaScript] How to use HightLight in Dojo?
The HightLight can help make the code blocks in the HTML more beautifully. This recipe tells you how to use this cool feature in the Dojo toolkit. The basic idea is to replace your previous code statements and format them by the style sheet.
2014-04-06 16:27:16
828
原创 [JavaScript] Use template engine in Dojo
This is a trial to embed the underscore template utility into Dojo toolkit.define("myjs/Header",["dojo/_base/declare","dijit/_WidgetBase","dojo/text!./templates/header.html"],function(declare, _
2014-03-27 18:51:21
1036
原创 [PHP]Use PHP script to tidy Dojo toolkit
In the Dojo toolkit, there are some unused files so it is better to remove them.<?php@set_time_limit(0);$target_path = getcwd().DIRECTORY_SEPARATOR.'wp-includes'.DIRECTORY_SEPARATOR.'js'.DIREC
2014-03-27 18:45:15
959
原创 [Python] Use Python to generate Java Unit Test codes automatically
This code snippet is used to generate the unit test of Java codes.
2014-03-20 21:20:05
957
原创 [Python] How to use Pyramid?
In this blog, i will tell you how to use Pyramid by codes.
2014-03-04 11:59:18
918
原创 [Python]Shallow and Deep copy operation
The difference between shallow and deep copying is only relevant for compound objects (objects that contain other objects, like lists or class instances).
2014-03-01 10:52:59
850
原创 [JS] Use repeat and list directives in AngularJS
This code snippets show how to use directives in AngularJS?
2014-02-28 11:55:13
920
原创 [Python] How to pack and unpack variables in Python?
The follow code snippets show how to use variables smartly.
2014-02-18 16:29:25
763
原创 [Python] The project structure in Django
The project structure in Django
2014-02-10 22:30:44
1055
原创 [Python]The import utilities in Python Standard Library
The import utilities in Python Standard Library
2014-02-08 10:11:13
1953
原创 [PHP] create plugin and short code in WordPress
WordPress plugin and short-code example
2014-02-07 20:12:12
743
原创 [PHP] small example to show dynamic type change
When you declare one variable, the initial type is null, but the type can be changed by assign statement.
2014-02-07 18:50:51
838
原创 [Python]How to use magic methods in Python?
In this article, i write a simple code example to explore how to use super,new,init and str magic method in Python.
2014-02-07 11:55:03
774
原创 [Java] Behavior Driven Test supported by Mockito
In this article, I will describe how to use Mockito to do behavior driven test for high quality coding.
2014-01-25 11:36:27
954
socket socket,URL, HTTPCLIENT,RMI,JAVAMAIL,
2008-12-14
WEB2.0 VS STRUTS2.0
2008-12-23
APACHE COMMONS
2008-12-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人