256 Kilobytes

Comments

Type CommentsResponses to top-level threads. Category All Tag All

Profile Photo - August R. Garcia

Reply to Can you unset a variable in PHP?

Comments in Server-Side | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:48:01 -0800 | Last update 9 months agoSun, 02 Dec 2018 13:28:13 -0800

Profile Photo - August R. Garcia

MoreYes, you can unset a variable. The PHP function is actually called unset: http://PHP.net/manual/en/function.unset.PHP
🗨
1
🐏
0
👁
2
Profile Photo - August R. Garcia

Reply to Connect Web FTP Dreamhost

Comments in Web Hosting | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:59 -0800

Profile Photo - August R. Garcia

MoreYou could build your own Web FTP client in the time it takes to figure out the correct login credentials.
🗨
1
🐏
0
👁
2
Profile Photo - August R. Garcia

Reply to How to get random pivot table values with Laravel seeders?

Comments in Frameworks | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:58 -0800 | Last update 9 months agoMon, 03 Dec 2018 05:27:46 -0800

Profile Photo - August R. Garcia

MoreThe 'sync' method solves for the issue with duplicates causing errors. A piece of code similar to this is relatively concise and works for gen...
🗨
1
🐏
0
👁
2
Profile Photo - August R. Garcia

Reply to Is it possible to have the pagination generated in a Laravel controller link to an anchor?

Comments in Frameworks | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:56 -0800 | Last update 9 months agoMon, 03 Dec 2018 05:30:03 -0800

Profile Photo - August R. Garcia

MoreThe 'fragment' method allows for an anchor to be specified. A function along these lines should work: <?php public function show($id)...
🗨
1
🐏
0
👁
2
Profile Photo - August R. Garcia

Reply to [JavaScript] addEventListener to all in array?

Comments in Client-Side | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:55 -0800 | Last update 9 months agoSun, 02 Dec 2018 12:37:13 -0800

Profile Photo - August R. Garcia

