Skip to content

Instantly share code, notes, and snippets.

View nguyen0096's full-sized avatar
🎯
Focusing

Nguyen DN nguyen0096

🎯
Focusing
  • Prophet Exchange
  • Viet Nam
  • 06:30 (UTC +07:00)
View GitHub Profile
@nguyen0096
nguyen0096 / latest-protobuf-ubuntu-18-04.md
Created January 17, 2021 04:09 — forked from diegopacheco/latest-protobuf-ubuntu-18-04.md
How to Install Latest Protobuf on Ubuntu 18.04
sudo apt-get install autoconf automake libtool curl make g++ unzip -y
git clone https://github.com/google/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
make
make check
sudo make install
sudo ldconfig

ServiceNow - Jelly scripting cheatsheet

UI Page consists of jelly, client script and processing script. UI Macro has the jelly script only (but client script can be injected in jelly script) Usages:

  • Open as a page using URI https://<instance_name>.service-now/<ui_page_name>.do
  • Open as a modal using client script (UI action, client script, etc) (see snippet 1)
// Snippet 1
var gm = new GlideModal('UI_dialog_name');
gm.setTitle('Show title');