Feeds:
文章
评论

寒假 公园…

 

塔,可以俯瞰整个丹东:

DSC02060DSC02062

 

俯瞰全景图:

全景1

 

 

一个倒霉的皇帝的碑:

DSC02074

 

就是这个倒霉的人…

DSC02078

 

曙光阁,据说花了曙光集团不少钱…

DSC02079

 

远看刚才那个塔真小…

DSC02081

 

山下有动物园,免费的额..

狮子:

DSC02084

 

皮包骨头,冻得打喷嚏的老虎

DSC02088

 

还是银狐漂亮…

DSC02099

DSC02103DSC02104

 

骆驼:

DSC02110

 

猴子:

DSC02116DSC02117DSC02122

狼,长的真像大狗…

DSC02127

 

野猪…

DSC02130

孔雀:

DSC02147DSC02149

 

 

DSC02141

 

鸭绿江畔….

DSC02155

 

洪水纪念:

DSC02173

 

断桥:

DSC02212

DSC02216

 

全景图:

对面就是社会主义棒子国…

全景7

全景3

 

被美帝炸断的桥…

全景4

转自:http://weblogs.asp.net/scottgu/archive/2011/02/22/mvcconf-videos-available.aspx

 

Below are links to free recordings of the talks that you can watch (and optionally download):

OPAC升级,新功能增加了个二维码,正好Mc50别的部门用完还回来了,看看二维码里到底记录了些什么东西

简单点,就放个textbox来显示:

        private void barcode1_OnRead(object sender, Symbol.Barcode.ReaderData readerData)
        {
            if (readerData.Result == Symbol.Results.SUCCESS)
            {
                textBox1.Text = readerData.Text.ToString().Trim();
            }
            else
            {
                MessageBox.Show("读取错误");
10             }
11         }

 

运行,直接部署到设备,读条码…

结果杯具了,中文全乱码…

 

难道编码有问题?

在程序里添加引用System.Web,用HttpUtility转下编码试试

再次杯具了…

.Net Compact Framework压根没有System.Web这个引用…

上网google吧,找到高手反编译出的System.Web.dll

地址:http://iron9light.wordpress.com/2008/07/04/systemwebhttputility-for-net-compact-edition-or-sliverlight/(需翻墙…)

 

需要两个文件:

HtmlEntities.cs

HttpUtility.cs

 

下载:https://cid-3ca83445bd7767a0.office.live.com/self.aspx/.Public/Net%20Compact%20Framework/System.Web%20for%20.net%20CF.rar

 

把这两个文件包含在项目里,然后就可以引用System.Web了

        using System.Web;
        private void barcode1_OnRead(object sender, Symbol.Barcode.ReaderData readerData)
        {
            if (readerData.Result == Symbol.Results.SUCCESS)
            {
                textBox1.Text = HttpUtility.UrlDecode(readerData.Text, Encoding.UTF8);
            }
            else
            {
10                 MessageBox.Show("读取错误");
11             }
12         }

 

 

嗯,虽然能转码了

杯具的是读取结果依旧乱码…

AscII码

记录,备用…

 

ASCII码—American Standard Code for Information Interchange,美国标准信息交换码

Decimal 十进制

Octal 八进制

Hex 六进制

