Post tagged: remote

RDP vs VNC

For years I have been using VNC for my remote desktop needs. This works usually well enough. The features that I like are:

  • Basic set-up is easy
  • Desktop sessions are persistent
  • Can be used to view an actual X11.org desktop.
  • Browser based clients via noVNC or Guacamole

On the …

Moving to Home Assistant

I am busy moving away from my VeraEdge installation to a Home Assistant running on a Raspberry Pi 4. This is because it looks like the maker of the VeraEdge was bought and it is slowly being phased out.

For this I am using the following parts:

flatpak

Flatpak is a utility for software deployment and package management for Linux. It is advertised as offering a sandbox environment in which users can run application software in isolation from the rest of the system. Flatpak was developed as part of the freedesktop.org project and was originally called xdg-app …

My git release script

I always had issues remembering how to create releases. So in order to standardise things, I wrote this script:

So whenever I am ready to release I would then just issue the command:

./ghrelease vX.Y.Z

Pre-requisistes:

You obviously need git. But also you would need github-cli.

Your …

Stupid SSL tricks

Some hints and tips foor doing SSL related things:

Netcat for SSL

This command lets you connect to a SSL server (a-la netcat):

cat request.txt | openssl s_client -connect server:443

Creating self-signed certificates

This is a single command to generate a self-signed certificate:

openssl req -new \
      -newkey rsa:4096 …

Ad-Hoc rsync daemons

The other day I needed to copy a bunch of files between to servers in my home network. Because of the volume I wanted to copy the files without having to go through ssh's encryption overhead. So I figured I could use netcat for the data transport.

To do …

using cachefiles on an Linux NFS share

If you often mount and access a remote NFS share on your system, you will probably want to know how to improve NFS file access performance. One possibility is using file caching. In Linux, there is a caching filesystem called FS-Cache which enables file caching for network file systems such …

CSR ideas

Work improvements

NFR

  • Javascript single page application
    • JS GUI
  • Retargettable back-end:
    • Local
    • Remote
    • Synchronization utility
  • Multi-user (authentication?)
  • Output Excel
  • Output changes

FR

  • requirements
  • roadmap objects
    • release time lines
    • indicators
    • descriptive text
  • Meta data
    • attributes (i.e owner, reviewers, etc)
    • versioning
  • Milestone data
  • Detail data
    • release details
    • line items

OpenShift notes

THIS IS FOR ARCHIVAL PURPOSES. THIS IS OUT-OF-DATE

backup OpenShift

openshift getenv(USER) from OpenShift php
ssh to {user}@{app-domain} gear snapshot  > file

Run gear app

OpenShift migration further notes

Encrypt a file using a supplied password :

$ openssl enc -aes-256-cbc -salt -in file.txt -out file.txt.enc -k …

Windows administration from the command line

Windows system administration is very mouse driven and to reach all tools you need to browse through Windows explorer.

If you are like me and prefer to log on a limited privilege account and use Runas to perform admin tasks, you can open these consoles with the .msc file names …

My Must Have Android Apps

This is a list of my favorite Android Apps:

Essentials

  • Barcode Scanner - Play Store F-Droid
  • Ghost Commander - F-Droid
  • F-Droid Alternative Application Manager. Usually Open source stuff with significantly less crap ware and ads.

Productivity

Enable local file caching for NFS share on Linux

In Linux, there is a caching filesystem called FS-Cache which enables file caching for network file systems such as NFS. FS-Cache is built into the Linux kernel 2.6.30 and higher. In order for FS-Cache to operate, it needs cache back-end which provides actual storage for caching. One such …

Driving Continuous Integration from Git

Testing, code coverage, style enforcement are all check-in and merge requirements that can be automated and driven from Git.

If you're among the rising number of Git users out there, you're in luck: You can automate pieces of your development workflow with Git hooks. Hooks are a native Git mechanism …

Grandstream GXP1400

Grandstream GXP1400

gs

The other day I replaced an analog phone with a Grandstream GXP1400 IP phone. I think it is a great value phone. It is one of the cheapest I could find yet supports all the features I was looking.

Specifically I wanted a IP phone that could:

  1. Have …

Yealink W52P

Yealink W52P

phone

So I was looking to replace my analog cordless phones mainly because I wanted to have a centralized way to maintain phonebooks. Right now I have two cordless phone that I have to manually enter phonebook entries on the two handsets independently.

Initially I was thinking of getting …

SSH Tricks

A bunch of stupid SSH tricks that can be useful somehow, somewhere...

Forcing either IPv4 or IPv6

This is for the scenario that you know which specific protocol works
to reach a particular host. Usually good to eliminate the delay
for SSH to figure out to switch IP protocols. For …

Remote Bridging

Sometimes we need to connect two or more geographically distrubuted ethernet networks to one broadcast domain. There can be two different office networks of some company which uses smb protocol partially based on broadcast network messages. Another example of such situation is computer cafes: a couple of computer cafes can …