- object store
- kafka
- netty
- cassandra
- elastic search
- stream processing (flink)
- redis
- spring
In order to use this command, you need to have can_delete
role added to your user.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var instanceName = gs.getProperty('instance_name'); | |
gs.info(instanceName); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var grSysAtt = new GlideRecord('sys_attachment'); | |
grSysAtt.addQuery('table_name', 'my_table'); // name of table whose record have attachment | |
grSysAtt.addQuery('table_sys_id', '557d2d9f4fb416406b6500f18110c71c'); // sys_id of record having attachment | |
grSysAtt.query(); | |
while (grSysAtt.next()) { | |
var sa = new GlideSysAttachment(); | |
var attachmentContents = sa.getContent(grSysAtt); | |
gs.info(attachmentContents); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copyright (C) 2016 Prabhas Gupte | |
* | |
* This is free script: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* | |
* This script is distributed in the hope that it will be useful, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$arr = json_decode(json_encode(simplexml_load_string($xml, null, LIBXML_NOCDATA)), true); | |
?> |
Go to SublimeText 2 > Preferences > User Settings. This should open your User Settings as a JSON file. Add the following to your file:
"trim_trailing_white_space_on_save": true
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string = string.replace(/\s+/g, ' '); |