Wednesday, July 25, 2012
Monday, July 16, 2012
PowerShell sending requests
From time to time, I have to generate a request to some web service for each element from a database. From a db I tend to generate a PowerShell commands to send a request:
$page = (New-Object System.Net.WebClient).DownloadString("http://localhost/")
And if one needs to know what was returned
Write-Host "$page"
Friday, July 13, 2012
Using PowerShell
I still keep using Unix tools underneath my GNU Emacs on windows, tools, like grep, sort, find. But, they need a configuration, and on Windows, they face specific problems :) On SO, there is a nice list of PoSh cmdlets that are an excellent replacement for my typical tasks.
Tuesday, July 10, 2012
The next JavaScript issue
This site becomes my diary of JavaScript problems that I fall into, or am aware of. The newest one is the infinity. In other words what is a result of:
parseInt(1 / 0, 19)And why it is 18.
Monday, July 2, 2012
What tool use to write T4 templates
Each time, I work for a different company, I use a different tool, so far I believe the best is tangible t4, without modeling tools.
Wednesday, May 30, 2012
WinDbg under .net 4+
I had a problem in loading mscorwks.dll under WinDbg, I found that in framework 4+, I should use command:
.loadby sos clr
Monday, April 16, 2012
Instead of GNU Emacs in Windows
Recently I've been using Sublime, mainly because of it's text coding support - I believe better then GNU Emacs in Windows environment. And for sure match better then Notepad++. Key points are: TextMate format support - finally, and python plug-in system, so configuration and plug-in creation is much better then in VisualStudio, but compared to GNU Emacs, it's not as good.
Subscribe to:
Posts (Atom)