摘要: 我没有拿到具体的题目,只是参考了http://www.cnblogs.com/deepleo/p/thoughtworks.html,希望没有理解错误。我觉得这里的重点之一是语义分析,需要在运行时解析各个“外星文”代码如下(比较潦草,也没错误处理,罪过罪过。。。):ProblemOne.csusin... 阅读全文
posted @ 2014-08-26 18:16 Ornithopter 阅读(6731) 评论(2) 推荐(1) 编辑
摘要: 1、记录如下参数宽带账户拨号密码(不一定与服务密码一样)Vlan IDMTU802.1p绑定端口(就是网线与光猫连接的端口)2、向宽带装机师傅弄到猫的超级用户密码(一般用户名为telecomadmin,密码会定期变更)3、进入猫的后台设置页面(一般是192.168.1.1),进入【网络】->【宽带设... 阅读全文
posted @ 2014-07-11 21:21 Ornithopter 阅读(39245) 评论(0) 推荐(0) 编辑
摘要: 搜索文件夹内容的小工具Github两种搜索模式的算法:BoyerMooreSearch.csusing System.Threading;using System.Collections.Generic;using System.Linq;namespace Finder.Algorithms{ ... 阅读全文
posted @ 2014-06-27 17:56 Ornithopter 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: 未完成,回家继续using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Algorithems{ class... 阅读全文
posted @ 2014-06-19 17:53 Ornithopter 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 调用ShowExample方法即可查看结果使用Debug配置编译可以查看详细匹配过程using System;using System.Collections.Generic;namespace Algorithms{ /// /// An implemention of Boyer-... 阅读全文
posted @ 2014-06-18 10:57 Ornithopter 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 支持有向与无向图DijistraSeach.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Dijis... 阅读全文
posted @ 2014-06-16 17:44 Ornithopter 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 支持模糊搜索(非通配符)支持搜索结果优先级(首字母匹配、连续匹配有较高优先级TrieSearch.csusing System;using System.Collections.Generic;using System.Diagnostics;using System.Globalization;u... 阅读全文
posted @ 2014-06-06 18:00 Ornithopter 阅读(729) 评论(0) 推荐(0) 编辑
摘要: ImLazy是个人使用的小程序,抽时间在公司写了个ruby版本,未完成equals_verb# To change this template, choose Tools | Templates# and open the template in the editor.require "SDK/ve... 阅读全文
posted @ 2014-05-23 17:54 Ornithopter 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 参考了本文:http://www.cnblogs.com/xulb597/archive/2012/07/05/2578562.html支持模糊搜索,比如,【bkmh】可以匹配【BuKaManHua】;支持优先级,首字母、大小字母有更高的优先级。亟需解决的问题:目前搜索结果与关键词中字母的顺序无关,... 阅读全文
posted @ 2014-05-16 16:44 Ornithopter 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 个人的小程序需要匹配一些简单的通配符,如*?之类。抽时间写了一个 1 #pragma once 2 #ifndef CHECKER 3 #define CHECKER 4 5 #include 6 #include 7 #include 8 using namespace s... 阅读全文
posted @ 2014-05-12 17:34 Ornithopter 阅读(2019) 评论(0) 推荐(0) 编辑