256 Kilobytes

Answers

Type AnswersAsk and answer questions, if that is something that you want to do. Category All Tag All

Profile Photo - Some Guy

[Laravel] How to make a custom 404 page?

Answers in Frameworks | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:38 -0800

Profile Photo - August R. Garcia

Last Reply The easiest way is to create a file at: /resources/views/errors/404.blade.php Replace 404 with the HTTP code that you want to make a custom... August R. Garcia,

The easiest way is to cre...

Mon, 03 Dec 2018 07:07:11 -0800 7 months ago
🗨
1
🐏
0
👁
77
Profile Photo - Some Guy

CKEditor replace by class

Answers in Client-Side | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:51 -0800

Profile Photo - August R. Garcia

Last Reply Yes, it can be done. Something along these lines works. Can remove the try/catch statement at your discretion. try { // Intialize CKEditor Ins... August R. Garcia,

Yes, it can be done. Some...

Mon, 03 Dec 2018 06:23:50 -0800 7 months ago
🗨
1
🐏
0
👁
150
Profile Photo - Some Guy

Is there a way to create a CSS color scale based on a div's value/innerHTML content (or vanilla JS)?

Answers in Client-Side | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:35 -0800 | Last update 7 months agoMon, 03 Dec 2018 05:28:28 -0800

Profile Photo - August R. Garcia

Last Reply Am fairly sure there is no built-in way to do this with pure CSS, but definitely doable with JS/jQuery. August R. Garcia,

Am fairly sure there is n...

Mon, 03 Dec 2018 06:15:47 -0800 7 months ago
🗨
1
🐏
0
👁
146
Profile Photo - Some Guy

Pls halp: Google Sheets' REPT function uses same random number for all repetitions.

Answers in Spreadsheets | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:49 -0800 | Last update 7 months agoSun, 02 Dec 2018 12:26:10 -0800

Profile Photo - August R. Garcia

Last Reply Am fairly sure that this is not supported in Google Sheets. It might be possible to emulate behavior for your specific use case through a... August R. Garcia,

Am fairly sure that this...

Sun, 02 Dec 2018 12:25:48 -0800 7 months ago
🗨
1
🐏
0
👁
115
Profile Photo - Some Guy

How to pass an argument to Laravel middleware (called from a in controller's constructor)?

Answers in Frameworks | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:53 -0800 | Last update 7 months agoSun, 02 Dec 2018 12:16:38 -0800

Profile Photo - August R. Garcia

Last Reply <?php $this->middleware( 'some.middleware:Some Value' ); August R. Garcia,

Sun, 02 Dec 2018 03:49:52 -0800 7 months ago
🗨
1
🐏
0
👁
78
Profile Photo - Some Guy

[CSS] How to make a text shadow on all sides?

Answers in Style and Layout | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:52 -0800

Profile Photo - August R. Garcia

Last Reply Something like this will work: text-shadow: 0px 0px 4px black; The important part is to make the first to values be 0. These two values ind... August R. Garcia,

Something like this will...

Sun, 02 Dec 2018 03:49:51 -0800 7 months ago
🗨
1
🐏
0
👁
70
Profile Photo - Some Guy

[CSS] Display none but keep space?

Answers in Style and Layout | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:50 -0800

Profile Photo - August R. Garcia

Last Reply Use the CSS visibility property. This article from CSS-Tricks covers the property in more depth: https://CSS-tricks.com/almanac/properties/v/vi... August R. Garcia,

Use the CSS visibility pr...

Sun, 02 Dec 2018 03:49:49 -0800 7 months ago
🗨
1
🐏
0
👁
90
Profile Photo - Some Guy

What is port 25565 used for? How to open it? Should I open it?

Answers in Web Hosting | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:48 -0800

Profile Photo - August R. Garcia

Last Reply Seems like that port is most commonly/mainly used for Minecraft servers. You should be able to run a Minecraft server from any port (probably). The... August R. Garcia,

Seems like that port is m...

Sun, 02 Dec 2018 03:49:47 -0800 7 months ago
🗨
1
🐏
0
👁
100
Profile Photo - Some Guy

[Google Sheets] How to extract text between parentheses or brackets?

Answers in Spreadsheets | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:47 -0800

Profile Photo - August R. Garcia

Last Reply To extract between brackets: =REGEXEXTRACT(B113, "[(.*?)]") Also, see this thread: https://www.256kilobytes.com/content/sh... August R. Garcia,

To extract between bracke...

Sun, 02 Dec 2018 03:49:46 -0800 7 months ago
🗨
1
🐏
0
👁
92
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply Are you using the Blade templating engine? When you use the double curly brace syntax to insert content, it uses the PHP htmlspecialchars() functio... August R. Garcia,

Are you using the Blade t...

Sun, 02 Dec 2018 03:49:45 -0800 7 months ago
🗨
1
🐏
0
👁
169
Profile Photo - Some Guy

Is Terry A. Davis truely the smartest programmer that ever lived?

Answers in Garbage Can | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:44 -0800

Profile Photo - August R. Garcia

Last Reply He did write his own compiler. August R. Garcia,

He did write his own comp...

Sun, 02 Dec 2018 03:49:43 -0800 7 months ago
🗨
1
🐏
0
👁
303
Profile Photo - Some Guy

[Google Sheets] Extract text from parentheses?

Answers in Spreadsheets | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:43 -0800

Profile Photo - August R. Garcia

Last Reply See this thread: https://www.256kilobytes.com/content/show/230/google-sheets-how-to-extract-text-between-parentheses-or-brackets You also... August R. Garcia,

See this thread:

Sun, 02 Dec 2018 03:49:42 -0800 7 months ago
🗨
1
🐏
0
👁
80
Profile Photo - Some Guy

[Laravel] How to show a user's account creation date and time?

Answers in Frameworks | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:42 -0800

Profile Photo - August R. Garcia

Last Reply Try:<p>Account created <em title="{{$user->created_at}}">{{$user->created_at->format('r')}}</em>.</p... August R. Garcia,

Try:<p>Account crea...

Sun, 02 Dec 2018 03:49:41 -0800 7 months ago
🗨
1
🐏
0
👁
54
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply This solution worked when I ran into this issue: 1. Open the AppServiceProvider.php file vim app/Providers/AppServiceProvider.php 2. Mak... August R. Garcia,

This solution worked when...

Sun, 02 Dec 2018 03:49:40 -0800 7 months ago
🗨
1
🐏
0
👁
105
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply One option is to use a for loop:<div class='user-list'> @for($iii=0; $iii < sizeof($users); ++$iii) <div class='a... August R. Garcia,

One option is to use a fo...

Sun, 02 Dec 2018 03:49:39 -0800 7 months ago
🗨
1
🐏
0
👁
79
Profile Photo - Some Guy

[CSS Question] Prevent padding from increasing width of an element?

Answers in Style and Layout | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:30 -0800

Profile Photo - August R. Garcia

Last Reply Posted this in a different thread. Should work here as well:One way to handle this is to make a CSS class like the following:.box-border-fix { box-... August R. Garcia,

Posted this in a differen...

Sun, 02 Dec 2018 03:49:29 -0800 7 months ago
🗨
1
🐏
0
👁
68
Profile Photo - Some Guy

[Laravel] How to create a route that redirects to another page?

Answers in Frameworks | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:29 -0800

Profile Photo - August R. Garcia

Last Reply Something along these lines will work, if this is what you're referring to: <?php Route::get('/test-redirect', function () { return redir... August R. Garcia,

Something along these lin...

Sun, 02 Dec 2018 03:49:28 -0800 7 months ago
🗨
1
🐏
0
👁
69
Profile Photo - Some Guy

How to create drop down list in Google Sheets?

Answers in Spreadsheets | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:28 -0800

Profile Photo - August R. Garcia

Last Reply Select the range you want to add drop down menus to Right click --> Data Validation Set conditions/values August R. Garcia,

Sun, 02 Dec 2018 03:49:27 -0800 7 months ago
🗨
1
🐏
0
👁
71
Profile Photo - Some Guy

How does the soft delete feature work for Laravel projects?

Answers in Frameworks | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:23 -0800

Profile Photo - August R. Garcia

Last Reply Soft deletes are marked with a timestamp at the time of deletion/"deletion," but the data remains in the database (and can be recovered/unde... August R. Garcia,

Soft deletes are marked w...

Sun, 02 Dec 2018 03:49:22 -0800 7 months ago
🗨
1
🐏
0
👁
79
Profile Photo - Some Guy

How to generate a random IP address in Google Sheets?

Answers in Spreadsheets | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:19 -0800

Profile Photo - August R. Garcia

Last Reply This formula works for a random IPv4 address:=RANDBETWEEN(1,255)&"."&RANDBETWEEN(1,255)&"."&RANDBETWEEN(1,255)&amp... August R. Garcia,

This formula works for a...

Sun, 02 Dec 2018 03:49:18 -0800 7 months ago
🗨
1
🐏
0
👁
62
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply Try this: =char(COLUMN(A1)+64) August R. Garcia,

Try this:

Sun, 02 Dec 2018 03:49:17 -0800 7 months ago
🗨
1
🐏
0
👁
61
Profile Photo - Some Guy

How to use font-family comic sans in CSS?

Answers in Style and Layout | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:16 -0800

Profile Photo - August R. Garcia

Last Reply font-family: "Comic Sans MS", cursive, sans-serif; August R. Garcia,

font-family: "Comic...

Sun, 02 Dec 2018 03:49:15 -0800 7 months ago
🗨
1
🐏
0
👁
82
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply Covered on Stack Exchange:https://stackoverflow.com/questions/28956911/how-can-i-access-my-Laravel-app-from-another-pcCommand is something along the l... August R. Garcia,

Covered on Stack Exchange...

Sun, 02 Dec 2018 03:49:14 -0800 7 months ago
🗨
1
🐏
0
👁
61
Profile Photo - Some Guy

Laravel vs. Wordpress

Answers in Content-Management Systems | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:14 -0800

Profile Photo - August R. Garcia

Last Reply If you're making a site that is primarily for blogging or posting articles WP is good. Otherwise--unless you are specifically tied to the WP CMS-... August R. Garcia,

If you're making a s...

Sun, 02 Dec 2018 03:49:13 -0800 7 months ago
🗨
1
🐏
0
👁
111
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply Might be covered here: Google products use RE2 for regular expressions. Google Sheets supports RE2 except Unicode character class matching. Learn... August R. Garcia,

Might be covered here:<br...

Sun, 02 Dec 2018 03:49:09 -0800 7 months ago
🗨
1
🐏
0
👁
93
Profile Photo - Some Guy

What is the difference between display:flex and display:grid?

Answers in Style and Layout | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:09 -0800

Profile Photo - August R. Garcia

Last Reply To summarize Mozilla's answer, the short version is that display:flex is one-dimensional, whereas display:grid is two-dimensional.https://develop... August R. Garcia,

To summarize Mozilla&#039...

Sun, 02 Dec 2018 03:49:08 -0800 7 months ago
🗨
1
🐏
0
👁
70
Profile Photo - Some Guy

What does @forelse do?

Answers in Frameworks | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:05 -0800

Profile Photo - August R. Garcia

Last Reply FORELSE is a feature built into the Blade templating engine used to mean "if items exist, loop through then, otherwise show something else e... August R. Garcia,

FORELSE is a feature...

Sun, 02 Dec 2018 03:49:04 -0800 7 months ago
🗨
1
🐏
0
👁
71
Profile Photo - Some Guy

Help with Laravel Faker: What can you actually do with Faker?

Answers in Frameworks | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:03 -0800

Profile Photo - August R. Garcia

Last Reply Much of Laravel's functionality is implemented by including other exisitng libraries. This is also true in the case of Faker, which is a PHP libra... August R. Garcia,

Much of Laravel's fun...

Sun, 02 Dec 2018 03:49:02 -0800 7 months ago
🗨
1
🐏
0
👁
72
Profile Photo - Some Guy

[Laravel] How to run a seeder using Artisan?

Answers in Frameworks | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:01 -0800

Profile Photo - August R. Garcia

Last Reply Replace "DataBaseSeeder" with the name of your seeder: php artisan db:seed --class=DatabaseSeeder https://Laravel.com/docs/5.7/seed... August R. Garcia,

Replace "DataBaseSee...

Sun, 02 Dec 2018 03:49:00 -0800 7 months ago
🗨
1
🐏
0
👁
69
Profile Photo - Some Guy

Why is right-click-->view-source hard to read?

Answers in Web Development | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:45:00 -0800 | Last update 7 months agoMon, 03 Dec 2018 06:21:18 -0800

Profile Photo - August R. Garcia

Last Reply Generally because websites minify their code (remove whitespace) before sending the code to your browser. When you view the source directly, it is sti... August R. Garcia,

Generally because website...

Sun, 02 Dec 2018 03:48:59 -0800 7 months ago
🗨
1
🐏
0
👁
81