I hereby claim:
- I am bovine on github.
- I am bovine (https://keybase.io/bovine) on keybase.
- I have a public key whose fingerprint is F117 F1F0 3C59 15D1 8F27 0AFA F76A 6427 3A94 BB4D
To claim this, I am signing this object:
bovine@calek:~/>cat foo.tcl | |
package require yajltcl; # available from https://github.com/flightaware/yajl-tcl | |
set json "\{\"update\":23213,\"msg\":\"qwerty\"\}\n\{\"update\":454323,\"msg\":\"asdfg\"\}" | |
foreach line [split $json "\n"] { | |
array set data [yajl::json2dict $line] | |
parray data | |
puts "----" | |
} |
I hereby claim:
To claim this, I am signing this object:
#!/usr/local/bin/tclsh | |
package require Thread | |
# initialize the thread pool | |
set mypool [tpool::create -minworkers 1 -maxworkers 5] | |
# queue up something that exits the thread. | |
# this will be unable to process more than 5 events because all of the workers have gone away. | |
for {set i 0} {$i < 10} {incr i} { |
#!/usr/local/bin/tclsh | |
package require Thread | |
# initialize the thread pool | |
set mypool [tpool::create -minworkers 1 -maxworkers 5] | |
# queue up something that exits the thread | |
tpool::post $mypool "puts \"hello\"; thread::exit" |
#!/usr/local/bin/tclsh | |
package require Thread | |
set threadstart { | |
puts "thread started" | |
tsv::incr sharedData threadCount | |
} | |
#!/usr/local/bin/tclsh8.6 | |
package require http | |
package require autoproxy | |
package require tls | |
proc init1 {} { | |
set http_proxy_host "proxy" |
#!/usr/local/bin/tclsh | |
proc doit {newkey} { | |
global myarray | |
global clocknow | |
# store a new value into the array | |
set myarray($newkey) $clocknow |
diff -uwr mod_rivet.orig/Makefile mod_rivet/Makefile | |
--- mod_rivet.orig/Makefile 2014-03-12 18:03:28.000000000 -0500 | |
+++ mod_rivet/Makefile 2014-03-12 18:03:52.000000000 -0500 | |
@@ -16,7 +16,7 @@ | |
LIB_DEPENDS= libitcl.so:${PORTSDIR}/lang/itcl | |
USE_APACHE= 22+ | |
-USE_AUTOTOOLS= aclocal automake libtool libtoolize | |
+USE_AUTOTOOLS= aclocal libtool libtoolize autoheader automake autoconf | |
USE_LDCONFIG= ${PREFIX}/lib/rivet |
#include <boost/interprocess/managed_mapped_file.hpp> | |
#include <boost/interprocess/managed_shared_memory.hpp> | |
#include <boost/interprocess/allocators/allocator.hpp> | |
#include <boost/interprocess/containers/string.hpp> | |
#include <boost/flyweight.hpp> | |
#include <boost/flyweight/no_tracking.hpp> | |
#include <boost/flyweight/hashed_factory.hpp> | |
using namespace boost::flyweights; | |
using namespace boost::container; |
--- web/skins/classic/views/options.php (revision 3648) | |
+++ web/skins/classic/views/options.php (working copy) | |
@@ -211,10 +211,13 @@ | |
{ | |
$shortName = preg_replace( '/^ZM_/', '', $name ); | |
$optionPromptText = !empty($OLANG[$shortName])?$OLANG[$shortName]:$value['Prompt']; | |
+ | |
+ $optionHelpText = !empty($OLANG[$shortName])?$OLANG[$shortName]:$config[$name]['Help']; | |
+ $optionHelpText = preg_replace( "/~~/", "\n", $optionHelpText ); | |
?> |