Binary 二进制

 

           Decimal       Octal       Hex        Binary         Value

         -------     -----     ---      ------       -----

           000        000      000     00000000        NUL      (Null char.)

           001        001      001     00000001        SOH      (Start of Header)

           002        002      002     00000010        STX      (Start of Text)

           003        003      003     00000011        ETX      (End of Text)

           004        004      004     00000100        EOT      (End of Transmission)

           005        005      005     00000101        ENQ      (Enquiry)

           006        006      006     00000110        ACK      (Acknowledgment)

           007        007      007     00000111        BEL      (Bell)

           008        010      008     00001000         BS      (Backspace)

           009        011      009     00001001         HT      (Horizontal Tab)

           010        012      00A     00001010         LF      (Line Feed)

           011        013      00B     00001011         VT      (Vertical Tab)

           012        014      00C     00001100         FF      (Form Feed)

           013        015      00D     00001101         CR      (Carriage Return)

           014        016      00E     00001110         SO      (Shift Out)

           015        017      00F     00001111         SI      (Shift In)

           016        020      010     00010000        DLE      (Data Link Escape)

           017        021      011     00010001        DC1 (XON) (Device Control 1)

           018        022      012     00010010        DC2         (Device Control 2)

           019        023      013     00010011        DC3 (XOFF)(Device Control 3)

           020        024      014     00010100        DC4         (Device Control 4)

           021        025      015     00010101        NAK      (Negative Acknowledgement)

           022        026      016     00010110        SYN      (Synchronous Idle)

           023        027      017     00010111        ETB      (End of Trans. Block)

           024        030      018     00011000        CAN      (Cancel)

           025        031      019     00011001         EM      (End of Medium)

           026        032      01A     00011010        SUB      (Substitute)

           027        033      01B     00011011        ESC      (Escape)

           028        034      01C     00011100         FS      (File Separator)

           029        035      01D     00011101         GS      (Group Separator)

           030        036      01E     00011110         RS      (Request to Send)(Record Separator)

           031        037      01F     00011111         US      (Unit Separator)

           032        040      020     00100000         SP      (Space)

           033        041      021     00100001          !      (exclamation mark)

           034        042      022     00100010          "      (double quote)

           035        043      023     00100011          #      (number sign)

           036        044      024     00100100          $      (dollar sign)

           037        045      025     00100101          %      (percent)

           038        046      026     00100110          &      (ampersand)

           039        047      027     00100111          '      (single quote)

           040        050      028     00101000          (      (left/opening parenthesis)

           041        051      029     00101001          )      (right/closing parenthesis)

           042        052      02A     00101010          *      (asterisk)

           043        053      02B     00101011          +      (plus)

           044        054      02C     00101100          ,      (comma)

           045        055      02D     00101101          -      (minus or dash)

           046        056      02E     00101110          .      (dot)

           047        057      02F     00101111          /      (forward slash)

           048        060      030     00110000          0

           049        061      031     00110001          1

           050        062      032     00110010          2

           051        063      033     00110011          3

           052        064      034     00110100          4

           053        065      035     00110101          5

           054        066      036     00110110          6

           055        067      037     00110111          7

           056        070      038     00111000          8

           057        071      039     00111001          9

           058        072      03A     00111010          :      (colon)

           059        073      03B     00111011          ;      (semi-colon)

           060        074      03C     00111100          <      (less than)

           061        075      03D     00111101          =      (equal sign)

           062        076      03E     00111110          >      (greater than)

           063        077      03F     00111111          ?      (question mark)

           064        100      040     01000000          @      (AT symbol)

           065        101      041     01000001          A

           066        102      042     01000010          B

           067        103      043     01000011          C

           068        104      044     01000100          D

           069        105      045     01000101          E

           070        106      046     01000110          F

           071        107      047     01000111          G

           072        110      048     01001000          H

           073        111      049     01001001          I

           074        112      04A     01001010          J

           075        113      04B     01001011          K

           076        114      04C     01001100          L

           077        115      04D     01001101          M

           078        116      04E     01001110          N

           079        117      04F     01001111          O

           080        120      050     01010000          P

           081        121      051     01010001          Q

           082        122      052     01010010          R

           083        123      053     01010011          S

           084        124      054     01010100          T

           085        125      055     01010101          U

           086        126      056     01010110          V

           087        127      057     01010111          W

           088        130      058     01011000          X

           089        131      059     01011001          Y

           090        132      05A     01011010          Z

           091        133      05B     01011011          [      (left/opening bracket)

           092        134      05C     01011100          \      (back slash)

           093        135      05D     01011101          ]      (right/closing bracket)

           094        136      05E     01011110          ^      (caret/cirumflex)

           095        137      05F     01011111          _      (underscore)

           096        140      060     01100000          `

           097        141      061     01100001          a

           098        142      062     01100010          b

           099        143      063     01100011          c

           100        144      064     01100100          d

           101        145      065     01100101          e

           102        146      066     01100110          f

           103        147      067     01100111          g

           104        150      068     01101000          h

           105        151      069     01101001          i

           106        152      06A     01101010          j

           107        153      06B     01101011          k

           108        154      06C     01101100          l

           109        155      06D     01101101          m

           110        156      06E     01101110          n

           111        157      06F     01101111          o

           112        160      070     01110000          p

           113        161      071     01110001          q

           114        162      072     01110010          r

           115        163      073     01110011          s

           116        164      074     01110100          t

           117        165      075     01110101          u

           118        166      076     01110110          v

           119        167      077     01110111          w

           120        170      078     01111000          x

           121        171      079     01111001          y

           122        172      07A     01111010          z

           123        173      07B     01111011          {      (left/opening brace)

           124        174      07C     01111100          |      (vertical bar)

           125        175      07D     01111101          }      (right/closing brace)

           126        176      07E     01111110          ~      (tilde)

           127        177      07F     01111111        DEL      (delete)

前32个控制字符的详细解释:

NUL (null)

SOH (start of heading)

STX (start of text)

ETX (end of text)

EOT (end of transmission) - Not the same as ETB

ENQ (enquiry)

ACK (acknowledge)

BEL (bell) - Caused teletype machines to ring a bell. Causes a beep in many common terminals and terminal emulation programs.

BS  (backspace) - Moves the cursor (or print head) move backwards (left) one space.

TAB (horizontal tab) - Moves the cursor (or print head) right to the next tab stop. The spacing of tab stops is dependent on the output device, but is often either 8 or 10.

LF    (NL line feed, new line) - Moves the cursor (or print head) to a new line. On Unix systems, moves to a new line AND all the way to the left.

VT    (vertical tab)

FF    (form feed) - Advances paper to the top of the next page (if the output device is a printer).

CR    (carriage return) - Moves the cursor all the way to the left, but does not advance to the next line.

SO    (shift out) - Switches output device to alternate character set.

SI    (shift in)  - Switches output device back to default character set.

DLE (data link escape)

DC1 (device control 1)

DC2 (device control 2)

DC3 (device control 3)

DC4 (device control 4)

NAK (negative acknowledge)

SYN (synchronous idle)

ETB (end of transmission block) - Not the same as EOT

CAN (cancel)

EM  (end of medium)

SUB (substitute)

ESC (escape)

FS  (file separator)

GS  (group separator)

RS  (record separator)

US  (unit separator) 

微软宣布 2010 年 12 月 2 日将会举办由微软企业副总裁 Scott Guthrie 主旨演讲的 Silverlight Firestarter 发布会,主题为“Silverlight 的未来”。

Keynote Starts December 2, 2010 at 9:00 pacific time
Hear what’s coming next from Microsoft’s Scott Guthrie
Training, labs & swag
Online or in-person at Microsoft HQ, December 2nd 2010
It’s just like an extra day of PDC, dedicated to Silverlight

Firestarter Live Agenda
Time Presenter Session Details

8:00 am Breakfast

9:00 am Scott Guthrie The Future of Silverlight

10:45 am Jesse Liberty Data Binding Strategies with Silverlight and WP7

11:30 am Yavor Georgiev Building Compelling Apps with WCF using REST and LINQ

12:15 pm Lunch

1:00 pm Dan Wahlin Building Feature Rich Business Apps Today with RIA Services

1:45 pm John Papa MVVM: Why and How? Tips and Patterns using MVVM and Service Patterns with Silverlight and WP7

2:45 pm Tim Heuer Tips and Tricks for a Great Installation Experience

3:30 pm Mike Cook & Jossef Goldberg Tune Your Application: Profiling and Performance Tips

4:30 pm Jaime Rodriguez Performance Tips for Silverlight Windows Phone 7

5:15 pm After Party!

Keynote : The Future of Silverlight
Be first to hear the official news about what’s coming up next for Silverlight from Scott Guthrie, Microsoft Corporate Vice President.

Data Binding In Silverlight and Windows Phone
Jesse Liberty walks us through the fundamentals of data binding, including binding to traditional and non-traditional data sources, binding to elements, binding in both Visual Studio and Blend, binding in code, data conversion and much more.

Building Compelling Apps with WCF using REST and LINQ
In this session we will cover how to build a WCF-based backend web service to provide data to the Silverlight application. We will demonstrate the use of LINQ in the service to retrieve objects from our database, and cover some details of how those objects are serialized to Silverlight. We will cover the use of faults for debugging and for driving production logic, as well as authentication strategies for internet and intranet deployment. We will finish with a look at how to access third-party REST/HTTP-based services from Silverlight.

Building Feature Rich Business Apps Today with RIA Services
Silverlight provides many different options for accessing distributed data including Web Services, REST APIs, sockets and more. This talk will walk you through the benefits that WCF RIA Services offers and demonstrate how it can be used to simplify n-tier programming and provide a flexible and productive way to access, validate and modify data in Silverlight applications. Topics covered include creating a domain service, simplifying asynchronous programming with the domain context, leveraging object tracking features, sharing data validation code between the client and server and writing domain services that can be used with any backend data access technology.

MVVM: Why and How? Tips and Patterns using MVVM and Service Patterns
See how good patterns and practices apply to Silverlight applications on the desktop, in the browser or on the phone. Learn how to integrate MVVM, Service Providers, design time data (aka Blendability), into your Silverlight applications to promote code reuse and create a highly maintainable application.

Tips and Tricks for a Great Installation Experience
Tired of seeing the spinning blue balls from Silverlight as the application loads? Your users probably are as well. The simple fact is that it is very easy to customize your complete application installation experience down to the plugin level. During this session you’ll see understand how Silverlight works with install/upgrade scenarios and how you can completely customize the installation experience. Additionally you’ll see custom ‘splash screen’ demonstrations on what you can do to further brand your application. If you are building an out-of-browser application with Silverlight we’ll discuss and demonstrate some of the tips/tricks to provide a good acquisition experience there as well and some tricks on automatically installing applications.

Tune Your Application: Profiling and Performance Tips
There are some common pitfalls that can negatively impact your Silverlight application’s performance. In this session we’ll demonstrate how to use some of the tools that are available to profile and identify performance issues. We’ll cover the available techniques with the performance tools that can help you to analyze your Silverlight application memory usage, rendering and CPU usage to help improve performance and avoid those common pitfalls.

Performance Tips for Silverlight Windows Phone 7
This will be a comprehensive deep-dive into Windows Phone performance. We will begin with the threading model changes and optimizations made to Silverlight run-time to take advantage of the GPU on the phone; we will then cover the most common pitfalls, the troubleshooting techniques, and close with the workarounds to create snappy Windows phone applications.

PDC后关于Silverlight的讨论很多额

让我们期待下微软企业副总裁 Scott Guthrie 会不会给我们透漏Silverlight 5 的内容,并能介绍“已调整的”微软 Silverlight 战略吧。

讯雷…

转载下:

 

1.打开我的电脑找到C:\WINDOWS\system32\drivers\etc这个文件夹。
2.打开hosts文件打开方式选记事本打开。
3.把下面的网址都复制下粘贴进去。

127.0.0.1 mcfg.sandai.net
127.0.0.1 server1.adpolestar.net
127.0.0.1 mpv.sandai.net
127.0.0.1 mtips.xunlei.com
127.0.0.1 biz5.sandai.net
127.0.0.1 kkpgv.xunlei.com
127.0.0.1 statis.kankan.xunlei.com
127.0.0.1 float.sandai.net
127.0.0.1 recommend.xunlei.com
127.0.0.1 cl.kankan.xunlei.com
127.0.0.1 advstat.xunlei.com
127.0.0.1 pubstat.sandai.net
    然后保存关闭就行了。这样你再打开迅雷看看就会发现不但15秒广告没了连暂停时的广告与播放窗口两边的广告也没了。

修改 c:\windows\system32\drivers\etc\hosts 文件添加如下

迅雷看看屏蔽:
0.0.0.0 mcfg.sandai.net

0.0.0.0 biz5.sandai.net
0.0.0.0 server1.adpolestar.net
0.0.0.0 advstat.xunlei.com
0.0.0.0 mpv.sandai.net
优酷屏蔽:
0.0.0.0 vid.atm.youku.com
0.0.0.0 valo.atm.youku.com
0.0.0.0 valf.atm.youku.com
0.0.0.0 walp.atm.youku.com
0.0.0.0 static.atm.youku.com

1、屏蔽迅雷偷偷上传:(网络搜索整理)

    进入c:\windows\system32下,找到cid_store.dat并把它删除,新建相同文件名并带后缀名的文件夹。

2、去除每日资讯和弹出广告方法:

    分别进入Thunder Network\Thunder\Components文件夹下的Tips和InMedia文件夹,找到TipsExtend.exe和ThunderMinisite.exe,分别将这两个文件改名,比如在文件名后加上一条横杠,如TipsExtend-.exe,这样就可以去除这两个广告了。

3、打造小小个性化迅雷

    之所有这么说,是因为有很多人想去掉迅雷顶部的广告条,如果能把广告条更换成自己喜欢的图片,那不是很不错。方法如下:

将program\ad文件夹下的default_main.swf和default_new.swf改名或删除,然后分别制作一个774×60和376×60的gif图片,将774×60.gif图片改名为default_main.swf,将376×60.gif图片改名为default_new.swf就可以了。这样重新打开迅雷就会发现,顶部的广告条换成了自己喜欢的图片,而新建下载任务时打开的弹窗口上的图片也更换了,是不是有点小小的个性了。

http://www.bl.uk/onlinegallery/virtualbooks/index.html

 

http://msdn.microsoft.com/zh-cn/magazine/cc163368.aspx