256 Kilobytes

Home - Latest Content

Profile Photo - Some Guy

Can you use CSS to add commas to numbers? Or is PHP/JS needed?

Answers in Web Development | By Some Guy

Published

Profile Photo - August R. Garcia

Last ReplyThere is no way to format numbers through CSS, but it can be done through PHP or JS relatively easily. PHP's number_format() function does this... August R. Garcia,

There is no way to format...

Sun, 02 Dec 2018 03:46:04 -08003 years ago1
🗨 1
🐏 0
👁 455
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last ReplySomething like this should work: <script> function create_thing(element) { // do something with an element passed to the function... August R. Garcia,

Something like this shoul...

Sun, 02 Dec 2018 03:46:03 -08003 years ago1
🗨 1
🐏 0
👁 557
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last ReplySix hexadecimal digits: 000000 to FFFFFF Hexadecimal is base 16: 0 = 0 1 = 1 [...] 9 = 9 A = 10 B = 11 C = 12 D = 13 E = 14... August R. Garcia,

Six hexadecimal digits: 0...

Sun, 02 Dec 2018 03:46:02 -08003 years ago1
🗨 1
🐏 0
👁 371
Profile Photo - Some Guy

Any way to "put" all files and folders recursively via FTP/SFTP?

Answers in Web Hosting | By Some Guy

Published | Last Update

Profile Photo - August R. Garcia

Last ReplyTry: scp -r your_project your_username@yourdomain.com:/home/your_project/yourdomain.com As far as I know, there is no way to force the &#39... August R. Garcia,

Try:

Sun, 02 Dec 2018 03:46:01 -08003 years ago1
🗨 1
🐏 0
👁 502
Profile Photo - Some Guy

How to check the current page in Laravel?

Answers in Frameworks | By Some Guy

Published

Profile Photo - August R. Garcia

Last ReplyTo get the current path, you can use: <?php Request::path() August R. Garcia,

To get the current path,...

Sun, 02 Dec 2018 03:45:58 -08003 years ago1
🗨 1
🐏 0
👁 454
Profile Photo - August R. Garcia

A Quality Post

Forum in Meta | By August R. Garcia

Published | Last Update

Profile Photo - August R. Garcia

https://www.youtube.com/watch?v=KEkrWRHC...

Morehttps://www.youtube.com/watch?v=KEkrWRHCDQU
🗨 0
🐏 0
👁 549
Profile Photo - August R. Garcia

Some Resources

Answers in Meta | By August R. Garcia

Published | Last Update

Profile Photo - August R. Garcia

Morehttps://jsonformatter.org/ https://laravel.com/docs/4.2/schema https://www.w3schools.com/cssref/css_colors.asp https://chrome.google.com/...
🗨 0
🐏 0
👁 597
Profile Photo - Some Guy

[Laravel] Collection to array? What is the difference?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

What is actually the difference bewteen...

MoreI am still getting the hang of how collections work in Laravel. After reading the documentation (link below), I am still unsure when and how to get th...
🗨 0
🐏 0
👁 409
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreJust a basic wave pattern. Nothing too fancy.
🗨 0
🐏 0
👁 427
Profile Photo - Some Guy

How to override the default resource routes for a Laravel project?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MoreWhen you set a route as a resource through the /routes/web.php file, it seems that what is happening behind the scenes is that a number of specific su...
🗨 0
🐏 0
👁 320
Profile Photo - August R. Garcia

Google's reCaptcha v3 is out of beta testing

Forum in News | By August R. Garcia

Published | Last Update

Profile Photo - August R. Garcia

Announcement from 29 October, 2018:<br /...

MoreAnnouncement from 29 October, 2018: https://webmasters.googleblog.com/2018/10/introducing-recaptcha-v3-new-way-to.html I would say "P...
🗨 0
🐏 0
👁 644
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreRequires a good understanding of HTML, CSS, and JavaScript. If you can make a functional SVG clock with HTMl, CSS, and JS, you are probably reasonably...
🗨 0
🐏 0
👁 448
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI have seen some tutorials use both and they seem to do the same thing. Which one is better to use? Or does it matter?
🗨 0
🐏 0
👁 326
Profile Photo - Some Guy
Profile Photo - Some Guy

Issue with Laravel's 'PHP arti...

MoreDoes anyone know how to solve this error message:> [Fri Nov 2 01:00:44 2018] Failed to listen on 104.153.200.240:80 (reason: Cannot assign request...
🗨 0
🐏 0
👁 621
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreBasic pagination is straightforward, but not sure how to do this.
🗨 0
🐏 0
👁 343
Profile Photo - Some Guy

[Laravel] Check if user is logged in?

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

MoreHow can I make sure a user is logged in before doing something?
🗨 0
🐏 0
👁 335
Profile Photo - Some Guy
Profile Photo - Some Guy

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

Ruby: Pros and Cons?

Forum in Web Development | By Some Guy

Published | Last Update

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

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

Answers in Frameworks | By Some Guy

Published | Last Update

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

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

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

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

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

Answers in Style and Layout | By Some Guy

Published | Last Update

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

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

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

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

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

Answers in Frameworks | By Some Guy

Published

Profile Photo - Some Guy

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

Does JavaScript have foreach loops?

Answers in Frameworks | By Some Guy

Published

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

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

Answers in Frameworks | By Some Guy

Published

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

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

Answers in Style and Layout | By Some Guy

Published

Profile Photo - Some Guy

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

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

[Laravel] Specify foreign key name in model?

Answers in Frameworks | By Some Guy

Published

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