Tagged “Coding”
-
Multi-Line Strings in Arduino
I've been playing around with doing Web servers on ESP8266 wifi microcontrollers and I've run into a tedious problem of how to write large blocks of text like HTML and CSS as strings within the C++ code. Here are some options that I've found and how well they work. -
How to get g_form on Service Portal pages
Using g_form in your browser console is a great way to debug forms in ServiceNow, but what if you want get at it from a Service Portal page? Here's how you can easily use g_form on a Service Portal page in yor browser developer tool console easy peasy lemon squeezy. -
Smarter ServiceNow CMDB Imports with CMDBTransformUtil
Don't re-invent the wheel with every CMDB transform map. ServiceNow already saves you time and effort by giving you this utility to harness the magic of the CMDB in your transform maps so you don't have to develop it yourself. -
How to do CRC checks in Arduino, ESP8266, and other chips
How do you know if you received that data correctly or whether your saved settings actually saved properly? By using a fast and easy CRC check, that's how! Here's a quick guide on performing CRC checks on data with your favourite microcontroller. -
ServiceNow Import Tips #3 - Alerts on failing imports
Have you ever had a scheduled import that had been causing issues for weeks without anyone knowing? Save yourself the headache and do this simple step to alert people when import transforms fail. -
ServiceNow Import Tips #2 - Scripts to start imports
Make imports and transforms part of your ServiceNow automations. Did you know that you can kick-off data sources and transforms using scripts? So many possibilties! -
How to submit a ServiceNow catalog request using code
Don't manually create ServiceNow catalog request by hand, here's a quick guide on how to use the tools that ServiceNow provides. -
MySpaceTraderClient
I made a front-end for the online game Space Traders to teach myself how to create web apps from scratch using NodeJS and React. It was really fun and educational, and I'm pretty proud of what I came up with. -
ServiceNow Scoped Apps, GlideEncrypter, and handling passwords
In ServiceNow, you'd normally use GlideEncrypter to work with passwords and encrypted text, but it's blocked and forbidden in scoped applications. At first you'll think "wow that's rude", but there's a reason behind it. Here's how you can deal with passwords and encrypted text in ServiceNow scoped applications. -
How I gave my IoT Arduino a command-line interface
I wanted to be able to talk to an Arduino controller, make changes and make it do things without needing to reprogram the damn thing every time. I suceeded! Here's how I did it. -
Please never create an integration user called "integration.user"
This is a really bad idea. Plese don't ever create an integration user called "integration.user". -
ServiceNow Code - Make All Fields Not Mandatory
A quick and easy ServiceNow code snippet to use during testing and developement to circumvent mandatory fields. -
Dave's Base64 Tools
I use base64 a lot in my line of work, so I made my own tools to help me work faster! -
Dave's ServiceNow Bulk Export Tool
Save yourself some time, and don't spend hours exporting large exports of data out of ServiceNow like I did. To help me out, I wrote a cool little tool to export bulk amounts of data out of ServiceNow all at once, instead of combining smaller exports from the same table one-at-a-time. -
ServiceNow Script: GlideRecord to JSON
Get a plain JSON object from a ServiceNow record without hard-coding. Perfect for integrations! -
Better SN Approvals #4 - Approver Fields on Tasks
Get ServiceNow to do some of the heavy-lifting for approval reports, by summarising approvers on the task. -
Quick ServiceNow Code: Clear the outbound email queue
Avoid the headache of accidentally sending out a mountain of old emails by clearing the email queue before enabling "Email sending" on a development instance. -
Quick ServiceNow Code: Search for Duplicates
A quick useful code snippet for counting unique values and finding duplicates in ServiceNow. -
Encrypting and decrypting data in ServiceNow
Passwords and credentials can be encrypted in ServiceNow. Here's how you can decrypt the information to use in your own customisations and integrations. -
Arduino millis roll-over, and why it can ruin your project
In Arduino controllers, millis() rolls-over back around to zero after 49 days. How can you avoid the problems this causes? -
How to use a Field List type field to get data from ServiceNow
ServiceNow Field List type fields let users select and dot-walk through fields, like "assigned_to.manager.email", which is awesome, but how can you use them to get data out of ServiceNow?
See all tags.