256 Kilobytes

Web Development Answers

Type AnswersAsk and answer questions, if that is something that you want to do. Category Web DevelopmentContent about developing websites, web applications, and other similar projects. Tag All

Profile Photo - diabIek

What is VPS hosting?

Answers in Web Hosting | By diabIek

Published 11 months agoTue, 19 Mar 2019 09:23:35 -0700

Profile Photo - Default

Last Reply VPS Hosting: Virtual Private Server (VPS) hosting is a simplified process of partitioning your physical servers into multiple virtual servers tha... anju,

VPS Hosting: Virtual...

Wed, 19 Feb 2020 02:38:51 -0800 2 days ago
🗨
4
🐏
0
👁
255
Profile Photo - Some Guy

[PostgreSQL vs MySQL] Which DB has the best performance?

Answers in Databases | By Some Guy

Published 1 year agoSun, 13 Jan 2019 04:41:26 -0800

Profile Photo - Default

Last Reply both are the best top databases but it depends on what you want to do and what your application does. --Abhishek Mod Edit: Spam link removed. Al... Abhishek,

both are the best top dat...

Mon, 17 Feb 2020 09:02:00 -0800 4 days ago
🗨
1
🐏
0
👁
278
Profile Photo - GulfWar

Dedicated server hosting for ARK: Survival Evolved?

Answers in Web Hosting | By GulfWar

Published 11 months agoTue, 19 Mar 2019 05:44:22 -0700

Profile Photo - Default

Last Reply Your one and only Ramadan countdown who has also dealt with Wordpress hosting in Singapore. Above all it is also suggested by web... talmadge,

Your one and only Ra...

Thu, 06 Feb 2020 21:43:48 -0800 2 weeks ago
🗨
4
🐏
0
👁
309
Profile Photo - Zr. Grafto

What version of WordPress do I have?

Answers in Web Development | By Zr. Grafto

Published 11 months agoTue, 19 Mar 2019 21:28:24 -0700

Profile Photo - Default

Last Reply There are different ways to identify the WordPress version. If you have access to Admin Area then it will be easier for you. You can check WordPress v... CodeFlist,

There are different ways...

Tue, 04 Feb 2020 18:58:39 -0800 2 weeks ago
🗨
2
🐏
0
👁
179
Profile Photo - Some Guy

What is the difference between Java and Javascript?

Answers in Client-Side | By Some Guy

Published 1 year agoSun, 13 Jan 2019 04:35:56 -0800

Profile Photo - August R. Garcia

Last Reply See also: https://www.256kilobytes.com/content/show/1916/javascript-vs-ecmascript-vs-typescript-vs-coffeescript-differences-what-to-use-and-when... August R. Garcia,

See also:

Tue, 31 Dec 2019 22:42:18 -0800 1 month ago
🗨
4
🐏
0
👁
565
Profile Photo - August R. Garcia

[Solved] Laravel - How to List All Queries Used to Generate a Page with Execution Times

Answers in Frameworks | By August R. Garcia

Published 2 months agoThu, 12 Dec 2019 21:14:15 -0800 | Last update 2 months agoThu, 12 Dec 2019 21:15:04 -0800

Profile Photo - August R. Garcia

How to show color-coded boxes for each q...

MoreRework/expansion of a solution provided in a Stack Overflow thread from 2 years, 11 months ago (December 2016). My team and I are working on...
🗨
0
🐏
1
👁
70
Profile Photo - August R. Garcia

[Solved] Implementing an "Estimated Time to Crack" Notification for Registration Forms

Answers in Client-Side | By August R. Garcia

Published 2 months agoFri, 06 Dec 2019 15:14:05 -0800 | Last update 2 months agoFri, 06 Dec 2019 15:15:37 -0800

Profile Photo - August R. Garcia

Probably edit slightly for a cleaner UI<...

MoreProbably edit slightly for a cleaner UI Code and demo: Message Here  <form> <input id="test" type="text" /> <span i...
🗨
0
🐏
0
👁
73
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

E.g., a validation rule where "<...

MoreE.g., a validation rule where "<p>This is a&nbsp;post</p>" is counted as 14 characters instead of 26 characters. Anyway, here'...
🗨
0
🐏
0
👁
135
Profile Photo - Twostntle

How to remove "proudly powered by WordPress and buddypress"?

Answers in Web Development | By Twostntle

Published 11 months agoWed, 20 Mar 2019 01:25:39 -0700

Profile Photo - August R. Garcia

Last Reply TFW you like this thread so much that you visit it an average of at least six times per day: Top 20 IP addresses for this thread.... August R. Garcia,

TFW you like this thread...

