Skip to content

Instantly share code, notes, and snippets.

View rsenden's full-sized avatar

Ruud Senden rsenden

  • MicroFocus Fortify
View GitHub Profile
@rsenden
rsenden / EclipseOnWSL2Ubuntu.md
Last active August 4, 2024 01:53
Run Eclipse in WSL2

This gist provides a summary on how to accomplish the following tasks:

  • Access WSL2 using putty
  • Run Eclipse on WSL2 Ubuntu, displaying the Eclipse UI on VcXsrv running on Windows
    • Connecting to VcXsrv directly from WSL2
    • Using SSH X11 forwarding, with network connection initiated from Windows to WSL2 Ubuntu, which is particularly useful on company laptops that refuse all incoming network connections on Windows.
  1. Prerequisites:
    • WSL2 up and running
    • Putty, Plink & PuttyGen installed on Windows
@rsenden
rsenden / UsefullFortifyCommands.md
Last active March 25, 2020 11:37
Useful Fortify commands

SSC

Bash: Delete all project versions within id range

For example useful if you are testing some integration that automatically created application versions.

export SSC_UNIFIEDLOGINTOKEN=NTM0M2ViODAtNjM0Ni00Njg1LTg5M2UtNzI4ZTUyN2Q0NWIy
export SSC_BASEURL=http://localhost:1920/ssc
for i in {351..414}; do curl -X DELETE -H "Accept: application/json" -H "Authorization: FortifyToken $SSC_UNIFIEDLOGINTOKEN" $SSC_BASEURL/api/v1/projectVersions/$i; done
@rsenden
rsenden / README.md
Last active June 6, 2019 20:25
Node-Red TVHeadEnd EPG Dashboard

This flow provides two Node-RED dashboard tabs:

  • EPG Search:

    • Search the TVHeadEnd EPG by program channel (optional) and title (required)
    • Add a single recording
    • Add a series recording
    • Delete a single recording
  • Upcoming Recordings:

  • Search the list of upcoming recordings by channel and title (both optional)