Posts filed under development

How to update metadata of a link in Facebook postings

It sometimes happens, that you want to post something in Facebook with a URL in it and Facebook automatically fetches a preview-pic and some data. When this information is stale (or you suddenly want to update it), there is a cool way to force Facebook to refresh its cache:

 

https://developers.facebook.com/tools/debug/og/object/

As you can see, it shows exactly what was fetched, when and also offers a "Fetch new scrape information" - sweet!

 

 

Posted on August 13, 2015 and filed under development, productivity, social networks.

Tightly integrated Secure Gateway (SSH Tunneling) support now available in Royal TS/X and Royal Server!

One of the most requested features of Royal Server was to have a built in "Secure Gateway" or "SSH tunneling" feature. We have worked hard to fully integrate this in our Royal TS/X and Royal Server products - no external tools are needed and you will be amazed how easy it is to get it up and running!

What is a Secure Gateway?

A Secure Gateway is a component included in Royal Server that can be used to access computers through an encrypted SSH tunnel (aka port forwarding). Those computers are not directly reachable, only through the gateway server. Check out our more detailed blogpost!

 

How to configure the Secure Gateway in Royal Server?

The configuration only needs the IP and port to which the Secure Gateway should bind to. Additionally you can specify that packet compression is required and the current fingerprint of the server is shown. Hand this to your users so they can evaluate if they are connecting to the correct server.

At runtime, you can check how many sessions Royal Server is hosting and some metadata:

  • Client Host
  • Destination Host
  • User
  • Connect Time
  • Connected
  • Send Size
  • Received Size

 

And last but not least, you have to configure the users that are allowed to use the Secure Gateway.


Posted on April 23, 2015 and filed under development, Royal Server.

New blog posts about Royal Server & new beta version

We have published more blog posts to cover all our Management Endpoint features that are in our release version of Royal Server. 

 

How to work with Terminal Service Sessions, Send a Message or even Restart the Server

New Royal Server Beta Version coming soon

Additionally, we are making good progress in our next beta version of Royal Server that will contain two of the most requested features of our user survey. 

 

Posted on April 8, 2015 and filed under development, Royal Server.

First steps with the tool "Synergy"

I have a MacBook Pro for all my programs and tools - except development. For this, I have a midi tower with an i7 that can easily run many instances of Visual Studio and some VMs. 

Since RDPing to this machine for development is (even on my local network) a bit laggy, I decided to give the tool "Synergy" a try. Its like Mouse Without Borders - but with the advantage of working cross-operating system. It used to be free - but with 10$ also not expensive. The alternative (share-mouse.com) is much easier to configure, but with 49$ also 5 times more expensive. 

 

Installation and Configuration

For the OS X part - which acts as a server - drop it to the Applications and configure the server. First: configure the Screens:

 In the center is my MacBook Pro and right of it is the Windows machine. 

In the center is my MacBook Pro and right of it is the Windows machine. 

This is the way of configuring Clients (machines). E.g. my MacBook Pro has its own screen and the Cinema Display but is shown as one, since its about computers, not screens. If you do not do this, your mouse is still trapped inside your host machine :)

For the Windows part, just install the MSI, configure the tool as "Client" and point it to the correct server (in my case the OS X machine). There is not much more you can configure (except Encryption). Also, make sure you autostart this program. 

 

Issues and how they can be solved

0. Unrecognised client name "machinename", check server config

You need to configure all allowed clients aka Screens - see above.

1. Client is connected but mouse is still trapped on server screen

In my case, I didn't had any client configured. First, you need to define "Screens" at the server config (see above).

2. Client can't connect to server

Check, if you can reach the server, if a firewall is blocking the required port or if you have different settings for Encryption on Client and Server.

3. Mouse clicks wont bring windows to front

This happened to me at the Windows machine and was the result of the Hot-fix KB3013455 of Microsoft (see this huge discussion on the Synergy forum). But uninstalling is not an option for me. 

What worked for me was two things:

  • install the latest nightly build (in my case that was a nightly build of synergy-1.7.1-master). See the current nightly built list here. But I expect that this code will be in some stable version soon (at first, i accidentally downloaded the 32-bit client, which was NOT helping. I have a 64-bit Windows, and the 64-bit client now works)
  • open "services.msc", look for the "Synergy" service, go to the "Log On" Tab and enable "Allow service to interact with desktop"

