This file contains hidden or 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 path = "/sap/bc/ui5_ui5/sap/zmp_i_posreq/"; | |
var modulePath = "com.riotinto.inbox.mp.positionrequest"; | |
jQuery.sap.registerModulePath(modulePath, _path); | |
jQuery.sap.require(modulePath + ".Component"); | |
//add container to whatever element. component data can only be set at constructor time | |
//so destroy and re-make if required. | |
var container = new sap.ui.core.ComponentContainer({ | |
name: modulePath, |
This file contains hidden or 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
service: sls-hana | |
custom: | |
stage: "${opt:stage, self:provider.stage}" | |
provider: | |
name: google | |
runtime: nodejs | |
project: hana-express-178422 | |
# the path to the credentials file needs to be absolute |
This file contains hidden or 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
[ | |
{ | |
"key": "shift+cmd+d", | |
"command": "editor.action.copyLinesDownAction" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "expandLineSelection" | |
}, |
This file contains hidden or 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
'use strict'; | |
var rExcerpt = /<!-{2,} *more *-{2,}>/; | |
function excerptFilter(data){ | |
var content = data.content; | |
var match = content.match(/(<![- ]{2,}more[- ]{2,}>[\s\S+](.*)[\s\S+]<![- ]{2,}more[- ]{2,}><\/.+>)/mi); | |
if(match) { | |
data.excerpt = match[0].replace(/<!-{2,} *more *-{2,}>/gi,''); |
This file contains hidden or 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
/* | |
Adaption of Hexo's hexo\node_modules\hexo-util\lib\util\highlight.js | |
original code highlighter uses <figure> and <table>s as gutter. Had some validation issues. Also did not accept | |
standard higlightjs themes (https://github.com/isagalaev/highlight.js/tree/master/src/styles) which are now | |
just drop in. | |
captions still require a tiny bit of css of your own because they're not standard in highlightjs. | |
I'm accompanying this by a tiny JS that adds .hljs to every pre tag that doesn't contain it, so it applies to |
This file contains hidden or 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
### Node ### | |
# Logs | |
logs | |
*.log | |
# Runtime data | |
pids | |
*.pid | |
*.seed |