git clone https://github.com/bodhiproject/bodhi-server
cd bodhi-server
npm install
npm run start-test
// go to localhost:8989/graphiql
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
import React from 'react'; | |
import 'style.scss'; | |
const NavButton = (props) => <div className='container'><div classname={`nav-btn ${props.active}`}><i>Click Me</i></div><div> | |
export default NavButton; |
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:'stun:stun01.sipphone.com'}, | |
{url:'stun:stun.ekiga.net'}, | |
{url:'stun:stun.fwdnet.net'}, | |
{url:'stun:stun.ideasip.com'}, | |
{url:'stun:stun.iptel.org'}, | |
{url:'stun:stun.rixtelecom.se'}, | |
{url:'stun:stun.schlund.de'}, | |
{url:'stun:stun.l.google.com:19302'}, | |
{url:'stun:stun1.l.google.com:19302'}, | |
{url:'stun:stun2.l.google.com:19302'}, |
Escape sequence | Text attributes |
---|---|
\x1b[0m | All attributes off(color at startup) |
\x1b[1m | Bold on(enable foreground intensity) |
\x1b[4m | Underline on |
\x1b[5m | Blink on(enable background intensity) |
\x1b[21m | Bold off(disable foreground intensity) |
\x1b[24m | Underline off |
\x1b[25m | Blink off(disable background intensity) |
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
const https = require('https'); | |
const crypto = require('crypto'); | |
const fs = require('fs'); | |
const start = Date.now(); | |
function doRequest(){ | |
https | |
.request('https://www.google.com', (res)=>{ | |
res.on('data',()=>{}); |
- The Short Unofficial Definition
- Blockchain is a continuously growing list of records, the special block & chain structure and crypotography make the distributed ledger trustless.
- The Basic Characteristics: Distributed, trustless, immutable, accountable -> Therefore can be DECENTRALIZED
- Distributed: distributed ledger, managed by peer-to-peer(p2p) network (For use as a distributed ledger, a blockchain is typically managed by a peer-to-peer network collectively adhering to a protocol for validating new blocks)
- Centralized: all nodes are connected to the central node. Lead to single point of failure, scaling issue, and inefficiency problem
- Trustless: It is Anti-fraud by consensus mechanism design (PoW made bitcoin the first digital currency to solve the double spending problem without the need of a trusted authority or central server.)
- Distributed: distributed ledger, managed by peer-to-peer(p2p) network (For use as a distributed ledger, a blockchain is typically managed by a peer-to-peer network collectively adhering to a protocol for validating new blocks)
- Immutable: Records are immutable by blocks & chaining design (Once rec
CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control
and E-Tag
headers, etc.), minification, etc.
- Make sure you have registered a domain name.
- Sign up for CloudFlare and create an account for your domain.
- In your domain registrar's admin panel, point the nameservers to CloudFlare's (refer to this awesome list of links for instructions for various registrars).
- From the CloudFlare settings for that domain, enable HTTPS/SSL and set up a Page Rule to force HTTPS redirects. (If you want to get fancy, you can also enable automatic minification for text-based assets [HTML/CSS/JS/SVG/etc.], which is a pretty cool feature if you don't want already have a build step for minification.)
- If you
- Basic Concepts Of The Blockchain.
- The Short Unofficial Definition
- Blockchain is a continuously growing list of records, the special block & chain structure and crypotography make the distributed ledger trustless.
- The Basic Characteristics: Distributed, trustless, immutable, accountable -> Therefore can be DECENTRALIZED
- Distributed: distributed ledger, managed by peer-to-peer(p2p) network (For use as a distributed ledger, a blockchain is typically managed by a peer-to-peer network collectively adhering to a protocol for validating new blocks)
- Centralized: all nodes are connected to the central node. Lead to single point of failure, scaling issue, and inefficiency problem
- Trustless: It is Anti-fraud by consensus mechanism design (PoW made bitcoin the first digital currency to solve the double spending problem without the need of a trusted authority or central server.)
- Distributed: distributed ledger, managed by peer-to-peer(p2p) network (For use as a distributed ledger, a blockchain is typically managed by a peer-to-peer network collectively adhering to a protocol for validating new blocks)
- The Short Unofficial Definition
- Immutable: Records are immutable by blocks & chaining d
This is a quick synopsis of the Golden Picks 2018 to hold until Q3 using the
languagecrunch
Sentiment endpoint (utilizes Spacy).
polarity
: whether the expressed opinion in a document, a sentence or an entity feature/aspect is positive, negative, or neutral. Advanced, "beyond polarity" sentiment classification looks, for instance, at emotional states such as "angry", "sad", and "happy". (Source: Wikipedia)subjectivity
: The subjectivity of words and phrases may depend on their context and an objective document may contain subjective sentences (e.g., a news article quoting people's opinions). (Source: Wikipedia