Git Product home page Git Product logo

easnx's Introduction

easnx

A little util to easier life for Hzdr linux users

configure

Save in your ~/.profile (or everywhere else in order to have them as environment variables) the following:

HZDR_USER="myUser"; export HZDR_USER
HZDR_PASSWORD="myPwd"; export HZDR_PASSWORD
HZDR_SECRET_KEY="mySecretKey"; export HZDR_SECRET_KEY

Double quotes shall remain

To get a new the HZDR_SECRET_KEY you must destroy the current token and create a new one:

run it

cd easnx/
./gradlew run

You will see a tray icon where, other than "connect" and "disconnect", which are pretty self explanatory, you have also "copy TOTP", which will copy in your clipboard the current Hzdr TOTP, useful for logins where requested

The connection status will be visible by the tray icon color, green means it's connected, red disconnected. And it's live, it's gonna ping every second the secondary DNS, you can rely on that to get a quick verification of your VPN status

Note: snx experiences a segmentation fault sometimes. This happens when you don't get the green color after you clicked on "connect". In this case you have to reboot, I still didn't find a better solution for the meanwhile

Known issues:

Tray menus don't work on Fedora 39 (KDE 5.115.0, Qt 5.15.12 with Wayland)

credits:

original:

This is a Kotlin Multiplatform project targeting Desktop.

  • /composeApp is for code that will be shared across your Compose Multiplatform applications. It contains several subfolders:
    • commonMain is for code that’s common for all targets.
    • Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name. For example, if you want to use Apple’s CoreCrypto for the iOS part of your Kotlin app, iosMain would be the right folder for such calls.

Learn more about Kotlin Multiplatform

easnx's People

Contributors

elect86 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.