@leanleft@lemmy.ml
link
fedilink
English
16M

you can run tor on it

@Paragone@lemmy.world
link
fedilink
English
-16M

I am trying to lear basic HTML/CSS/JavaScript ( again, last learned HTML back in the 1990’s, am using “JavaScript: The Good Parts” & other books ),

& have discovered that you can have, on the same phone/tablet, Termux/Nginx running,

you have to feed /data/data/com.termux/files/usr/etc/nginx/nginx.conf the root-dir you want it to use

( which is actually in a proot-distro install, down below

/data/data/llcom.termux/files/usr/var/lib/proot-distro/installed-rootfs/ … )

… and then you can have your browser hit

http://localhost:8080/

and it’ll grab index.html.


Notice that that is http, NOT httpS.

None of the browsers I’ve tried can get the default connection to localhost, because they all default to https, & nginx isn’t serving https.

That wasted an entire fscking day, to discover.


Now learning can begin!

@owatnext@lemmy.world
link
fedilink
English
56M

I’ve worry about the battery, being plugged in for ages, without some sort of additional BMS like AccA.

If you wanted to do something like this you could put the charger on one of those electrical plugs with a timer, or a smart plug that’s switched on when the battery reaches a certain threshold

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 53 users / day
  • 89 users / week
  • 209 users / month
  • 866 users / 6 months
  • 1 subscriber
  • 1.4K Posts
  • 7.96K Comments
  • Modlog