浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 353 354 355 356 357 358 359 360 361 ··· 630 下一页

2012年5月25日

摘要: server { resolver 10.10.235.22; resolver_timeout 5s; listen 0.0.0.0:80; access_log /home/reistlin/logs/proxy.access.log; error_log /home/reistlin/logs/proxy.error.log; location / { proxy_pass $scheme:... 阅读全文
posted @ 2012-05-25 17:17 lexus 阅读(526) 评论(0) 推荐(0)

摘要: #set groovy envGROOVY_HOME=/home/cis/groovy-1.8.5PATH=$GROOVY_HOME/bin:$PATHexport GROOVY_HOME PATH 阅读全文
posted @ 2012-05-25 11:46 lexus 阅读(387) 评论(0) 推荐(0)

2012年5月24日

摘要: Tutorial: Arrays in C and C++Basic ArraysThe source code to all code listings is available as a tarball and as a zip file.A NoteThis tutorial assumes you've already gone through the pointers tutorial.... 阅读全文
posted @ 2012-05-24 23:16 lexus 阅读(232) 评论(0) 推荐(0)

摘要: #include <stdio.h>#define SIZE 10int main(){int arr[SIZE]={100,200,400,21,-1,20,40,78,66,11};int len=sizeof(arr)/sizeof(int);int current_max=0;int *p=arr;for(int k=0;k<len;k++){int count=0;for(int i=0... 阅读全文
posted @ 2012-05-24 21:18 lexus 阅读(601) 评论(0) 推荐(0)

摘要: C array length exampleAn array is a contiguous group of data items with the same name and data type. In order to get the length of an array, we have used the sizeof operator.C Array length example In... 阅读全文
posted @ 2012-05-24 20:45 lexus 阅读(496) 评论(0) 推荐(0)

摘要: Installing Jython and Django - Sun GlassFish Enterprise Server v3 Scripting Framework GuideInstalling Jython and DjangoTo develop Jython on Django applications for Enterprise Server, you must do the f... 阅读全文
posted @ 2012-05-24 17:45 lexus 阅读(375) 评论(0) 推荐(0)

摘要: EnigmaCurryDistributing Jython Apps in a Single JAR fileMay 20, 2009 at 02:20 PM | categories: python, java | 12 Comments and 1 Reaction I've been writing a lot of one-off type applications at work l... 阅读全文
posted @ 2012-05-24 17:33 lexus 阅读(348) 评论(0) 推荐(0)

摘要: django-standalone 0.4 : Python Package Indexdjango-standalone 0.4use the Django ORM with standalone scriptsDownloads ↓-*- markdown -*- Simple Standalone Scripts Using the Django ORM =================... 阅读全文
posted @ 2012-05-24 17:26 lexus 阅读(310) 评论(0) 推荐(0)

摘要: jruby -S gem install jdbc-mysql activerecord-jdbcmysql-adapterjava -jar jruby-gems.jar -S rake -Tjava -jar jruby-gems.jar -S gem install -i tmp jdbc-mysql activerecord-jdbcmysql-adapter jruby-openssl ... 阅读全文
posted @ 2012-05-24 16:30 lexus 阅读(338) 评论(0) 推荐(0)

摘要: JRuby · datamapper/do Wiki jruby --version jruby 1.3.1 (ruby 1.8.6p287) (2009-07-10 6586) (Java HotSpot(TM) Client VM 1.6.0_15) [i386-java] Install Rake, full JRuby-OpenSSL support, RSpec and ZenTest:... 阅读全文
posted @ 2012-05-24 16:24 lexus 阅读(392) 评论(0) 推荐(0)

摘要: 手动添加依赖的jar文件到maven仓库 - - ITeye技术网站mvn install:install-file -Dfile=/home/hjq/sms.jar -DgroupId=ufmobile -DartifactId=sms -Dversion=3.0 -Dpackaging=jar 阅读全文
posted @ 2012-05-24 15:09 lexus 阅读(254) 评论(0) 推荐(0)

摘要: JRuby and SQLite3 Living Together « JRubyist::Dan_Tylenda_EmmonsJRuby and SQLite3 LivingTogetherPosted July 15, 2009 by CoderTrader in jruby, sqlite3. Tagged: jruby, sqlite3. 6 CommentsA few days ... 阅读全文
posted @ 2012-05-24 14:29 lexus 阅读(436) 评论(0) 推荐(0)

摘要: 安装jruby和rails,创建 application - - ITeye技术网站安装jruby和rails,创建 application 博客分类:jrubyjrubyRailsMySQLRackActiveRecord1) 安装jruby_windows_1_6_0_RC2.exe 2) 配置环境变量 添加JRUBY_HOME=JRUBY安装路径(例如:D:\software\jruby... 阅读全文
posted @ 2012-05-24 14:25 lexus 阅读(644) 评论(0) 推荐(0)

摘要: JRuby: Calling Ruby's ActiveRecord from Java Using the Bean Scripting FrameworkRuby: Calling Ruby's ActiveRecord from Java Using the Bean Scripting FrameworkPublished: 25 Jul 2007Here we need to use t... 阅读全文
posted @ 2012-05-24 09:51 lexus 阅读(207) 评论(0) 推荐(0)

摘要: 我的首页 新浪微博-随时随地分享身边的新鲜事儿Talk is cheap, show me the code. 阅读全文
posted @ 2012-05-24 00:59 lexus 阅读(322) 评论(0) 推荐(0)

2012年5月23日

摘要: 小毛这厮今天去书店看书,结果翻到一本amazing的书,在讲完编程之后,都有一篇励志故事,李想,比尔盖茨,真是太牛了,这个策划主编真是太有才了,这就是所谓的极致吧,守正出奇 阅读全文
posted @ 2012-05-23 21:20 lexus 阅读(225) 评论(0) 推荐(0)

摘要: import groovy.sql.Sqldef ds= __ac.getBean('dataSource')def sql=new Sql(ds)println sqlsql.eachRow("""select * from target_url where app_id=? limit 10""", [1]){println it.url} 阅读全文
posted @ 2012-05-23 18:23 lexus 阅读(765) 评论(0) 推荐(0)

摘要: #include <stdio.h>int main(int argc, char *argv[]){char str[]="hello world!";char str1[]={'h','e','l','l','o',' ','w','o','r','l','d','!','\0'};//这两句是等价的FILE *p;char *filename=&quo 阅读全文
posted @ 2012-05-23 15:10 lexus 阅读(253) 评论(0) 推荐(0)

摘要: // filetest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <stdio.h>int _tmain(int argc, _TCHAR* argv[]){ FILE *fp; fp=fopen("c:\\1.txt","r+"); if(fp!=NULL){ printf("%s","haha"); } printf("%d",fp);... 阅读全文
posted @ 2012-05-23 13:00 lexus 阅读(205) 评论(0) 推荐(0)

摘要: Hypertext Transfer Protocol -- HTTP/1.1Hypertext Transfer Protocol -- HTTP/1.1Status of this MemoThis document specifies an Internet standards track protocol for the Internet community, and requests d... 阅读全文
posted @ 2012-05-23 10:31 lexus 阅读(365) 评论(0) 推荐(0)

上一页 1 ··· 353 354 355 356 357 358 359 360 361 ··· 630 下一页