256 Kilobytes

Home - Latest Content

Profile Photo - Some Guy

What do curly braces do in Google Sheets?

Answers in Spreadsheets | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply Curly braces are used to combine ranges into arrays. [] August R. Garcia,

Curly braces are used to...

Sun, 02 Dec 2018 03:46:59 -0800 7 months ago
🗨
1
🐏
0
👁
59
Profile Photo - Some Guy

What is the term used to refer to a double colon in PHP?

Answers in Server-Side | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply The scope resolution operator.Or, apparently "Paamayim Nekudotayim"Docs:http://PHP.net/manual/en/language.oop5.paamayim-nekudotayim.PHP August R. Garcia,

The scope resolution oper...

Sun, 02 Dec 2018 03:46:58 -0800 7 months ago
🗨
1
🐏
0
👁
86
Profile Photo - Some Guy

How can I monitor my GPU usage on Ubuntu?

Answers in Scripting and Automation | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply If there is no usable/relevant GUI, this can also be done from the terminal with a looping BASH script like this: # Monitor GPU stats and usage... August R. Garcia,

If there is no usable/rel...

Sun, 02 Dec 2018 03:46:56 -0800 7 months ago
🗨
1
🐏
0
👁
77
Profile Photo - Some Guy

Is it UX or UI?

Answers in Style and Layout | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply Answered here: UX design refers to user experience design, while UI design stands for user interface design. https://hackernoon.com/what-is... August R. Garcia,

Answered here:

Sun, 02 Dec 2018 03:46:47 -0800 7 months ago
🗨
1
🐏
0
👁
75
Profile Photo - Some Guy

[CSS] If taller than max-height, set the element's width to auto?

Answers in Style and Layout | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply Wrap image in div (?) August R. Garcia,

Wrap image in div (?)

Sun, 02 Dec 2018 03:46:46 -0800 7 months ago
🗨
1
🐏
0
👁
70
Profile Photo - Some Guy

I downloaded a bunch of stock photos for testing. Is there a quick way to bulk rename in Bash (or something similar)?

Forum in Web Scraping, Data Analysis | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:45 -0800 | Last update 7 months agoMon, 03 Dec 2018 06:33:04 -0800

Profile Photo - August R. Garcia

Last Reply A script like run from the terminal or a Bash script works for this type of file renaming: INDEX=1; for i in *.jpg; do mv $i ${INDEX}_cover.jpg;... August R. Garcia,

A script like run from th...

Sun, 02 Dec 2018 03:46:44 -0800 7 months ago
🗨
1
🐏
0
👁
148
Profile Photo - Some Guy

I am new to Google Sheets. What functions should I know about?

Answers in Spreadsheets | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply Here are examples of a few very commonly used formulas:Replace substrings in spreadsheets: =SUBSTITUTE("Today is Monday", "Monday"... August R. Garcia,

Here are examples of a fe...

Sun, 02 Dec 2018 03:46:43 -0800 7 months ago
🗨
1
🐏
0
👁
69
Profile Photo - Some Guy

Harry Potter and the Goblet of Client-Side Input Validation

Forum in Client-Side | By Some Guy

Published 7 months agoSun, 02 Dec 2018 03:42:43 -0800 | Last update 7 months agoMon, 17 Dec 2018 00:54:58 -0800

Profile Photo - August R. Garcia

Last Reply Am working on this currently. General blog post. Includes misc. code snippets. Doing this currently to have an article to template from that actually... August R. Garcia,

Am working on this curren...

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

Last Reply That error occurs because Chrome cannot focus hidden fields.Are you using a custom radio input setup that hides the actual radio button? August R. Garcia,

That error occurs because...

Sun, 02 Dec 2018 03:46:41 -0800 7 months ago
🗨
1
🐏
0
👁
153
Profile Photo - Some Guy

[Google Sheets] How to convert the string "1k" to the number 1,000?

Answers in Spreadsheets | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply Try this function:#Change 1.3k to 1300, etc.=((VALUE(substitute(A1, "k", "")))*1000)=((VALUE(substitute(I201, "k", &quot... August R. Garcia,

Try this function:#Change...

Sun, 02 Dec 2018 03:46:38 -0800 7 months ago
🗨
1
🐏
0
👁
68
Profile Photo - Some Guy

[Google Sheets] Convert cell contents to (basic) HTML?

Answers in Spreadsheets | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply This seems to work:// 1. Wrap entire cell in a <p> tag, then use REGEXREPLACE to address newlines// 2. Replace newlines with the end of the prev... August R. Garcia,

This seems to work:// 1....

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

Last Reply Ran into the same error when setting up a site on Dreamhost hosting. Ran 'PHP artisan migrate' from SSH.Issue was that evne though PHP versi... August R. Garcia,

Ran into the same error w...

Sun, 02 Dec 2018 03:46:35 -0800 7 months ago
🗨
1
🐏
0
👁
339
Profile Photo - Some Guy

Is there a good way to split/divide cells in Google Sheets?

Answers in Spreadsheets | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply There is a built-in split function here:https://support.google.com/docs/answer/3094136?hl=enFor your use case, this function should work:=SPLIT(A1, &q... August R. Garcia,

There is a built-in split...

Sun, 02 Dec 2018 03:46:34 -0800 7 months ago
🗨
1
🐏
0
👁
58
Profile Photo - Some Guy

[Laravel Error] Non-static method should not be called statically

Answers in Frameworks | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply IIRC, this can occur if namespaces aren't handled correctly (?)Try:<?phpRequest::url() August R. Garcia,

IIRC, this can occur if n...

Sun, 02 Dec 2018 03:46:31 -0800 7 months ago
🗨
1
🐏
0
👁
88
Profile Photo - Some Guy

Is "brochureware" still a thing?

Answers in Web Development | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply Seems 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... August R. Garcia,

Seems like a term that wa...

Sun, 02 Dec 2018 03:46:29 -0800 7 months ago
🗨
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
👁
69
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 - 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 - 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 - 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
👁
76
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 - 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 - 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 - 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
👁
86
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 - 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 - 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 - 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 - 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 - Some Guy

How to check the current page in Laravel?

Answers in Frameworks | By Some Guy

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

Profile Photo - August R. Garcia

Last Reply To 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 -0800 7 months ago
🗨
1
🐏
0
👁
70