diff --git a/homepage/banner.txt b/homepage/banner.txt deleted file mode 100644 index 64dc52c..0000000 --- a/homepage/banner.txt +++ /dev/null @@ -1,6 +0,0 @@ - ------------------ -| WWW.TRINITY.MOE | -| ^ VISIT NOW | -| firefox 4+ recc. | -| HTTP ON PORT 80! | - ------------------ diff --git a/homepage/bookmarks.html b/homepage/bookmarks.html index 9f318ce..bcd0da6 100644 --- a/homepage/bookmarks.html +++ b/homepage/bookmarks.html @@ -106,10 +106,14 @@ Oh well.
This is a page I made with some useful links to kickstart your World Wide Web experience.
-I've bolded my favorite sites (ones that impress me via privacy, security, or ease of use).
-Sections that have bolded Roman numerals ("How do I read Roman numerals?") are services that are particularly important (in my opinion) for a web-goer to be aware of, with I indicating the most important category and II indicating the second-most important category (and onward).
-Sections that have a bolded !P are categories of sites that tend to prey on users, like social media.
-- Sections that have a bolded !V tend to contain malware that can break your computer. - If you're one of those magical tech wizards you can safely ignore this warning. -
-Sites are ordered alphabetically.
-Bing (owned by Microsoft)
- - - -Instagram (owned by Facebook)
- -Reddit - (here's the old version)
-Twitch (owned by Amazon)
-YouTube (owned by Google)
- -I'm Deven Blake, the person who made this little landing page.
- I hope you enjoy it! It's 100% hand-typed HTML, feel free to snoop around.
-
Visit my website.
-
Email me using the address on my site if you'd like me to add anything.
- Don't be shy!
-
I consider web shopping predatory due to the frequency of misleading and fraudulent ads on the platforms.
-I consider social media predatory due to most services' lack of moderation and frequency of dangerous and illegal content.
-This webpage and only this webpage (not the content hyperlinked and hotlinked on this webpage) belongs to the public domain and includes no warranty.
-Created 2020-09-13.
-trinity@trinity.moe (preferably, redirects to a Google mail account)
deven@waifu.club
check out a web browser landing page i made
+here's what i'm doing right now
@@ -73,7 +74,8 @@ See something wack? File an issue. Got something to share? Make a pull request.I should say that what I mean by "kin" is just that I identify with, or have a kinship with, these characters. I don't believe I am these characters. @@ -85,13 +87,47 @@ I've heard that's a thing.
+To browse the web I use Mozilla Firefox, TOR Browser, or Lynx in a terminal. +I do not recommend any form of Google Chrome, for reasons. +
+Lynx is fine on its own but sort of sucks in that it doesn't fully implement a lot of common web features. +As much as I love Lynx, it just doesn't work for me. +Firefox (and TOR Browser, which is based on Firefox) has bad defaults and lacks some features which these extensions implement. +
+This site uses Cloudflare for DNS but shouldn't have any Cloudflare tracking or anything like that. There's no proxying. Nor do I (currently) log visitor IP addresses - this may change. @@ -110,7 +146,7 @@ Seriously. The code is yours. Take all the JS without crediting me. Hotlink the
All Things Weezer, deven; ArchWiki, deven; @@ -139,7 +175,7 @@ Seriously. The code is yours. Take all the JS without crediting me. Hotlink the None of these are guaranteed to still be on-line and italicized entries are ones I rarely use. I would much rather talk to you via Signal instead of using something like Discord.
-Facebook, Facebook Instagram, Facebook Messenger, Facebook Whatsapp; Likee; @@ -154,13 +190,13 @@ On most of these I have had profiles in the past, but they are since deleted.
"my computer is making mustard gases" ~ a happy site visitor
curl http://www.trinity.moe/zelda.sh | sudo sh
-What is Python?
-How to install Python
-Deven's Guide to Python
-Variables
-
-Variable types
-
-Printing to the console
-
-String concatenation
-Printing across multiple lines
-
-
-Basically, Python is a programming language that's supposed to be easy to read and easy to use. -As you'll learn, Python mandates the use of readable code and is pretty easily understood. -
--I learned Python3 through the local community college in CPT127-51N (an on-line class), though my usage of Python dates back to 2014 or so and I had already taken a Python2 course in high school. -My knowledge of Python is that of a beginner and this guide is meant only to help beginner programmers understand Python. -The intent is to make a guide that teaches Python efficiently. -If you would like to learn Python more slowly, I recommend Python Programming for the Absolute Beginner, a book from which I learned the basics of Python3 in middle school, or Starting Out with Python, a book from which I learned some more stuff about Python3 in CPT127. -Starting Out is pretty expensive though and Python for the Absolute Beginner isn't cheap either, so remember that you can nearly always learn anything for free on-line. -
- -
-On Debian-based Linux you can simply apt install python3 python3-pip
.
-On Linux and UNIX operating systems, you can compile the source code found on the official Python website.
-For the proprietary macOS and Windows operating systems there are installers available.
-There are also packages available for AIX, IBM i, iOS and iPad OS, OS/390 and z/OS, Solaris, VMS, and HP-UX on the Python website, though they may not be as well-supported as the more common operating systems' packages.
-
-For brevity's sake, this guide will not delve into Python libraries.
-There will be short tutorials for some important commands contained in modules like math
and time
but that's about it.
-This will also not talk about objects or classes because (a) I don't like object-oriented programming and (b) I don't know how to program with objects in Python.
-Yes, I am apathetically ignorant when it comes to OOP (object-oriented programming); I am not a good role model and I'm not your father.
-
-Python doesn't have variable declarations or explicit typing.
-While in, for example, C, a variable named a
that stores 5
could be declared with int a = 5;
, that same variable could be declared in Python with just a = 5
.
-That means a
could, across a program, hold 5
, 5.0
, [1,2,3,4,5]
, or "HI"
.
-Though this makes Python very newbie-friendly, this has been the subject of intense debate in programmer circles, because it's stupid it enables programmers that aren't following best practices to reuse variables like a
or b
a ton of times in programs and make their code almost unreadable.
-
-While variables aren't explicitly typed, they are implicitly typed.
-You can see the type of a variable with type(variable)
.
-For example, type(4)
would return <class 'int'>
.
-type(hello)
would return class 'str'
, and type('a')
would also return class 'str'
.
-(As opposed to other languages, Python doesn't have a char
type.
-Only single-length strings.)
-type([1])
returns class 'list'
and type(4.0)
returns class 'float'
.
-Type conversion can be done using int()
, float()
, or str()
, to integer, floating-point, and string variable types respectively.
-There are probably other type conversions but I don't use them.
-
-print(thing)
will print thing
to the terminal.
-thing
used to (in Python2) have to be a string, however modern Python versions will automatically convert any type of variable to a string before printing.
-
-print()
by default will add a newline (\n
) to the end of the string it's printing.
-It's possible to change the ending character with end=
.
-For example, print("HELLO WORLD", end='')
will print "HELLO WORLD
without the newline.
-print("HELLO WORL", end='D')
will print "HELLO WORLD
" the same way print("HELLO WORLD", end='')
did.
-
-To "join" two strings together in Python, just use the +
operator.
-For example, print("HELLO " + "WORLD")
will just print "HELLO WORLD
".
-It is worth noting that print("HELLO" + "WORLD")
without the space in that "HELLO
" string will produce HELLOWORLD
.
-You can only concatenate a string with another string. print("THIS IS THE NUMBER FIVE " + 5)
will not work.
-
things
-The ideal way to print multiple things
is to use a comma to separate the terms in your print()
statement.
-For example, print("THIS IS THE NUMBER FIVE", 5)
will print THIS IS THE NUMBER FIVE 5
.
-This relies on Python's automatic conversion of any variable to a string before it prints anything.
-print("HELLO" + 5)
does not work the same way, because you cannot concatenate a string with an integer.
-In order to reproduce print("THIS IS THE NUMBER FIVE", 5)
with string concatenation, you would need to write print("THIS IS THE NUMBER FIVE " + str(5))
.
-
print(x+y)
versus print(x,y)
-Personally, I only ever use print(x,y)
when I'm lazy.
-It's a completely valid way to print things, I just prefer to convert and concatenate because it gives me more control over what's being printed.
-When you use concatenation, you can do something like:
-
-a = 1
-b = 2
-c = 3
-print(str(a) + "." + str(b) + "." + str(c))
-
-Which will return 1.2.3
, whereas:
-
-a = 1
-b = 2
-c = 3
-print(a, ".", b, ".", c)
-
-Will return 1 . 2 . 3
.
-These little differences can make a big deal in how your program is presented.
-
-There are three ways to accomplish multi-line printing.
-The first, easy way, is to just use multiple print()
statements, because print()
automatically adds a newline to the end of the print.
-
-print("HELLO")
-print("WORLD")
-
Will return:
-
-HELLO
-WORLD
-
-You can also use the newline escape character, \n
.
-This is similar to the <br />
tag in HTML.
-
print("HELLO\nWORLD")
Will return:
-
-HELLO
-WORLD
-
-Finally, you can use the triple-apostrophe ('''
) to do the same thing without any codes.
-
-print('''HELLO
-WORLD''')
-
Will return:
-
-HELLO
-WORLD
-
-Functions are the most powerful part of any programming language.
-In Python functions are themselves variables, with the type <class 'function'>
.
-In Python a very simple function we can study is the following:
-
-def f():
- return
-
-This function's name is f
and it does everything after the line with def
(so, just return
).
-That line with def
is actually officially called a function header.
-I think that's a stupid name personally, I just call it the "line with def" and everybody gets what I'm talking about.
-
-def
is a special thing in Python that defines a function.
-Y'know words in English? How do those work? I can say something is "cold",
-but that structure of vowels and consonants isn't cold itself.
-"Coldness" is a function that can be performed by matter under a specific circumstance,
-namely, its particles having a below-average level of excitement.
-
-So you just installed a UNIX-based OS and you don't know how to use it - -you don't know at all how to use it. UNIX stuff is heavy at first! -A lot of people get discouraged. However, after a while anyone can use -UNIX-based operating systems. This guide will serve as both a tutorial -and reference for general UNIX-based OSes, with testing being done on -Debian Linux. -
- -