Wednesday, August 31, 2016

Download Portal 2 Live Wallpaper

,


Portal 2 Live Wallpaper featuring
an animated Wheatley, that follows
you around.
Portal 2 Live Wallpaper brings the
Portal 2 feeling to your home
screen . It features a custom made
Portal 2 background and an
animated Wheatley who follows you
around.
Tap Wheatley to make him go away,
and tap an empty area of your
home screen to bring him back.
How to use :
Long click your home screen – >
Choose Wallpapers – > Choose
Animated Wallpapers -> Choose
Portal Live Wallpaper -> Enjoy!
Troubleshooting:
If the wallpaper gets stuck or
Wheatley does not appear , try the
following:
1 . Re- apply the wallpaper .
2 . Re- install the wallpaper.
3 . Restart phone .
( This problem can be caused by
custom roms or custom launchers !)
Download
Read more

Tuesday, August 30, 2016

Googler Shumin Zhai awarded with the ACM UIST Lasting Impact Award

,


Recently, at the 27th ACM User Interface Software and Technology Symposium (UIST’14), Google Senior Research Scientist Shumin Zhai and University of Cambridge Lecturer Per Ola Kristensson received the 2014 Lasting Impact Award for their seminal paper SHARK2: a large vocabulary shorthand writing system for pen-based computers. Most simply put, this is one of those rare works that is responsible for fundamental and lasting advances in the industry, and is the basis for the rapidly growing number of keyboards that use gesture typing, including products such as ShapeWriter, Swype, SwiftKey, SlideIT, TouchPal, and Google Keyboard.

First presented 10 years ago at UIST’04, Shumin and Per Ola’s paper is a pioneering work on word-gesture keyboard interaction that described the architecture, algorithms and interfaces of a high-capacity multi-channel gesture recognition system-SHARK2. SHARK2 increased recognition accuracy and relaxed precision requirements by using the shape and location of gestures in addition to context based language models. In doing so, Shumin and Per Ola delivered a paradigm of touch screen gesture typing as an efficient method for text entry that has continued to drive the development of mobile text entry across the industry.
"Awarded for its scientific contribution of algorithms, insights, and user interface considerations essential to the practical realization of large-vocabulary shape-writing systems for graphical keyboards, laying the groundwork for new research, industrial applications, and widespread user benefit."
Prior to joining Google in 2011, Shumin worked at the IBM Almaden Research Center for 15 years, where he originated and led the SHARK project, further developing and refining it to include a low latency recognition engine that introduced the ability to accurately recognize a large vocabulary of words based upon the patterns (sokgraphs) drawn on a touchscreen device. SHARK and SHARK2 subsequently continued further development as ShapeWriter. During his tenure at IBM, Shumin additionally pursued a wide variety of HCI research areas including, but not limited to, studying the ease and efficiency of HCI interfaces, camera phone based motion sensing, and cross-device user experience.

At Google, Shumin has continued to inspire the Human-Computer Interaction research community, publishing prolifically and leading a group that incorporates HCI research, machine learning, statistical language modeling and mobile computing to advance the state of the art of text input for smart touchscreen keyboards. Building on his earlier work with SHARK/ShapeWriter, Gesture Typing is just one of the innovations that make things like typing messages on mobile device easier for hundreds of millions of people each day, and remains one of the most prominent features on Android keyboards.

Shumin has been highly active in academia during his career, as both visiting professor and lecturer at world-class universities, and is currently the Editor-in-Chief of ACM Transactions on Computer- Interaction, a Fellow of the ACM and a Member of the CHI Academy. We’re proud to congratulate Shumin and Per Ola on receiving one of the most prestigious honors in the Human-Computer Interaction (HCI) research community, and look forward to their future contributions.
Read more

Best office apps my apologie for last week

,

Well as title says today I will show you top 10 office apps. It will be two PowerPoint replacement and 8 Microsoft office apps. Today you will see all kinds of app; from fully featured and almost the same as Microsofts office ones to lightweight nice looking ones so everyone can pick its own favourite and 

