GoorooTHINK

Thought provoking and helpful articles
from the Gooroo community.

Do you have something to say? Contribute or create an article and add it to your Gooroo bio.

  1. The Power of PowerShell.. And the Shell..

    "What is the one technology I need to learn to get a job like the one you have?" - this is a question I've received from time to time, and my answer would vary, depending on who asked. Or rather; who I perceive the questioner to be - I cannot *know* for a fact what most suits his or her particular ambitions and style.. But in the last few years my answer, more often than not, has been "PowerShell"! Simply because I see it as one of the most important and game-changing technologies to come out of...
  2. Configure RoundCube on Debian 8 (Jessie) - Perfect Server Debian 8 (Apache, BIND, Dovecot, ISPConfig 3)

    Debian 8 (Jessie) doesn't contain RoundCube in it's repositories. Why, I don't know :) . In ISPConfig3, Perfect Server, Debian 8, you get SquirrelMail, but I don't like how it looks. With some trouble setting it up, I managed to configure RoundCube on Debian 8 and make it wokring with ISPConfig3. Used many sources to make it work and decided to create this manual that you’re reading.I presume that you have configured your server with Perfect Server Debian 8 (Apache, BIND, Dovecot, ISPConfig 3) configuraton...
  3. Initiating the Git

    How to initiate git through sshlogin using shh~~~git $ ssh [email protected] ~~~creating a folder ~~~git $ mkdir folder_name ~~~changing to that newly created folder~~~git $ cd folder_name ~~~initiating as a master branch~~~git $ git init --bare ~~~changing the windows pack~~~git $ git config pack.window 0 ~~~##step 5 : clone to local machine usingcloning the newly created folder to local~~~git $ git clone [email protected]:/home/folder_name ~~~adding the all files which are created
  4. Trying to demystify PowerShell conditional statements processing performance

    Recently, I was drafting some PowerShell codes and stumbled across which conditional statement should I use for a very simple task and decided to explore abit more on their performance differences.Below is a sample code that I have coded to display the result of the overall performance between some of the conditional statements method and it is purely for educational coding purposes.If anyone is interested to find out, copy the codes below, paste it on PowerShell ISE and run it.
  5. MS SQL: Google Maps API

    This article will show how to calculate the distance beween two addresses using Google Maps API. Blog.I was looking to an easy way to calculate the distance between two addresses using SQL and Google Maps Distance Matrix API and I found this post from stackoverflow very useful.Here is how I use the Google Maps Distance Matrix API:CREATE PROCEDURE [dbo].[CalculateDistance] ( @ToAddress NVARCHAR(100) = '', @FromAddress NVARCHAR(100) = '', @DistanceistanceInKm FLOAT OUTPUT ) ASBEGINDECLARE @Object...
  6. Get all current Client Access Sessions per each CAS Exchange 2010 Server

    This script is based on Mike Pfeiffer'sIt shows how many users are currently connected to each CAS detailing each sessions per protocol (RPC, OWA and EAS)You can get the client load distribution per server, how many users are connected in each server and know when the mail client services are ready after a maintenance reboot.The following powershell script will grab performance counter data from each CAS server to determine the number of active EAS, OWA and RPC sessions:~~~powershell[PSObject[]]...
  7. Http Patterns: Progress

    A progress resource is usually a temporary resource that is created automatically by the server to provide status on some long running process that has been initiated by a client. It is used to provide feedback to an end user and point to the results of an operation once it has completed.HTTP is a client/server request and response protocol. It does not provide for server initiated communications. If a client makes a request to a server that is likely to take a long time, e.g. 5 seconds or longer,...
  8. HTTP Patterns : Factory

    A factory resource is one that is used to create other resources.Sometimes it is difficult to create a complete resource representation on the client without some involvement from the server. It may be that the server is responsible for creating a unique identifier for the new resource, so a PUT request is not possible. Or other attributes of the resource may be dependent on existing server state. For example, creating a order resource where the order quantity may be adjusted based on in-stock quantity.
  9. You never believe how easily schedule VMs in Hyper-V

    In our company we has VDI infrastrucure with virtual machines pools working at Windows Server Hyper-V 2012 R2. Because we has many GPO, that fast changed, applied to workstation we need to reboot machines occasionally. But not used machines went to save state if not using about 10 minutes. So we decide write this script to "reboot machines" at night and create a task in windows scheduler. As we has 4 pools we create 4 scripts for pools VMs and 4 tasks, that run at night with interval...
  10. If user hybrid skype for business account broken you can repair it, you can!

    Do you use Skype for Business in Hybrid infrastructure (skype for business server + skype for business online) and users asks to repair they accounts, because they can't access their skype for business client. If users don't use skype for business a long time - their accounts broke and need to be reapired. This may happen in situation whith infrastruture like:On-Demand Active Directory + Azure AD + Office 365 (Skype for business license) or On-Demand Active Directory + Azure AD + Office 365 (Skype...
  11. Edit DRAFT Edit

    • updated