Chris West's Blog

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

JavaScript, Math, and much more.

Blog

Python Integration – QuickBooks Customer Object Tidbit

Recently I had to write a custom integration which would sync customers found in QuickBooks with accounts found in Salesforce. We have been using Python to write all of our custom integrations so I have been using python-quickbooks and simple-salesforce. Read more…

By Chris West, 3 months ago October 14, 2020
Blog

JavaScript Snippet – Convert Column Name To Number

On a rare occasion you may need to convert a column name from Excel or Google Sheets to a number. For example you may be seeing references to a random column such as D, G, BV, etc. but you don’t Read more…

By Chris West, 7 months ago June 10, 2020
Blog

Embed Office Documents On Your Site

Have you ever wanted to display an Excel workbook or a Word document on your website? Of course, it is possible to save files as HTML but it just doesn’t have the same feel. Fortunately Microsoft can actually come to Read more…

By Chris West, 8 months ago May 22, 2020
Blog

Salesforce Apex – Disable Downloads Based On File Name & User Profile

Let’s say that similar to what we did in yesterday’s post, today you want to disable downloads based on a file name. The difference is this time you want to target the user’s profile type instead of their role. Once Read more…

By Chris West, 11 months ago February 21, 2020
Blog

Salesforce Apex – Disable Downloads Based On File Name & User Role

Imagine that you want to disable downloads for certain users based on the name of the file uploaded to Salesforce. This is totally possible thanks to the power of Apex classes. We can use the following example code inside of Read more…

By Chris West, 11 months ago February 20, 2020
Blog

JavaScript Snippet – domReady() Function

Sometimes you may want to know if the DOM is ready to be manipulated. Most of the time you want to run some code only after the DOM is ready to be modified. For that reason for years we used Read more…

By Chris West, 11 months ago February 19, 2020
Blog

Hack – Get A User’s GitHub Avatar

Have you ever needed to get any user’s GitHub avatar just based on their username? If you have then you are in luck because the process is quite simple. All you need to do is place the username in the Read more…

By Chris West, 11 months ago February 14, 2020
Blog

C# – Cool Feature – String Interpolation

Have you ever wanted to concatenate multiple strings to make one string and felt like the code should be shorter? So have I. For instance you may have written something like this: Of course the above code will work fine Read more…

By Chris West, 11 months ago February 6, 2020
Blog

How To Add Custom JavaScript To WordPress Posts

Let’s say that you want the following JavaScript to run directly in a WordPress post: To execute that you can write the following into your post: The resulting of running the above in a WordPress post is this: As you Read more…

By Chris West, 12 months ago January 31, 2020
Blog

Postgres – Get ISO Year Start & ISO Year End

Today I had to get the ISO year start and the ISO year end for a given date. For instance, according to ISO8601 the week number for January 30, 2020 is 5: Year Limits By Date In Year Let’s say Read more…

By Chris West, 12 months ago January 30, 2020

Posts navigation

1 2 … 34 Next
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Archives
Categories
Blog (328) CSharp (1) Games (3) HTA (2) Java (5) JavaScript (208) JScript (149) Math (49) Microsoft Office (16) Movie Trailers (1) PHP (12) POW Answer (2) Problem of the Week (31) Python (13) Reporting (1) Salesforce (3) SQL (28) VBA (6) VBScript (8) Videos (9)
Tags
Apache (1) Apex (2) Array (37) Audio (2) Bash (3) Bug (1) Canvas (6) Chrome (3) Chrome Extension (1) CSS (9) Curry (1) Date (5) EcmaScript 6 (7) Encryption (2) Español (2) Excel (20) Function (129) GitHub (11) Hack (7) HTML (3) HTML5 (2) JasperReport (2) JasperServer (1) jPaq (35) JSONP (2) JW.org (5) Logic Puzzle (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) RSS (1) String (56) SVN (1) Video (2) Wildcards (3) WScript (2) YourJS (16)
  • About Me
Hestia | Powered by WordPress