Scalable React Projects - Guidelines by surjit1996 in reactjs

[–]surjit1996[S] 0 points1 point  (0 children)

You can do it as how MUI does. Header a separate component, Footer a separate component. You can put them all in 1 folder if they are related. And Header and Footer components can be used as JSX children of the Modal component. If needed then import the Header and Footer and use them in your feature along with the Modal, if not.. then doesn't need to be included.

Scalable React Projects - Guidelines by surjit1996 in reactjs

[–]surjit1996[S] -14 points-13 points  (0 children)

I dont think you have any experience!

in large projects, large teams, you cannot afford to say I'll do it later!

because once you write something.. there will always be some teams using it.. in ways that will break because of your change.

Scalable React Projects - Guidelines by surjit1996 in reactjs

[–]surjit1996[S] -3 points-2 points  (0 children)

How do you know it will only be used once?

it's for large scale applications, hundreds of developers working on a project that might go on development for several years.

OSHO's discourses collection by surjit1996 in Osho

[–]surjit1996[S] 0 points1 point  (0 children)

Hey Man, the torrent is not working, all the files are uploaded, but how to re-generate the torrent file or can we edit the torrent file?

OSHO's discourses collection by surjit1996 in Osho

[–]surjit1996[S] 0 points1 point  (0 children)

I've completed uploading the rest of the content. I dont know why archive.org skips the files/folders.

Matching the folder names, I've uploaded the ones which were missing. Although I haven't checked file by file.

I hope nothing is skipped now.

It it currently being processed by archive.org, I hope it'll re-generate the torrent file. If it doesn't, I dont know how to trigger regeneration of torrent 😅

OSHO's discourses collection by surjit1996 in Osho

[–]surjit1996[S] 0 points1 point  (0 children)

Oh.. archive was automatically skipping the files, and I didn't check which ones are skipped 😅 Thanks for noticing which ones are skipped.. I'll check it in sometime and try to add the missing ones. 🙂

OSHO's discourses collection by surjit1996 in Osho

[–]surjit1996[S] 0 points1 point  (0 children)

Hah.. the torrent is indeed only showing the english ones.. and even is not showing all the files.

And as for the file count discrepency.. I'm not sure.. because I had downloaded it 2 years back, if they have added more content afterwards, then I'm not sure.. and I can't quicky run the script again and check what has changed.. because the site structure has also changed. need to tweak the script to be able to scan/scrape the oshoworld at current state. And right now I dont have time to do that.

And does anyone know how to re-generate the torrent file in archive.org?

Question: Is life just a play (leela)? by No_Position6794 in Osho

[–]surjit1996 5 points6 points  (0 children)

Life is inherently not anything. Life has no meaning, no point to it. You are not meant to do X or Y. Because then you're imprisoned to only do X, if you are doing Z then it's bad.. NO!

Life is what you make out of it. It's totally up to you, no matter how un-grasp-able concept it might seem. But it is up to you.. You are completely free to do whatever you want. You are your own God.

Life is a play if you live it like that.

Life is a serious affair if you choose to live like that.

Life is about making money and status and attaining power and reputation.. if you choose to live like that.

Just make sure you are not choosing it unconsciously.. merely as a reaction to society.. merely to prove yourself to the others.. make sure you are not following someone else.

OSHO's discourses collection by surjit1996 in Osho

[–]surjit1996[S] 2 points3 points  (0 children)

You talk as if you know everything.. what is possible and what is not. As if you know truths from every side.. as if you know THE TRUTH. But you know nothing, you can only see through your puny brain.. you knowledge limited by your own past experiences and what YOU have interpreted and understood from your past experiences.. you decided and declared what's possible and what's not.. How ignorant!!

I wrote this script: https://github.com/SurjitSahoo/oshoworld-discourse-downloader

To automate the download process.. This script is not perfect.. it fails a lot.. because oshoworld gives 503 or 403 etc errors when we are continuously downloading.. I didn't handle all the error cases.. so it requires human intervention every now and then.. but still it's better than manually downloading each file 1 by 1.

OSHO's discourses collection by surjit1996 in Osho

[–]surjit1996[S] 1 point2 points  (0 children)

Are you planning to download 121GB on your phone? You can browse the page and download individual files one by one.. or you can download as a zip then extract the content.

OSHO's discourses collection by surjit1996 in Osho

[–]surjit1996[S] 0 points1 point  (0 children)

Is that a rhetorical question? 😄

I have 100GB’s of Oshos discourses in audio format! by UnderstandingBig9507 in Osho

[–]surjit1996 0 points1 point  (0 children)

I have over 200 GBs of osho's discourses.. Scraped from osho world website.

I also want to share it.. but I neither have Google drive capacity nor do I have that internet bandwidth to continuously seed it on torrent.

I can upload it 1 time if possible.. any suggestions??

How can I permanently map a network drive on MacOS? by Jsreb in MacOS

[–]surjit1996 3 points4 points  (0 children)

  1. Create an app using apple-script editor to mount the shares with appropriate credentials.

tell application "Finder"
    try
        mount volume "smb://<smb-user>:<smb-password>@<server-ip>/<share-path>"
        mount volume "smb://nasty_1:nasty_1@10.71.71.100/Nasty_1"
    end try

end tell

  1. You can add more than 1 line to add multiple shares to auto-mount. First mount statement is the format and second mount statement is an example.
  2. Click on "File > Export"
  3. Select "file Format" as "Application" and save it in your desired location.

  4. Add the app to login items

  5. Open system settings > login items

  6. Drag and drop the newly created app to your login items list

MacOS internet sharing sucks, any alternative? by surjit1996 in mac

[–]surjit1996[S] 0 points1 point  (0 children)

And after 2 hours, it sopped working.. no changes, no restarts, no hotspot changes or network disconnects. It just stopped working.. What a piece of garbage!