Sign In
Lior Elia - Dev Blog
Mostly Dev related stuff, C#, PowerShell and Regular expressions are my current tools of the trade so you'll be reading about them a lot.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
BagOfToys
Bing
C#
C# using statement
CA2000
DebuggingTools
Exceptions
Google
Graphics
GUI
IDisposable
Microsoft
Native
Network
Pitfalls
PowerShell
Presentation
Registry
RegularExpressions
Shell
Static Code Analysis
VIM
VisualStudioAddin
Win32
Archive
Archives
December 2010
(1)
April 2010
(1)
October 2009
(2)
June 2009
(4)
May 2009
(4)
MSDN Blogs
>
Lior Elia - Dev Blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Lior Elia - Dev Blog
Beware of the using statement
Posted
over 2 years ago
by
LiLo (Lior) Elia
0
Comments
The using statement is very handy in keeping your code clean and letting you concentrate on your business logic. Be careful however, especially when employing it while trying to get rid of CA2000 warnings (Dispose objects before losing scope) . Never...
Lior Elia - Dev Blog
Handling the Unexpected
Posted
over 2 years ago
by
LiLo (Lior) Elia
1
Comments
Life is full of surprises. Some are good, some are bad. When it comes to software though, surprises are usually a bad thing. Case in point: Unhandled Exceptions. A good programmer uses try-catch clauses to cover dangerous/problematic areas of the code...
Lior Elia - Dev Blog
PowerShell indentation for VIM - version 2.0
Posted
over 3 years ago
by
LiLo (Lior) Elia
2
Comments
In continuation to my previous post , I've been working lately on fixes to my PowerShell indentation and they are finally complete. Right now it looks like everything is indented correctly and i've uploaded the new version (2.0) to vim.org site. I had...
Lior Elia - Dev Blog
PowerShell indentation file for VIM
Posted
over 3 years ago
by
LiLo (Lior) Elia
0
Comments
I've been writing my PowerShell scripts in VIM for a while now. I've downloaded the syntax, ftplugin and indent scripts from vim site but I've found one annoying problem. The original ps1.vim indent script was mostly a stub that assumed PowerShell indentation...
Lior Elia - Dev Blog
Finding lines NOT containing certain words - RegEx magic
Posted
over 3 years ago
by
LiLo (Lior) Elia
0
Comments
Regular expressions are full of surprises. Just when you thought you’ve seen it all, out comes a “what if I want to do this, but also that and match these but not those” - and the worse thing is that it is usually my idea in the first place! So here’s...
Lior Elia - Dev Blog
What, no HKCR in PowerShell?
Posted
over 3 years ago
by
LiLo (Lior) Elia
0
Comments
This article was originally published here . Introduction If you’ve been working with PowerShell for registry access, you’ve probably noticed by now that something is missing. PowerShell has two registry “drives” defined: HKLM for HKEY_LOCAL_MACHINE...
Lior Elia - Dev Blog
Microsoft bing to replace Google as favorite search engine
Posted
over 3 years ago
by
LiLo (Lior) Elia
1
Comments
Well, at least on my computers. I’ve been using Google as my search engine for an eternity now. Frankly, I don’t even remember what came before that. It was that long ago. Of course, being the Microsoft enthusiast that I am - I gave live.com a ping now...
Lior Elia - Dev Blog
Introducing new blog series - Bag of toys
Posted
over 3 years ago
by
LiLo (Lior) Elia
1
Comments
Introduction I have many PowerShell scripts and functions lying around, some are preloaded in my profile, some I just use from time to time and can be found in PowerShell’s folder on one of my computers. Every time I am faced with a computer...
Lior Elia - Dev Blog
Creating a debugger visualizer for Visual Studio (C# tutorial)
Posted
over 3 years ago
by
LiLo (Lior) Elia
1
Comments
This article was originally published here . What is a “debugger visualizer”? Here’s a direct quote from MSDN: A visualizer creates a dialog box or other interface to displays a variable or object in a meaningful way that is appropriate to its data type...
Lior Elia - Dev Blog
Converting icons from 32bit to 16bit
Posted
over 3 years ago
by
LiLo (Lior) Elia
2
Comments
The story behind this post Last week I ran into an interesting bug at work. We were extracting icons on one windows machine and saving them on an another windows machine as part of one of our features. This was a mechanism developed a while ago and it...
Lior Elia - Dev Blog
The unwritten rules of changing the console window's size
Posted
over 3 years ago
by
LiLo (Lior) Elia
0
Comments
The unwritten (but carefully upheld) rules of resizing the console window via a PowerShell script....
Lior Elia - Dev Blog
Hello MS World (ver 1.1)
Posted
over 3 years ago
by
LiLo (Lior) Elia
0
Comments
Writing the first post in my blog as "Hello World" became a habit, which probably means I should stop moving blogs all the time. That said, I'm happy to open my brand new spanking MSDN blog. It's just a move from one Microsoft site to another (more...
Page 1 of 1 (12 items)