Chris West's Blog

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

JavaScript, Math, and much more.

Blog

OpenKM Scripting – Creating Folders

We recently had the need to create hundreds of folders but didn’t want to do so manually. Unfortunately, this wasn’t as easy as simply going into the database and adding them. Fortunately, it was as easy as using the following Read more…

By Chris West, 13 years ago June 18, 2012
Blog

JScript – Select Parent Folder

A while back, I wanted to have a script that would select a file or a folder in Windows Explorer. The following JScript selects the parent folder of the script that is run within Windows Explorer: For instance, if the Read more…

By Chris West, 13 years ago June 15, 2012
Blog

PostgreSQL – Convert A String Into A Table

Recently at work we had the need to convert a string parameter (passed into an iReport) into a table. For many people, the first thing that may come to mind is either the STRING_TO_ARRAY(...) function combined with the UNNEST(...) function. Read more…

By Chris West, 13 years ago June 14, 2012
Blog

PostgreSQL – Granting Access To All Functions

Now to grant all access for roles on all of the functions in the database, you can use a query such as the following: After running this query, you will have all of the GRANT statements that are needed to Read more…

By Chris West, 13 years ago June 12, 2012
Blog

PostgreSQL – Granting Access To All Sequences

Once again, since the DBA is on vacation today, I have to assume some of his duties. It seems that nobody has access to anything in the development databases. After granting them permissions to all of the tables in the Read more…

By Chris West, 13 years ago June 11, 2012
Blog

Unbreakable Encryption Technique

That’s right! As of right now, I have a totally open source, unbreakable encryption tool available to the masses called Crypter. What Is Meant By Unbreakable The only way that I can conceive of breaking any of the encryption methods Read more…

By Chris West, 13 years ago June 1, 2012
Blog

POW Answer – Fixing Compilable JavaScript Code

The following answers the Problem of the Week from May 14, 2012: At first glance, it may seem that the following would be the solution: Unfortunately, the above results in true being returned. In order to get false to be Read more…

By Chris West, 13 years ago May 21, 2012
Blog

POW – Fixing Compilable JavaScript Code

Many JavaScript/JScript developers use Google Closure Compiler to compile their code. Even though this tool is a great way of minifying JavaScript code, believe it or not, it doesn’t always work (at least as of May 14, 2012). The following Read more…

By Chris West, 13 years ago May 14, 2012
Blog

POW Answer – 0.999999 Repeating Equals One?

The following answers the Problem of the Week from May 7, 2012: One of the simplest ways to prove that 0.999999 = 1 is by doing the following: 0.333333 = 1 / 3 3 × (0.333333) = 3 × (1 Read more…

By Chris West, 13 years ago May 14, 2012
Blog

PostgreSQL – Select PL/pgSQL Function Definitions

Something that I did before, but never documented until now was querying the database for all of the PL/pgSQL function definitions. In PostgreSQL, you can run the following to pull all of them along with the owner, schema, function name, Read more…

By Chris West, 13 years ago May 9, 2012

Posts navigation

Previous 1 … 23 24 25 … 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