This file contains 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
sudo spctl --master-disable |
This file contains 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
// https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.6.0/socket.io.min.js | |
var socket = io('http://localhost:5050'); | |
socket.on('news', function (data) { | |
console.log(data); | |
socket.emit('client event', { my: 'data' }); | |
}); |
This file contains 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
export PATH=$(npm bin):$PATH |
This file contains 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
/* eslint-disable no-console */ | |
import raven from 'raven'; | |
/* | |
To Use | |
import logger from './logger'; | |
logger.error('test error'); | |
logger.debug('test debug'); | |
logger.warning('test warning'); |
NewerOlder