活动总结准备中.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
珠三角技术沙龙2011.12.04深圳场-电商专题开始接受报名! techparty.org/?p=1323 主题:1.传统企业的电子商务策略by龚文祥, 2.基于中间件技术平台构建企业化电子商务系统by黄浩. ... 微博叙述有限, 请跳至官网查看详情. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [8]: %edit main.py | |
Editing... done. Executing edited code... | |
2012-02-02 00:04:48,288 INFO sqlalchemy.engine.base.Engine PRAGMA table_info("members") | |
2012-02-02 00:04:48,288 INFO sqlalchemy.engine.base.Engine () | |
2012-02-02 00:04:48,291 INFO sqlalchemy.engine.base.Engine PRAGMA table_info("cast_types") | |
2012-02-02 00:04:48,291 INFO sqlalchemy.engine.base.Engine () | |
2012-02-02 00:04:48,296 INFO sqlalchemy.engine.base.Engine PRAGMA table_info("persons") | |
2012-02-02 00:04:48,296 INFO sqlalchemy.engine.base.Engine () | |
2012-02-02 00:04:48,297 INFO sqlalchemy.engine.base.Engine PRAGMA table_info("movies") | |
2012-02-02 00:04:48,297 INFO sqlalchemy.engine.base.Engine () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
from sqlalchemy import * | |
from sqlalchemy.orm import relationship, Session | |
from sqlalchemy.ext.declarative import declarative_base | |
metadata = MetaData() | |
Base = declarative_base(metadata = metadata) | |
class Member(Base): | |
__tablename__ = 'members' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (i=0;i<Player.commentList.length;i++){ | |
if(Player.commentList[i].mode != 8){ | |
if(Player.commentList[i].txt.search("([逆反]向)|([渣垃拉啦哇呀压鸭吔蛤哈].*){3}") == -1){ | |
Player.commentList[i].mode = 6; | |
} else{ | |
Player.commentList[i].mode = 0; | |
} | |
if(Math.random() > 0.5){ | |
Player.commentList[i].color = 0x000000; | |
}else{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// copy from http://www.matrix67.com/data/scripts/valentine.js | |
var hint = new Array(1,1,1,1,2,1,1,1,1,2,1,2,3,3,4,5,4,3,3,2,4,2,3,5,5,7,8,7,5,5,3,6,3,3,5,5,8,9,8,5,5,3,6,3,3,4,3,6,7,6,3,4,4,7,4,2,2,1,3,4,3,1,2,3,5,3,1,1,0,1,1,1,0,1,2,3,2); | |
function getTd(id) | |
{ | |
return document.getElementById("td" + id.toString()); | |
} | |
function init() | |
{ | |
for (i=0; i<7; i++) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# hello hubot, 回音体演示 | |
fs = require 'fs' | |
module.exports = (robot) -> | |
robot.respond /(回音体) (.*)/i, (msg) -> | |
@output = ['主人, 回音体就来啊~'] | |
@origin = msg.match[2] | |
for i in [[email protected]] | |
@output.push @origin.substring i | |
msg.send @output.join('\n') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# hello hubot, another example | |
showResult = (msg, entries, images) -> | |
if entries.length == 0 | |
return | |
msg.send entries.shift() | |
msg.send images.shift() | |
setTimeout ( -> | |
showResult msg, entries, images | |
), 500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <utility> | |
#include <vector> | |
typedef void* GzPointer; | |
typedef float GzCoord[3]; | |
class Vertex | |
{ | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
/* Gohan's css modify from dilinger.io */ | |
[hidden]{display:none} | |
::-moz-selection{background:#087185;color:#fff;text-shadow:none} | |
::selection{background:#087185;color:#fff;text-shadow:none} | |
a:visited{color:#551a8b} | |
b{font-weight:bold} | |
dfn{font-style:italic} | |
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0} | |
ins{background:#ff9;color:#000;text-decoration:none} |
OlderNewer