Tue, 03 Dec 2019 13:29:03 -0800 2 months ago
🗨
4
🐏
1
👁
30,888
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply To make CKEditor required on the client side, adding a "required" attribute to the initial textarea will not work. Instead, some JavaScript is require... August R. Garcia,

To make CKEditor required...

Tue, 03 Dec 2019 13:08:46 -0800 2 months ago
🗨
1
🐏
0
👁
248
Profile Photo - Some Guy

Best way to conduct server-side validation with CKEditor?

Answers in Web Development | By Some Guy

Published 1 year agoSun, 13 Jan 2019 04:24:05 -0800

Profile Photo - August R. Garcia

Last Reply While the exact steps vary based on your server-side programming language, here's the short version. 1. How to Get Data from CKEditor in PHP (Or Ot... August R. Garcia,

While the exact steps var...

Tue, 03 Dec 2019 13:05:21 -0800 2 months ago
🗨
1
🐏
0
👁
168
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

Last Reply Oh shit, that's probably even useful in some scenarios, specifically for resolving named hex colors like "red" and so on. Also, it will cycle between... August R. Garcia,

Oh shit, that's probably...

Mon, 02 Dec 2019 01:36:23 -0800 2 months ago
🗨
3
🐏
1
👁
96
Profile Photo - August R. Garcia

[Solved] Enabling Shades/Tints of All Colors in CKEditor

Answers in Client-Side | By August R. Garcia

Published 2 months agoMon, 02 Dec 2019 01:27:11 -0800 | Last update 2 months agoTue, 03 Dec 2019 12:53:14 -0800

Profile Photo - August R. Garcia

There is a CKEditor plugin called Color...

MoreThere is a CKEditor plugin called Color Button that can be used to add buttons to CKEditor instances to change font colors and background colors....
🗨
0
🐏
0
👁
71
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

Code:

MoreCode: <form> <button class="btn" onclick="doubleclick_confirm_submit(event, this);" type="button">Ban/Unban</button> <...
🗨
0
🐏
1
👁
74
Profile Photo - August R. Garcia

[Solved] CSS Effect for Custom File Input on Dragover/DragEnter

Answers in Client-Side | By August R. Garcia

Published 2 months agoTue, 26 Nov 2019 11:27:39 -0800

Profile Photo - August R. Garcia

Easiest solution I found was to add a cu...

MoreEasiest solution I found was to add a custom attribute based on ondrag[something] events and to then use a CSS attribute selector: <script>...
🗨
0
🐏
1
👁
70
Profile Photo - August R. Garcia

[Solved] Automatic Copyright Footer Dates in Laravel/Basically Vanilla PHP

Answers in Server-Side | By August R. Garcia

Published 2 months agoMon, 25 Nov 2019 15:05:52 -0800 | Last update 2 months agoMon, 25 Nov 2019 16:36:40 -0800

Profile Photo - August R. Garcia

The only part about this that isn't vani...

MoreThe only part about this that isn't vanilla PHP is using {{ $var }} as shorthand for <?= htmlspecialchars($var); ?>. <style> .footer...
🗨
0
🐏
0
👁
125
Profile Photo - August R. Garcia

[Solved] Favicon.ico Files not Caching on Chrome

Answers in Server-Side | By August R. Garcia

Published 3 months agoTue, 19 Nov 2019 18:52:51 -0800 | Last update 3 months agoTue, 19 Nov 2019 19:45:31 -0800

Profile Photo - August R. Garcia

Slash "solved."Truly a quality hack.

MoreAs discussed previously, there are a fair number of dumbass things that can be done with base64 encoding that are occasionally so dumb that they even...
🗨
0
🐏
1
👁
101
Profile Photo - August R. Garcia

[Solved] PHP/Laravel - Cache Query for Current Request/Pageload

Answers in Server-Side | By August R. Garcia

Published 3 months agoSat, 09 Nov 2019 12:03:54 -0800

Profile Photo - August R. Garcia

TL;DR: Use $GLOBALS

MoreThe Laravel caching functions seem to not have specific built-in functionality to cache a query for only the current pageload, but it can easily be do...
🗨
0
🐏
0
👁
142
Profile Photo - Dulybmx

What is the cheapest dedicated server (quality not super important)?

Answers in Web Hosting | By Dulybmx

Published 11 months agoWed, 20 Mar 2019 01:07:30 -0700

Profile Photo - August R. Garcia

Last Reply Obligatory shill for our Dreamhost affiliate article: https://www.256kilobytes.com/content/show/4478/dreamhost-review-faq-and-affiliate-program... August R. Garcia,

Obligatory shill for our...

Mon, 04 Nov 2019 06:03:02 -0800 3 months ago
🗨
3
🐏
0
👁
234
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

Call the currentPage and lastPage method...

