Skip to content

BitBook

  • Online Tools
  • Dev
  • Sysadmin
  • Reviews
  • Machine Learning
  • Home
  • Page 2

Replace Everything Inside Two Strings

December 27, 2018 mike PHP

Using the built in PHP regex function preg_replace and property encoding the two strings you’re searching for with preg_quote you can remove all of the

Strip Image EXIF Data

December 24, 2018 mike PHP

Many times you’ll want to remove the meta data on user uploaded images to your website. The meta data automatically saved to the images can

Test Javascript Synax

December 22, 2018 mike JavaScript, Online Tools

Test your javascript for bugs by copying and pasting your code below.

Force String to Lower or Upper Case

December 21, 2018 mike JavaScript

JavaScript has built in methods to manipulate strings making this task easy. You can call the toLowerCase() or toUpperCase() on the string directly. Make a

What Are My Browser Headers?

December 20, 2018 mike HTTP Tools

Your browser sends headers with every request made to a http server on the internet. Things like what your user agent is, your language preferences,

Sort Query By Length of String

December 19, 2018 mike MySQL

We’ll be using the MySQL built-in function char_length to demonstrate how to filter and sort based on a size of a columns width in characters.

Hide and Show and Element Using JQuery

December 17, 2018 mike JavaScript

You have a div tag you want to hide with the id “myElementID”. You want to show that same div again. Don’t forget to include

How to get a Summary of Every File Type in a Folder at the Command Line

December 17, 2018 mike Sysadmin

This command will work on Linux and MacOS. Here we’re running it on our downloads folder to get a summary of every type of file

Moving Your Git Project to GitHub

December 15, 2018 mike Dev

From the root of your current project run this command. That’s it!

Loop Through All Properties of a PHP Object

December 13, 2018 mike PHP

Looping through all of a PHP objects properties is just as easy as an array. Output:

Posts navigation

«Previous Posts 1 2 3 4 … 14 Next Posts»

Bitbook

  • About
  • Privacy Policy
  • Terms of Service