diff --git a/main/pages/free b/main/pages/free deleted file mode 100644 index 6156248..0000000 --- a/main/pages/free +++ /dev/null @@ -1,20 +0,0 @@ -

On moving away from mainstream/centralised/closed-source software

- -
    -
  1. "The software is inconvenient to use"
    -This is frankly not true in many cases. It's because the software is not familiar that people say this. Though there are definitely cases where it is true, but those are things that can be worked on - and will be if there's more interest to drive it.
    -And, to be clear, it's often more convenient than mainstream software, in little ways you didn't even realise were possible.

  2. -
  3. "Not many people are using it"/"there isn't much content there"
    -If you can't see why this is obviously stupid, your use of a (pocket) computer is probably a liability, and I recommend deleting all your online accounts, selling your (pocket) computer, and going back to doing things in person.
    -If the above is relevant to you and you haven't stopped reading to go off and write an angry email to me for insulting your intelligence: Reminder that there was a time when Facebook, Twitter and YouTube were not used by many people, and look where they are now. How did they get there? People started using them. This isn't a real objection.

  4. -
  5. "It's difficult for my grandma/little cousin/etc. to use it"
    -This one tends to crop up most in response to self-hosting things (eg. federated nodes). And while there is truth in the idea that not everyone needs to run their own software, everyone should at least consider it, and tech people should definitely offer their instance to their friends and family. Because it's actually not that hard to use. It just takes someone familiar with it to teach and answer questions. So maybe, instead of complaining on someone else's behalf, be a teacher.

  6. -
  7. "It's less reliable"
    -No.
    -Major services have outages too. Sometimes beyond their control (remember that time Cloudflare accidentally blew up their entire operation? - I'm actually not sure that link refers to the right incident, the one I recall was closer to a day long). This is actually worse than the case of a single (or handful of) node(s) in a federated network going offline, because it affects the entire service instead of only one small part of it. It's true that nodes sometimes disappear permanently, and that this doesn't tend to happen with major, centralised services. But it does happen with minor centralised services. G+, anyone?
    Oh yeah remember this
  8. -

-Some other variants of these arguments:
-"It's human nature to prefer convenience" -> So's stealing your brother's toys. Really, you're just lazy.
-"You'll never get popular appeal" -> You aren't everyone. You're lazy.
-
-If you have some argument that isn't in the above list, read it again, because chances are I sent this to you to read the part where I already addressed it. But if it's actually not on the list, fix that. \ No newline at end of file diff --git a/main/pages/myroidbrowse b/main/pages/myroidbrowse deleted file mode 100644 index 0e985a8..0000000 --- a/main/pages/myroidbrowse +++ /dev/null @@ -1,20 +0,0 @@ -

MCC in browser definitive (but not yet) guide

- -

Part A: Getting a uuid

-

If you don't want to share your phone login with the browser, just generate a uuid4. Should be tools online to do that for you.
-If you do, wait until next maint, then select all text and look right down the bottom. It says something like agg:{idgoeshere}.
-Or, skip this and parts B and C, and use a packet sniffer to collect the user agent directly. This will require a mitm proxy to decrypt the TLS packets, and that needs to be installed as a system certificate or MCC won't trust it (since android 7) and you'll get nothing at all. In short, this is hard and annoying, especialy without root (virtually impossible), so I don't really recommend it. It's also the only method that other guides offer.

- -

Part B: Token up

-

AES encrypt the uuid. Use ECB encryption mode, set the secret key to 0123456789012345, and pad the uuid out to block size of 128, using PKCS5, or PKCS7 (they should be the same thing). You might be able to do this with an online tool, not sure.
-Then base64 encode the result. Should be plenty of tools online to do that. -The result is your token.

- -

Part C: User agent

-

Construct user agent string. Base form is {browser}/{country}/AMBITION_UA/GooglePlay/Android-/MOE_ver{ver}:{token}. Country appears to be ISO_3166-1 alpha-2. ver should be 30 currently (no idea when/how it increases, probably with each new client release).
-Browser is... Whatever you want, really. If you want to try to pretend to be a real client, try something along the lines of "Mozilla/5.0 (Linux; Android 8.0.0; SHIFT6m Build/O00623; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.110 Mobile Safari/537.36". If you don't, which does run the risk of a ban, just put something like "gimmedatmoe/9001".
-Finished result should look something like this: TODO

- -

Part D: Browsing

-

Use a user-agent switcher (get a plugin for it for your browser, lots of them out there) to set your user agent to that whole string above.
-If it has the option for only doing it for some domains, set it to us-moe-app.amz-aws.jp. That's also where you will be going to play. If you got your user agent right, loading that URL should present you with the toppage ("see myroid"/"buy AP" page).

\ No newline at end of file diff --git a/main/pages/myroids b/main/pages/myroids deleted file mode 100644 index c73259a..0000000 --- a/main/pages/myroids +++ /dev/null @@ -1,4 +0,0 @@ -

myroids! Stuff to come later.
Game is Moe Can Change by Ambition.
I'll be posting random tools I've written elsewhere in this folder soon. Probably I'll fix them up first to be less explosion-prone.

-

So I can't play. My phone randomly decided to fuck up my button remaps, so I installed xposed (among several other attempts) to try to fix it. Eventually found a good xposed package for it. Anyway, when I first installed it, MCC stopped loading. Gave me a blank white screen as soon as I open the app. Huh. Similar to the time I ran a "prevent DRM content playing" script, which appeared to affect nothing else. I undid it fine, but uninstalling xposed didn't. Hmm.
So I switched to anbox, which meant no notifications, as I mentioned in my status. But then Manjaro switched stable kernel to linux 5.7. So I compiled my own version of 5.7 with the config options enabled, but binder still doesn't work, and it has no networking. I think I know why the latter occurs, but not how to fix it yet. So that's all TODO. I jumped back on 5.6 to update my status, but I'm going to keep using 5.7, (y'know, for continued support since 5.6 is EOL and) to try to force myself to sort this out properly.
My new phone will probably show up before then.