MoreIncorrect: <h1>Page {{ $paginator->currentPage }} of {{ $paginator->lastPage }}</h1> Correct: <h1>Page {{ $pagina...
🗨
0
🐏
0
👁
358
Profile Photo - August R. Garcia

[Solved] Use CSS to show a child element when the parent element on parent element :hover

Answers in Style and Layout | By August R. Garcia

Published 3 months agoThu, 24 Oct 2019 18:36:54 -0700 | Last update 3 months agoThu, 24 Oct 2019 18:37:32 -0700

Profile Photo - August R. Garcia

Title

MoreTitle <style> nav#demo { background-color:beige; } nav#demo:hover { background-color:teal ; } nav#demo ul { display:none ;...
🗨
0
🐏
0
👁
125
Profile Photo - August R. Garcia

[Solved] Automatically apply color scale to HTML table with JavaScript

Answers in Client-Side | By August R. Garcia

Published 4 months agoTue, 08 Oct 2019 18:56:14 -0700 | Last update 4 months agoTue, 08 Oct 2019 19:08:22 -0700

Profile Photo - August R. Garcia

*Basically solved

MoreHere's some code. However, this code is fairly slow on large tables (adds roughly 50-150 milliseconds for 190 rows of four columns). Probably usu...
🗨
0
🐏
0
👁
128
Profile Photo - August R. Garcia

[Solved] Adding an "active" class to <nav>/navigation menus in Laravel

Answers in Client-Side | By August R. Garcia

Published 6 months agoTue, 20 Aug 2019 16:25:41 -0700 | Last update 6 months agoTue, 20 Aug 2019 16:26:29 -0700

Profile Photo - August R. Garcia

Basically the same with PHP in general;...

MoreBasically the same with PHP in general; only real difference is the use of Route::currentRouteName(). Code: <nav> <?php $...
🗨
0
🐏
0
👁
133
Profile Photo - August R. Garcia

[Solved] How to automatically replace newlines with commas when data is pasted into an HTML <input>

Answers in Client-Side | By August R. Garcia

Published 6 months agoFri, 09 Aug 2019 19:14:14 -0700 | Last update 6 months agoFri, 09 Aug 2019 19:18:12 -0700

Profile Photo - August R. Garcia

Last Reply Can add a few more regex lines to trim empty commas: el.value = el.value.replace(/\n/g, ', '); el.value = el.value.replace(/\t/g, '... August R. Garcia,

Can add a few more regex...

Fri, 09 Aug 2019 19:44:27 -0700 6 months ago
🗨
1
🐏
0
👁
214
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

I'm going to fucking kill myself on live...

MoreThe problem was that two new helper files had been added. Similar to these: https://laravel-news.com/creating-helpers Fairly standard. A...
🗨
0
🐏
0
👁
198
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

See screenshot. Here's the solution:<br...

MoreSee screenshot. Here's the solution: Login to DreamHost Go to More > MySQL Databases Find the database user who you want to connect to th...
🗨
0
🐏
0
👁
191
Profile Photo - August R. Garcia

[Solved] Downloading arbitrary tables as TSV using JavaScript

Answers in Client-Side | By August R. Garcia

Published 6 months agoSun, 04 Aug 2019 05:42:57 -0700

Profile Photo - August R. Garcia

Title.

MoreTitle. <!DOCTYPE html> <html> <head> <title>Test Table Download</title> </head> <body> <h1&g...
🗨
0
🐏
0
👁
187
Profile Photo - Some Guy

What are some example ASP.Net interview questions?

Answers in Web Development | By Some Guy

Published 1 year agoWed, 06 Feb 2019 13:45:58 -0800

Profile Photo - Hash Brown

Last Reply >jhon smith Hash Brown,

>jhon smith

Wed, 26 Jun 2019 03:36:49 -0700 7 months ago
🗨
3
🐏
0
👁
334
Profile Photo - August R. Garcia

[Solved] Uncaught TypeError: $(...).autocomplete is not a function

Answers in Client-Side | By August R. Garcia

Published 8 months agoFri, 21 Jun 2019 13:23:54 -0700

Profile Photo - August R. Garcia

Include the jQuery UI library in additio...

MoreUse this: <!DOCTYPE html> <html> <head> <link href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" r...
🗨
0
🐏
0
👁
408
Profile Photo - Some Guy

Laravel - How can I check if a collection is empty?

Answers in Frameworks | By Some Guy

Published 1 year agoSun, 02 Dec 2018 03:44:19 -0800

Profile Photo - Scuffed Dog

Last Reply Thank you Univa, you're a very smart gentleman and also a nice companion in life. Scuffed Dog,

Thank you Univa, you're a...

Mon, 03 Jun 2019 09:12:06 -0700 8 months ago
🗨
2
🐏
0
👁
347