There are some situations while working in vim to add/delete/replace some keywords/lines based on matched pattern. Like remove ^M from a file and we explained various methods to do so.
User may face few other situations where they can use vim commands like %s or :g efficiently.
Find a pattern globally and delete the matched lines
Ex: Delete all lines which matches “No match” in a file
[vim]:%s/pattern//g
[/vim]
Or
[vim]:g/No match/d
[/vim]
Delete all blank lines from a file
[vim]:g/^$/d
[/vim]
Delete lines which have one or more spaces only
[vim]:g /^\s*$/d
[/vim]
or
[vim]:g!/\S/d or v/\S/d
[/vim]
Delete all lines which doesn’t match the pattern
Delete all lines except lines which have the ‘2013-10-29’ date format in the line
[vim]:g!/pattern/d
[/vim] or
[vim]:v/2013-10-29/d
[/vim]
Copy all lines matching a pattern to end of file.
[vim]:g/pattern/t$
[/vim]
Move all lines matching a pattern to end/top of file.
[vim]:g/pattern/m$
[/vim] or
[vim]:g/pattern/m0
[/vim]
When i saw this news on internet, i got surprised that now google TV will be in the market and if its google then i twill surely put its best infront of the world. Although world is growing at faster rate but still in internet era people use to watch Television and but everyone wish to access net and wish to watch television together. Right?
Now its possible because Google has entered into the television world. If there’s one entertainment device that people know and love, it’s the television. In fact, 4 billion people across the world watch TV and the average American spends five hours per day in front of one*.
Recently, however, an increasing amount of our entertainment experience is coming from our phones and computers. One reason is that these devices have something that the TV lacks: the web. With the web, finding and accessing interesting content is fast and often as easy as a search.
But the web still lacks many of the great features and the high-quality viewing experience that the TV offers. So that got us thinking…what if we helped people experience the best of TV and the best of the web in one seamless experience? Imagine turning on the TV and getting all the channels and shows you normally watch and all of the websites you browse all day — including your favorite video, music and photo sites.
We’re excited to announce that we’ve done just that. Google TV is a new experience for television that combines the TV that you already know with the freedom and power of the Internet. With Google Chrome built in, you can access all of your favorite websites and easily move between television and the web. This opens up your TV from a few hundred channels to millions of channels of entertainment across TV and the web.
Your television is also no longer confined to showing just video. With the entire Internet in your living room, your TV becomes more than a TV — it can be a photo slideshow viewer, a gaming console, a music player and much more. Google TV uses search to give you an easy and fast way to navigate to television channels, websites, apps, shows and movies.
For example, already know the channel or program you want to watch? Just type in the name and you’re there. Want to check out that funny YouTube video on your 48” flat screen? It’s just a quick search away. If you know what you want to watch, but you’re not sure where to find it, just type in what you’re looking for and Google TV will help you find it on the web or on one of your many TV channels.
If you’d rather browse than search, you can use your standard program guide, your DVR or the Google TV home screen, which provides quick access to all of your favorite entertainment so you’re always within reach of the content you love most. Because Google TV is built on open platforms like Android and Google Chrome, these features are just a fraction of what Google TV can do. In our announcement today at Google I/O, we challenged web developers to start coming up with the next great web and Android apps designed specifically for the TV experience.
Developers can start optimizing their websites for Google TV today. Soon after launch, we’ll release the Google TV SDK and web APIs for TV so that developers can build even richer applications and distribute them through Android Market. We've already started building strategic alliances with a number of companies — like Jinni.com and Rovi — at the leading edge of innovation in TV technology. Jinni.com is a next-generation TV application working to provide semantic search, personalized recommendation and social features for Google TV across all sources of premium content available to the user. Rovi is one of the world's leading guide applications.
We’re looking forward to seeing all of the ways developers will use this new platform. We’re working together with Sony and Logitech to put Google TV inside of televisions, Blu-ray players and companion boxes. These devices will go on sale this fall, and will be available at Best Buy stores nationwide.
You can sign up here to get updates on Google TV availability. This is an incredibly exciting time — for TV watchers, for developers and for the entire TV ecosystem. By giving people the power to experience what they love on TV and on the web on a single screen, Google TV turns the living room into a new platform for innovation. We're excited about what’s coming. We hope you are too.
There are many websites, where you can find Keyboard shortcuts for windows users. So I just though t why not to put it in our blog too Here are few essential keyboard shortcuts that you will need in day to day life. Most common Keyboard Shortcuts:
Windows key + R = Run menu
cmd = Command Prompt (open run menu then type cmd)
iexplore + "web address" = Internet Explorer (under run menu. Ex: iexplore “www.aliencoders.org”)
CTRL + Shift + Esc = Task Manager (ctrl + alt +del may do the same thing but its specific one)
Windows key + Break = System properties
Windows key + F = Search (I have installed Ava Find for this purpose ;P )
Windows key + D = Hide/Display all windows
Ctrl + H = Opens the history bar (for browsers)
Ctrl + C = Copy
Ctrl + X = Cut
Ctrl + V = Paste
Ctrl + Z = Undo
Ctrl + A = Selet All
Alt and Esc = Switch between running applications
Alt + Tab = switch through opened items (you can toggle here)
Try windows key + tab (in windows vista it shows all running application in 3-d style)
Ctrl + Esc = Program Menu
Del = deletes the selected item (will be there in recycle bin if size is not more than 2 GB approx.)
Shift + Del = deletes selected items permanently
Alt +F4 = Close the active item, or quit the active program.
F2 = renames selected item(s)
F4 = Display the Address bar list in My Computer or Windows Explorer.
F5 = Refresh the active window.
WIN Key+D = Shows the desktop.
WIN Key+M = Minimizes all windows
WIN Key+Shift+M = Restores minimized windows.
Windows key + L = to lock your computer or to switch over other user
Note: pressing SHIFT when you insert a CD into the CD-ROM drive will Prevent the CD from automatically playing. There are few commands which you can use after open run menu (win key + R):
devmgmt.msc = Device Manager
compmgmt.msc = Computer management
msinfo32 = System Information
cleanmgr = Disk Cleanup
mmc = Microsoft Management Console
excel = Microsoft Excel (If Installed)
msaccess = Microsoft Access (If Installed)
powerpnt = Microsoft PowerPoint (If Installed)
winword = Microsoft Word (If Installed)
notepad = Notepad
wordpad = WordPad
calc = Calculator
mspaint = Microsoft Paint
wmplayer = Windows Media Player
rstrui = System Restore
control = Opens the Control Panel
control printers = Opens the Printers Dialog
mstsc = Remote Control window
conf = to start net meeting (works in win XP, does not work in Vista and Win7)
In today’s world every business or technology professional must be able to work and adjust their daily duties from anywhere. There are some that spend just as much time on their phones working as they do on their computers. An IT professional’s working life is all about storing, retrieving, transmitting, and manipulating data. To do so in a work environment increasingly reliant on mobile devices they need the right apps on their phones so that they can access this data anytime they need to. Here are 5 of the most beneficial mobile device apps for people working in Information Technology.
Visitor Rating: 5 Stars