- Install
rust
by executing this:$ curl -sSf https://static.rust-lang.org/rustup.sh | sh
- Install node (v4.2.*), e.g.
$ nvm install 4
- Install
neon
:$ npm install -g neon-cli
- Patch the
templates/binding.gyp.hbs
of theneon-cli
using a patch from here: https://github.com/dherman/neon-cli/pull/6/commits - Take the advice to edit the
../<(static_lib)
into<(PRODUCT_DIR)/../../<(static_lib)
- Create a new neon project:
$ neon new hello
$ cd hello
- Edit the
Cargo.toml
deps to fetch the latest neon from git:
Make writing asynchronous code easier by having a consistent way of propagating "context" across related asynchronous operations. Have the "context" be responsible for async-local-storage, allowing the execution before and after hooks, and "context"-local error handling. Finally make sure that the "context"s are composable.
This feature needs to be part of the platform so that library and framework authors can relay on a common well know API, otherwise adoption will be limited.
import React, { Component } from 'react' | |
import Firebase from 'firebase' | |
import ReactFireMixin from 'reactfire' | |
import reactMixin from 'react-mixin' | |
const ref = new Firebase('https://<APPNAME>.firebaseio.com/users') | |
class UsersList extends Component { | |
constructor (props, context) { | |
super(props, context) |
bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
Versioned and revised ideas for how to run a good tech company.
Edits can just be plain edited. Redactions must be turned into strikethrough and a comment added stating why the text/point is being removed.
I have not seen prelease versions utilized pre-1.0.0. It seems fairly pointless since the public API is not finalized yet. They become useful after 1.0.0 is released.
From semver.org:
Version 1.0.0 defines the public API. The way in which the version number is incremented after this release is dependent on this public API and how it changes.
- Download the Consolas font from http://www.fontpalace.com/font-details/Consolas/
- Open Finder and navigate to
Downloads
directory - Double click the
Consolas.ttf
file - A dialog box appears displaying the details about the font
- Click
Install font
button
- Open IDEA Preferences Window (Press Command + ,)
- Editor > Colors & Fonts > Font
For phase 1, only 2 users can video / audio chat at the same time in Crugo. This will eventually be developed to allow multiple user video / audio chat.
User A goes to the direct tag of User B and presses the call button. User A is presenting with a calling UI. User B received that call and is shown the being called UI. User B Then presses answer. At this stage both User A and User B are taken into the video chat UI. WebRTC does its thing and the call is initialised.
#!/usr/bin/env node | |
console.log('yay gist') |