Chris West's Blog

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

JavaScript, Math, and much more.

Math

POW Answer – Sequential Triad 24

Here is the answer to last week’s POW: (0! + 1 + 2)! = 24 (-1 + 2 + 3)! = 24 2 * 3 * 4 = 24 (3 – 4 + 5)! = 24 4! / (-5 + Read more…

By Chris West, 12 years ago October 7, 2013
Blog

POW – Sequential Triad 24

Many people are familiar with the math game 24, but not many know about the sequential triad version. You must make each of the following sequences true by only inserting operators and without changing the order of the numbers: 0 Read more…

By Chris West, 12 years ago September 30, 2013
Blog

¿Ha cambiado Google por el mejor o el peor?

Hace un mes atrás yo anoté una diferencia en el número de visitas a mi blog pero no supe a que se debió hasta hoy. Google acaba de dejar el público saber que realizaron cambios en su motor de búsqueda Read more…

By Chris West, 12 years ago September 27, 2013
Blog

JavaScript – Loading External JS Files

If you need a way to load external JavaScript files sequentially with JavaScript, you can use the following function: /** * Loads one more external JS files and optionally calls a callback function * when done. * @param {!Array.<string>} urls Read more…

By Chris West, 12 years ago September 26, 2013
Blog

VBScript – Convert Image To Base 64

Last week I wrote a function which takes a file path and returns the base64 PNG code for that image. Since it isn’t straight-forward for everyone as to how to convert that JScript code to VBScript I decided to do Read more…

By Chris West, 12 years ago September 23, 2013
Blog

JScript – Convert Image To Base64

Yesterday I was updating an HTA (HTML Application) and needed to figure out how to convert an image into a base64 code that could be used in a stylesheet. I needed this to be able to embed an image in Read more…

By Chris West, 12 years ago September 18, 2013
Blog

Python – Convert Excel Column Name To Number

A few days I wrote a post about how to convert an cell address into coordinates (column number, and row number). I am working a quick Python script for work to import CSV data into a DB. In order to Read more…

By Chris West, 12 years ago September 13, 2013
Blog

JavaScript Snippet – Convert Number To Column Name

Following yesterday’s post, I thought it appropriate to write a quick JavaScript function which converts an integer into the corresponding column name: You can click here to enter a positive integer and see the corresponding column name. If you need Read more…

By Chris West, 12 years ago September 5, 2013
Blog

JavaScript Snippet – Parse A Spreadsheet Address

Today I am starting work on a quick flashcard app that will use Google Docs to read data from a spreadsheet. I thought I had written and published a function which parses an Excel like cell address and converts it Read more…

By Chris West, 12 years ago September 4, 2013
Blog

JavaScript – Adding Cross-browser Event Listeners

Something that I need to use every once in a while is addEventListener, but unfortunately I can’t depend on its existence in all browsers. For this reason I decided to write the following cross-browser solution for providing a function that Read more…

By Chris West, 12 years ago August 30, 2013

Posts navigation

Previous 1 … 14 15 16 … 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