Skip to content

Instantly share code, notes, and snippets.

View SalehDehqanpour's full-sized avatar
💭
in dev

Saleh Dehqanpour SalehDehqanpour

💭
in dev
View GitHub Profile
@SalehDehqanpour
SalehDehqanpour / InterviewQuestion.md
Last active November 18, 2023 12:06
Netbox Interview Question

Netbox Interview Question

Solve only one of these problems and send its problem number and your solution via email. Earlier problems are a bit more challenging and hence appreciated. So first try to solve problem 1, and only if you could not solve it gracefully, proceed to the next problem.

In addition to a correct response, follow practices of clean code and refactor it neatly. The quality of your solution is of paramount importance.

Problem #1

We need a scrapy project to crawl filmnet.ir. The desired solution should be able to crawl movies from this service. (Only crawl the latest ~100 movies or so)

Running load test against jitsi

NON-DOCKER SETUP:

First install and start the chromedriver like this: chromedriver --port=4444 Then clone jitsi-meet-torture and run this in its directory:

./scripts/malleus.sh --conferences=1 --participants=2 --senders=1 --audio-senders=1 --duration=30 --room-name-prefix=test  --hub-url=http://localhost:4444/  --instance-url=https://pg3.vamooz.ir/Pazhouhan-Online-Class_22_1399-09-19?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJwZzMudmFtb296LmlyIiwiaXNzIjoick1CWXVwTE5WU1ltWUpmUlk0ZGFLR1VGanAyZ1BVUUMiLCJzdWIiOiJwZzMudmFtb296LmlyIiwicm9vbSI6IlBhemhvdWhhbi1PbmxpbmUtQ2xhc3NfMjJfMTM5OS0wOS0xOSJ9.JHy-XggDtTDaa0icUcZ12dkeF4L4nDldASa7U3U6Rq4

ISSUE: The INPUT_VIDEO_FILE option in MalleusJitsificus.java

1- Write a plugin for django which acts as a middleware and does the job of obfuscating **js** variables and function and **css** class names.
2- When we decompile an APK, the JADX output has all resources (e.g. stuff like R.string.*) by their numeric IDs. These make hard to build the APK.
Write a software which finds "ids" all over the code and replaces them by appropiate R. value.
I think you can use some more advanced android decompiling tool like JEB, JADX. Some of them can automatically parses the resource id and symbolize them :)
3- A plugin for PyCharm which removes unused resources (static files and/or templates)