256 Kilobytes

Home - Latest Content

Profile Photo - Some Guy

[CSS] Can the
tag have a class and/or ID attribute?

Answers in Style and Layout | By Some Guy

Published | Last Update

Profile Photo - August R. Garcia

Last ReplyYes, the <pre> tag can have class and ID attributes. One common use is to put large dumps of information into a limited-height scrollable area w... August R. Garcia,

Yes, the <pre> tag...

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

[PHP Question] Unset an array by key?

Answers in Server-Side | By Some Guy

Published | Last Update

Profile Photo - August R. Garcia

Last ReplyYes. Ex: <?php   unset( $data['some_key'] ); August R. Garcia,

Yes. Ex:

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

What even are service providers in Laravel?

Answers in Frameworks | By Some Guy

Published

Profile Photo - August R. Garcia

Last ReplyLaracasts has videos that discuss service providers. You might start here: https://laracasts.com/series/Laravel-from-scratch-2017/episodes/24... August R. Garcia,

Laracasts has videos that...

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

Last ReplyOne potential approach is to use Levenshtein Distance. August R. Garcia,

One potential approach is...

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

Renaming files from BASH?

Answers in Scripting and Automation | By Some Guy

Published

Profile Photo - August R. Garcia

Last Reply# Convert clocks subfolders from png to jpgconvert */*.png */*.jpgfor f in $(find */*.png); do echo $f to $f--.jpg convert $f $RANDOM-RANDOM-.jpg r... August R. Garcia,

# Convert clocks subfolde...

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

Last ReplyTo get a random number in a range of 2k to 3k rounded to the nearest interval of 100: =round(randbetween(2000, 3000)*0.01)*100 August R. Garcia,

To get a random number in...

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

Tic Tac Toe using HTML, CSS, and JavaScript.

Answers in Web Development | By Some Guy

Published | Last Update

Profile Photo - August R. Garcia

Last ReplyPartial solution. IIRC, I didn't finish writing this before posting (?)  <!DOCTYPE HTML> <html> <head><title>P... August R. Garcia,

Partial solution. IIRC, I...

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

How do you add a CSS hover to pseudo-elements?

Answers in Style and Layout | By Some Guy

Published

Profile Photo - August R. Garcia

Last ReplyThis post covers the reason why the :hover selector isn't working in your code:"You can not do ::after:hover because you can't detect t... August R. Garcia,

This post covers the reas...

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

Last ReplyThere is an attribute called $fillable that can be set for Laravel models. See this section of the Laravel documentation: https://laravel.com/d... August R. Garcia,

There is an attribute cal...

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

Generate insert statements from Google Sheets?

Forum in Spreadsheets | By Some Guy

Published | Last Update

Profile Photo - August R. Garcia

Last ReplySomething along these lines should work: ="INSERT INTO " & A2 &" ("&join(", ", $B$1:$H$1)&")" & " VALUES " & "("... August R. Garcia,

Something along these lin...

Sun, 02 Dec 2018 03:46:07 -08002 years ago1
🗨 1
🐏 0
👁 299
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 -08002 years ago1
🗨 1
🐏 0
👁 281
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 -08002 years ago1
🗨 1
🐏 0
👁 410
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 -08002 years ago1
🗨 1
🐏 0
👁 234
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 -08002 years ago1
🗨 1
🐏 0
👁 330
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 -08002 years ago1
🗨 1
🐏 0
👁 317
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
👁 395
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
👁 450
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
👁 269
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreJust a basic wave pattern. Nothing too fancy.
🗨 0
🐏 0
👁 287
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
👁 201
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
👁 457
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
👁 292
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
👁 209
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
👁 386
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreBasic pagination is straightforward, but not sure how to do this.
🗨 0
🐏 0
👁 224
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
👁 220
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreSee title.
🗨 0
🐏 0
👁 223
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
👁 262
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
👁 268
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
👁 262