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
<table> | |
<thead> | |
<tr> | |
<th>Name</th> | |
<th>Something that could be NULL</th> | |
</tr> | |
</thead> | |
<tbody data-bind="foreach: valuesArray"> | |
<tr> | |
<td data-bind="text: Name"></td> |
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
ko.observableArray.fn.pushAll = function (valuesToPush) { | |
var underlyingArray = this(); | |
this.valueWillMutate(); | |
ko.utils.arrayPushAll(underlyingArray, valuesToPush); | |
this.valueHasMutated(); | |
return this; | |
}; | |
var viewModel = { | |
valuesArray : ko.observableArray([]) |
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
#!/bin/sh | |
# | |
# ghost - run ghost blogging tool | |
# | |
# https://ghost.org/developers/ | |
. /etc/rc.d/init.d/functions | |
ghosthome="/var/www/ghost/" | |
exec="/usr/bin/node index.js >> /var/www/ghost/ghost.log &" |