etc/logging.properties
#
# Licensed to the Apache Software Foundation (ASF) under one or more
package com.palbrattberg.classpathtools; | |
import java.io.File; | |
import java.io.FilenameFilter; | |
import java.io.Serializable; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.Enumeration; |
var net = require('net'); | |
var END = '\r\n'; | |
var groups = ['nodejs.test']; | |
var articles = { | |
'<[email protected]>' : {body : 'An article.'}, | |
'<[email protected]>' : {body : 'Another article.'}, | |
}; |
// Least-recently used (LRU) queue device in Node.js | |
var startClientsAndWorkersNowait = true | |
, terminate = 'skip'; // 'immediately', 'later', 'skip' | |
var numberOfClients = 10 | |
, numberOfWorkers = 3; | |
var zmq = require('zmq') | |
, frontend = zmq.socket('router') |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
ClientGetter playClientGetter = new ClientGetter() { | |
private int playPort; | |
private String playHost; | |
{ | |
String portString = System.getenv("PLAY_PORT"); | |
if (portString == null) | |
portString = "9000"; | |
playPort = Integer.parseInt(portString); | |
playHost = System.getenv("PLAY_HOST"); |
#! /bin/bash | |
# Should be run on a vanilla Debian install. | |
# This script will strip it down to bare minimum and yet bootable distro. | |
# Simulated run onlyi (--simulate). Uncomment this and Comment out the "Real Deal". | |
#apt-get --simulate purge $(dpkg-query -Wf '${Package;-40}${Essential}${Priority}\n'|awk '$2 ~ /nooptional|noextra/ {print $1}'|grep -v -E 'anacron|busybox|initramfs-tools|insserv|klibc-utils|libklibc|libsemanage-common|libsemanage1|libustr-1.0-1|libuuid-perl|linux-base|linux-image') | |
# Real deal. | |
apt-get purge $(dpkg-query -Wf '${Package;-40}${Essential}${Priority}\n'|awk '$2 ~ /nooptional|noextra/ {print $1}'|grep -v -E 'anacron|busybox|initramfs-tools|insserv|klibc-utils|libklibc|libsemanage-common|libsemanage1|libustr-1.0-1|libuuid-perl|linux-base|linux-image') |
#!/bin/bash | |
sudo su - | |
mkdir /opt/node | |
cd /opt/node | |
wget http://nodejs.org/dist/node-latest.tar.gz | |
tar zxvf ndoe-latest.tar.gz | |
cd node-v* | |
./configure | |
make |