Dog Barking At Night

Is the dog barking at night almost more than you can stand? Is it your dog or the neighbor dog? That really makes a difference. Dogs naturally bark, but barking at night or just uncontrolled barking is a huge nuisance.

Dogs bark for several reasons and the best way to deal with barking is to understand why the dog is barking. Now if it is a neighbor dog you may have no control over the dog. In this case, you can try talking to the neighbor. But of course, they probably don’t know what to do. Sadly, excessive dog barking is usually a result of a failure of training. But convincing your neighbor to train the dog not to bark is a tough sell.

One option for dealing with the neighbor dog barking is an ultrasonic noise generator. These noise generators blast out noise not audible to humans. If the dog starts barking, the noise starts until the barking stops. Many dogs cannot handle the noise and will not bark to avoid the racket. But it doesn’t work with all dogs. Some dogs just keep barking. The noise generator may work for your own dog too as an option.

If the barking dog is yours, the best approach is to think about the dog’s situation. Dogs bark at night for one of several reasons, or a combination of reasons.

Boredom is one main cause of barking. During the day, your dog may have plenty of stimulation and activity, but at night boredom may set in and so may the barking. Never forget that the barking does not bother your dog. At least as long as no negatives are linked with the barking by you! Dogs are social creatures and if your dog has no interaction with your or other dogs the yapping may start. Is there a way to make sure the dog has plenty of interaction and play so night time is not a problem?

Another potential cause of night time barking is lack of exercise. Many dog owners underestimate the exercise required by their pet. Breeds vary greatly in exercise needed. Your under exercised dog is a bundle of energy just looking to go. Too much energy comes out as noise. More exercise for dogs means less energy for barking.

Another common night challenge is loneliness. This is related to boredom but a little different. Loneliness also includes some fear. The dark is scary to your dog like it is to some people. Barking is that expression of loneliness and a little fear. Deal with loneliness by letting the dog stay with you or putting the dog in a place with a secure feeling. This may be as simple as closing your dog in the dog house over night.

You can get dog training aids including barking dog collars, but the best way to start dealing with noisy dogs is to understand and deal with the real cause for the barking.

Believe me I know how stressful noisy dogs at night can get! Visit our site to get more dog barking at night help

Go to http://www.dogbarkinghelp.com and stop the noise fast.

Al Bullington’s nerves cannot handle constant dog barking in the daytime or at night.

Article Source: http://EzineArticles.com/?expert=Al_Bullington

Posted in Uncategorized, 休闲 | Leave a comment

ASP.NET代码分离之网站建设应用浅析

    ASP.NET代码分离之网站建设应用现在是一个主流的概念,那么具体的模块和结构是什么呢?本文就向你介绍这方面的内容。

ASP.NET代码分离之网站建设应用之前在我们传统的网站建设中通常是先设计网站页面,再利用开发工具,在网站的框架内进行功能设计。这样的网站建设存在很多弊端,其中最突出的缺点是不利于小组共同开发,各环节之间依赖性太强。

使用了ASP.NET代码分离之后,在ASP.NET中我们可以利用后台编码,把HTML用户界面设计(颜色、美学等)与页面代码区分开来。这样就可以解决我们小组的并行开发问题。

其主题思想是:美工来进行网站页面的设计,程序员对网站要实现的功能分模块开发。待到页面和功能模块开发完毕后,我们只要在美工界面中对其HTML代码稍加修改,就可以完成对应的功能。

下面就用一个ASP.NET代码分离小例子来进行说明。

程序员完成的功能有如下模块:

1. 在左边的Column1处点击,中间的三个内容显示小组三条新闻

2. 在Column2处点击,中间的三个内容显示三个人员情况

3. 在Column3处点击,弹出一个窗口显示一张照片。

为了测试,我们可以将这三个功能分别交给两个程序员来做。

甲程序员:完成模块1和2