After this, restart Synergy on the Client AND on the Server. 

4. Send ctrl-alt-del to the Windows machine

This one is still open. For logging in, I still need a local keyboard. The usual ctrl-alt-fn-del does not work in this case :( The only way I have found that works is the on-screen-keyboard and pressing ctrl-alt-del there... UGLY! One more thing: for me, it works only when I press alt gr-ctrl-del, not the alt-key.

5. Laggy mouse when UAC comes into play

When you need to click that "Yes" button of the UAC, the mouse position is resetted to the center of the host and you need to move it back to the client. Also, after you have left the UAC the same happens again ... and it always takes around 2 seconds until you can move the mouse to the client screen. ARGH.

 

Windows only?

If you are in a pure Microsoft environment, you can also give Mouse Without Borders from the Microsoft Garage a try. 

Posted on March 17, 2015 and filed under development, productivity.

I am giving away most of my IT books - the hand-over

During the last two weeks I was having a cold - two times :) This brought some delay to my "I am giving away most of my IT books". But finally I start to organise the meet-ups where I will hand over the books!

So if you have entered your name/email to one or more of the books, expect an email in your inbox :) 

Thanks again for taking part and showing interest so the books can get a new home. I am looking forward to the hand-overs!

Posted on November 28, 2014 and filed under development, productivity, social networks.

Get-AzureDeployment returns "Requested value 'Basic_A0' was not found"

I was digging into the PowerShell Azure Commandlets when I hit a strange error: When executing:

Get-AzureDeployment -ServiceName SomeName

I got the error:

Requested value 'Basic_A0' was not found? What!?

Well, since in general working with the Azure-Commandlets worked - so I figured, that I might have an old version installed. 

 

Which version of the Azure PowerShell Commandlets I have installed?

On this guys blog I found a handy PowerShell function. Though, this post is a bit old already and "Windows Azure PowerShell" is now called "Microsoft Azure PowerShell".

Here is the updated version of the script:

function Get-MicrosoftAzurePowerShellVersion
{
[CmdletBinding()]
Param ()
 
## - Section to query local system for Microsoft Azure PowerShell version already installed:
Write-Host "`r`nMicrosoft Azure PowerShell Installed version: " -ForegroundColor 'Yellow';
(Get-Module -ListAvailable | Where-Object{ $_.Name -eq 'Azure' }) `
| Select Version, Name, Author | Format-List;
 
## - Section to query web Platform installer for the latest available Microsoft Azure PowerShell version:
Write-Host "Microsoft Azure PowerShell available download version: " -ForegroundColor 'Green';
[reflection.assembly]::LoadWithPartialName("Microsoft.Web.PlatformInstaller") | Out-Null;
$ProductManager = New-Object Microsoft.Web.PlatformInstaller.ProductManager;
$ProductManager.Load(); $ProductManager.Products `
| Where-object{
($_.Title -match "Microsoft Azure PowerShell") `
-and ($_.Author -eq 'Microsoft Corporation')
} `
| Select-Object Version, Title, Published, Author | Format-List;
};

And ... indeed, I had an old version installed:

Just fire up the Platform installer, update the Microsoft Azure PowerShell package, restart your PowerShell console and you are good to go.

 

 

 

Posted on November 27, 2014 and filed under development, Windows Azure, PowerShell.

I am giving away most of my IT books

In the last years, I have gathered quite some books on various IT/development topics. And since my space in my workroom is limited, I give away for free most of my IT books - I keep some classics though ;)

 

You can find the list of books and how it works here (described in german):

https://docs.google.com/document/d/19C-cArTktF703e1VVEJYJTl4a9TLgLHpQOgmZeAoaWc/edit

 

Check them out and save your's!

 

PS: the reason?

  • I need more space!
  • I switched from learning more online/with PDFs
  • I use only general overview books and for specialised knowledge i rely on google, pluralsight etc
  • I switched to buy more photography coffee-table books ;)
Posted on October 20, 2014 and filed under development, productivity, social networks.