摘要: http://stackoverflow.com/questions/7733305/count-on-an-ienumerabledynamicint count = Enumerable.Count(queryFromMassiveDynamic); 阅读全文
posted @ 2015-05-05 23:09 OneIsYou 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 转换Excel数字列号为字母列号例如:0 -> A26 -> AAprivate static string GetColumnChar(int col){ var a = col / 26; var b = col % 26; if (a > 0) return GetC... 阅读全文
posted @ 2015-05-05 22:39 OneIsYou 阅读(1828) 评论(0) 推荐(3) 编辑
摘要: MAC启动GoAgent,出现Load Crypto.Cipher.ARC4 Failed, Use Pure Python Instead. 解决方法:为Python安装pycrypto,可通过Python包管理器PIP安装。 Download get-pip.py (https://bootst... 阅读全文
posted @ 2014-07-18 23:18 OneIsYou 阅读(6476) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2013-06-14 13:08 OneIsYou 阅读(519) 评论(0) 推荐(0) 编辑
摘要: C# ThreadPool.QueueUserWorkItem 阅读全文
posted @ 2012-10-11 00:21 OneIsYou 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-10-10 23:49 OneIsYou 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 将以下命令存储为.bat/.cmd文件,即可实现快速切换IP。 // 将“本地连接”设置为自动获取IP @netsh interface ipv4 set address "本地连接" dhcp // 为“本地连接”设置固定IP @netsh interface ipv4 set... 阅读全文
posted @ 2012-05-23 18:39 OneIsYou 阅读(503) 评论(0) 推荐(0) 编辑
摘要: ①安装“Microsoft Report Viewer 2010 Redistributable Package”; ②命令行中执行: 1: dir %windir%\assembly\gac_msil\*reportviewer*.dll /s /b ③将执行结果中... 阅读全文
posted @ 2012-04-13 22:45 OneIsYou 阅读(3182) 评论(0) 推荐(1) 编辑
摘要: 1: --重命名表 2: RENAME old_table_name to new_table_name; 3: 4: --获得当前日期 5: SELECT SYSDATE FROM DUAL 阅读全文
posted @ 2012-04-01 22:39 OneIsYou 阅读(138) 评论(0) 推荐(0) 编辑