sudo sm-set-hostname <name>
sudo sm-reboot
sudo sed -i '$ a\
10.224.14.30 puppet' /etc/hosts
sudo pkgin -y install ruby18-puppet
cat > /tmp/puppetd.xml <<EOF
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
| define(['jquery-loader'], function (jQuery) { | |
| (function($) { | |
| $.timeago = function(timestamp) { | |
| if (timestamp instanceof Date) return inWords(timestamp); | |
| else if (typeof timestamp == "string") return inWords($.timeago.parse(timestamp)); | |
| else return inWords($.timeago.datetime(timestamp)); | |
| }; | |
| var $t = $.timeago; | |
| $.extend($.timeago, { |
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
| // When jquery is concated into oae.core, I get the output with the following code: | |
| // MyModule.js | |
| define(['jquery', 'oae.core', 'jquery.timeago', 'jquery.infinitescroll'], function($, oae, timeago, infiniteScroll) { | |
| return function(uid, showSettings, widgetData) { | |
| ///////////////////////////// | |
| // Configuration variables // |
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
| /*! | |
| * Load all of the 3rd party libraries that need to be present from the very beginning, as well as the actual | |
| * core client-side Sakai OAE APIs | |
| */ | |
| define([ | |
| 'oae.api!', | |
| 'jquery', |
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 express = require('express'); | |
| var app = express(); | |
| var emitter = new require('events').EventEmitter(); | |
| app.get('/marco', function(req, res) { | |
| res.send(200, 'Shut up'); | |
| console.log('Marco!'); | |
| setTimeout(_handlePolo, 10000); | |
| }); |
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
| # IPF Configuration File | |
| # 1. Allow all traffic on private and loopback interfaces | |
| # 2. Allow outgoing on public interface | |
| # 3. Block all unhandled inbound traffic on public interface | |
| # 1. | |
| pass in quick on net1 all | |
| pass out quick on net1 all | |
| pass in quick on lo0 all | |
| pass out quick on lo0 all |
Notice: /Stage[main]/Hilary/Exec[npm_install_dependencies]/returns: npm info install [email protected]
Notice: /Stage[main]/Hilary/Exec[npm_install_dependencies]/returns:
Notice: /Stage[main]/Hilary/Exec[npm_install_dependencies]/returns: > [email protected] install /opt/oae/node_modules/cas-sfu/node_modules/xml2json/node_modules/node-expat
Notice: /Stage[main]/Hilary/Exec[npm_install_dependencies]/returns: > node-gyp rebuild
Notice: /Stage[main]/Hilary/Exec[npm_install_dependencies]/returns:
Notice: /Stage[main]/Hilary/Exec[npm_install_dependencies]/returns: gyp info it worked if it ends with ok
Notice: /Stage[main]/Hilary/Exec[npm_install_dependencies]/returns: gyp info using [email protected]
Notice: /Stage[main]/Hilary/Exec[npm_install_dependencies]/returns: gyp info using [email protected] | sunos | ia32
Notice: /Stage[main]/Hilary/Exec[npm_install_dependencies]/returns: gyp http GET http://nodejs.org/dist/v0.8.22/node-v0.8.22.tar.gz
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
| root@pp0:/usr/lib# apt-cache show nodejs | |
| Package: nodejs | |
| Priority: extra | |
| Section: web | |
| Installed-Size: 14784 | |
| Maintainer: Jérémy Lal <[email protected]> | |
| Architecture: amd64 | |
| Version: 0.10.1-2chl1~precise1 | |
| Replaces: nodejs-dev (<= 0.8.22), npm (<= 1.2.14) | |
| Provides: nodejs-dev, npm |
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
| class service::rsyslog::base { | |
| class { 'rsyslog': | |
| server_host => $localconfig::rsyslog_host_internal, | |
| server_logdir => $localconfig::rsyslog_server_logdir, | |
| } | |
| } | |
| class service::rsyslog::server inherits service::rsyslog::base { | |
| Class['rsyslog'] { clientOrServer => 'server' } | |
| } |
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
| url.js:94 | |
| throw new TypeError("Parameter 'url' must be a string, not " + typeof url) | |
| ^ | |
| TypeError: Parameter 'url' must be a string, not object | |
| at Object.urlParse [as parse] (url.js:94:11) | |
| at finishFilePost (/opt/OAE-model-loader/api/general.js:340:18) | |
| at Object.exports.filePost (/opt/OAE-model-loader/api/general.js:286:13) | |
| at Object.exports.uploadProfilePicture (/opt/OAE-model-loader/api/general.js:540:13) | |
| at uploadProfilePicture (/opt/OAE-model-loader/api/user.dataload.js:129:17) | |
| at exports.loadUser (/opt/OAE-model-loader/api/user.dataload.js:28:21) |