1. 甲可以先建立一个WebApplication,在界面上放入两个ImageButton:IBtnNews,IBtnMember和六个 Label:Lb1Title,Lb1Detail, Lb2Title,Lb2Detail, Lb3Title,Lb3Detail。生成一个Web应用程序,点击IBNews,六个Label显示小组新闻,点击IBMember,六个Label 显示小组三名成员。这样我们就为建立源文件创建好了条件。

2. 我们建立一个C#类文件CodeBehind.cs。

3. 由于我们是建立的Web程序,则需要在添加引用中,添加System.Web.dll应用。

4. 去掉构造函数,因为后台编码不需要创建类。

5. 让类从Page对象上继承功能,即

public class CodeBehind:System.Web.UI.Page

6. 将刚才生成的WebApplication中的相关代码复制进来,主要有两个部分:声明部分和方法部分,在这里把应用程序中的可访问级别 protected,改为public,因为只有这样外部的代码才可以访问我们的方法和变量,要注意的是页面上所有与后台编码文件交户的控件都要有一个对 应的本地变量。

7. 生成一个CodeBehind.cs。

至此,甲程序员的工作完成。乙程序员可以用同样的方式生成他的CodeBehind.cs文件。甲乙两位程序员进行代码合成,完成一个完整的CodeBehinde.cs;

代码如下:

  1. using System;
  2. using System.Web.UI;
  3. using System.Web.UI.WebControls;
  4. namespace codetest
  5. {
  6.  public class News:System.Web.UI.Page
  7.  {
  8.  public System.Web.UI.WebControls.Label Lb1Title;
  9.  public System.Web.UI.WebControls.Label Lb1Detail;
  10.  public System.Web.UI.WebControls.Label Lb2Title;
  11.  public System.Web.UI.WebControls.Label Lb2Detail;
  12.  public System.Web.UI.WebControls.Label Lb3Title;
  13.  public System.Web.UI.WebControls.Label Lb3Detail;
  14.  public System.Web.UI.WebControls.ImageButton IBtnNews;
  15.  public System.Web.UI.WebControls.ImageButton IIBtnMember;
  16.  public System.Web.UI.WebControls.ImageButton IBtnContact;
  17.  public void IBtnNews_Click(object sender, System.Web.UI.ImageClickEventArgs e)
  18.  {
  19.  …………………………
  20.  }
  21.  public void IIBtnMember_Click(object sender, System.Web.UI.ImageClickEventArgs e)
  22.  {
  23.  …………………………
  24.  }
  25.  public void IBtnContact_Click(object sender, System.Web.UI.ImageClickEventArgs e)
  26.  {
  27.  string strScript="﹤script language=javascript﹥\n";
  28.  strScript+="window.alert("+"\"电话:66763467\""+");";
  29.  strScript+="﹤/script﹥";
  30.  Response.Write(strScript);
  31.  }
  32.  }
  33. }

下面我们来说明如何将建好的后台代码和美工好的网页结合起来。

1.集成工程师生成一个新的WebApplication,将CodeBehind.cs文件保存在bin目录下,并将其加入引用。

2.集成工程师将美工好的网页的图片加入对应的引用,复制HTML代码,放入新的WebApplication的页面中,这样,我们就可以看到美工好的页面展现在我们的.aspx文件中。

3.更改页面最上面的黄色代码,其中Codebehind=”CodeBehind.cs”:让页面后台支持的代码指向我们写好的cs文件。 Inherits=”codetest.CodeBehind”:让页面继承于类CodeBehind中的功能,codetest为我们定义的名词空间。

4.在HTML代码中﹤body﹥内填入﹤ form id=”Form1″ method=”post” runat=”server”﹥在﹤/body﹥上面加上﹤/form﹥。

5.相对应的地方拖入Web控件,注意这里的ID要与cs文件中的定义对应。

6.在HTML代码中,找到Web控件,添加对应的方法名称。
这样就结合完毕。运行看看效果如何。

大家看上面在改动HTML代码的时候稍显麻烦,我们还有一种更简单的方法,只要在后台文件中加入几行代码,我们就不必在HTML中找到控件的位置,加入事件引用了。

