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
render() { | |
var showToolbar = true; | |
return ( | |
{ x == true ? <Toolbar/> : <div></div> } | |
{ x == true ? <Toolbar/> : { x == true ? <Toolbar/> : <div></div> } } | |
) | |
} |
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
LOSX-339623-HET-N:xml-escape mhernandez01$ cat logger.js && echo "\n -------- OUTPUT ---------- \n" && node logger.js | |
var moment = require('moment') | |
var statusLogger = { | |
error: function () { | |
var msg = Array.prototype.slice.call(arguments).join(' '); | |
console.error('[statuslog - error]', '- ( ' + moment().format() + ' ) -', msg) | |
}, | |
log: function () { | |
var msg = Array.prototype.slice.call(arguments).join(' '); | |
console.log('[statuslog - out]', '- ( ' + moment().format() + ' ) -', msg) |
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
The GoClient Sends the following JSON | |
Writing {"_id":7,"_action":"call","_method":"insert_submenu_at","_target":2,"_args":{"size":{},"command_id":3,"index":1,"label":"File","menu_id":3}} | |
--(Foo)++__THRUST_SHELL_BOUNDARY__++(Bar)-- | |
EOF | |
panic: EOF | |
The Crash log for the Thrust 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
// The Compile Bugs | |
In file included from ../../src/browser/exo_menu.cc:4: | |
In file included from ../../src/browser/exo_menu.h:11: | |
../../vendor/brightray/vendor/download/libchromiumcontent/src/base/memory/scoped_ptr.h:313:3: error: static_assert failed "T_is_refcounted_type_and_needs_scoped_refptr" | |
COMPILE_ASSERT(base::internal::IsNotRefCounted<T>::value, | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../../vendor/brightray/vendor/download/libchromiumcontent/src/base/macros.h:160:35: note: expanded from macro 'COMPILE_ASSERT' | |
#define COMPILE_ASSERT(expr, msg) static_assert(expr, #msg) | |
^ |
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
nm out/Debug/libnode_base.a | grep node_module_register | |
U _node_module_register | |
U _node_module_register | |
0000ba10 T _node_module_register | |
U _node_module_register | |
U _node_module_register | |
U _node_module_register | |
U _node_module_register | |
U _node_module_register | |
U _node_module_register |
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 util = require('util'); | |
var client = argument[0] | |
config = { | |
clients: { | |
demo: { | |
url: 'demo.cc.com' |
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
[ | |
'hello', | |
'world' | |
].join(' ') |