Chris West's Blog

  • Home
  • Site Search
  • About Me
  •  YourJS
  • Search for:

JavaScript, Math, and much more.

Blog

JavaScript Snippet – Convert HTML Table To 2D Array

A few days ago I was working on manipulating data that I found in Wikipedia. The data was in a table where the colspans and rowspans were making it difficult to simply programmatically pull data. Then I started looking into Read more…

By Chris West, 9 years ago August 21, 2016
Blog

JavaScript Snippet – isValidVarName()

Now Available in YourJS Recently I was working on a function which needed to determine whether or not a string could be used as a variable name. Variable name validation can get tricky so instead of using a crazy regular Read more…

By Chris West, 9 years ago August 17, 2016
Blog

Installing Watchtower Library on Mac with Wine

Please refer to my newest post about Watchtower Library on Mac.

By Chris West, 9 years ago April 2, 2016
Blog

JavaScript – Detecting Infinite Loops

When allowing a user to input code that could potentially cause an infinite loop, it is nice to test the code first, right? Even, if the code doesn’t run infinitely, it would be nice to know if it takes longer Read more…

By Chris West, 10 years ago March 16, 2016
Blog

JavaScript Snippet – Recurse A Directory Synchronously

Recently I took a look at making HTML5 programs that will work on Mac, Linux and Windows via Electron and needed a way to recurse a directory synchronously in Node.js. I ended up with the following code: The above function Read more…

By Chris West, 10 years ago February 25, 2016
Blog

PHP Snippet – array_splice_assoc(…)

Recently I was working on something that required inserting key-value pairs into an array after a specific key in PHP. As I was looking through stackoverflow answers I realized that there was no awesome answer that really jumped out at Read more…

By Chris West, 10 years ago December 27, 2015
Blog

Game – Bible Book Master

Yesterday I really wanted to make a multi-lingual so I decided to make a game in which you have to go through all of the books of the Bible as fast as you can. I still need to do some Read more…

By Chris West, 10 years ago December 26, 2015
Blog

Game – Where’s the Nose that Knows?

I noticed that lately there has been interest in finding a panda in a large array of snowmen in this post. There was also this post where you have to find a cat amidst a great deal of owls. I Read more…

By Chris West, 10 years ago December 24, 2015
Blog

PHP – Re-indexing 2D Array By A Specific Key

Today I was working on a personal project and wanted to be able to use a native PHP function to re-index a 2D array so that the key for each sub-array was pulled from a value in that sub-array. Unfortunately Read more…

By Chris West, 10 years ago December 16, 2015
Blog

365.2425 Days in a Year?

I was looking through some of the posts on Google+ and noticed that one of Douglas Crockford’s posts alluded to the fact that there are 365.2425 days on average in a year. At first I thought that the number should’ve Read more…

By Chris West, 10 years ago December 15, 2015

Posts navigation

Previous 1 … 7 8 9 … 36 Next
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Archives
Categories
Blog (346) CSharp (1) Games (3) HTA (2) Java (5) JavaScript (220) JScript (149) Math (49) Microsoft Office (16) Movie Trailers (2) PHP (13) POW Answer (2) Problem of the Week (31) Python (15) Reporting (1) Salesforce (6) SQL (28) VBA (6) VBScript (8) Videos (10)
Tags
Apache (1) Apex (3) Array (37) Audio (2) Bash (3) Canvas (7) Chrome (3) CSS (12) CSS3 (2) Curry (1) Date (6) EcmaScript 6 (8) Encryption (2) Español (2) Excel (20) Function (136) GitHub (12) Hack (9) HTML (4) HTML5 (2) JasperReport (2) JasperServer (1) jPaq (35) JSON (2) JSONP (2) JW.org (5) Logic Puzzle (2) LWC (2) Mail Merge (1) Math (53) Network (1) OpenKM (2) PostgreSQL (27) Private Data (4) Problem of the Week (31) Prototype (41) Quirk (3) Recursion (10) Regular Expressions (22) String (62) SVN (1) Video (2) Wildcards (3) WScript (2) YourJS (18)
  • About Me
Hestia | Powered by WordPress