-

So new phone arrived. I'm going to flash Lineage or something on it soon, but until then, I'll be doing a lot of packet sniffing of MCC to try and figure out how the login system works, so that I can make a custom (desktop) client for it. That's already started (or continued, since I did some in the past on my other phone), but it may take time to make sense of it all. Help appreciated.

-

Haha I (probably) bricked it. IS FIXED! Shift support are gods!

\ No newline at end of file diff --git a/main/pages/quotes b/main/pages/quotes deleted file mode 100644 index 93b45aa..0000000 --- a/main/pages/quotes +++ /dev/null @@ -1,14 +0,0 @@ -Argy: A sprinting ninja with no taste whatsoever in music. -Crizzly: You look creepy when you glare into the soul of the viewer in the camera -LovelyJane: zergling i see you are being an insufferable prick as usual -Vintage Seinfeld DVD: Found "Wisknort", can't remember who he is but I remember him\nYou probably don't know 'em -i-58: pervling_man. It fits nicely. webcomic_man is a better summary -LanLingWang: a man with a temper with that of a women. a hermit who cares about mundane & worldly matters. a non flexible philosopher. unique indeed -Madao: how lazy you are?\nlazyman halolua its lazyman -Sayori's Bodyguard: i'm asking for english you australio-weeb -Yuko Yoshida: Whiskers looks like the embodiment of a discord admin -Quackerkats: i think whiskers has lost it lol -Danna: Who is zerg ? A guy who had a PA signature where he told a plant loli he wish he could show her more than her game -PonyPanda: I'm serious. I find you to be a very dull and unnecessary person.\nI don't want you to see my content. You're a parasite and unremarkable in every way. -The Thicc Earth Society: Asexual Programming Trap-Loving Hipster friend -WHY REMIX: you make your own life worse on purpose and complain to others when they aren't in as much pain as you. genuinely seek mental help, im not insulting or joking \ No newline at end of file diff --git a/main/urls.py b/main/urls.py index a54a65c..7b642a6 100644 --- a/main/urls.py +++ b/main/urls.py @@ -3,22 +3,13 @@ from . import views urlpatterns=[ path('',views.index,name='idex'), - path('me',views.me,name='me'), path('contact',views.contact,name='contact'), path('specs',views.specs,name='specs'), path('songs',views.songs,name='songs'), - path('webhost',views.host,name='webhost'), - path('free',views.free,name='free'), - path('myroids',views.myroids,name='myroids'), - path('myroids/browser',views.myroidbrowser,name='mybrowse'), path('nerdshope',views.nerdshope,name='shop'), - path('syntax',views.syntax,name='syntaxer'), path('teapot',views.teapot,name='teapot'), path('toask',views.articles,name='articles'), - path('todd',views.todd,name='todd'), re_path('r/(.*)',views.redirect,name='redirect'), - path('bikebunny',views.bikebunny,name='bikebunny'), path('md.rss',views.md,name='md'), - path('todos',views.todo,name='todo'), re_path('(.*)',views.autopage,name='everything'), ] \ No newline at end of file diff --git a/main/views.py b/main/views.py index 87d663b..58ea362 100644 --- a/main/views.py +++ b/main/views.py @@ -56,15 +56,6 @@ def index(): stuff=stuff.format(ra.choice(ids)) return {'title':'Home','content':stuff,'date':'2021/09/20'} -@rerender -def me(): - with open('main/pages/quotes') as b: - stuff=b.read() - stuff={n[:n.index(': ')]:n[n.index(': ')+2:] for n in stuff.split('\n')} - lbn='\\n' - stuff='
\n'.join([f'"{v.replace(lbn,"
")}" - {k.replace(lbn,"
")}' for k,v in stuff.items()]) - return {'title':'Me','content':stuff,'date':'2021/08/26'} - def lii(name,proto,link='',note=''): if link: name=f"{name}" if note: name=f"{name} ({note})" @@ -94,33 +85,10 @@ def songs(): out='This is the full list of songs that can appear on the home page.
'+'
\n'.join([f'https://invidious.ethibox.fr/watch?v={idd}' for idd in ids]) return {'title':'Songs','content':out,'date':'2021/05/06'} -@rerender -def host(): - return {'title':'Webhost','content':"I want to do a fully-fledged hosting thing. Like offer an actual VPS. But that's a lot of effort, and I want to do things like \"you have a folder in your VPS that will show up on your custom subdomain\" and such. I have exactly zero idea how to make multiple subdomains point to a single computer though. So it turns out Apache actually just has a thing to do exactly that. But fuck Apache. nginx can do it too. TODO™",'date':'2021/05/06'} - -@rerender -def free(): - with open('main/pages/free') as b: - return {'title':'Not free beer','content':b.read(),'date':'2021/07/24'} - -@rerender -def myroids(): - with open('main/pages/myroids') as b: - return {'title':'#myroid:matrix.org','content':b.read(),'date':'2021/05/06'} - -@rerender -def myroidbrowser(): - with open('main/pages/myroidbrowse') as b: - return {'title':'#myroid:matrix.org','content':b.read(),'date':'2021/05/15'} - @rerender def nerdshope(): return {'title':'Nerds\' Hope','content':"Store stuff. TODO. Will include inventory and budget. FB
Address is 21 Kensington St, Glenorchy
Off dates 2021: 24th Sept, 29th Oct, 26th Nov
Will be late on the 1st of Oct
Not sure about 31st of Dec. Depends what other plans are made. I might host a NYE party that night.",'date':'2021/09/05'} -@rerender -def syntax(): - return {'title':"What's that syntax?",'content':"

What's that syntax?


A far-future goal, this will be a service for looking up strange bits of syntax you see in programs, that you're trying to find the name for so that you can search for that.
Inspired by other lookup services like What Anime is That?, and more importantly, by C#'s object initialiser.",'date':'2021/05/06'} - def teapot(req): return HttpResponse("You're probably missing the joke.",status=418) @@ -133,40 +101,17 @@ def articles(): out.append(f'

{k}

'+ '
'.join([f'{l[1] or l[0]}' for l in v])) return {'title':'Articles','content':'

'+('

'.join(out))+'

','date':'2021/05/06'} -@rerender -def todd(): - out="""

Obviously, this started as a joke and turned into a fully-fledged shitpost. The invite link is here, the culprit is Zergling_man#9849, and... It just spams, kinda. Every 10 minutes in every channel and once every time someone starts a message with a ., or mentions it. Don't forget to buy Skyrim. Try '.wake'!

-Credits:

Avatar cropped from this picture,
-repeating text created by 'Jade', and kept sic.
-Flashrim pictures provided by Emperor Tang.
-Portalrim gif provided by ColeFreeman72.
-Animated memes gif provided by SakoArorim.
-Phonedrop gif provided by Takamatsu.
-Mugrim also provided by Takamatsu.
-Racerim provided by Kotz
-"provided by" indicates the content was not created by the person. If no creator is mentioned, they're unknown.

-

As of 2021-04-14, I've taken this bot offline forever and released the token (and code). If you see it online, it's not my doing, and I don't care if it gets me banned.

""" - return {'title':'It just works','content':out,'date':'2021/07/24'} - def redirect(req,src): with open('main/pages/redirects') as b: lonks=b.read() lonks=dict([n.split(': ',1) for n in lonks.split('\n')]) return HttpResponse(status=302,headers={'Location':lonks[src]}) -@rerender -def bikebunny(): - return {'title':'bikebunny','content':"I'm the rabbit-eared cyclist/bike bunny. And, well, the guy that wears blue bunny ears year-round (for now). This is my site. I live different, I encourage you to join me. Get in touch.",'date':'2021/07/24'} - def md(req): loop=asyncio.get_event_loop() feed=loop.run_until_complete(mdl.makefeed(req.GET.getlist('ids',''))) return HttpResponse(feed, content_type='application/rss+xml') -@rerender -def todo(): - return {'title':'Site TODOs','content':"Things to be done on the site:
",'date':'2021/09/21'} - @rerender def autopage(page): p=Page.objects.get(url=page)