Monday, October 27, 2014

Invoking a batch script on a remote machine using a script on the client

I have been doing software development for 17 years. I started on Unix platform with C++ and then moved to C++ on Microsoft platform and eventually transitioned to .NET and C# programming. In the meantime scripting has always been a fun thing to do on the side. Scripting is just means of accomplishing something quickly in order to simplify the development for the team and the deployments for the team. For example, some of the scripts that I will eventually share with you are:

  • Quick scripts that deploy code to a server and start/stop services
  • Scripts that monitor the changes on the server throughout the day
  • Scripts that notify you when there is a change on the server and what change it was
  • Scripts that monitor the logs for your application and send you the daily summary on the type of errrors
  • etc.....

The following example is how you can start scripts on a server by sending a signal from the client computer. There are many different ways to implement. This is one way of doing.

http://almirscorner.blogspot.com/p/invoking-batch-script-on-remote-machine.html



- almirsCorner.com -

#batch #batchscript #scripting #doscommand #commandline #programming #devOps #automation

Wednesday, October 22, 2014

Cars & Coffee in Irvine - Oct 18, 2014

Here is the album with a few pictures:

Album - Cars and Coffee in Irvine on Oct 18, 2014








- almirsCorner.com -

#cars #CarsAndCoffee #Irvine #OrangeCounty #SoCal #California 

Normally Aspirated Engines - Are they becoming collectibles?

Have we reached the era where normally aspirated engines become collectibles?

Everybody is introducing turbocharged engines across all models of their cars. Benz and BMW have done it. Mini has done it. I now hear rumors about Porsche doing it and base Carrera having 2.9L turbocharged engine. I understand that reducing the size of the engine and adding a turbocharger improves efficiency and gets you better gas mileage. On the other hand we have some Japanese manufacturers (Mazda, Honda, Toyota) who are sticking to NA engines and they are building high-compression engines which also increases efficiency and improves gas mileage. 

So the NA engines are still here to stay.


- almirsCorner.com - 

#turbo #cars #Porsche #Benz #BMW #VW #carreview #turbocharger #MPG #fuelconsumption 

Tuesday, October 14, 2014

Programming - How good are you in null checking?

We all have written code where we did not do proper null checking and in special scenarios it ends up getting "null object reference" errors.

This post is just to remind myself and you about this so you can think about it as you are coding. I hope that the following video will resonate with you. Thanks.

https://www.youtube.com/watch?v=THNoJeBxhDE





- almirsCorner.com -

#programming #programming101 #softwaredevelopment #null #NullObjectReferenceError #code #coding #coding101 #tech