在后台文件中加入

  1. protected override void OnInit(EventArgs e)
  2. //此方法引发Init事件,当服务器控件初始化是发生。
  3. {
  4.  初始化控件方法()
  5.  base.OnInit(e);
  6. }
  7. private void初始化控件方法();
  8. {
  9.  this.控件名.Click+=new EventHandler(控件事件响应方法);
  10. }

上面两个方法的加入,我们可以看到,只要我们在后台代码中加入初始化控件的方法,就可以将对应的事件加入进去,而不用在HTML代码中加入事件引用了。同样,我们将常用的Page_Load事件也可以实现

只要加入:

  1. Private void Page_Load(object sender,System.EventArgs e)
  2. {
  3.  代码;
  4. }
  5. private void初始化控件方法();
  6. {
  7.  this.控件名.Click+=new System.EventHandler(控件事件响应方法);
  8.  this.Load+=new System.EventHandler(this.Page_Load);
  9. }

EventHandler:是表示将处理不包含事件数据的事件的方法。

控件事件响应方法只要符合:方法名(object sender,System.EventArgs e)就可以。

ASP.NET代码分离目前存在的问题:

1. 如何保持美工所作的效果不因使用了Web控件而受影响。

2. 多人在做同一个网页的时候,只能通过合并cs文件的方法来集成后台代码。不利于代码的维护。

ASP.NET代码分离在网站建设中的作用我们就先介绍到这里,希望对你有所帮助。

【编辑推荐】

  1. ASP.NET数据验证控件使用浅析
  2. ASP.NET数据验证五大常用控件浅析
  3. 有关ASP.NET代码分离的一些讨论
  4. ASP.NET代码分离使用的一点体会
  5. ASP.NET数据验证技术研究详解
【责任编辑:李彦光 TEL:(010)68476606】
Posted in 计算机与 Internet | Leave a comment

遗忘

有些事情想忘却忘不掉,

有些不该忘记的事情却想不起。。。

Posted in Uncategorized | Leave a comment

JOSEStop Following Follow JOSE These websites have thousands of video lectures from the world’s top scholars. Excellent resource for all mayors and much more.

好东西不容错过。

http://Academicearth.org

http://ocw.mit.edu/OcwWeb/web/courses/av/index.htm

http://worldlibrary.net/Collections.htm

500,000 pdf *

http://freevideolectures.com/

http://videolectures.net/

http://lecturefox.com

http://www.ted.com/


http://www.youtube.com/user/Harvard

http://www.youtube.com/user/stanforduniversity

http://www.youtube.com/user/uctelevision

http://www.youtube.com/user/ncstate

http://www.youtube.com/user/carnegiemellonu

http://www.youtube.com/user/georgiatech

http://www.youtube.com/user/UniversityofMinn

http://www.youtube.com/user/pennstate

http://www.youtube.com/user/wesleyan

http://scholarspot.com/

http://www.varsitynotes.com/

http://www.learnerstv.com/

In
2001 MIT posted the content of some 2000 classes on the web, called
OpenCoueseWare. All courses online are free and available to all.

http://OCW.ND.edu



Courses include detailed lecture notes, a calendar of teading assigned for each class and a description of major assignments.

http://OCW.Tufts.edu



Offers student-made documentaries about social issues as well as a list of weekly readings.

http://iTunes.Stanford.edu



Professors Martin Evans and Marsh McCall lecture on great works by Virgil to Voltaire.

http://iTunes.Berkeley.edu



Berkeley’s lectures online

http://WebCast.Berkeley.edu



alternate site of Berkeley’s lectures.

tv.com/

http://oedb.org/library/features/236-open-courseware-collections

http://www.careervoyages.gov/education-videos.cfm

http://www.sba.gov/tools/audiovideo/deliveringsuccess/index.html

http://www.sba.gov/training/index.html

http://www.sba.gov/tools/audiovideo/Podcasts/index.html

http://www.openculture.com/2007/07/freeonlinecourses.html

http://www.videomd.com/featured_videos.aspx

http://www.freesciencelectures.com/

http://streaming.discoveryeducation.com/

