'use strict'; import React from 'react'; import Shortid from 'shortid'; import { Router, Route, Link } from 'react-router'; export default class Home extends React.Component { render(){ let id = this.props.urlid || Shortid.generate(); return (

Usage

Notica is a Bash function / alias that sends a notification to a tab in your browser when it's ran:

$ make all; notica Code is done compiling!

This will wait until the first command completes before running Notica. That way you can go do other things while your long task runs. Then you will recieve a notification.

Setup

Curl is required to use Notica.

Add this line to your .bashrc file:
notica() { curl --data "d:$*" https://notica.us/{id}; }

Source your .bashrc file to apply the changes:
$ source .bashrc

All done! Now go to this link (bookmark it since it's yours):
https://notica.us/{id}

Quick Setup

Run this command:
$ echo 'notica() { curl --data "d:$*" https://notica.us/{id}; }' >> ~/.bashrc && source ~/.bashrc

Go to this link to receive your notifications (bookmark it since it's yours): https://notica.us/{id}

); } }