1. Polaris office


It is an app that comes preloaded on most of android smartphones and tablets. It gathers "Notes, Exelc, Word and PwerPoint" in one app. You get every basic future from Microsoft Office so you dont have to worry but for all power users that need a lot of different photo effects or maybe animations in PowerPoint this is not the best option. Well what I really like is couple of awesome templates for "Word" but especially ones for "PowerPoint".

Download for free

2. CloudOn

This is my personal favourite because basically what it does is bring whole Microsoft Office from PC to your Android. It also saves every project to cloud so you can get where ever you are. Just how I said it brings you fully futured Microsoft office, from UI to functions. Only downside is that you have to be online to use it.

Download for free 

3. Google drive

Is an app made by google that is firstly a cloud with 5GB of storage for free and option to upgrade but it also brings Word, Excel and PowerPoint with a lot nicer and simpler UI that I likes. Well what else to say if you want an awesome looking app with bunch of cloud storage and pretty basic but also nice looking UI this is must have for you.

Download for free 

4. Deck slideshow

This is the most awesome PowerPoint/slides editor and maker. If anyone is familiar with Prezi ,for me the best PowerPoint competitor. Well its something like that. Lot of cool templates with awesome animations. It good if you have to make a project for school or make presentation that has to make people become interested in your topic. But there is one problem, just some of templates are unlocked whilefor the others you have to pay.

Download for free

5. IncStage presenter

This is another awesome PowerPoint/Slides maker. It is fully futured PowerPoint replacement. It offers even more than PowerPoint and it is packed in easy to use interface. It is intended to make your presentations sharable. You can share your creations to almost everything you want. You can also export your presentation like Jpeg, OWG, PPT or PDF.

Buy $6,15      

Dowload:    paid version for free 

6. QuickOffice

After CloudOn this is most futured office app in Play Store. As Ive said in description of CloudOn this is for every user that wants to have 3D photos, all cool animations and much more. And one thing to notice you dont have to be online to use it. But here we have one downside too; it is complicated. I used it for a week and Ive spent 45min just to find where are all futures "hidden".

Buy $19,99

Download:    paid version for free

Other office apps

These 4 apps are mostly the same as "Polaris Office" but with different UI and awesome templates. Why have I put them if they are the same as polaris office.  Well thats simple; as I mentioned they are mostly the same but not everyone likes how Polaris looks like so these apps are replacement or lets say same thing but in different package and because of that for every app I will provide a couple of screenshots so you can pick best looking one. 

1. Kingston office

There is just two things to mention: It is more simple and easier to use and it has 2 or 3 widgets that will improve your productivity.
 

Download for free

2. ThinkFree office

Same thing with more realistic UI . It has leather background with realistic pockets to "hold" your documents.
     

Buy $8,17

Download:    paid version for free

3. Smart Office 2

This is more colorful and a lot funnier way of using office. 
 
Buy $9,26 
Download:    free version          paid version for free

4. OfficeSuite

This is styled office app that futures black background and minimalistic look.

Buy: $14.99               

Download:    free version          paid version for free


My apologie

well, everyone that reads my blog constantly i am sorry because not posting anything last week. i wasnt at home and i couldnt make those posts so i will post them this week an once again i am sorry
Read more

Updated trick for enabling Folder option

,
Many times Windows users face a common problem. The “Folder Options” in “Tools” menu is not visible. Even It can’t be accessed from Control Panel. Also “Registry Editor” is disabled.
Follow the simple steps mentioned in this tutorial and your problem will be solved:

1. If Folder Options is disabled but Registry Editor is still working in your system, then you can enable Folder Options by editing Windows Registry.
Type regedit in RUN dialog box and press Enter.
it’ll open Registry Editor, now go to following keys:
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrent VersionPoliciesExplorerHKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrent VersionPoliciesExplorer
In right-side pane, check whether a DWORD value named NoFolderOptions exists or not? If it exists, delete it.

