Wordpress - soumya.wordpress.com - I.Net
General Information:
Latest News:
Ruby Simplified Part 4: Ruby Loops 11 Jul 2013 | 12:07 pm
Let’s look at some Ruby loop constructs: for, while, and until. Ruby also supports break and next, these are equivalent to break and continue in C#.
Ruby Simplified Part 3: Ruby conditional statements 11 Jul 2013 | 09:20 am
Let’s look at some conditional statements in Ruby, if-else, case, and unless.
Ruby Simplified Part 2: Major language features 3 Jul 2013 | 02:08 am
Some features of the Ruby programming language, comparing them with C#, 1. Ruby is a dynamically typed programming language. C# got dynamic extensions to the language in C# 4.0 2. Ruby is open s...
Ruby Simplified Part 1: Installing Ruby on Windows 29 Jun 2013 | 03:28 am
Install the current version of Ruby (2.0.0-p247) using the Ruby Installer. During installing choose the options below, and finish the installation process. Now if you go to the C:\Ruby folder, you’ll...
Ruby Simplified Series 29 Jun 2013 | 12:46 am
Ruby has become a very popular programming language because of it’s simplicity and productivity. In this series we’ll explore some of the syntax and features of the Ruby programming language. Ruby Si...
Powershell Simplified Part 9: Powershell Tips 20 Nov 2012 | 07:13 am
Some Powershell tips and tricks to make your life easier, 1. Working with write-host, write-host "starting " –nonewline # don't add a new line after the string write-host "iexplore.exe" -foregroundcol...
Powershell Simplified Part 8: Accessing the File System 20 Nov 2012 | 01:20 am
With Powershell you can manipulate the file system easily, $path = "c:\program files\internet explorer" # get all the files in a folder and subfolders $dlls = get-childitem $path -recurse # filter bas...
Powershell Simplified Part 7: Error Handling 15 Nov 2012 | 04:52 am
Exception handling in Powershell is primarily based on try-catch-finally and trap. Let’s see some scenarios, function throws-error { throw "an error occured here" } throws-error # unhandled exception ...
Powershell Simplified Part 6: Functions 14 Nov 2012 | 12:52 am
Functions is Powershell scripts work just like you’d expect. # define a function function get-capital($country) { $htable = @{UK = "London"; Austria = "Vienna"; France = "Paris"} if ($htable.ContainsK...
Powershell Simplified Part 5: Services and EventLogs 9 Nov 2012 | 02:45 am
Working with Windows services is easy with Powershell. get-service # list of all services get-service netlogon # service details stop-service netlogon -force # stop a se...