256 Kilobytes

All Content

Type All Category All Tag All

Profile Photo - August R. Garcia

Reply to Is "brochureware" still a thing?

Comments in Web Development | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:29 -0800

Profile Photo - August R. Garcia

MoreSeems like a term that was likely used mainly around the dot com bubble/boom when companies pushed existing pamphlets onto the internet with no functi...
🗨
1
🐏
0
👁
69
Profile Photo - Some Guy

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

Answers in Style and Layout | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:28 -0800 | Last update 7 months agoSun, 02 Dec 2018 12:54:33 -0800

Profile Photo - August R. Garcia

Last Reply Yes, 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 -0800 7 months ago
🗨
1
🐏
0
👁
70
Profile Photo - August R. Garcia

Reply to [CSS] Can the <pre> tag have a class and/or ID attribute?

Comments in Style and Layout | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:27 -0800 | Last update 7 months agoSun, 02 Dec 2018 12:54:53 -0800

Profile Photo - August R. Garcia

MoreYes, 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...
🗨
1
🐏
0
👁
2
Profile Photo - Some Guy

[PHP Question] Unset an array by key?

Answers in Server-Side | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:27 -0800 | Last update 7 months agoMon, 03 Dec 2018 05:23:03 -0800

Profile Photo - August R. Garcia

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

Yes. Ex:

Sun, 02 Dec 2018 03:46:26 -0800 7 months ago
🗨
1
🐏
0
👁
59
Profile Photo - August R. Garcia

Reply to [PHP Question] Unset an array by key?

Comments in Server-Side | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:26 -0800 | Last update 7 months agoMon, 03 Dec 2018 05:22:55 -0800

Profile Photo - August R. Garcia

MoreYes. Ex: <?php   unset( $data['some_key'] );
🗨
1
🐏
0
👁
2
Profile Photo - Some Guy

What even are service providers in Laravel?

Answers in Frameworks | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:26 -0800

Profile Photo - August R. Garcia

Last Reply Laracasts 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 -0800 7 months ago
🗨
1
🐏
0
👁
77
Profile Photo - August R. Garcia

Reply to What even are service providers in Laravel?

Comments in Frameworks | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:25 -0800 | Last update 7 months agoSun, 02 Dec 2018 12:35:23 -0800

Profile Photo - August R. Garcia

MoreLaracasts has videos that discuss service providers. You might start here: https://laracasts.com/series/Laravel-from-scratch-2017/episodes/24...
🗨
1
🐏
0
👁
77
Profile Photo - Some Guy
Profile Photo - August R. Garcia

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

One potential approach is...

Sun, 02 Dec 2018 03:46:24 -0800 7 months ago
🗨
1
🐏
0
👁
62
Profile Photo - August R. Garcia

Reply to How can I find the array element most similar to a string in a JavaScript array?

Comments in Scripting and Automation | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:24 -0800 | Last update 7 months agoSun, 02 Dec 2018 12:34:04 -0800

Profile Photo - August R. Garcia

MoreOne potential approach is to use Levenshtein Distance.
🗨
1
🐏
0
👁
62
Profile Photo - Some Guy

Renaming files from BASH?

Answers in Scripting and Automation | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:23 -0800

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 -0800 7 months ago
🗨
1
🐏
0
👁
78
Profile Photo - August R. Garcia

Reply to Renaming files from BASH?

Comments in Scripting and Automation | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:22 -0800

Profile Photo - August R. Garcia

More# 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...
🗨
1
🐏
0
👁
78
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply To 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 -0800 7 months ago
🗨
1
🐏
0
👁
66
Profile Photo - August R. Garcia

Reply to [Google Sheets] Does anyone know how to get a random number rounded to a certain interval?

Comments in Spreadsheets | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:19 -0800 | Last update 7 months agoMon, 03 Dec 2018 05:22:09 -0800

Profile Photo - August R. Garcia

MoreTo 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
🗨
1
🐏
0
👁
66
Profile Photo - Some Guy

Tic Tac Toe using HTML, CSS, and JavaScript.

Answers in Web Development | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:16 -0800 | Last update 7 months agoTue, 04 Dec 2018 14:59:39 -0800

Profile Photo - August R. Garcia

Last Reply Partial 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 -0800 7 months ago
🗨
1
🐏
0
👁
78
Profile Photo - August R. Garcia

Reply to Tic Tac Toe using HTML, CSS, and JavaScript.

Comments in Web Development | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:16 -0800 | Last update 7 months agoTue, 04 Dec 2018 15:12:07 -0800

Profile Photo - August R. Garcia

