How to flush water heater?

Posted in Uncategorized | Leave a comment

How to use jQuery UI autocomplete

Here is an example:

Posted in Uncategorized | Leave a comment

Start to learn Swift and iOS development

My plan is to spend one hour every weekday for a year and let’s see what I learn. Today is day one and I learned something about how to use a function in NSString -enumerateLines. I know it accepts a block (a closure) and the closure has two parameters (line and stop). Here is an example as how to use it:


import Foundation

let str = "Hello, \r\nplayground\r\nSomething else"

str.enumerateLines { (line, _) in
print(line)
}

Posted in Swift & iOs | Leave a comment

Swift Features – According the the book “Swift for Programmers” (Prentice Hall)

Type inference
switch statement enhancement
Tuples
Closures(lambdas)
Optionals
Dictionary type
Array, String and Dictionary value types
Array bounds checking
Class-like struct and enum value types
Functions with multiple return values (via tuples)
Generics
Operator overloading
Overflow checking in integer calculations
String interpolation
Nested types
Nested functions

Posted in Swift & iOs | Leave a comment

Windows how to change password for a remote server if you rdp -> rdp to that server?

Press WindowsKey+R (or get the Run box open) – then type OSK (It will open ‘on-screen-keyboard in your remote-remote session). Or open on-screen-keyboard in different way.
Then press on your physical keyboard (not on that on screen!!) ctrl and alt keys. Using your mouse tick DEL key on ‘On-screen-keyboard’.

Posted in Uncategorized | Leave a comment

SharePoint custom form lost formatting

I don’t how it happened but you can fix it by adding disable-output-escaping=”yes” property to the “xsl:value-of” element.

 

Posted in Uncategorized | Leave a comment

Raspberry Pi- hot key to terminal

Use ctrl-alt-F1 to get to terminal

Posted in Uncategorized | Leave a comment

Excel file to big to be converted to Google sheet on Google Drive

Here is the solution:
“Just to confirm, are you trying to convert Microsoft Excel file to Google Docs or Google Sheets?

If you are converting it to a Google Sheets file, the maximum cells that can be used on Google Sheets is up to 2 million cells which includes the amount of blank cells on your spreadsheet. To optimize your spreadsheet, I would suggest to delete blank rows and columns. You can try using COUNTA() and COUNTBLANK(). This should add up all of the cells that are empty and non-empty if added together.

If possible, break the spreadsheet down into smaller sheets by having a master spreadsheet and referenced spreadsheets. You can use IMPORTRANGE() function to import cells from one spreadsheet to another.”

Posted in Uncategorized | Leave a comment

Raspberry Pi – how to show GPIO info

In terminal window, type:
gpio readall
And you can click the following link to see the image of GPIO:
https://pinout.xyz/

Posted in Uncategorized | Leave a comment

Sienna oil change due

At 33927

Posted in Uncategorized | Leave a comment