Can I run a web app from usb with Bitlocker - angularjs

As per the title, can I run a web application (AngularJS) from usb with Bitlocker.
I installed xampp portable, git portable and nodejs in usb. But I don't know my application can run normaly. I need distribute my application to many customer and secure my source code. Please let me know what I do is possible or not.
NOTE: my question is not duplicated with question Secure distribution of NODEJS application
Many Thanks

Related

How to support multi-architecture docker-compose configuration for devcontainer.json?

In our engineering team we have people using older macbook pros as well as the new M1 (ARM) chips. We currently have 2 different docker-compose.yaml files that pull in different docker images for our data services based on which architecture the host computer is using. This is not ideal, but currently works fine. I want to make use of devcontainer.json so that our app layer could also live in docker to make setting up a new machine within our eng org very easy. The problem I'm running into is I'm not sure how to tell devcontainer.json which docker-compose.yaml file to use based on which architecture is being used.
My current thought is to just have the developer set an env var on their host system that derives their arch and then utilize that env var within devcontainer.json to point to the correct docker-compose.yaml file, but I'm wondering if there is a better way to achieve my goal.
I noticed that there is an open issue within the vscode-remote-release repo but I think that pertains to the app code image that gets built. Not quite the same situation I'm in, but the solution is probably one part of the solution to my question.

How to design a system for offline updates of Linux systems that use Debian's apt?

I'm developing an update / upgrade service with an offline SDK for Linux devices.
The idea is to replicate the update / upgrade Linux services into an offline device. The "offline" device is capable to reach "internet" but only through message exchange using the SDK and through other devices (multi-hop). Devices are from different architectures, therefore the device that has "internet" capabilities (gateway) has to be capable to request and download the packages to be upgraded to/from a different architecture. the gateway device has to be capable to cache the downloaded requested packages from updates (to act as a CDN), avoiding repo requests.
The offline device doesn't have have IP address and the way it communicates is irrelevant, because the offline SDK guaranties internet reachability over multi-hop.
What I need - I need someone to provide me some help or guidance about the update / upgrade work flow on Linux.
What I found so far:
update
update command loads the /etc/apt/sources.list
don't know how update resolves each line on /etc/apt/sources.list, it seems it has a function where it loads the "deb" a "link" and "arguments" that match the corresponding repo folders.
after that it starts to download all the corresponding "Packages" files in each resolved link.
upgrade
makes a comparison between the updated local "Packages" files and the "Packages" files in the repo.
Is there any source code from update / upgrade available ?
I did some web search on the apt repos, but I couldn't find the update / upgrade functions.

How can I build a standalone MQSeries client under Linux using the C API?

IBM offer an installable MQSeries Client software that allows you to access queue managers on remote hosts. They also offer some C-callable libraries that let you do messaging from a C application.
My problem is that I don't have admin access on the hosts I plan to test-deploy on, and getting an application installed comes with bigtime Enterprise hassle. IBM, meanwhile, acts as if there's no alternative to installing their whole client package. Assuming I'm willing to forgo their support, can I get around this? i.e. is there some set of objects/libraries I can link with to produce a standalone client?
From v8.0.0.4 onwards, IBM provides set of libraries as a zip/tar and you don't need to install whole client package. See here: http://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ins.doc/q122882_.htm.
But you still need queue manager running somewhere to test your application.

Database hosting, control from RPi python console

I tried a free account in pythonanywhere.
Hosted a free mysql database.
Created a database.
They have a online python console in which we should control mysql, I want to control it from my python raspberry Pi console, is this even possible?
I tried to connect, but it failed.
My ultimate aim is to get data from raspberry Pi and store it in a real time database, the data base should be controlled from my python program.
Suggest me any better way...
This is a part of my project, not any commercial thing.
Because of security reasons, databases are generally never open to the internet. (eg: https://support.cloud.engineyard.com/hc/en-us/articles/205408088-Access-Your-Database-Remotely-Through-an-SSH-Tunnel)
PythonAnywhere has it setup so that you need to use ssh tunnelling to connect to your db from an external place.
See https://help.pythonanywhere.com/pages/SSHTunnelling/
What you need to do is
ssh -L 3306:mysql.server:3306 username#ssh.pythonanywhere.com
ssh -L 3333:mysql.server:3306 username#ssh.pythonanywhere.com

Flash drive webserver

Hopefully someone here can help me out.
Currently I have a small AngularJS app. I want to put this on an USB drive and make it very easy to run. The idea is someone can just plug in the drive click a file and run the app. I've been thinking about using node for this and then make a little script that would start the server and app. So people can click the script and the app runs. The problem is however (afaik) you need to have node installed on the computer which can't be done.
The client hasn't got his webserver running and still want to run the app. So please don't tell me why would you make an angular app and wanna run it without webserver.
Hopefully anyone has any solution or idea to make this work.
So in short:
AngularJS Application on USB
Plug in the USB, click a file and run the app in the browser.
Thanks for reading and thinking with me.
Have you considered running a standard web server on the USB Stick?
I see that you have suggested Node, but another alternative could be to use XAMPP?
XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.

Resources