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 |