View error.txt
Download done.
Removing outdated cached downloads...
mv: cannot move 'jdk1.8.0_111' to 'java-8-oracle': Permission denied
dpkg: error processing package oracle-java8-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
dmesg: read kernel buffer failed: Function not implemented
/bin/df: /proc/sys/fs/binfmt_misc: Operation not permitted
Setting up x11-common (1:7.7+13ubuntu3) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
View cssnodelayout.cxx
#include "csslayoutnode.h"
Nan::Persistent<v8::Function> CSSLayoutNode::constructor;
CSSLayoutNode::CSSLayoutNode(v8::Local<v8::Object> self) {
this->_node = CSSNodeNew();
CSSNodeInit(this->_node);
CSSNodeSetContext(this->_node, *self);
}
View foo.cxx
#include "csslayoutnode.h"
Nan::Persistent<v8::Function> CSSLayoutNode::constructor;
CSSLayoutNode::CSSLayoutNode(v8::Local<v8::Object> self) {
this->_node = CSSNodeNew();
CSSNodeInit(this->_node);
CSSNodeSetContext(this->_node, *self);
}
View Node.cs
/// <summary>
/// Insert a child at the given index.
/// </summary>
/// <param name="child">The child.</param>
/// <param name="index">The index.</param>
public void AddChildAt(CSSNode child, int index)
{
Insert(index, child);
MarkUpdated();
var node = (ReactShadowNode)child;
View CSSNode.cs
/**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
using System;
View keybase.md

Keybase proof

I hereby claim:

  • I am mattpodwysocki on github.
  • I am mattpodwysocki (https://keybase.io/mattpodwysocki) on keybase.
  • I have a public key whose fingerprint is 8A1C EB74 EE44 AAE7 B4F8 097A EBBD CF40 856F AA26

To claim this, I am signing this object:

View foo.cs
public void Initialize()
{
_cssNode = Native.CSSNodeNew();
Native.CSSNodeInit(_cssNode);
_children = new List<CSSNode>(4);
Native.CSSNodeSetPrintFunc(_cssNode, _printFunc);
}
View foo.cpp
#include "cssLayout.h"
#include "stdafx.h"
int main()
{
CSSNode* node = CSSNodeNew();
CSSNodeInit(node);
wprintf(L"Is Dirty %s", CSSNodeIsDirty(node) ? L"true" : L"false"); // false
View BUCK
csharp_library(
name = 'csslibnet46',
dll_name = 'Facebook.CSSLayout/output/net46/Facebook.CSSLayout.dll',
framework_ver = 'net46',
srcs = [
'Facebook.CSSLayout/Properties/AssemblyInfo.cs',
'Facebook.CSSLayout/CSSAlign.cs',
'Facebook.CSSLayout/CSSConstants.cs',
'Facebook.CSSLayout/CSSDimension.cs',
'Facebook.CSSLayout/CSSDirection.cs',
View csslayout.h
/**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#pragma once