Saturday

Best Google I-O 2012

Google I - O 2012 - Android Design for Success
Google I - O 2012 - Building Android Applications that Use Web APIs
Google I - O 2012 - Building Mobile App Engine Backends for Android, iOS and the Web
Google I - O 2012 - From Weekend Hack to Funded Startup - How to Build Your Team and Raise Money
Google I - O 2012 - Go Concurrency Patterns
Google I - O 2012 - Go in Production
Google I - O 2012 - Google Cloud Messaging for Android
Google I - O 2012 - Managing Google Compute Engine Virtual Machines Through Google App Engine
Google I - O 2012 - Meet the Go Team
Google I - O 2012 - Navigation in Android
Google I - O 2012 - New Low-Level Media APIs in Android
Google I - O 2012 - SQL vs NoSQL - Battle of the Backends
Google I - O 2012 - Whats Possible with the Google Drive SDK
Google I - O 2012 - Writing Efficient Drive Apps for Android
Google I - O 2012 - Building High Performance Mobile Web Applications
Google I - O 2012 - Making Good Apps Great More Advanced Topics for Expert Android Developers
Google I - O 2012 - Multi-Versioning Android User Interfaces
Google I - O 2012 - The Sensitive Side of Android
Google I - O 2012 - For Butter or Worse Smoothing Out Performance in Android UIs
Google I - O 2012 - Getting the Most Out of Python 2.7 on App Engine
Google I - O 2012 - Introducing Google Compute Engine
Google I - O 2012 - Security and Privacy in Android Apps


Tuesday

jquery mobile caching issue resolved

below is set of scripts I added to page header to resolve jquery mobile caching issue
       


<!DOCTYPE html>
<html>
<head runat="server">
<meta charset="utf-8">
<title>Personal Info</title>
<link href="mobile.css" rel="stylesheet" type="text/css"/>

<link href="jquery.mobile.theme-1.0.min.css" rel="stylesheet" type="text/css"/>
<link href="jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css"/>
<script src="jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="jquery.mobile-1.0.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).bind("mobileinit", function () {
$.mobile.ajaxEnabled = false;
});

$("#form1").submit(function(){
$.mobile.changePage({
url: "PersonalInfo.aspx",
type: "post",
data: $("form#form1").serialize()
}, "pop", false, false);
}
return false;
});

</script>
</head> <body> <form id="form1" runat="server"> ...

Monday

asp.net jquery mobile grid


<asp:Panel ID="pnlResult" runat="server" >
<asp:Repeater ID="lstMMembership" runat="server">

<HeaderTemplate>
<div class="ui-grid-d">

<div class="ui-bar ui-bar-b">

<div class="ui-block-a"><%=loc("plHLastName")%></div>
<div class="ui-block-b"><%=loc("plHFirstName")%></div>
<div class="ui-block-c"><%=loc("plHDateOfBirth")%></div>
<div class="ui-block-d"> </div>
<div class="ui-block-e"> </div>

</div>

</HeaderTemplate>

<FooterTemplate>
</div>
</FooterTemplate>

<ItemTemplate>
<div class="ui-bar ui-bar-c">
<div class="ui-block-a"> <%#DataBinder.Eval(Container.DataItem, "LastName")%> </div>
<div class="ui-block-b"><%#DataBinder.Eval(Container.DataItem, "FirstName")%> </div>
<div class="ui-block-c"><%#DateToString(DataBinder.Eval(Container.DataItem, "DateOfBirth"))%> </div>
<div class="ui-block-d"> <a href='PersonalInfo.aspx?i=<%#DataBinder.Eval(Container.DataItem, "MembershipNumber")%>' data-role="button"><img src='pencil32.png' /></a></div>
<div class="ui-block-e"> <a href='PersonalInfo.aspx?i=<%#DataBinder.Eval(Container.DataItem, "MembershipNumber")%>' data-role="button"><img src='bargraph32.png' /></a></div>
</div>



</ItemTemplate>

</asp:Repeater>

toledo weights vb6 code


Public Shared STX = Chr(2)' ascii start of text
Public Shared CR = Chr(13) 'ascii Carriage Return

Private Function get_lbs() As String
Dim buffer As New StringBuilder()
Dim comPort As New SerialPort("COM1", 9600, Parity.None, 8, StopBits.One)

comPort.Open()
comPort.Write(STX)
mytimer(1)
comPort.Write("P")
mytimer(1)
comPort.Write(CR)
mytimer(1)
Dim line As String = comPort.ReadExisting
comPort.Close()
Return isnum(Trim(line))

End Function

test smtp server with powershell

Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...