http://education.usgs.gov/common/video_animation.htm

http://www.nachi.org/advancedcourses.htm

http://education-portal.com/video_library/index.html

http://www.serve.org/nche/ibt/aw_video.php

http://www.practisinc.com/interactive/patient-education-videos.php

http://www.teachers.tv/

A list of Educational videos an more..

http://www.ovguide.com/education.html


http://www.ocwconsortium.org/use/use-dynamic.html

An OpenCourseWare is a free and open digital publication of high
quality educational materials, organized as courses. The OpenCourseWare
Consortium is a collaboration of more than 200 higher education
institutions and associated organizations from around the world
creating a broad and deep body of open educational content using a
shared model.

http://www.oercommons.org/

In a brave new world of learning, OER content is made free to use
or share, and in some cases, to change and share again, made possible
through licensing, so that both teachers and learners can share what
they know.

http://www.schoox.com/

In schooX you can find free online courses in a wide range of
subjects. Over 500 online courses, which are soon to reach 2000, are
already free available under a Creative Commons license.

http://selfmadescholar.com/b/self-education-resource-list/

The internet is an invaluable resource to self-educated learners.
Below is a list of some of the most helpful sites out there including
opencourseware materials, free libraries, learning communities,
educational tools, and more.

http://www.missiontolearn.com/2009/12/learn-foreign-language-online/

Reading from a textbook isn’t the only way to learn a foreign
language. The web offers a number of free tools that can be used to
enhance the learning experience inside and outside the classroom. Here
are 15 language learning tools to try today:

http://www.rfid4u.com/services/freeelearning.asp

RFID Basics Course

This course helps learners to understand the fundamentals of RFID
technology and provides an overview of RFID hardware including
different types of tags, tag frequencies, readers, antennas, and so on.

http://www.4shared.com/dir/25834616/400fbf67/sharing.html

For those wanting to make a little money on the side

Subscribe

http://www.fusioncash.net/?ref=joeveloz

http://moneymaking777.blogspot.com/

http://www.getvouchersforfree.com?join=273

http://www.textbroker.com/

https://www.mturk.com/mturk/welcome

For
those that are unemployed, here is a list of websites that you will
like. Be wise and use your time productively. Good luck!

http://cashflow777.weebly.com/higher-education.html



Signups make money on the side.

http://cashflow777.weebly.com/



Need a smile?

http://cashflow777.weebly.com/smile.html

For those that have a blog or a website,make money $$$ Become an Affiliate:

Affiliate Marketing for Publishers

These days a Publisher can be any type of Web site from a well known
destination that offers consumers a range of shopping opportunities to
a blogger that’s just beginning to attract an audience. Regardless of
what type of site you have in mind (or already have in place!) as you
build a loyal following you have an opportunity to monetize your Web
site and start earning commissions!
Also called an affiliate, a publisher displays ads, text links, or
product links from an advertiser in return for a commission when a sale
is made or when a lead is acquired. The sale can also be tied to a
specific action such as filling out a form or downloading a trial.
LinkShare facilitates relationships between publishers and advertisers
by providing the underlying technology that manages links, tracks
results and commissions, and sends payments..

If you qualify you will be promoting links to Top 500 Companies and others

Subscribe press the link below

https://cli.linksynergy.com/cli/publisher/registration/registration.php?offerid=7097&mid=560&siteID=kRKp6OTL/5Y-xOzIhiqjC1uv4C6WrVimKw&+

Signups make money on the side

http://cashflow777.weebly.com



Education

http://cashflow777.weebly.com/higher-education.html

Great deal

$115

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=320528788318&ssPageName=STRK:MESELX:IT#ht_1396wt_1163

http://www.capital777.com/microsoft-office-2007.html

Need a smile?

http://cashflow777.weebly.com/smile.html

http://cashflow777.weebly.com/amazing.html

http://cashflow777.weebly.com

Has recently been updated..

Try this likewise…

http://www.meetup.com/


A small library… Your all welcome to download whatever you want.

http://www.4shared.com/dir/25834616/400fbf67/sharing.html