2. If you are not familiar with editing the registry, then you can simply download following file, extract it and then run the .REG file:
Folder_option.zip

................................................................................................................
If u cant run regedit ....
Seems like your system is infected with a virus. Pls follow following link:
http://www.askvg.com/is-your-system-infected-with-a-virus-spyware-adware-trojan/

..................................................................................................................
Some ppl find that "show hidden files and folders" option ll not b enabled..
though enabled they cant c the hidden folders...
for that dont worry
--open RUN
--type regedit
--HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrent VersionExplorerAdvanced
And in right-side pane, change value of “Hidden” to 1 and refresh My Computer window and you’ll be able to see hidden files again
Read more

PowerShell v2 Function Remove FileSecurely Requires sDelete

,
To help deal with some requirements for an automation project we needed to come up with a way to securely (that means fully) remote data from the system.  We used to use Heidis Eraser, but, this program has proven to be ineffective according to auditors.  So, the Sysinternals sDelete utility was our next option.  I basically wrote the following function to remove files by wrapping sDelete to ensure the data was cleaned up.  From what I can tell sDelete simply overwrites the file space with random data, but, I could be wrong.  sDelete just ensures the actual space, not just the pointers to the used space, is overwritten.  This script assumes the sDelete.exe is located in C:Program FilesSysinternals directory, but, that can be overridden in the script, or, you can simply add the folder path to the file to your environmental variables.
function Remove-FileSecurely {

<#
.AUTHOR
Will Steele

.NOTES
Current version of sdelete has the following help:

SDelete - Secure Delete v1.51
Copyright (C) 1999-2005 Mark Russinovich
Sysinternals - www.sysinternals.com <http://www.sysinternals.com>

usage: C:program filessysinternalssdelete.exe [-p passes] [-s] [-q] <file or directory>
C:program filessysinternalssdelete.exe [-p passes] [-z|-c] [drive letter]
-c Zero free space (good for virtual disk optimization)
-p passes Specifies number of overwrite passes (default is 1)
-q Dont print errors (Quiet)
-s Recurse subdirectories
-z Clean free space

.LINKS
sDelete - http://technet.microsoft.com/en-us/sysinternals/bb897443

.EXAMPLE
md C: est
1..100 | % { dir > C: est$_.txt }
Get-ChildItem C: est*.txt | `
% { Remove-FileSecurely -Name $_ -Passes 10 -LogFormat "HH:mm:ss" -Verbose }
#>

[CmdletBinding()]
param(
[Parameter(
Mandatory = $false,
ValueFromPipeline = $true
)]
[String[]]
$Name,

[Parameter(
Mandatory = $false
)]
[ValidateScript({Test-Path $_})]
$sdeletePath = "C:Program FilesSysinternalssdelete.exe",

[Parameter(
Mandatory = $false
)]
[ValidateScript({$_ -ge 0})]
[Int]
$Passes = 1,

[Parameter(
Mandatory = $false
)]
$LogFormat = "yyyy-MM-dd HH:mm:ss"
)

function Write-TimeStamp
{
Get-Date -Format $LogFormat
}

foreach($item in $name)
{
if(Test-Path -Path $item)
{
# Test to see if item is a directory
if($item.PSIsContainer)
{
Write-Verbose "$(Write-TimeStamp): $item is a directory. Skipping."
}

# Assumes item is a file
else
{
. $sdeletePath -p $Passes $item | Out-NullTo
if(Test-Path $item)
{
Write-Verbose "$(Write-TimeStamp): $item was not deleted."
}
else
{
Write-Verbose "$(Write-TimeStamp): $item was deleted."
}
}
}
}
}
Read more

Why Watson and Siri Are Not Real AI

,

A recent article from Popular Mechanics 
raises the common argument that what people call AI actually isnt AI. This argument is based on John Searles Chinese Room thought experiment in which he clearly demonstrates that computers just manipulate symbols. They do not, cannot, ane never will understand what those symbols mean. However, Alan Turing, the father of AI, never claimed that machines would understand. His test for machine intelligence, now called the Turing Test, he originally called "the imitation game." He envisaged that computers would "imitate" intelligence not be intelligent in the sense that we are. Read the Popuar Mechanics article but keep this in mind - its ok for computers to imitate intelligence using different techiques to people just as its ok for planes to fly without flapping their wings like birds.




from The Universal Machine http://universal-machine.blogspot.com/

IFTTT

Put the internet to work for you.

via Personal Recipe 895909

Read more

Monday, August 29, 2016

Using the Google Voice C API

,
First of all, this obviously isnt an official Google API. I wrote it because I wanted one in C++ and couldnt find one that worked.

That being said, the code is on github here (in the TextCommand folder) and is available under GPLv3 for anyone to use.
I know this could (maybe even should) have its own github project but since I use it for my home automation projects, its included in the PiAUISuite. That being said, the current gvapi binary is also compiled for the Pi. So you will need to run make gvapi if you want to use it on any other linux machine.

To include the C++ code in your own project, you just need to include gvoice.h in your file and then you should be able to access the GoogleVoice class. An excellent example to look at is gvapi.cpp since it shows how to interact with it. You should need only to call Init and Login, then you should be able to do any of the Google voice functions.

If you only to use gtextcommand to send commands to your pi, see here. If you want to send or check SMS without having to include the source in your code/project, just use the gvapi program. It can get contacts, send, receive, and delete SMS. It also comes in with built in spoof protection (this is included in GoogleVoice::CheckSMS).

Heres a quick video demo as an example of the kinds of things you can do with gvapi


Using the gvapi program is fairly simple and its man page is below:


gvapi


gvapi - Use of Google voice API in order to send and receive SMS  

SYNOPSIS

gvapi [OPTIONS]...  

DESCRIPTION

gvapi was compiled for use with home automation on the Raspberry Pi but will work on any linux system with an internet connection. It uses curl and boost regex in order to login and stores the cookie in /dev/shm. It only logs in once every 24 hours to save time. It supports a multitude of different options and parameters. For help/comments/questions, feel free to e-mail me at help@stevenhickson.com. I answer sporadically but do eventually respond.
 

OPTIONS

-?
Same as -h
-c
Checks your incoming text messages to see if you have anything unread. It will mark it whatever it outputs as read unless you also use the -r flag. If you include a number with the -n flag, you can specify it to only check messages received from that number. You can also use the -k flag to specify that the message must start with a certain keyword.
-d
Sets debug mode on. You can also specify debug mode from 1 - 3, where 3 is the most verbose.
Ex: gvapi -c -d2
-h
Asks for some quick general use help for gvapi.
-i
Outputs the contacts of your google voice account in the form name==number
-k KEYWORD
Sets a keyword that has to be in the beginning of the text message for it to be returned. This is useful as a password for parsing only certain messages.
-m MESSAGE
Sends the message you specify. This should be in quotes if it contains special characters or a space. The number also has to be specified otherwise it wont have a message to send
Ex: gvapi -n +15551234 -m Hello
-n NUMBER
Can be used with the -c flag to check messages from a certain number or the -m flag to send a message. Can be in a format without the country code, with just the country code, or with a plus sign and the country code. If the formost, it interprets it as a US number.
Ex: gvapi -n 5551234 -c
-p PASSWORD
Can be used with the -u flag to log in manually. If not specified, the program uses the default username and password specified in ~/.gv
-r
Receives and deletes SMS messges. Can be used with the -c flag or without. It is the same as the -c flag but instead of just marking the messages as read. It deletes them.
-u USERNAME
Can be used with the -p flag to log in manually. See the -p flag for more details. Cannot be used without the -p flag.
-v
Outputs version and creater information

AUTHOR

Steven Hickson (help@stevenhickson.com)  

BUGS

No known bugs. To report bugs, send a clear description to help@stevenhickson.comSince this program is fairly crude, user typos could cause crashes/failed responses. Please read the man page thoroughly before submitting a bug.  

COPYRIGHT

Copyright © 2013 Steven Hickson. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it as long as you give credit to the author and include this license. There is NO WARRANTY, to the extent permitted by law.  

HISTORY

This is the second major version of this program  

SEE ALSO

http://stevenhickson.blogspot.com/

Consider donating to further my tinkering.


Places you can find me
Read more

PowerShell v2 Function Hide Folder

,
While working on a project I came up with a quick need to hide a folder, so, I wrote this canned function:
function Hide-Folder
{
      param(
            $foldername
      )
     
      if(Test-Path $foldername)
      {
            $(Get-Item $foldername).Attributes = Hidden
      }
      else
      {
            Write-Error "The folder ($($foldername)) was not found."
      }
}
The source of the .Attributes trick was:
 Get or set filedirectory attributes using Powershell
Read more

Sunday, August 28, 2016

The Tears of Donald Knuth

,

Happy New Year. I hope you all had a good festive season. Ill start this years blog with a link to a fascinating article on the history of computer science by Thomas Haigh in the Communications of the ACM titled "The Tears of Donald Knuth" brought to my attention by colleague Bob Doran. This interesting piece puts forward a very cogent argument as to why there is so little written about the history of computer science - basically you cant make a career at it; computer science histories are therefore mostly written by CS academics as a hobby in their spare time, not by trained historians. You can read the full article here.

from The Universal Machine http://universal-machine.blogspot.com/

IFTTT

Put the internet to work for you.

Turn off or edit this Recipe

Read more

This day in history the first tweet

,

On March 21 2006 Jack Dorsey sent the very first tweet. Like many tweets not especially informative and presumable Jack didnt have many, if any, followers. Twitter was opened to the public that July and had its first major success at the South by Southwest (SXSW) conference in 2007, shortly after it had been made into a company. And the rest< as they say, is history. You can follow me and this blog @driwatson

from The Universal Machine http://universal-machine.blogspot.com/

IFTTT

Put the internet to work for you.

via Personal Recipe 895909

Read more

Mole Word 1 0 2

,
Mole Word 1.0.2 apk android
Tags: mole word game, mole word problems, mole word android, mole word apk, mole word game online free, mole word game online, mole word search, mole word meaning, mole word for pc


No more boring word games! Discover words, beat the clock, unlock the vault, collect gems, and uncover the top-secret Mole Word! the new version!

Mole Word is the fun, fast-paced word game for all ages thats easy to pick up, but impossible to put down!

Form words from letters anywhere on the game board to unlock the vault and collect the treasure! But uh-oh, It looks like youve got a mole in your midst! Watch out for Shades the Spy Mole as he tries to put a hole in your plan and steal the treasure for himself!

Earn huge bonuses by using power-ups and making big words! Collect confidential briefcases to uncover the top-secret "Mole Word!"
Mole Word is the ONLY Complete & Professional Quality mole-themed word game on the App Store!

Features:
• Fun, fast-pace gameplay
• Cool power-ups
• Two game modes: Timed and causal play
• Uncover the secret "Mole Word" for a huge point bonus!
• 5 beautifully hand drawn levels
• Fast app resume - stop playing anytime and pick up right where you left off!

Read more

B Sc IT Mumbai subjects with electives

,
Hi! Those who have just passed std 12th from Science Stream and wondering what next. B.Sc IT (Bachelor of Science in Information Technology) in one of the best option you can go for. In India, Bachelor of Science in Information Technology is a 3 year course alone with Bachelor of Information Science, this degree is completely different from normal B.Sc.
A candidate for being eligible for admission to the degree course in Information Technology must have passed the H.S.C Examination of the Maharashtra Board of Higher Secondary Education or its equivalent and secured not less than 45% marks in the aggregate.

Below are the subjects offered in this course along with the electives.

Read more

Angry Birds For Android

,
Use the unique powers of the Angry Birds to destroy the greedy pigs fortresses!
The survival of the Angry Birds is at stake. Dish out revenge on the greedy pigs who stole their eggs. Use the unique powers of each bird to destroy the pigs’ fortresses. Angry Birds features challenging physics-based gameplay and hours of replay value. Each of the 270 levels requires logic, skill, and force to solve.
Angry Birds is back with a brand new underground episode: Mine and Dine! With a bottomless appetite, the bad piggies have burrowed deep in underground caverns to hide the eggs they stole from you. Use the landscape and geology to your advantage to chase the pigs out of their hiding holes, gather rare gems, and retrieve the eggs!





Read more

Saturday, August 27, 2016

PowerShell v3 in a Year Day 8 about Split

,
I did not discover the Split operator for far too long in my workings with PowerShell. I had used similar things in Javascript, C#, Perl and VBScript, but, didnt know about this one. Man, was I missing the boat. In PowerShell, the general syntax is to place whatever you want to split on the left hand side of the operator, the -split operator in the middle and the delimiter on the right hand side of the operator as below:

"Lastname:FirstName:Address"-split "(:)" 
When you run this it returns five values:

Lastname
:
FirstName
:
Address 
The delimited is a character (or characters) that identify the end of the substring. The default is whitespace, which includes spaces and control characters, such as new line (`n) and tab (`t). Normally, the delimiter is omitted from the result set. To preserve part (or all) of it, enclose the part you want to retain in parentheses.

For example, here is an instance where the delimiter is omitted:
test1234test1234test123 -split test
Note that I am using a multi-character delimiter. It is good to be aware that you are not limited to single-character delimiters. This outputs the following:

1234
1234
123
Now, here is an example of where you retain the delimiter, test, by placing it in quotes:
 test1234test1234test123 -split (test)
and its output:

test
1234
test
1234
test
123
 NOTE: When providing an initial definition for -split I said, "In PowerShell, the general syntax is to place whatever you want to split on the left hand side of the operator, the -split operator in the middle and the delimiter on the right hand side of the operator". What I want to emphasize here is the condition in general. The operator has a second use where you can specify the maximum number of substrings after the delimiter.

For example, taking our previous example, let us say we only wanted three substrings for a space-delimited list of letters, a b c d e f, how would we do that in PowerShell? Like this,
a b c d e f -split ,3
When you run this in PowerShell it returns this:
a
b
c de f
What is happening is PowerShell tokenizes the string, and, pops 1 (a), 2(b) and 3 (c d e f) character groups for the result. This is useful when you need to have a fixed number of results but cant control the input. Note that values of 0 or negative integers will return the full, original substring.

One interesting use of the right hand side of the operator is to pass to it script blocks. For example, taking one straight from the help, we want to split if the character is an e or a p.
$c = "Mercury,Venus,Earth,Mars,Jupiter,Saturn,Uranus,Neptune"
$c -split{$_ -eq"e" -or$_ -eq"p"}
When it is run, it returns the following:
M
rcury,V
nus,Earth,Mars,Ju
it
r,Saturn,Uranus,N

tun
This can be very helpful if you have very specific conditions you need to meet, and/or criteria to match against. Additionally, you can perform dynamic analysis, i.e., calculations, with scriptblocks.

Another powerful aspect of the -split operator is its option set. At present there are two sets, each with a few suboptions, to pay attention to. I have included a list of these below.

  1. SimpleMatch: Use simple string comparison when evaluating the delimiter. Cannot be used with RegexMatch.
    1. IgnoreCase: Forces case-insensitive matching, even if the -cSplit operator is specified.
  2. RegexMatch: Use regular expression matching to evaluate the delimiter. This is the default behavior. Cannot be used with SimpleMatch.
    1. IgnoreCase: Forces case-insensitive matching, even if the -cSplit operator is specified.
    2. CultureInvariant: Ignores cultural differences in language when evaluting the delimiter. Valid only with RegexMatch.
    3. IgnorePatternWhitespace: Ignores unescaped whitespace and comments marked with the number sign (#). Valid only with RegexMatch.
    4. ExplicitCapture: Ignores non-named match groups so that only explicit capture groups are returned in the result list. Valid only with RegexMatch.
    5. SingleLine: Singleline mode recognizes only the start and end of strings. Valid only with RegexMatch. Singleline is the default.
    6. MultiLine: Multiline mode recognizes the start and end of lines and strings. Valid only with RegexMatch. Singleline is the default.
These rules are helpful when dealing with edge cases that require a little extra TLC to properly manage. The syntax for these is to include a third comma separate value after the max substring indicator. For example, the help examples provide a here string for which we use a regex with the multiline option. The here-string is:
$a = @
1The first line.
2The second line.
3The third of three lines.
@
The syntax for handling this with -Split looks like this:
 $a -split"^d",0, "multiline"
All we are trying to do with this regex is to return all substrings (with a maxsubstrings value of 0) and an option of "multiline". When it is run, it returns this:

The firstline.

The secondline.

The thirdof threelines.
The fourth key point about using -Split involves recognizing a difference between unary and binary splitting. Unary splitting, where there is no left hand side to the statement, has a higher precedence order than a binary split operator, where there are both left and right hand sides to a statement. To explain this, let us look at this example. For example, if we evaluate the following statement,
-split "1 2", "a b"
It returns this
1
2
 a b
Since my first exposure to -Split was the binary operator, this was a little confusing to me first. It seemed, in my initial understanding (binary operator only) you had to have both a Left Hand Side (LHS) and a Right Hand Side (RHS) to form a complete statement. For binary operation, this is true, but, not for unary operation.

As noted earlier, when PowerShell encounters a -Split operator, the first thing it will do is try to evaluate it as a unary operator where only a RHS is expected. If that fails, it will then fall through to the second condition, binary operation, and, PowerShell will then attempt to evaluation the statement as having both a LHS and a RHS. It is important to keep this in mind if you ever run into odd behavior with the -Split operator. Glance at your LHS and RHS to be sure they make sense and no lexical errors could be forcing the wrong mode (unary instead of binary or binary instead of unary) of operator to be evaluated.

When working with binary operators in particular, you can force a set of strings to be evaluated by wrapping them in parentheses on the RHS, such as,
(1 2, 3 4) -split ,
which evaluates to
1 2
3
Here are some other results. Splitting on nothing, (1 2, 3 4) -split , gives you,

1

2


How to display codes in blogger post

,
Display code in blogger postCode without border.

Display code in blogger postCode with border.

Have you ever tried to display codes in blogger. Many blog posts display codes. I always wonder how is this code displayed. After deep search with Google, I found the secret. In this post, i will share with you, how to display codes as it is in any of your post.

  • First of all copy your code and encode your code. Click here to do this.
  • After you click on encode button your code will be encoded. Copy the code.
  • Paste it in your post. Thats it.
  • If you want to add a border or put the code inside a box, Place the encoded code inside <fieldset style="border: 1px dotted ;>------your code------</fieldset> tag

Lets try one:
  • Go to Blogger >> Posting >> Create.
  • Copy the code : <data:blog.pageTitle/> </title> </b:if> or <data:blog.pageTitle/> </title>
  • Encode it.
  • To display code inside a box, paste the code inside this tag. <fieldset style="border: 1px dotted ;>------your code------</fieldset>
  • To display without box, simply paste it anywhere you want.
  • Try Clicking on Preview.

Happy Blogging.
Read more

How to Use Multiple Gtalk

,
Read more
 

Computer Info Copyright © 2016 -- Powered by Blogger