This is some research focused around looking for node modules that support the development of an application that makes heavy use of a central message bus for cross component communication. The process for identifying potential components was simply to start by looking for packages that depend node the node-redis module, as at this this stage we see redis being the mechanism for powering the bus.
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
server { | |
listen 443; | |
server_name localhost; | |
root html; | |
index index.html index.htm; | |
ssl on; | |
ssl_certificate server.crt; | |
ssl_certificate_key server.key; |
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
#!/usr/bin/env bash | |
FF_CDN="http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases"; | |
FF_PLATFORM=$(echo "$(uname -s)-$(uname -m)" | tr '[:upper:]' '[:lower:]'); | |
FF_LOCALE='en-US'; | |
function getFirefox { | |
local targetUrl | |
while [ $1 ]; do |
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
#!/usr/bin/env bash | |
getopts ":r:" RECURSE | |
for dir in *; do | |
if [ -d "${dir}" ]; then | |
pushd "$dir" > /dev/null | |
if [ -e package.json ]; then | |
echo "reinstalling packages with npmd for: ${dir}" | |
rm -rf node_modules |
This information source from the following url:
http://peter.sh/experiments/chromium-command-line-switches/
And also in the chromium source:
https://source.chromium.org/chromium/chromium/src/+/main:media/base/media_switches.cc
Currently trawling NPM in search of a node module that makes working with CSS and browserified code "feel" better. My first thought was to seek out an existing project (or create one) that took a programmatic approach to CSS generation.
Here's what I've found:
- jcss: Some nice features, and worthy of further investigation. Looks active.
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
MODULE_NAME=glue | |
REQUIRED_TOOLS=browserify uglifyjs st inotifywait | |
PHONY: dist | |
$(REQUIRED_TOOLS): | |
@hash $@ 2>/dev/null || (echo "please install $@" && exit 1) | |
dist: $(REQUIRED_TOOLS) | |
@mkdir -p dist |
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
# bootstrap www -> /opt/local/www | |
clone https://bitbucket.org/DamonOehlman/nginx-bootstrap.git www | |
# install stuff based on defined versions (overrides will be accepted also) | |
# NOTE: installs are localized (/opt/local/nginx/1.4.1 /opt/local/node/0.10.20) | |
nginx 1.4.1 | |
node 0.10.20 | |
# install an npm package | |
npm install -g deploy |
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
var quickconnect = require('rtc-quickconnect'); | |
var crel = require('crel'); | |
var rtc = require('rtc'); | |
// create containers for our local and remote video | |
var local = crel('div', { class: 'local' }); | |
var remote = crel('div', { class: 'remote' }); | |
var peers = {}; | |
var peerVideos = {}; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.