MoreUse this instead of a static variable. for (iii = 0; iii < arr.length; ++iii) arr[iii].addEventListener("click", function(e) { this....
🗨
1
🐏
0
👁
1
Profile Photo - August R. Garcia

Reply to Laravel - Where to store utility functions?

Comments in Frameworks | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:49 -0800

Profile Photo - August R. Garcia

MoreIf you're writing utility functions that are used for all/many of your controlelrs, you might consider defining them in the/a parent controller&#...
🗨
1
🐏
0
👁
89
Profile Photo - August R. Garcia

Reply to How does concatenation work in Google Sheets?

Comments in Spreadsheets | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:48 -0800

Profile Photo - August R. Garcia

MoreCONCATENATE works with ranges. https://support.google.com/docs/answer/3094123There is also the JOIN function, which works with ranges and allows a spe...
🗨
1
🐏
0
👁
93
Profile Photo - August R. Garcia

Reply to What is HTML5? What is CSS3?

Comments in Style and Layout | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:46 -0800

Profile Photo - August R. Garcia

MoreHTML5 and CSS3 are the current set of standards. All HTML5 and CSS3 are HTML/CSS, but not the other way around.
🗨
1
🐏
0
👁
107
Profile Photo - August R. Garcia

Reply to Does Laravel work on Dreamhost?

Comments in Web Hosting | By August R. Garcia

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

Profile Photo - August R. Garcia

MoreYes, Laravel sites work with Dreamhost. There are a few guides out there about getting a Laravel site up on Dreamhost as well.The short version is tha...
🗨
1
🐏
0
👁
134
Profile Photo - August R. Garcia

Reply to [Laravel Error] Class 'AppHttpControllersAuth' not found

Comments in Frameworks | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:43 -0800

Profile Photo - August R. Garcia

MoreMake sure to include the Auth class. Add this line at the top of the file:use Auth;
🗨
1
🐏
0
👁
109
Profile Photo - August R. Garcia

Reply to [Laravel] Create migration with model?

Comments in Frameworks | By August R. Garcia

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

Profile Photo - August R. Garcia

MoreInstead of:PHP artisan make:migration create_roles_table -mRun this:PHP artisan make:model Role -m
🗨
1
🐏
0
👁
90
Profile Photo - August R. Garcia

Reply to [Laravel] Carbon Library without using Laravel?

Comments in Frameworks | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:39 -0800

Profile Photo - August R. Garcia

MoreYes, it's completely possible. Carbon is a completely separate project and is maintained by completely separate developers. The official Carbon s...
🗨
1
🐏
0
👁
81
Profile Photo - August R. Garcia

Reply to [Radio Buttons] How to Make a Buttonset (Without Using Bootstrap)

Comments in Style and Layout | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:37 -0800 | Last update 9 months agoMon, 03 Dec 2018 06:37:07 -0800

Profile Photo - August R. Garcia

MoreVery nice, as they say.
🗨
1
🐏
0
👁
3
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

MoreHere's an example that I used recently:=if(I2="-", "NULL", VLOOKUP(I2, {E$2:E41,B$2:B41}, 2,0))In Google Sheets, curly braces...
🗨
1
🐏
0
👁
90
Profile Photo - August R. Garcia

Reply to Can you make up arbitrary HTML tags?

Comments in Web Development | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:32 -0800

Profile Photo - August R. Garcia

MoreYes, it's possible. For example, this looks like a bunch of eggs:<!DOCTYPE HTML><HTML><head> <style> body { bac...
🗨
1
🐏
0
👁
90
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

MoreA solution was posted on the Vim Wiki:1. Hover over top number2. Ctrl+V (start vertical select)3. Highlight vertically over all numbers4. Ctrl+G5. Ctr...
🗨
1
🐏
0
👁
178
Profile Photo - August R. Garcia

Reply to How to access conditional formatting in Google Sheets?

Comments in Spreadsheets | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:29 -0800

Profile Photo - August R. Garcia

More1. Highlight the cells that you want to format2. Right Click --> Conditional Formatting
🗨
1
🐏
0
👁
85
Profile Photo - August R. Garcia

Reply to How to change default Gmail account?

Comments in Administration and Operations | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:28 -0800

Profile Photo - August R. Garcia

MoreDid you try the solution from the Gmail help forum?https://productforums.google.com/forum/#!topic/gmail/H7O14c6NuxoSee below:"""Rocky -...
🗨
1
🐏
0
👁
183
Profile Photo - August R. Garcia

Reply to What's the deal with Linus Torvalds?

Comments in Garbage Can | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:27 -0800 | Last update 9 months agoMon, 03 Dec 2018 06:42:08 -0800

Profile Photo - August R. Garcia

More………………………………-~*")"/'~)||||||/''"/'~...
🗨
1
🐏
0
👁
1
Profile Photo - August R. Garcia

Reply to Converting URLs to domains and vice-versa?

Comments in Spreadsheets | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:25 -0800 | Last update 9 months agoSun, 02 Dec 2018 13:06:42 -0800

Profile Photo - August R. Garcia

MoreSolutions Using Google Sheets Extract domain from subdomain Example input: howtogoaround.wordpress.com =RIGHT(REGEXEXTRACT(D25, "\..*...
🗨
1
🐏
0
👁
1
Profile Photo - August R. Garcia

Reply to [Laravel] Autocomplete a field?

Comments in Frameworks | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:23 -0800

Profile Photo - August R. Garcia

MoreShould be the same as any other autocomplete functionality, for the most part.1. Disable the browser's automatic autocomplete:https://www.w3schoo...
🗨
1
🐏
0
👁
102
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

MoreWhite</thread>
🗨
1
🐏
0
👁
80
Profile Photo - August R. Garcia

Reply to [Laravel Error Message] Maximum execution time of 30 seconds exceeded

Comments in Frameworks | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:18 -0800 | Last update 9 months agoMon, 03 Dec 2018 05:19:53 -0800

Profile Photo - August R. Garcia

MoreThis error message is almost always caused by an infinite loop, such as: <?php while(TRUE): // Do Something endwhile; And it can be s...
🗨
1
🐏
0
👁
122
Profile Photo - August R. Garcia

Reply to Can Laravel's Faker library get random IP addresses?

Comments in Frameworks | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:14 -0800

Profile Photo - August R. Garcia

More~~The easiest way to get a random IP address when working with Laravel (or the Faker library in general) is to use the PHP function long2ip: long2ip(...
🗨
1
🐏
0
👁
129
Profile Photo - August R. Garcia

Reply to What is the best way to make a bar graph in Laravel? Or general Laravel charts?

Comments in Web Development | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:10 -0800 | Last update 9 months agoMon, 03 Dec 2018 07:08:42 -0800

Profile Photo - August R. Garcia

MoreWhile Laravel has no built-in library for charts, there are a few options: Install a general-purpose JavaScript or PHP graphing library Write...
🗨
1
🐏
0
👁
93
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

MoreHave also run into this issue over the last few years. You'd think there'd be an easy way to do this. Messed around with a few options below...
🗨
1
🐏
0
👁
104
Profile Photo - August R. Garcia

Reply to PHP function to fix (or remove) unmatched tags?

Comments in Server-Side | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:07 -0800

Profile Photo - August R. Garcia

More[]Have seen some others recommend the HTML Purifier library, which seems to be able to do this as well as other similar input validation. You can find...
🗨
1
🐏
0
👁
98
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

MoreAre you still using the .env file with credentials for your localhost DB? The error message generally indicates that your credentials do not match the...
🗨
1
🐏
0
👁
156
Profile Photo - August R. Garcia

Reply to How to round to two decimal places in Javascript?

Comments in Client-Side | By August R. Garcia

Published 9 months agoSun, 02 Dec 2018 03:47:05 -0800

Profile Photo - August R. Garcia

MoreThe function that you're looking for is .toFixed(2):https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFix...
🗨
1
🐏
0
👁
170
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

More// Get first element of an array=INDEX(SPLIT(B2, " | ", FALSE);1;1)
🗨
1
🐏
0
👁
84