Search found 556 matches

by Vegan
Sat Apr 03, 2021 8:33 pm
Forum: General Discussion
Topic: Introduce Yourself!
Replies: 1041
Views: 689715

Re: Introduce Yourself!

I have experience with PHP, MySQL, JavaScript and WordPress
by Vegan
Thu Mar 18, 2021 12:20 pm
Forum: Javascript
Topic: Fisher-Yates shuffle
Replies: 0
Views: 956

Fisher-Yates shuffle

// Fisher-Yates shuffle model function shuffle(array) { var m = array.length, t, i; while (m) { // While there remain elements to shuffle ... i = Math.floor(Math.random() * m--); // Pick a remaining element ... t = array[m]; // And swap it with the current element... array[m] = array[i]; array[i] =...
by Vegan
Fri Mar 05, 2021 9:24 am
Forum: PHP - Code
Topic: mathml 3
Replies: 2
Views: 654

Re: mathml 3

I tried a a chunk of code and WP installed a new Gutenberg block but that is the extent of it. Microsoft Equation is very old now. So is MathML. https://wordpress.org/plugins/mathml-block/ This the plugin that Gutenberg was programmed to grab \begin{bmatrix} a \\ b \end{bmatrix} is an example of the...
by Vegan
Thu Mar 04, 2021 5:07 pm
Forum: PHP - Code
Topic: mathml 3
Replies: 2
Views: 654

mathml 3

<math xmlns="http://www.w3.org/1998/Math/MathML"><mfrac><mrow><mi mathvariant="italic">a</mi><mi mathvariant="italic">b</mi></mrow><mrow><mi mathvariant="italic">a</mi><mi mathvariant="italic">b</mi></mrow></mfrac></math> That is the output from MSF...
by Vegan
Tue Mar 02, 2021 4:32 pm
Forum: PHP - Code
Topic: php and bash shell scripts
Replies: 0
Views: 767

php and bash shell scripts

i have assembled several scripts in BASH for maintenance tasks so i know that PHP can be run from the console as well this idea suggests I can use linux to test and develop some functions for later use elsewhere <?php echo 'Current PHP version: ' . phpversion(); echo 'More Info: ", phpinfo(); ?>
by Vegan
Wed Feb 24, 2021 6:52 pm
Forum: General Discussion
Topic: search engines and forums
Replies: 0
Views: 1326

search engines and forums

I spent much time over the last several weeks checking robots.txt for social media and forums. No surprise is that most block search engines from crawling them. This forum is crawled by Google at al so as a result any solutions here are easily found and it cuts down on the same old post surfacing ov...
by Vegan
Tue Feb 23, 2021 9:51 pm
Forum: PHP - Code
Topic: latex for wordpress
Replies: 0
Views: 772

latex for wordpress

one excellent ability of wordpress is latex which is the language of math in the advanced areas latex can make all the math books you may have seen in a university So my site can now post math articles in computer graphics along with code examples to make things 100x clearer this forum is rich with ...
by Vegan
Thu Feb 18, 2021 6:37 pm
Forum: PHP - Code
Topic: fix a wordpress database
Replies: 8
Views: 994

Re: fix a wordpress database

All I know is that with a SSD my web server seems to be snappy which is what everyone wants out there. Some sites are sluggish.

This site like WP runs on Linux and MySQL which seems to be very responsive using SSD.

SSD are low cost now so I figure why not.
by Vegan
Tue Feb 16, 2021 2:50 pm
Forum: PHP - Code
Topic: fix a wordpress database
Replies: 8
Views: 994

Re: fix a wordpress database

next up, installing dovecot and leverage email for my server

https://www.hardcoregames.ca/2021/02/16 ... il-server/

with 250GB SSD there is room for a while but unlike hotmail ect I think I can make mail boxes bigger?
by Vegan
Tue Feb 16, 2021 2:48 pm
Forum: PHP - Code
Topic: fix a wordpress database
Replies: 8
Views: 994

Re: fix a wordpress database

I ended up installing linux fresh and manually cleaning up the database with notepad in windows, then I stuffed the database back into a clean install of MySql and figures it chokes, then I realized the default version is 5.7 and I was using 8 so fixing that problem got me back up after battling my ...
by Vegan
Mon Feb 15, 2021 10:34 am
Forum: PHP - Code
Topic: fix a wordpress database
Replies: 8
Views: 994

Re: fix a wordpress database

After hours of reading useless manuals and a boatload of reconfigurations I was able to get my vhost working albeit with a hard coded URL in the wp-config.php file to the site would render, without it the site comes up with no CSS properly etc and I cannot even get the admin area opened at all with ...
by Vegan
Mon Feb 15, 2021 4:08 am
Forum: PHP - Code
Topic: fix a wordpress database
Replies: 8
Views: 994

Re: fix a wordpress database

seems that the database is locked and when i attempt a lock it is not activating and the error persists so I wiped the machine and installed linux for 99th time after manually cleaning up the SQL file now a new class of problem with Apache2, This site can’t provide a secure connection www.hardcorega...
by Vegan
Sat Feb 13, 2021 7:20 pm
Forum: PHP - Code
Topic: fix a wordpress database
Replies: 8
Views: 994

fix a wordpress database

my wordpress database has a horror story for an error, a comma for a period wordpress based solutions did not work, I even dumped the database and manually made changes and the error persisted only thing that comes to mind is a lock on the database but no error was noted on the command line with mys...
by Vegan
Thu Feb 11, 2021 1:00 pm
Forum: PHP - Code
Topic: back at last
Replies: 6
Views: 960

Re: back at last

I see maybe 50-100 brute force attacks on my website, they attempt to get into the admin panel which is protected by a very strong and long password I suggest everyone do that as scam artists are trying everything imaginable to plant malware such as ransomware etc For new users here, I suggest upper...
by Vegan
Wed Feb 10, 2021 9:28 pm
Forum: PHP - Code
Topic: back at last
Replies: 6
Views: 960

Re: back at last

if nothing at least this forum is not overrun with spambots like many forums have fallen from, some I was used to be on long ago were so intense as to crash the database with so many posts I have comments dyable outright on my site as spambots are so abundant, while there are things that can slow it...