I highly recommend this website

http://www.stumbleupon.com

This is my Profile

http://www.stumbleupon.com/stumbler/eternalny/reviews/

StumbleUpon helps you discover and share great websites. As you click
Stumble!, we deliver high-quality pages matched to your personal
preferences. These pages have been explicitly recommended by your
friends or one of 8 million+ other websurfers with interests similar to
you. Rating these sites you like () automatically shares them with
like-minded people – and helps you discover great sites your friends
recommend.

How Does it Work?

StumbleUpon uses / ratings to form collaborative opinions on
website quality. When you stumble, you will only see pages that friends
and like-minded stumblers () have recommended. This helps you discover
great content you probably wouldn’t find using a search engine.

Searching vs. Stumbling:

Using search engines to locate relevant content typically means
hunting through pages of results. Rather than searching for quality web
sites, StumbleUpon members are taken directly to web sites matching
their personal interests and preferences.

Combats Information Overload:

Information on the Internet changes rapidly. StumbleUpon is a
dynamic approach to keep on top of this ever-evolving pool of
knowledge. StumbleUpon filters through the vast amount of information
on the web to direct Stumblers to high quality web sites which are
relevant to their personal interests. An obscure but interesting site
can be immediately shared with other like-minded users. Old or
low-quality sites can be removed if their ratings become too low. The
participation of community members helps maintain a database of the
most up-to-date and highest quality sites possible.

People-Driven Technology:

Using a combination of human opinions and machine learning to
immediately deliver relevant content, StumbleUpon presents only web
sites that have been suggested by other like-minded Stumblers. Each
time the ‘Stumble’ button is clicked, the user is presented with a high
quality web site based on the collective opinions of other like-minded
web surfers.

Easy, Community-based surfing:

The StumbleUpon Toolbar is integrated with the user’s browser to
allow for one-click access to quality web sites. A simple 2-level
rating system gives users the opportunity to pass on or give their
opinion on any webpage with a single click. These ratings also connect
people sharing unique combinations of interests. Stumblers share their
favorite web sites and interact with other users to further improve
their web surfing experience.

A Personalized Browsing Tool:

StumbleUpon offers nearly 500 topics which users may choose to
indicate their interests and preferences so each Stumble produces only
the most relevant content. StumbleUpon delivers increasingly relevant
content as the Toolbar learns what the user has liked in the past and
continues to present quality web sites in the future.

Tools

http://us.smetoolkit.org/us/en

Your welcome

Templates

http://www.mplans.com/sample_marketing_plans.php

http://www.bplans.com/sample_business_plans.cfm

http://www.score.org/template_gallery.html

http://isb.wa.gov/pmframework/templates.aspx

We all need a laugh here and there, for those that want or have a need to relax I highly suggest these Videos.

http://cashflow777.weebly.com/smile.html

http://cashflow777.weebly.com/smile-part-3.html

http://cashflow777.weebly.com/funny-part-2.html

http://cashflow777.weebly.com/funny-part-3.html

http://cashflow777.weebly.com/funny-part-4.html

http://cashflow777.weebly.com/funny-part-5.html

Useful links

http://www.google.com/mobile/products/sms.html#p=default

http://www.rentometer.com/

http://www.rememberthemilk.com/

http://www.ohchr.org/EN/Pages/WelcomePage.aspx

http://www.philfilms.utm.edu/

http://themis.asu.edu/

http://www.wikihow.com/Get-Six-Pack-Abs

http://shareitfitness.wordpress.com/2010/05/14/250lbs-woman-vs-120lbs-woman/

http://www.flvs.net/Pages/default.aspx

Great Game

http://chir.ag/stuff/sand/

http://www.microsoft.com/games/en-US/index.aspx

http://www.nppl.com/

http://www.networkrockstarchallenge.com/

http://science.nasa.gov/

http://www.noao.edu/

http://spaceyourface.nasa.gov/

http://www.libraryspot.com/

http://mappinghistory.uoregon.edu/

http://www.thomas.gov/

http://personalrobotics.stanford.edu/

