256 Kilobytes

Home - Latest Content

Profile Photo - Some Guy
Profile Photo - Some Guy

MoreSee title.
🗨
0
🐏
0
👁
96
Profile Photo - Some Guy

Ruby: Pros and Cons?

Forum in Web Development | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:45:04 -0800 | Last update 11 months agoMon, 03 Dec 2018 06:27:20 -0800

Profile Photo - Some Guy

PHP is the essentially the only programm...

MorePHP is the essentially the only programming language that I use for server-side programming. Have been thinking about testing out Ruby, since there se...
🗨
0
🐏
0
👁
112
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI'd like to avoid using jQuery for this project and am considering using summary/details tags to handle toggling element visibility, since this i...
🗨
0
🐏
0
👁
121
Profile Photo - Some Guy

[Laravel] Can you make a factory without a model?

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:44:56 -0800 | Last update 11 months agoMon, 03 Dec 2018 07:07:57 -0800

Profile Photo - Some Guy

MoreI am working on setting up seeders for my site to test everything with lorum ipsum text. I have a model/table for users, but want to write two separat...
🗨
0
🐏
0
👁
108
Profile Photo - Some Guy

[Laravel] How to query a many-to-many relationship?

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:44:55 -0800

Profile Photo - Some Guy

MoreHalp.
🗨
0
🐏
0
👁
113
Profile Photo - Some Guy

How to scale <canvas> elements without making them blurry?

Answers in Style and Layout | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:44:53 -0800 | Last update 11 months agoMon, 03 Dec 2018 06:30:01 -0800

Profile Photo - Some Guy

MoreThe charts that I've generated with JS and <canvas> elements look fine at the default size, but are unusably blurry at larger sizes. I...
🗨
0
🐏
0
👁
125
Profile Photo - Some Guy

[Laravel] Check if any elements in a collection have a certain id?

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:44:52 -0800

Profile Photo - Some Guy

MoreSee title.
🗨
0
🐏
0
👁
93
Profile Photo - Some Guy

[Laravel] Can you run a query from a layout/template?

Answers in Frameworks | By Some Guy

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

Profile Photo - Some Guy

MoreI hope this question makes sense.
🗨
0
🐏
0
👁
89
Profile Photo - Some Guy

Does JavaScript have foreach loops?

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:44:39 -0800

Profile Photo - Some Guy

MoreMozilla's documentation indicates that there is a foreach in JS:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/...
🗨
0
🐏
0
👁
128
Profile Photo - Some Guy

[Laravel] Validate a user's input in the model constructor?

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:44:35 -0800

Profile Photo - Some Guy

MoreCan you do this in a model's constructor? Or is it only possible to do this from the controller?[Laravel] Can you set a model's default valu...
🗨
0
🐏
0
👁
117
Profile Photo - Some Guy
Profile Photo - Some Guy

Specifically, is it possible to highligh...

MoreI have a spreadsheet full of client orders. I'd like to be able to highlight rows if the deadline for that order is within three days from the cu...
🗨
0
🐏
0
👁
102
Profile Photo - Some Guy

How to use display:flex-row with <canvas> elements?

Answers in Style and Layout | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:44:32 -0800

Profile Photo - Some Guy

MoreIs there a way to get the <canvas> elements in a flexbox to automatically scale in size?
🗨
0
🐏
0
👁
143
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreHow do you do the thing in the title?
🗨
0
🐏
0
👁
128
Profile Photo - Some Guy

[Laravel] Specify foreign key name in model?

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:44:23 -0800

Profile Photo - Some Guy

MoreI am using a foreign key name that is not the default. Can I specify this in the model file for my class?
🗨
0
🐏
0
👁
154
Profile Photo - Some Guy

[Laravel] How to extend a controller?

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:44:20 -0800

Profile Photo - Some Guy

MoreFor a project that I set up previously, there are three controllers that all have similar functionality. I would like to make a parent controller that...
🗨
0
🐏
0
👁
127
Profile Photo - Some Guy

How does canvas.getContext() work?

Answers in Web Development | By Some Guy

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

Profile Photo - Some Guy

MoreI know that it is required when working with <canvas> elements, but am not sure what it actually *does.*
🗨
0
🐏
0
👁
153
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreIf anyone can provide an example or point me toward the right documentation, I am willing to figure out the rest from there.
🗨
0
🐏
0
👁
118
Profile Photo - Some Guy

[Laravel] Yield with parameter?

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:58 -0800

Profile Photo - Some Guy

MoreSee title.
🗨
0
🐏
0
👁
105
Profile Photo - Some Guy

Why are there multiple unicode HTML notations for each character?

Answers in Web Development | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:54 -0800 | Last update 11 months agoSun, 02 Dec 2018 12:38:10 -0800

Profile Photo - Some Guy

MoreWhy does unicode have multiple ways to encode for HTML? For example, check out this page (Right Angle Bracket): https://www.fileformat.info/inf...
🗨
0
🐏
0
👁
145
Profile Photo - Some Guy

Zoscal Patch Notes 1.0

Answers in Meta | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:52 -0800

Profile Photo - Some Guy

More03 November, 2018Site pushed to live currently. Everything seems to have been transferred correctly. Planning to dump DB and rebuild with real data sh...
🗨
0
🐏
0
👁
226
Profile Photo - Some Guy

[CSS] Set an element's height to be half of its width?

Answers in Style and Layout | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:51 -0800

Profile Photo - Some Guy

MoreIs this style rule possible?
🗨
0
🐏
0
👁
107
Profile Photo - Some Guy

[Laravel] Is it possible to get a post's id in a controller's constructor?

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:41 -0800

Profile Photo - Some Guy

MoreFor example, if you want to run middleware only if the current post's ID is equal to []. Is this possible?
🗨
0
🐏
0
👁
120
Profile Photo - Some Guy

CSS - Space between without flexbox?

Answers in Style and Layout | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:39 -0800

Profile Photo - Some Guy

MoreTo get this to work:justify-content:space-between;It seems like the display:flex property is also needed.Is there a different property to do this with...
🗨
0
🐏
0
👁
136
Profile Photo - Some Guy

What does the double colon do when working in the Linux terminal?

Answers in Server-Side | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:36 -0800

Profile Photo - Some Guy

MoreI found these threads on the Unix/Linux StackExchange, but not sure what they're saying?https://unix.stackexchange.com/questions/463560/bash-scri...
🗨
0
🐏
0
👁
134
Profile Photo - Some Guy

[Laravel] Validation for unique fields on update? Counts as non-unique?

Answers in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:34 -0800

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
👁
119
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
👁
108
Profile Photo - Some Guy

Zend vs Laravel

Forum in Frameworks | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:25 -0800 | Last update 11 months agoSun, 02 Dec 2018 12:52:34 -0800

Profile Photo - Some Guy

Which do you prefer?

MoreWhich do you prefer?
🗨
0
🐏
0
👁
147
Profile Photo - Some Guy

Anyone on here self-host their websites?

Answers in Web Hosting | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:23 -0800

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
👁
175
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 11 months agoSun, 02 Dec 2018 03:43:18 -0800 | Last update 10 months agoMon, 31 Dec 2018 00:59:21 -0800

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
👁
214
Profile Photo - Some Guy

[Google Sheets] What are pivot tables?

Answers in Spreadsheets | By Some Guy

Published 11 months agoSun, 02 Dec 2018 03:43:17 -0800

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
👁
116