Scan homepage for Updates and download - talend

In my work i need to install a software by our customer.
Everytime i need to login on a homepage and download the latest version.
My question is if there is some way too for example to make a program that every hour login on the page and check if there is a new version there. If a new one is there i want to download it.
That way i don't need to login in on a homepage everytime and could always save the latest version in a folder on my pc.
Im working a lot with talend open studio and maybe i can build the applikation to do that there.

This is not a job for Talend. Talend is an ETL tool. Works with data flows. Here you dont seem to have data coming from different sources to Extract, transform and/or load. I recommend you write a java application to do that. What you are trying to do it doesnt seem a job for an ETL tool

Related

Deploying .lib file in the Salesforce org

I am using this code: https://github.com/pradeepramakrishna/Lightning-Experience/tree/master/aura-components to compile on my org.
I have got one components as eventLib.lib and interactive.js in eventLib folder. I have put this folder in c:MyDevOrg\force-app\main\default\aura folder in the local machine and tried to deploy in the org using VSCode but it didn't work.
I tried creating folder in the Files tab and added the interactive.js in the folder but that is also not seeming to work with the Aura components.
How can I deploy this lib into the org as it is being used in some Aura components.
We don't know what you're trying to achieve. You asked a very technical question to which the answer is "you're probably doing it wrong". Instead try to write what business functionality you are trying to achieve and you might get better answers.
You shouldn't have to import ui:eventLib. It's supposed to be part of core Salesforce's Aura components framework. But.
You've referenced a repo that wasn't updated in a while, no promises this still compiles / is best way to do X.
This repo seems to rely on open source Aura framework which is well... dead in the water.
You might be able to reuse something from this repo in your app using SF's built-in tags - but whole ui: library has been deprecated. Announced in Winter'20 = almost 2 years ago, finally dead in May 2021.
I don't think eventLib was ever exposed, might be something needed just in open source version which complicates the matter more. The answer would be to not work with the really "decompiled" tags but with their higher abstracted versions like ui:inputDate.
So, back to my question. What exactly are you trying to achieve.
You want to build something on pure SF platform (use pure Aura/LWC).
Want to have an app written in Angular, React etc, pure JS, connecting to SF data via API? (build it, upload as static resourcethen import using lightning:container)
want to prettify an existing Java/PHP/.NET app, make it look more Lightning-ish and embed it as iframe? (look into https://www.lightningdesignsystem.com/ and connected apps + "canvas")
want to expose piece of SF as reusable element that can be embedded in another website but could even be an Outlook plugin? (search for "lightning out")
want to look at modern equivalent of that old open source Aura repo and decide what to do next? Check https://lwc.dev/ out.

Modifying the source code of external libraries in Scala, IntelliJ

I have a Spark project which uses HDFS. I need to edit some things in the source code of Spark, which is possible since it is open source.
However, I'm wondering on how to get all of this together and working. I downloaded the source-jar for Spark and attached it to my IntelliJ project, which by the way builds with Maven. This has given me the possibility to go from my code and for example use Ctrl+B to go and see the source code of SparkContextor any other code in the Spark library.
Anyhow, this code is locked and I cannot modify it. I have not found a way to unlock it. So after some searching on the internet it seems like the solution would be to find a way to build the whole Spark library as part of my project instead of using it as an external library.
How would I go by doing this? I am lost as to how to add it so the source code is part of the project, which package would it be a part of and so on? I have no idea where to start or how to do it at all.
You are probably better off checking out the latest source code for Apache Spark, create a feature branch, put your changes there and then probably submit a merge request, so that it is officially available as part of the Apache packages.
If you do not want to do that, you could of course do it all by yourself, with just building the Spark package by yourself, having it somewhere in your company's internal repository so that you can pull it from there from your different environments.

Full build of modernizr3?

I'm using modernizr in my ASP.net MVC application, and I'd like to use the inputformaction detect added in Modernizr v3. The latest version available on nuget is 2.8.3. So that means I need to add it independently from nuget. There doesn't seem to be any official full build.
The only thing I can find on their website is Download, which prompts me to create a custom build. If I select the features I'm using now, then I'll need to come back to this website every time I want a new detect, and remember all the options I chose last time. That's not really practical. I've also found that you can make custom builds using a node package and a .json definition file. I don't really feel like installing node just for this if I can avoid it.
All I want is a complete build of modernizr. Is there any way to do it other than writing a script to check all the checkboxes on their download page?
There is no such thing as a "complete" build of Modernizr. While it may be a minor inconvenience for you to rebuild when you need new detects, it can cost your users tons of time and money downloading and running javascript that is completely unneeded. There are a bunch of tools that will automate the custom build for you (bower, npm, grunt-modernizr, gulp-modernizr).
If you want a build that contains all of the options - which again is huge and horrible on perf, you can use https://modernizr.com/download?do_not_use_in_production

How can I do "Version control" of a entire site in Liferay?

I am a member of a team who try to build several sites using Liferay. We have difficulty sharing updates between us using LAR files and we have the same problem building the test and QA version of the site. We like to use something like traditional version control where each one download a version of the site, do some changes and update the repository. Is there a way to do something like this? We suspect that we are using the LARs in the wrong way or maybe it is not meant to be used like this. Any solution? Thanks in advance.
Back up your database, check that in to your version control, The restore the database.
All the information required for a Liferay site is in the database (and the custom plugins if you're using them).
So I'd use backing up and restoring the database as your solution.

How to publish a Netbeans Update Center on Java.net?

I created a NetBeans based application and I want t publish its update center in the Java.net project's page. Any idea on how to do this?
The page suggests using Webdav but is not working.
Edit:
I was able to do it by adding then in a folder in the downloads section but it is a manual process. Any easier way?
The only way I have done it so far is loading all the files into a folder one by one, manually. I just hoped for a better way.