256 Kilobytes

Comments

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

Profile Photo - August R. Garcia

Reply to Quality Content Dump: The Thread

Comments in Offtopic | By August R. Garcia

Published 11 months agoMon, 31 Dec 2018 20:28:41 -0800

Profile Photo - August R. Garcia

Trick of the day:

MoreTrick of the day: Get a .docx file Change the extension to .zip Right Click --> Extract Here You now have a folder with the raw XML (an...
🗨
70
🐏
1
👁
224
Profile Photo - August R. Garcia

Reply to How to measure execution time in PHP?

Comments in Server-Side | By August R. Garcia

Published 11 months agoSat, 29 Dec 2018 10:46:43 -0800 | Last update 11 months agoSat, 29 Dec 2018 10:47:28 -0800

Profile Photo - August R. Garcia

The PHP microtime() function should work...

MoreThe PHP microtime() function should work: <?php // Start a timer here $start = microtime(TRUE);  // Some function/code for ($iii = 1000;...
🗨
1
🐏
0
👁
169
Profile Photo - August R. Garcia

Reply to [Laravel] Count post views?

Comments in Frameworks | By August R. Garcia

Published 11 months agoSat, 29 Dec 2018 05:59:17 -0800

Profile Photo - August R. Garcia

There are two basic ways to do this:<br...

MoreThere are two basic ways to do this: Easiest: Increment a FIeld in the Posts Table Easiest: Add a field to your posts table and increment it eac...
🗨
1
🐏
0
👁
2
Profile Photo - Louis J. V. Cicalese

Reply to What is the viewport meta tag used for?

Comments in Style and Layout | By Louis J. V. Cicalese

Published 11 months agoSat, 29 Dec 2018 00:28:07 -0800 | Last update 11 months agoMon, 31 Dec 2018 15:42:58 -0800

Profile Photo - Louis J. V. Cicalese

General Explanation of the Viewport<br /...

MoreGeneral Explanation of the Viewport The viewport is the size of the window in which your website is displayed. The snippet of code above is how you...
🗨
1
🐏
0
👁
10
Profile Photo - August R. Garcia

Reply to [Laravel] What is the difference between sortBy and orderBy?

Comments in Frameworks | By August R. Garcia

Published 11 months agoFri, 28 Dec 2018 15:20:49 -0800 | Last update 11 months agoFri, 28 Dec 2018 15:21:15 -0800

Profile Photo - August R. Garcia

The short version is that the orderBy()...

MoreThe short version is that the orderBy() method is much more efficient than the sortBy() method (particularly when querying databases of a non-trivial...
🗨
1
🐏
0
👁
263
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

Try running:

MoreTry running: php-7.1 artisan config:cache Instead of: php artisan config:cache Replace "7.1" with whatever version of...
🗨
1
🐏
0
👁
421
Profile Photo - Some Guy

Reply to Fix "EOL while scanning string literal"?

Comments in Scripting and Automation | By Some Guy

Published 11 months agoThu, 27 Dec 2018 11:09:46 -0800

Profile Photo - Some Guy

Very nice. I am bumping this thread.

MoreVery nice. I am bumping this thread.
🗨
3
🐏
0
👁
1,768
Profile Photo - August R. Garcia

Reply to Does Terry A. Davis' Twitter account still exist?

Comments in Garbage Can | By August R. Garcia

Published 11 months agoMon, 24 Dec 2018 22:54:06 -0800 | Last update 9 months agoTue, 19 Feb 2019 01:57:11 -0800

Profile Photo - August R. Garcia

Test post. Please ignore.

MoreTest post. Please ignore. https://www.youtube.com/watch?v=gGAGXB2iCfs
🗨
4
🐏
0
👁
762
Profile Photo - August R. Garcia

Reply to Responsive vs Adaptive Web Design

Comments in Style and Layout | By August R. Garcia

Published 11 months agoSun, 23 Dec 2018 02:16:44 -0800 | Last update 11 months agoSun, 23 Dec 2018 02:17:29 -0800

Profile Photo - August R. Garcia

The sidebar on 256kilobytes.com is an ex...

MoreThe sidebar on 256kilobytes.com is an example of the use of responsive design. Here is a commented excerpt from the code: /* --p-4 and --p-3...
🗨
1
🐏
1
👁
1
Profile Photo - Huevos Rancheros
Profile Photo - Huevos Rancheros

It would just show under the same accoun...

MoreIt would just show under the same account. For example, if the original code was for domain1.com and if someone went on domain2.com/pageX. all...
🗨
1
🐏
0
👁
152
Profile Photo - August R. Garcia

Reply to Python: "Float object is not callable"?

Comments in Scripting and Automation | By August R. Garcia

Published 11 months agoSat, 22 Dec 2018 08:37:38 -0800 | Last update 11 months agoSat, 22 Dec 2018 08:38:04 -0800

Profile Photo - August R. Garcia

The code that you're referring do pr...

MoreThe code that you're referring do probably includes code similar to this: x = 5.6 print x() Instead of this: x = 5.6 print x The...
🗨
1
🐏
0
👁
264
Profile Photo - August R. Garcia

Reply to How to block someone on DeviantArt?

Comments in Servers and Networks | By August R. Garcia

Published 11 months agoSat, 22 Dec 2018 08:32:51 -0800 | Last update 11 months agoSat, 22 Dec 2018 08:33:20 -0800

Profile Photo - August R. Garcia

Covered by the DeviantArt documentation...

MoreCovered by the DeviantArt documentation here: https://www.deviantartsupport.com/en/article/how-do-i-block-users-from-contacting-me-on-deviantar...
🗨
1
🐏
0
👁
631
Profile Photo - August R. Garcia

Reply to How do you solve "'nonetype' object is not iterable"?

Comments in Scripting and Automation | By August R. Garcia

Published 11 months agoSat, 22 Dec 2018 08:23:50 -0800 | Last update 11 months agoSat, 22 Dec 2018 08:24:13 -0800

Profile Photo - August R. Garcia

More information on a similar question h...

MoreMore information on a similar question here (Java): https://www.256kilobytes.com/content/show/1478/how-do-you-solve-nonetype-object-is-not-iter...
🗨
1
🐏
0
👁
145
Profile Photo - August R. Garcia

Reply to How do I solve "TypeError: 'nonetype' object is not iterable"?

Comments in Scripting and Automation | By August R. Garcia

Published 11 months agoSat, 22 Dec 2018 08:23:39 -0800 | Last update 11 months agoSat, 22 Dec 2018 08:24:31 -0800

Profile Photo - August R. Garcia

More information on a similar question h...

MoreMore information on a similar question here (Python): https://www.256kilobytes.com/content/show/1477/how-do-i-solve-typeerror-nonetype-object-i...
🗨
1
🐏
0
👁
175
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

If you are getting this error while conn...

MoreIf you are getting this error while connected to a remote terminal via SSH (such as to a web host), there may be a non-root account that you are meant...
🗨
1
🐏
0
👁
176
Profile Photo - August R. Garcia

Reply to How to fix USB malfunctioned and not recognized?

Comments in Operating Systems | By August R. Garcia

Published 11 months agoSat, 22 Dec 2018 08:18:38 -0800

Profile Photo - August R. Garcia

It could be a drive format issue. For ex...

MoreIt could be a drive format issue. For example, if you formatted your USB drive as HFS+ for use on system running MacOS, it may not work correctly...
🗨
1
🐏
0
👁
150
Profile Photo - August R. Garcia

Reply to What is "mysqli_fetch_array"?

Comments in Server-Side | By August R. Garcia

Published 11 months agoSat, 22 Dec 2018 07:57:07 -0800

Profile Photo - August R. Garcia

The mysqli_fetch_array function that is...

MoreThe mysqli_fetch_array function that is part of PHP's MySQLi library, which is a PHP library designed be used to interact with MySQL (and Mar...
🗨
1
🐏
0
👁
143
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

The conversion should be relatively stra...

MoreThe conversion should be relatively straightforward, for the most part: Upload the PowerPoint to your Google Drive account Right Click -->...
🗨
1
🐏
0
👁
152
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

Usually, these types of fake warnings ar...

MoreUsually, these types of fake warnings are implemented either through advertisements on websites and/or as stand-alone websites. Generally, closing the...
🗨
1
🐏
0
👁
144
Profile Photo - August R. Garcia

Reply to How do you add columns in Excel?

Comments in Spreadsheets | By August R. Garcia

Published 11 months agoSat, 22 Dec 2018 07:36:09 -0800 | Last update 11 months agoSat, 22 Dec 2018 07:37:01 -0800

Profile Photo - August R. Garcia

Answered here:

MoreAnswered here: https://www.256kilobytes.com/content/show/1493/how-do-you-multiply-in-google-sheets To use a formula, start the cell'...
🗨
1
🐏
0
👁
153
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

> All these frameworks are relat...

More> All these frameworks are relatively new, Yes -- Although Angular at this point has been around for long enough to have become a reli...
🗨
1
🐏
1
👁
2
Profile Photo - August R. Garcia

Reply to Showing more RAM on homepage than the actual article

Comments in Bug reports | By August R. Garcia

Published 11 months agoFri, 21 Dec 2018 14:01:39 -0800

Profile Photo - August R. Garcia

Yeah I also was confused by my own UI wh...

MoreYeah I also was confused by my own UI when looking at it the other day. Might make a slight adjustment to make it clearer which is which.
🗨
2
🐏
0
👁
280
Profile Photo - Huevos Rancheros

Reply to Showing more RAM on homepage than the actual article

Comments in Bug reports | By Huevos Rancheros

Published 11 months agoThu, 20 Dec 2018 10:56:36 -0800

Profile Photo - Huevos Rancheros

Nevermind, that's actually the amoun...

MoreNevermind, that's actually the amount of RAMs my profile has and I fell on my head when I was little.
🗨
2
🐏
0
👁
280
Profile Photo - August R. Garcia

Reply to How do I solve "Unexpected token < in JSON at position 0"?

Comments in Computer Programming | By August R. Garcia

Published 11 months agoThu, 20 Dec 2018 01:28:43 -0800 | Last update 11 months agoThu, 20 Dec 2018 01:29:19 -0800

Profile Photo - August R. Garcia

Seems like the most common reason for th...

MoreSeems like the most common reason for this error is that an API that should send valid JSON sent invalid JSON or something that is not JSON at all, su...
🗨
1
🐏
0
👁
176
Profile Photo - August R. Garcia

Reply to How to double space in word?

Comments in Computer Software | By August R. Garcia

Published 11 months agoThu, 20 Dec 2018 01:21:03 -0800

Profile Photo - August R. Garcia

Answered in this thread:

MoreAnswered in this thread: https://www.256kilobytes.com/content/show/1730/how-to-single-space-in-word Quote: Ctrl+A to select the fu...
🗨
1
🐏
0
👁
149
Profile Photo - August R. Garcia

Reply to Solve "Column count doesn't match value count at row 1"?

Comments in Databases | By August R. Garcia

Published 11 months agoThu, 20 Dec 2018 01:18:24 -0800

Profile Photo - August R. Garcia

This error can occur if you are missing...

MoreThis error can occur if you are missing If your insert statement does not specify the number of columns correct. Example of incorrect statement:...
🗨
1
🐏
0
👁
180
Profile Photo - August R. Garcia

Reply to Fix "This app has been blocked for your protection"?

Comments in Operating Systems | By August R. Garcia

Published 11 months agoThu, 20 Dec 2018 01:11:18 -0800

Profile Photo - August R. Garcia

Have you tried installing/running the ap...

MoreHave you tried installing/running the application as an administrator? You should be able to run an application as an administrator by right clicking...
🗨
1
🐏
0
👁
224
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

The Google Analytics tracking code tag--...

MoreThe Google Analytics tracking code tag--as well as tracking/verification tags for most other services--should be placed within the <head> tag of...
🗨
1
🐏
0
👁
144
Profile Photo - Hash Brown
Profile Photo - Hash Brown

Hello,

MoreHello, Python requires whitespace formatting to work. You are using a mix of spaces and tabs, the easy solution to this is to not use tabs. You...
🗨
1
🐏
0
👁
221
Profile Photo - Hash Brown
Profile Photo - Hash Brown

This is usually caused when you are tryi...

MoreThis is usually caused when you are trying to call a method, when there is a property of the same name available. For example, this would cause you...
🗨
1
🐏
0
👁
166