MorePartial solution. IIRC, I didn't finish writing this before posting (?)  <!DOCTYPE HTML> <html> <head><title>P...
🗨
1
🐏
0
👁
4
Profile Photo - Some Guy

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

Answers in Style and Layout | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:15 -0800

Profile Photo - August R. Garcia

Last Reply This 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 -0800 7 months ago
🗨
1
🐏
0
👁
64
Profile Photo - August R. Garcia

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

Comments in Style and Layout | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:15 -0800

Profile Photo - August R. Garcia

MoreThis 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...
🗨
1
🐏
0
👁
64
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply There 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 -0800 7 months ago
🗨
1
🐏
0
👁
87
Profile Photo - August R. Garcia

Reply to Error Message - Anyone can help? -- Illuminate Database Eloquent MassAssignmentException

Comments in Frameworks | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:14 -0800 | Last update 7 months agoMon, 03 Dec 2018 06:57:53 -0800

Profile Photo - August R. Garcia

MoreThere is an attribute called $fillable that can be set for Laravel models. See this section of the Laravel documentation: https://laravel.com/d...
🗨
1
🐏
0
👁
87
Profile Photo - August R. Garcia

Reply to Best way to import JSON to Google Sheets?

Comments in Spreadsheets | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:13 -0800 | Last update 5 months agoTue, 19 Feb 2019 01:46:03 -0800

Profile Photo - August R. Garcia

MoreWas also surprised this wasn't built in. Looks like this tutorial has a solution with a custom function, if important. https://www.youtube.com/watc...
🗨
2
🐏
0
👁
2
Profile Photo - Some Guy

Generate insert statements from Google Sheets?

Forum in Spreadsheets | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:07 -0800 | Last update 7 months agoMon, 03 Dec 2018 08:19:31 -0800

Profile Photo - August R. Garcia

Last Reply Something 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 -0800 7 months ago
🗨
1
🐏
0
👁
93
Profile Photo - August R. Garcia

Reply to Generate insert statements from Google Sheets?

Comments in Spreadsheets | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:07 -0800 | Last update 7 months agoMon, 03 Dec 2018 08:18:36 -0800

Profile Photo - August R. Garcia

MoreSomething along these lines should work: ="INSERT INTO " & A2 &" ("&join(", ", $B$1:$H$1)&")" & " VALUES " & "("...
🗨
1
🐏
0
👁
4
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 7 months agoSun, 02 Dec 2018 03:42:04 -0800

Profile Photo - August R. Garcia

Last Reply There 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 -0800 7 months ago
🗨
1
🐏
0
👁
72
Profile Photo - August R. Garcia

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

Comments in Web Development | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:04 -0800 | Last update 7 months agoMon, 03 Dec 2018 06:51:37 -0800

Profile Photo - August R. Garcia

MoreThere 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...
🗨
1
🐏
0
👁
72
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply Something 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 -0800 7 months ago
🗨
1
🐏
0
👁
126
Profile Photo - August R. Garcia

Reply to How can you pass a variable equal to document.getElementById into another JS function?

Comments in Client-Side | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:03 -0800 | Last update 7 months agoMon, 03 Dec 2018 06:49:55 -0800

Profile Photo - August R. Garcia

MoreSomething like this should work: <script> function create_thing(element) { // do something with an element passed to the function...
🗨
1
🐏
0
👁
126
Profile Photo - Some Guy

How many hexadecimal digits are used specify a color in a Web page?

Answers in Style and Layout | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:02 -0800

Profile Photo - August R. Garcia

Last Reply Six 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 -0800 7 months ago
🗨
1
🐏
0
👁
72
Profile Photo - August R. Garcia

Reply to How many hexadecimal digits are used specify a color in a Web page?

Comments in Style and Layout | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:02 -0800 | Last update 7 months agoMon, 03 Dec 2018 06:52:47 -0800

Profile Photo - August R. Garcia

MoreSix 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...
🗨
1
🐏
0
👁
72
Profile Photo - Some Guy

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

Answers in Web Hosting | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:01 -0800 | Last update 7 months agoMon, 03 Dec 2018 06:54:54 -0800

Profile Photo - August R. Garcia

Last Reply Try: 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 -0800 7 months ago
🗨
1
🐏
0
👁
93
Profile Photo - August R. Garcia

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

Comments in Web Hosting | By August R. Garcia

Published 7 months agoSun, 02 Dec 2018 03:46:01 -0800 | Last update 7 months agoMon, 03 Dec 2018 06:55:27 -0800

Profile Photo - August R. Garcia

MoreTry: 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...
🗨
1
🐏
0
👁
2