http://library.lawschool.cornell.edu

http://www.uee.ucla.edu

http://www.nia.nih.gov/

http://ninite.com/

http://preyproject.com/

http://www.openrise.com/lab/FlowerPower/

http://www.yourpassporttothesun.com/

http://www.socialengine.net/

http://www.online-convert.com/

http://blogof.francescomugnai.com/2010/04/the-8-worlds-most-prominent-hyper-realist-sculptors

http://www.yankodesign.com/2010/05/25/in-2020-we-can-wear-sony-computers-on-our-wrist/

http://www.romancortes.com/ficheros/dancing-typography.html

http://www.mapsofwar.com/library.html

Posted in 计算机与 Internet | Leave a comment

how to find/display MAC address for Nokia 5800

how to find/display MAC address of the WLAN for Nokia 5800. when
setup WLAN for Nokia 5800, if you use MAC address filtering on your
router, you need to enter MAC address of the phone. there are two ways
to display MAC address for Nokia 5800.

Firstly find a router that you have control over like a DLINK or
something like that. Next configure your NOKIA 5800 PHONE to connect to
the router and check it’s assigned IP address from the router. Leave it
connected. then open a command window on your Windows PC and ping the IP address. Enter command ‘arp -a’ will show you the MAC address.

another simple way to find MAC address for Nokia 5800 is to “dial” *#62209526# (mnemonic: *#MAC WLAN#)) to have it displayed.

Posted in 计算机与 Internet | Leave a comment

Solving VBS Error ’800a01ad’ on CreateObject in ASP/IIS

This is a particularly painful error message to track down.  I can only recommend following some steps, in the hope that one of them solves the problem.

    You may encounter this error message in your ASP code,

VBScript Runtime Error: ’800a01ad’
ActiveX component Can’t create object

    This typically occurs on lines where you’re attempting to open a connection through ADO.

Set Conn=CreateObject("ADODB.Connection")

    With MS Tech Support’s help, this error message was resolved by following these steps.

  • Make sure you have MDAC 2.x installed.

  • Register \program files\common files\System\MSADO15.dll with RegSvr32.

  • Make sure IUSR_<Server> AND IWAM_<Server> accounts both have Read/Execute NTFS rights on the following folders cascaded down.
        – \program files\common files\System
        – \Winnt
        – \InetPub\WWWRoot

  • Open Console and make sure that there’s a valid IP Address in "Default Web
    Site
    "’s Properties.  If the permissions were messed up before and you opened
    Console, it’s likely that the IP would change to "All Unassigned".

  • Reboot server.  Don’t assume that stopping/starting the service will work
    correctly.

Posted in 计算机与 Internet | Leave a comment

在64位服务器上执行.Net 程序可能遇到的问题及处理对策 (web24.com.au)

我们编写的.Net程序如果放到64位服务器上(例如:HP的安腾IA64芯片服务器),绝大部分功能应该都能正常运行,但是有的功能点可能会有问题,例如以下的错误:

1、
错误现象:

如果程序中用到excel数据导入,可能会有错误提示:OLE  DB  provider  ‘Microsoft.Jet.OLEDB.4.0′  has  not  been  registered


参考http://support.microsoft.com/default.aspx?scid=kb;zh-cn;239114,安装MDAC2.8 无效。安装windowsserver2003-kb829558-x86-enu.exe,结果无法安装,提示hardware platform 不匹配。

2、
原因分析及对策:

目前没有Microsoft Jet 4.0的64位版本,所以,如果在64服务器上要运行此数据库连接提供者,有两种类型:

(1)
对于windows桌面应用,只要在Vs.net2005种重新编译程序,配置为x86

 
在64位服务器上执行如下命令:

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

其中:%SYSTEMDRIVE%为adsutil.vbs文件所在盘符,如:c:

Ø
在64位服务器上执行如下命令:

%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe –i

%SYSTEMROOT%指向实际文件路径,如下图所示

Ø
在IIS的Web Service Extensions中开启32位asp.net的支持。

Posted in Uncategorized | Leave a comment