1. Add something at the end of each line :%norm A* or :%s/$/*/g 2. replace all occurrences in the current line :s/{pattern}/{sring}/g References: http://stackoverflow.com/questions/594448/how-can-i-add-to-the-end-of-each-line-in-vim http://www.thegeekstuff.com/2009/04/vi-vim-editor-search-and-replace-examples/
Also filed in
|
Tagged vim
|
Get selenium-dotnet-2.0rc3.zip and extract it to a local folder. Now, a simple example: cd d:\selenium-dotnet-2.0rc3 ls -Name *.dll | foreach { (pwd).path + ‘\’ + $_ } | foreach { Add-Type -Path $_ } $driver = New-Object OpenQA.Selenium.Firefox.FirefoxDriver $driver.Navigate().GoToUrl("http://www.google.com") $driver.FindElement([OpenQA.Selenium.By]::Name("q")).SendKeys("powershell"); $driver.Quit();
Also filed in
|
|
Some userful Scheme programming resources. Structured and Interpretation of Computer Programs (SICP) – Teach you Scheme and how to think in programming. You can watch or download SICP videos from http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-001-structure-and-interpretation-of-computer-programs-spring-2005/video-lectures/ http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/ http://www.archive.org/details/SICP_4_ipod You can also get it from iTunes U. Solutions for exercises in SICP. They may help you while you are reading through [...]
ASP.Net Deployment is not easy a task. It has to deal with different operating systems, web servers, databases, and etc… It often involves manual process. All these things make deployment a error prone and slow process. It is a task you have to do it again and again. Let’s automate the whole process and relieve [...]
I’ve been learning Scheme recently, here’re the steps to get started with Scheme quickly in Linux. Install emacs. If you don’t know how to use emacs, you have a look at a tutorial at http://xahlee.org/emacs/emacs.html. Install mit scheme. There are lot of scheme implementations. To get started quickly, we don’t want to spend too much time [...]
Also filed in
|
Tagged scheme
|