256 Kilobytes

Home - Latest Content

Profile Photo - Some Guy

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

Answers in Spreadsheets | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
105
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 8 months ago
🗨
1
🐏
0
👁
178
Profile Photo - Some Guy

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

Answers in Garbage Can | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
330
Profile Photo - Some Guy

[Google Sheets] Extract text from parentheses?

Answers in Spreadsheets | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
92
Profile Photo - Some Guy

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

Answers in Frameworks | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
59
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 8 months ago
🗨
1
🐏
0
👁
117
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 8 months ago
🗨
1
🐏
0
👁
91
Profile Photo - Some Guy

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

Answers in Style and Layout | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
76
Profile Photo - Some Guy

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

Answers in Frameworks | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
74
Profile Photo - Some Guy

How to create drop down list in Google Sheets?

Answers in Spreadsheets | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
82
Profile Photo - Some Guy

How does the soft delete feature work for Laravel projects?

Answers in Frameworks | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
95
Profile Photo - Some Guy

How to generate a random IP address in Google Sheets?

Answers in Spreadsheets | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
70
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 8 months ago
🗨
1
🐏
0
👁
68
Profile Photo - Some Guy

How to use font-family comic sans in CSS?

Answers in Style and Layout | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
85
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 8 months ago
🗨
1
🐏
0
👁
68
Profile Photo - Some Guy

Laravel vs. Wordpress

Answers in Content-Management Systems | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
130
Profile Photo - Some Guy

SASS vs SCSS vs LESS

Forum in Style and Layout | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply This post covers the distinctions pretty concisely:https://marksheet.io/sass-sCSS-less.HTML August R. Garcia,

This post covers the dist...

Sun, 02 Dec 2018 03:49:11 -0800 8 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:

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

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

Answers in Style and Layout | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
71
Profile Photo - Some Guy

What does @forelse do?

Answers in Frameworks | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
77
Profile Photo - Some Guy

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

Answers in Frameworks | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
75
Profile Photo - Some Guy

[Laravel] How to run a seeder using Artisan?

Answers in Frameworks | By Some Guy

Published 8 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 8 months ago
🗨
1
🐏
0
👁
76
Profile Photo - Some Guy

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

Answers in Web Development | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:00 -0800 | Last update 8 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 8 months ago
🗨
1
🐏
0
👁
93
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply Depends on what "best" means to you. Pulled this function from a recent project. Generates array of a length between 2 and 10. Adjust as... August R. Garcia,

Depends on what "bes...

Sun, 02 Dec 2018 03:48:58 -0800 8 months ago
🗨
1
🐏
0
👁
87
Profile Photo - Some Guy

[Laravel] Pluck Method

Answers in Frameworks | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:44:57 -0800

Profile Photo - August R. Garcia

Last Reply Collections: https://Laravel.com/docs/5.7/collections#method-pluck Queries (See "Retrieving A List Of Column Values"): ht... August R. Garcia,

Collections:

Sun, 02 Dec 2018 03:48:56 -0800 8 months ago
🗨
1
🐏
0
👁
97
Profile Photo - Some Guy

Can you use Machine Learning to solve reCaptcha v2?

Forum in Machine Learning | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:44:51 -0800 | Last update 8 months agoMon, 03 Dec 2018 06:31:16 -0800

Profile Photo - August R. Garcia

Last Reply Yes, it's possible. And yes, most bots that can click pictures of cars will use machine learning in some way.Roughly six months, I wrote a reCapt... August R. Garcia,

Yes, it's possible....

Sun, 02 Dec 2018 03:48:50 -0800 8 months ago
🗨
1
🐏
0
👁
202
Profile Photo - Some Guy

Failed to listen on 127.0.0.1:8000 (reason: Address already in use)

Answers in Web Hosting | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:44:49 -0800

Profile Photo - August R. Garcia

Last Reply When I've seen this occur in the past, it was after I attempted to close and reopen the localhost server after running into a page getting stuck... August R. Garcia,

When I've seen this...

Sun, 02 Dec 2018 03:48:48 -0800 8 months ago
🗨
1
🐏
0
👁
384
Profile Photo - Some Guy

[MySQL] SELECT LIKE statement that ignores case?

Answers in Databases | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:44:48 -0800

Profile Photo - August R. Garcia

Last Reply Yes, it's possible. Here are two options: SELECT * FROM `some_table` WHERE some_field COLLATE UTF8_GENERAL_CI LIKE '%some string%'; SELECT... August R. Garcia,

Yes, it's possible. H...

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

Last Reply Models and functions from the base Laravel code should be located in a subdirectory of the 'vendor' folder. Using the Linux terminal to recu... August R. Garcia,

Models and functions from...

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

Last Reply Have seen a number of people recommend HTML Purifier:http://htmlpurifier.org/You might also look into PHP's strip_tags() function:http://php.net/... August R. Garcia,

Have seen a number of peo...

Sun, 02 Dec 2018 03:48:45 -0800 8 months ago
🗨
1
🐏
0
👁
157