256 Kilobytes

Home - Latest Content

Profile Photo - Some Guy

How to block SEO tools from accessing my website?

Forum in Search Engine Optimization | By Some Guy

Published 8 months agoMon, 03 Dec 2018 22:06:34 -0800

Profile Photo - August R. Garcia

Last Reply There are (basically) two methods: Update your robots.txt file.  For example, if you want to block Ahrefs via your robots.txt file, Ah... August R. Garcia,

There are (basically) two...

Mon, 03 Dec 2018 22:47:46 -0800 8 months ago
🗨
1
🐏
0
👁
92
Profile Photo - Some Guy

404 vs 410 - what should I use when trying to remove URLs?

Answers in Search Engine Optimization | By Some Guy

Published 8 months agoMon, 03 Dec 2018 22:34:32 -0800 | Last update 8 months agoTue, 04 Dec 2018 13:54:09 -0800

Profile Photo - August R. Garcia

Last Reply 410 -- It indicates a permanent, deliberate removal. https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410 Also, if the URL removal... August R. Garcia,

410 -- It indicates a per...

Mon, 03 Dec 2018 22:40:26 -0800 8 months ago
🗨
1
🐏
0
👁
94
Profile Photo - Some Guy

What is a fair monthly fee to pay for hosting?

Forum in Web Hosting | By Some Guy

Published 8 months agoMon, 03 Dec 2018 22:12:48 -0800

Profile Photo - August R. Garcia

Last Reply If the $199/month is for pure hosting costs (rather than hosting + ongoing site maintenence, answering your support tickets, and so on), the... August R. Garcia,

If the $199/month is for...

Mon, 03 Dec 2018 22:25:27 -0800 8 months ago
🗨
1
🐏
0
👁
134
Profile Photo - Some Guy

Is replacing embedded GoogleMaps with OpenStreetMap worth it?

Forum in Web Development | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:34 -0800

Profile Photo - August R. Garcia

Last Reply It works fairly well. Have used it on and off on the 256 Kilobytes website on the About and Staff page. Only bug that I've run into is that, wh... August R. Garcia,

It works fairly well. Hav...

Mon, 03 Dec 2018 17:27:31 -0800 8 months ago
🗨
2
🐏
0
👁
85
Profile Photo - August R. Garcia

256KB v1.1.2 -- Pending Features, known bugs, and general bug reports

Forum in Meta | By August R. Garcia

Published 8 months agoMon, 03 Dec 2018 16:00:02 -0800 | Last update 8 months agoWed, 05 Dec 2018 18:49:15 -0800

Profile Photo - August R. Garcia

More Dear Sirs and Offbrand Sirs, Here is a non-exclusive list of features and bug fixes in progress. Features and bug fixes listed with strikethr...
🗨
0
🐏
1
👁
160
Profile Photo - Some Guy

How do I take down a rip off report?

Forum in Online Reputation Management (ORM) | By Some Guy

Published 8 months agoMon, 03 Dec 2018 15:17:41 -0800

Profile Photo - Hash Brown

Last Reply Hello, Unfortunately there really isn't a hard and fast fix for things like this, I would attack this in the following order: Try and fix... Hash Brown,

Hello,

Mon, 03 Dec 2018 15:44:42 -0800 8 months ago
🗨
1
🐏
0
👁
171
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

Sir

MorePlease
🗨
0
🐏
0
👁
123
Profile Photo - August R. Garcia

[Laravel] How to create a database field of the types MEDIUMBLOB, LONGBLOB, and other data types not explicitly supported by the Schema facade.

Articles in Frameworks | By August R. Garcia

Published 8 months agoMon, 03 Dec 2018 15:17:59 -0800 | Last update 8 months agoTue, 04 Dec 2018 13:16:51 -0800

Profile Photo - August R. Garcia

How to specify data types that are outsi...

MoreLaravel's database migrations and schema facade are designed to be "database agnostic": The Laravel Schema facade provides dat...
🗨
0
🐏
0
👁
1,221
Profile Photo - Some Guy

How can I check if row a exists with Laravel?

Answers in Frameworks | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:39 -0800 | Last update 8 months agoMon, 03 Dec 2018 14:56:02 -0800

Profile Photo - Hash Brown

