How To Insert Equation When Equation Editor Greyed Out [Solved]

If you open up certain types of Microsoft Word documents you will find you’re unable to insert an equation as the icon used to insert equations into your document cannot be clicked and looks greyed out. Something that looks a little like this: Thankfully the solution is quite simple. To get around this problem simply save the Word document as a .docx file as the current working document will have [Compatibility Mode] enabled (as seen in the screenshot above). ...

April 3, 2013 · 1 min · 104 words · Ryan Sheehy

How To Create A Simple jQuery Background Image Slider

In one recent project I had to incorporate a traditional slider on the front page of a WordPress installation to showcase the range of products this site was selling. I was a little lazy and bought a popular package to accommodate the needs of my clients’ request. Unfortunately though, after tinkering around with it, I found it more of a nuisance than a help. Even after setting the package to use no styling it was still difficult to manipulate the object’s css properties to do what I wanted. ...

December 14, 2012 · 2 min · 339 words · Ryan Sheehy

How To Write Fractions Using Only HTML & CSS

Usually when I write fractions I use LaTeX’s command: \frac{x^2 + 3x + 5}{2x} which is easy, neat and when rendered does an awesome job: $$ \frac{x^2 + 3x + 5}{2x} $$ Currently, though I’m designing a simple website for my math students where I’d prefer not use a math renderer (if possible). The reason being that most of the content which is published does not require extensive math notation and therefore the majority of things that I need to show doesn’t need the heavy lifting of a LaTeX engine. ...

November 10, 2012 · 2 min · 379 words · Ryan Sheehy

3 Ways To Make VLOOKUP Dynamic In Google Sheets (Examples)

How do you make the range and column index number in a VLOOKUP function in Google Sheets dynamic? The VLOOKUP function is a popular formula used in spreadsheets to source data using the first column of a range as the primary key to search the search_key and then to return the intersection of the cell in that row with column_index_number. Here is the syntax of the VLOOKUP function with its named parameters: ...

6 min · 1252 words · Ryan Sheehy

Add Empty Row In HTML

How do you add an empty row in HTML? To add an empty row in HTML for your table use the code <tr><td colspan="X">&nbsp;</td></tr> otherwise if you want to add an empty row without using a table use the <hr> tag. Here are some examples demonstrating how adding an empty row looks in your HTML code. Add Empty Row In HTML Table To add an empty row in a HTML table insert a table row with a table cell and use the colspan property to span the width of the number of columns in the table. Within the table cell insert an space character so that the browser doesn’t collapse the row. ...

4 min · 793 words · Ryan Sheehy

Create A Dictionary In Python: Quick 5 Minute Beginners Guide

How do you create a dictionary in Python? Dictionaries in Python are mutable data types that contain key: value pairs. A dictionary can be a great way to organise information, especially if checks need to be performed prior for uniqueness and/or the value of that key needs to be changed, skipped or inserted. Creating A Dictionary Dictionaries can be created using either the dict() constructor method, using the dict literal annotation {} or using a dict comprehension. ...

9 min · 1865 words · Ryan Sheehy

List Changes Unexpectedly In Python: How Can You Stop It?

Why is it when you copy a list in Python doing b_list = a_list that, any changes made to a_list or to b_list modify the other list? If you’ve played with lists in Python you will reach a point where you want to copy a list to make modifications to it without changing the original list. Initially you would think the following would work: 1 2 3 4 5 6 7 >>> a_list = [1, 2, 3] >>> b_list = a_list >>> b_list.append(4) >>> print(b_list) [1, 2, 3, 4] >>> print(a_list) [1, 2, 3, 4] As you can see from the above example even though b_list was the only list which had an extra element added to it, a_list also changed! ...

9 min · 1739 words · Ryan Sheehy

Sort Nested Dictionary By Key Or By Value In Python: One Liner

How do you sort a nested dictionary in Python by key or by value? Throughout this article, I will use the following example, which displays a nested dictionary that contains three main properties labelled dict1, dict2, dict3 and from each key they reference another dictionary which contains a simple dictionary of three keys labelled A, B and C with each key matched to the same value 1, 2 and 3: ...

5 min · 953 words · Ryan Sheehy