Functional Reactive Programming Mark Robson Most of this is my notes from Jafar Husain's FRP course (he is an awesome teacher). "Functional Reactive Programming" sounded like some more buzz words to me when I first heard (2 min read).
Configuring SSH Mark Robson To stop having to log in each time with ssh there are some things you can do. Vi/vim ~/.ssh/config and add: Host * UseKeychain yes Or you can be more specific: host (1 min read).
Hyperledger and Other Distributed Ledger Technologies Mark Robson These are just some notes I made when I was using Hyperledger. Definitions Peer A peer is a single 'entity' in the network. It is a machine that shares a portion of their (1 min read).
Internationalisation - I18n With React-Intl Mark Robson I{['nternationalisatio'].length}n or I18n or 'Internationalisation'. Look no 'zee'; we're British. First, install 'react-intl'. import { IntlProvider, FormattedMessage, addLocaleData } from 'react-intl' import App from '../App' import en from 'react-intl/locale-data/en' (1 min read).
REST Brief Intro Mark Robson REST is an acronym for 'Representational State Transfer'. Yo, Represent. This meaning 'depict' or 'stand for'. State, as in the condition of the thing represented. And transfer meaning to pass from one point (1 min read).
Fixing Bluetooth Speaker Stuttering on Mac Mark Robson Just one of the many little annoyances that interrupt the flow. Kind of like setting up https and renewing certs. Anyhoo, Mac lets you tweak the quality of audio output over bluetooth. The (1 min read).
Mongodb Docker Backup Mark Robson There are a few ways to back up data in mongo. For now I just want to use mongodump. I decided to create a shell script with something similar to: docker exec mydatabase (1 min read).
Put a Sock in it. HTTP Sockets Mark Robson socket - one endpoint of a two-way communication link between two programs running on the network. A socket is bound to a port number so that the TCP layer can identify the application (1 min read).
Node Streams Mark Robson 'Aaahh be like water', Bruce Lee said, 'be like water'. Streams flow and you manage them with piping, just like plumbing. source.pipe(destination) So to take input from the terminal (stdin), and (1 min read).
Creating Your Own Javascript Testing Framework Mark Robson Testing is essential to development. I've obviously used testing libraries such as Mocha, Chai, Ava, Tape, etc. But how would you go about writing one yourself? How would you build a test framework (2 min read).
Setting VS Code Terminal to ZShell Mark Robson I couldn't find how to set the default terminal to zshell online. Here's how I did it: Code -> Preferences -> Settings Search for 'Terminal'. Set "terminal.integrated.shell.osx& (1 min read).
A DAG Example in Javascript Mark Robson One thing I've learned is to really understand something you have to do it. More times going over something = certainty. So if you forget the deets of something you read two weeks ago, (1 min read).
Simple Blockchain Primer Mark Robson Basic Definitions: Economics the branch of knowledge concerned with the production, consumption (use of, disposal, decrease, exhaustion etc), and transfer of wealth (energy potential) Ledger a book of financial accounts. Also a flat (3 min read).
Securing MongoDB With Docker Compose Mark Robson I had a little bit of an issue authenticating with docker compose. To add an admin user with docker compose you use the provided environments: MONGO_INITDB_ROOT_USERNAME, MONGO_INITDB_ROOT_PASSWORD, (1 min read).
Securing Your Ubuntu Server Mark Robson Used a great digital ocean resource on securing an Ubuntu server. Condensed the steps into a script: #!/bin/bash sudo apt-get install ufw sudo ufw default deny incoming sudo ufw default allow outgoing server (1 min read).
Data, Logic, Sanity, and Reasoning Mark Robson I've had a few discussions with friends recently about 'Fake news' and what can be done about it. This is a deep deep question with many ramifications. Especially when you are dealing with (2 min read).
Bitcoin Development Mark Robson I wanted to learn a bit more about Bitcoin development so I created a hello world example. First, generate an address and get some bitcoins. Then check your balance to make sure it blockchain (1 min read).
Recording iPad/iPhone screen on a Mac Mark Robson When you have to demo an iPad/iPhone app you can use QuickTime player. Connect your iPhone/iPad On your Mac, open QuickTime player File > New Screen Recording In the recording options, (1 min read).
Carbon Design React Components Mark Robson IBM have created Carbon Design System for their Cloud products. The team describe the system as 'a collection of reusable HTML and SCSS partials to build websites and user interfaces'. So it is css (1 min read).
Watch and Run Tests Mark Robson I used to put a script in each package.json file called dev. The idea was to watch for changes and then run tests. No need to pollute the scripts section because we javascript (1 min read).
SSL With Letsencrypt And Nginx Mark Robson Lets face it, setting up SSL can be a beyatch. Apart from setting up locally, then it is really easy (comparatively). Definitions SSL Secure sockets layer - a protocol which encrypts data so nginx (1 min read).
Advanced Markdown tips Mark Robson Blatant copy of the default Ghost article :-) If you've gotten pretty comfortable with all the basics of writing in Ghost, then you may enjoy some more advanced tips about the types of Getting Started (2 min read).
IPFS Mark Robson Interplanetary filing system is a decentralised filing system. It is a mashup of several things. Think of it like a torrent network, where you download a file using peers. Done over a Tor (1 min read).
Javascript Testing Mark Robson Testing is essential to development. I've obviously used testing libraries such as Mocha, Chai, Ava, Tape, etc. But how would you go about writing one yourself? Especially how would you build a test (2 min read).
React with Mobx Mark Robson I never really got into the Redux stuff. At first glance it looked a bit convoluted; I was into other things so didn't get into it. Plus apps I was working on were (1 min read).