Last Reply It depends on what you want to do with the data. If you just want to check if it exists: if (User::where('username', '=', Input::get('username... Hash Brown,

It depends on what you wa...

Mon, 03 Dec 2018 14:58:11 -0800 8 months ago
🗨
1
🐏
0
👁
84
Profile Photo - Some Guy

How to determine IP location without using an API?

Answers in Server-Side | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:21 -0800 | Last update 8 months agoMon, 03 Dec 2018 06:16:36 -0800

Profile Photo - Hash Brown

Last Reply For scalability you're probably better off asking for users permission and using HTML Geolocation and using the API as a fall back for those that... Hash Brown,

For scalability you'r...

Mon, 03 Dec 2018 14:45:33 -0800 8 months ago
🗨
1
🐏
0
👁
84
Profile Photo - Some Guy

[CSS squiggle/squiggly selector] Tilde in CSS?

Answers in Style and Layout | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:32 -0800

Profile Photo - Hash Brown

Last Reply This is called a "general sibling combinator". The general sibling combinator selector is very similar to the adjacent sibling combinator... Hash Brown,

This is called a "ge...

Mon, 03 Dec 2018 14:34:39 -0800 8 months ago
🗨
1
🐏
0
👁
139
Profile Photo - August R. Garcia

[PHP] How to generate random, readable background and text color pairs

Articles in Web Development | By August R. Garcia

Published 8 months agoMon, 03 Dec 2018 14:29:25 -0800 | Last update 8 months agoMon, 03 Dec 2018 16:22:02 -0800

Profile Photo - August R. Garcia

How to generate random, complimentary pa...

MoreWhile writing a PHP graphing library the other day, it became apparent that code would be needed to generate an arbitrary random colors that did not l...
🗨
0
🐏
1
👁
414
Profile Photo - Some Guy

Best way to import JSON to Google Sheets?

Answers in Spreadsheets | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:42:13 -0800 | Last update 8 months agoMon, 03 Dec 2018 06:18:01 -0800

Profile Photo - Hash Brown

Last Reply Another option would be to convert the JSON to CSV using an online tool like this: https://json-csv.com/ Hash Brown,

Another option would be t...

Mon, 03 Dec 2018 14:00:23 -0800 8 months ago
🗨
2
🐏
0
👁
152
Profile Photo - Some Guy

Google Sheets Gantt Chart Template

Answers in Spreadsheets | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:44:54 -0800 | Last update 8 months agoMon, 03 Dec 2018 16:04:14 -0800

Profile Photo - Hash Brown

Last Reply Super useful, thank you! Hash Brown,

Super useful, thank you!

Mon, 03 Dec 2018 13:54:58 -0800 8 months ago
🗨
1
🐏
0
👁
88
Profile Photo - Some Guy

Scraping results from Google Search

Forum in Web Scraping, Data Analysis | By Some Guy

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

Profile Photo - Hash Brown

Last Reply If you're going to do this in any real volume you're going to get IP blocked pretty quick, even on Google Sheets. If I were you I would loo... Hash Brown,

If you're going to do...

Mon, 03 Dec 2018 13:46:23 -0800 8 months ago
🗨
1
🐏
0
👁
170
Profile Photo - Some Guy

What are Hamming and Levenshtein distance?

Answers in Scripting and Automation | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:43:22 -0800

Profile Photo - Hash Brown

Last Reply Sure, let me help you at a basic level. Both terms come from information theory, they are a string metric to evaluate two values and basically meas... Hash Brown,

Sure, let me help you at...

Mon, 03 Dec 2018 13:31:34 -0800 8 months ago
🗨
1
🐏
0
👁
78
Profile Photo - Some Guy

Why is VLookup supposedly so useful in Google Sheets?

Answers in Spreadsheets | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:22 -0800 | Last update 8 months agoMon, 03 Dec 2018 06:30:34 -0800

Profile Photo - Hash Brown

Last Reply It depends what you are trying to do in Google Sheets, if you don't need the function and never use it then I guess it's just another function... Hash Brown,

It depends what you are t...

Mon, 03 Dec 2018 13:05:04 -0800 8 months ago
🗨
1
🐏
0
👁
94
Profile Photo - Some Guy
Profile Photo - Hash Brown

Last Reply There is a function called scandir. <?php $directory = '/path/to/directory'; scandir($directory); ?> This will output your directory... Hash Brown,

There is a function calle...

Mon, 03 Dec 2018 12:54:16 -0800 8 months ago
🗨
1
🐏
0
👁
76
Profile Photo - Some Guy

How to implement an algorithm to calculate Levenshtein distance in JavaScript?

Answers in Scripting and Automation | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:26 -0800 | Last update 8 months agoSun, 02 Dec 2018 12:28:46 -0800

Profile Photo - Hash Brown

Last Reply Here you go: function levenshteinDistance (str1, str2) { if (!str1.length) return str2.length; if (!str2.length) return str1.length;... Hash Brown,

Here you go:

Mon, 03 Dec 2018 12:48:11 -0800 8 months ago
🗨
1
🐏
0
👁
66
Profile Photo - August R. Garcia

[CSS Trick] How to smooth-scroll to anchors using pure CSS (scroll-behavior property)

Forum in Style and Layout | By August R. Garcia

Published 8 months agoMon, 03 Dec 2018 12:34:02 -0800 | Last update 8 months agoMon, 03 Dec 2018 22:59:43 -0800

Profile Photo - August R. Garcia

Apparently this is a thing (as of like t...

MoreApparently this is a thing (as of like two days ago (?)): html { scroll-behavior:smooth; } https://css-tricks.com/snippets/jquery/smooth-s...
🗨
0
🐏
0
👁
101
Profile Photo - Some Guy

[Laravel] How to make a custom 404 page?

Answers in Frameworks | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:38 -0800

Profile Photo - August R. Garcia

Last Reply The easiest way is to create a file at: /resources/views/errors/404.blade.php Replace 404 with the HTTP code that you want to make a custom... August R. Garcia,

The easiest way is to cre...

Mon, 03 Dec 2018 07:07:11 -0800 8 months ago
🗨
1
🐏
0
👁
90
Profile Photo - Some Guy

CKEditor replace by class

Answers in Client-Side | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:51 -0800

Profile Photo - August R. Garcia

Last Reply Yes, it can be done. Something along these lines works. Can remove the try/catch statement at your discretion. try { // Intialize CKEditor Ins... August R. Garcia,

Yes, it can be done. Some...

Mon, 03 Dec 2018 06:23:50 -0800 8 months ago
🗨
1
🐏
0
👁
164
Profile Photo - Some Guy

Is there a way to create a CSS color scale based on a div's value/innerHTML content (or vanilla JS)?

Answers in Client-Side | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:35 -0800 | Last update 8 months agoMon, 03 Dec 2018 05:28:28 -0800

Profile Photo - August R. Garcia

Last Reply Am fairly sure there is no built-in way to do this with pure CSS, but definitely doable with JS/jQuery. August R. Garcia,

Am fairly sure there is n...

Mon, 03 Dec 2018 06:15:47 -0800 8 months ago
🗨
1
🐏
0
👁
161
Profile Photo - Some Guy

Content Management System Comparisons: Wordpress v. Drupal v. Joomla?

Forum in Content-Management Systems | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:43:55 -0800 | Last update 8 months agoMon, 03 Dec 2018 05:49:11 -0800

Profile Photo - August R. Garcia

Last Reply Basic overview: WordPress Is generally considered to be the easiest to use, particularly for blog/news type websites. For more heav... August R. Garcia,

Basic overview:

Mon, 03 Dec 2018 05:55:50 -0800 8 months ago
🗨
1
🐏
0
👁
131
Profile Photo - Hash Brown

Title in threads still has Zoscal branding

Forum in Bug reports | By Hash Brown

Published 8 months agoSun, 02 Dec 2018 18:03:57 -0800

Profile Photo - August R. Garcia

Last Reply Zoscal was the old name? Yes. Bug now fixed on local/development version and will be pushed in the next patch. August R. Garcia,

Mon, 03 Dec 2018 04:40:28 -0800 8 months ago
🗨
1
🐏
1
👁
212
Profile Photo - Some Guy

Pls halp: Google Sheets' REPT function uses same random number for all repetitions.

Answers in Spreadsheets | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:49 -0800 | Last update 8 months agoSun, 02 Dec 2018 12:26:10 -0800

Profile Photo - August R. Garcia

Last Reply Am fairly sure that this is not supported in Google Sheets. It might be possible to emulate behavior for your specific use case through a... August R. Garcia,

Am fairly sure that this...

Sun, 02 Dec 2018 12:25:48 -0800 8 months ago
🗨
1
🐏
0
👁
126
Profile Photo - Some Guy

How to pass an argument to Laravel middleware (called from a in controller's constructor)?

Answers in Frameworks | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:53 -0800 | Last update 8 months agoSun, 02 Dec 2018 12:16:38 -0800

Profile Photo - August R. Garcia

Last Reply <?php $this->middleware( 'some.middleware:Some Value' ); August R. Garcia,

Sun, 02 Dec 2018 03:49:52 -0800 8 months ago
🗨
1
🐏
0
👁
81
Profile Photo - Some Guy

[CSS] How to make a text shadow on all sides?

Answers in Style and Layout | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:52 -0800

Profile Photo - August R. Garcia

Last Reply Something like this will work: text-shadow: 0px 0px 4px black; The important part is to make the first to values be 0. These two values ind... August R. Garcia,

Something like this will...

Sun, 02 Dec 2018 03:49:51 -0800 8 months ago
🗨
1
🐏
0
👁
76
Profile Photo - Some Guy

[CSS] Display none but keep space?

Answers in Style and Layout | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:50 -0800

Profile Photo - August R. Garcia

Last Reply Use the CSS visibility property. This article from CSS-Tricks covers the property in more depth: https://CSS-tricks.com/almanac/properties/v/vi... August R. Garcia,

Use the CSS visibility pr...

Sun, 02 Dec 2018 03:49:49 -0800 8 months ago
🗨
1
🐏
0
👁
95
Profile Photo - Some Guy

What is port 25565 used for? How to open it? Should I open it?

Answers in Web Hosting | By Some Guy

Published 8 months agoSun, 02 Dec 2018 03:45:48 -0800

Profile Photo - August R. Garcia

Last Reply Seems like that port is most commonly/mainly used for Minecraft servers. You should be able to run a Minecraft server from any port (probably). The... August R. Garcia,

Seems like that port is m...

Sun, 02 Dec 2018 03:49:47 -0800 8 months ago
🗨
1
🐏
0
👁
107