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
var MyApp = angular.module('MyApp'); | |
MyApp.factory('msgBus', ['$rootScope', function($rootScope) { | |
var msgBus = {}; | |
msgBus.emitMsg = function(msg, data) { | |
data = data || {}; | |
$rootScope.$emit(msg, data); | |
}; | |
msgBus.onMsg = function(msg, func, scope) { | |
var unbind = $rootScope.$on(msg, func); | |
if (scope) { |
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
"============================================================================= | |
" FileName: _vimrc | |
" Desc: | |
" Author: liekkas.zeng | |
" Email: zengjiangqin@gmail.com | |
" HomePage: http://github.com/liekkas | |
" Version: 0.0.1 | |
" LastChange: 2012-05-15 16:17:26 | |
" History: | |
"============================================================================= |
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
package | |
{ | |
import flash.utils.Dictionary; | |
import mx.containers.HBox; | |
import mx.containers.Tile; | |
import mx.containers.VBox; | |
/*************************************************************\ | |
* 矩阵行 |
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
老夫聊发少年狂,治肾亏,不含糖。锦帽貂裘,千骑用康王。为报倾城随太守,三百年,九芝堂。酒酣胸胆尚开张,西瓜霜,喜之郎。持节云中,三金葡萄糖。会挽雕弓如满月,西北望 ,阿迪王。 十年生死两茫茫,恒源祥,羊羊羊。夜来幽梦忽还乡,学外语,新东方。相顾无言,洗洗更健康。 | |
【神一样的中国翻译】是谁把We Found Love翻译成潍坊的爱?又是谁把《yesterday once more》翻译成耶稣他爹玩什么,《wake me up when september end》一觉睡到国庆节,《cry in the party》一入党我哭了,还有把《take me home, country road 》翻译成我回家走国道。 | |
纸上得来终觉浅,恳请老师画重点;天若有情天亦老,范围一定要画小;天涯何处无芳草,别说整本书都考;绝知此事要躬行,老师请念师生情;春眠不觉晓,挂科得补考;安能摧眉折腰事权贵,题出难了我不会;南朝四百八十寺,大题少让写点字;桃花潭水深千尺,卷子最好一张纸;谁知盘中餐,代表整个班 | |
一老头说:”当日华山论剑,先是他用黯然销魂掌,破了我的七十二路空明拳;然后我改打降龙十八掌,却不防他伸开右手食指中指, 竟是六脉神剑商阳剑和中冲剑并用,又胜我一筹。可见天下武功彼此克制,武学之道玄之又玄!” 少年听得心驰目眩,正要在问,旁边老太太骂 道:mb玩个石头剪子布都说得这般威风 | |
你若安好,便是晴天霹雳 |
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
package | |
{ | |
import mx.containers.VBox; | |
/*************************************************************\ | |
* 矩阵组件,原来的那个不方面实时操作, | |
* * item能按告警级别排序 | |
* * 新上来一条告警更实时更新,并重新排序 | |
* * 实时添加、删除item | |
* |
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
package | |
{ | |
import flash.display.BlendMode; | |
import mx.containers.Box; | |
import mx.containers.Canvas; | |
import mx.controls.Label; | |
import mx.effects.Fade; | |
import mx.effects.Move; | |
import mx.effects.Resize; |
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
<!-- 矩阵测试数据 --> | |
<root> | |
<matrix id="1" name="南京"> | |
<matrix id="10" name="KEBI"> | |
</matrix> | |
<matrix id="11" name="BSC"> | |
<matrix id="111" name="njbsc1" severity="1"/> | |
<matrix id="112" name="njbsc2" severity="1"/> | |
<matrix id="113" name="njbsc3" severity="3"/> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" | |
xmlns:local="*" horizontalAlign="center" > | |
<mx:Script> | |
<![CDATA[ | |
import mx.events.FlexEvent; | |
protected function matrix21_creationCompleteHandler(event:FlexEvent):void | |
{ | |
mt.dataXML = xml; |
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
package com.ultrapower.tomas.cmonitor.common.base | |
{ | |
import flash.utils.Dictionary; | |
import org.robotlegs.mvcs.Actor; | |
/*************************************************************\ | |
* 基础Actor | |
* 数据存放、数据提取、数据清理、当前数据 | |
* |
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
digraph G { | |
edge [fontname="FangSong"]; | |
node [shape=box, fontname="FangSong" size="20,20"]; | |
{ | |
Lexical_Analyzer [label="词法分析器"]; | |
Syntax_Analyzer [label="语法分析器" ]; | |
Semantic_Analyzer [label="语义分析" ]; | |
Intermediate_Code_Generator [label="中间代码生成器" ]; | |
Machine_Independent_Code_Optimizer [label="机器无关代码优化器" ]; | |
Code_Generator [label="代码生成器" ]; |
OlderNewer