256 Kilobytes

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

Profile Photo - Some Guy
Profile Photo - Some Guy

In the controller for a Laravel resource...

MoreI set up the store function for a Laravel controller for a resource (posts). Posts must have a unique url/slug, which is set by the user.This works f...
🗨 0
🐏 0
👁 255
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreIs there a CSS selector that allows a parent element to be selected? I am attempting to write a custom radio button set where if the radio button is c...
🗨 0
🐏 0
👁 215
Profile Photo - Some Guy

Anyone on here self-host their websites?

Answers in Web Hosting | By Some Guy

Published

Profile Photo - Some Guy

MoreWhat kind of setups do you all use for hardware/OS? Am considering various options.Before anyone asks, yes, I am aware of the pros and cons of self-ho...
🗨 0
🐏 0
👁 313
Profile Photo - Some Guy

Is it possible to inject jQuery into a web page via the developer console (inspect element)?

Answers in Client-Side | By Some Guy

Published | Last Update

Profile Photo - Some Guy

Like, into the Google Chrome inspect ele...

MoreLike, into the Google Chrome inspect element console. If I want to run jQuery to scrape another website (and that website isn't already running jQ...
🗨 0
🐏 0
👁 378
Profile Photo - Some Guy

[Google Sheets] What are pivot tables?

Answers in Spreadsheets | By Some Guy

Published

Profile Photo - Some Guy

MoreEveryone talks about how pivot tables and VLOOKUP are the epitome of quality Google Sheets/spreadsheet features.But what exactly *is* a pivot table? W...
🗨 0
🐏 0
👁 241
Profile Photo - Some Guy

[Laravel] Validate array with Validator object in constructor?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MoreSee title's question.
🗨 0
🐏 0
👁 262
Profile Photo - Some Guy
Profile Photo - Some Guy

btw i use arch

Morebtw i use archhttps://www.reddit.com/r/linuxmasterrace/comments/9l5bcg/this_is_a_test_of_the_national_wireless_emergency/
🗨 0
🐏 0
👁 355
Profile Photo - Some Guy

[Laravel] How does the whereHas() method work with Eloquent?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MorePls help.
🗨 0
🐏 0
👁 327
Profile Photo - Some Guy

[Google Sheets] SUMIF cell is an even number?

Answers in Spreadsheets | By Some Guy

Published | Last Update

Profile Photo - Some Guy

MoreAfter reading the documentation (below), I'm still trying to figure out how to sum only if a number is even/odd. Is this possible? Or is it only p...
🗨 0
🐏 0
👁 248
Profile Photo - Some Guy

[Laravel Validation] Check if foreign key exists?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MorePls help.
🗨 0
🐏 0
👁 405
Profile Photo - Some Guy

How to get a random character (alphanumeric plus basic symbols) in Google Sheets?

Answers in Spreadsheets | By Some Guy

Published | Last Update

Profile Photo - Some Guy

MoreSpecifically, A-Z, a-z, 0-9, and the basic punctuation. Can this be done? You can use this to get a random letter: =char(randbetween(65, 65+2...
🗨 0
🐏 0
👁 243
Profile Photo - Some Guy

TP-Link Port Forwarding -- Is it supported?

Answers in Web Hosting | By Some Guy

Published

Profile Photo - Some Guy

MoreI'd like to allow clients to connect to projects that are being worked on locally before domain names are registed, since clients at times take a...
🗨 0
🐏 0
👁 311
Profile Photo - Some Guy

[Laravel] Order by last comment?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MoreI'd like to have the posts on my website order by the most recent comment. Is this possible through Laravel?
🗨 0
🐏 0
👁 259
Profile Photo - Some Guy
Profile Photo - Some Guy

MorePLS HALP.
🗨 0
🐏 0
👁 307
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreMost specifically, what formula can be used to escape a single quote in Google Sheets?
🗨 0
🐏 0
👁 292
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreAm getting an error while trying to throw an error.
🗨 0
🐏 0
👁 276
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreFor example, is it possible to take in a table name, a range of fields to insert to, and a range of values and to then:1. Escape the values2. Convert...
🗨 0
🐏 0
👁 314
Profile Photo - Some Guy

[Laravel] How to pass a parameter to a factory?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MoreI have a factory that generates posts, which have category_id values. I would like to be able to either pass no value (and have a random one set - I&#...
🗨 0
🐏 0
👁 267
Profile Photo - Some Guy

[Laravel] What is a "before" route?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MoreTitle.
🗨 0
🐏 0
👁 218
Profile Photo - Some Guy

[Laravel] Convert collection to array without key?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MoreQuestion is in title. Not sure if possible?
🗨 0
🐏 0
👁 298
Profile Photo - Some Guy

[Laravel] Create form from table?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MoreI hope this question is coherent.
🗨 0
🐏 0
👁 268
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreThe canvas elements that I am using look fine at the initial resolution, but are unusably blurry at higher resolutions. Is there a fix for this? Would...
🗨 0
🐏 0
👁 233
Profile Photo - Some Guy

[Laravel] Set variable equal to model type?

Answers in Frameworks | By Some Guy

Published | Last Update

Profile Photo - Some Guy

MoreSay you have three models that all have an ID and a name. For the sake of an example, these might be Person, Business, and City models. And then you h...
🗨 0
🐏 0
👁 279
Profile Photo - Some Guy

[Laravel] What does "abstract class Model implements" even mean?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MoreI am trying to understand part of the base Laravel code and am trying to figure out what this line means.
🗨 0
🐏 0
👁 259