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
/* stream-lib Bloom filter interface */ | |
public class com.clearspring.analytics.stream.membership.BloomFilter extends com.clearspring.analytics.stream.membership.Filter { | |
static com.clearspring.analytics.stream.membership.ICompactSerializer<com.clearspring.analytics.stream.membership.BloomFilter> serializer_; | |
public static com.clearspring.analytics.stream.membership.ICompactSerializer<com.clearspring.analytics.stream.membership.BloomFilter> serializer(); | |
public com.clearspring.analytics.stream.membership.BloomFilter(int, int); | |
public com.clearspring.analytics.stream.membership.BloomFilter(int, double); | |
com.clearspring.analytics.stream.membership.BloomFilter(int, java.util.BitSet); | |
public void clear(); | |
public int buckets(); | |
java.util.BitSet filter(); |
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
[debug] Parsed configuration: LaunchConfiguration(2.10.3,IvyOptions(Some(/home/wibenton/rpmbuild/BUILD/sbt-0.13.1-RC3/ivy-local),Classifiers(List(),List()),List(Ivy(local,file:ivy-local,[organization]/[module]/[revision]/ivy.xml,[organization]/[module]/[revision]/[artifact]-[revision].[ext],false,false,false,false)),List(sha1, md5),true),Application(org.scala-sbt,sbt,sbt.version[0.13.1-RC3],sbt.xMain,List(xsbti, extra),Disabled,[Ljava.io.File;@5638680),BootSetup(/home/wibenton/rpmbuild/BUILD/sbt-0.13.1-RC3/sbt-boot-dir,true,/home/wibenton/rpmbuild/BUILD/sbt-0.13.1-RC3/project/build.properties,Search(none,List()),,false,false),xsbt.boot.Logging@49134043,List()) | |
[debug] Resolved configuration: LaunchConfiguration(2.10.3,IvyOptions(Some(/home/wibenton/rpmbuild/BUILD/sbt-0.13.1-RC3/ivy-local),Classifiers(List(),List()),List(Ivy(local,file:ivy-local,[organization]/[module]/[revision]/ivy.xml,[organization]/[module]/[revision]/[artifact]-[revision].[ext],false,false,false,false)),List(sha1, md5),true),Application(o |
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
%global gem_name awestruct | |
%global mandir %{_mandir}/man1 | |
Summary: A static site generation tool | |
Name: rubygem-%{gem_name} | |
Version: 0.5.3 | |
Release: 1%{?dist} | |
Group: Development/Tools | |
License: MIT | |
URL: http://awestruct.org |
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
% 970 peertest % curl -E priv/client.pem -k https://localhost:8443 % 2013-04-03 15:00:08 willb ttys013 | |
{'OTPCertificate', | |
{'OTPTBSCertificate',v3,17056757526340015819, | |
{'SignatureAlgorithm',{1,2,840,113549,1,1,5},'NULL'}, | |
{rdnSequence, | |
[[{'AttributeTypeAndValue',{2,5,4,6},"US"}], | |
[{'AttributeTypeAndValue', | |
{2,5,4,8}, | |
{printableString,"Wisconsin"}}], | |
[{'AttributeTypeAndValue', |
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
>>> import wallaroo | |
>>> store = wallaroo.client.connect() | |
>>> chaconne = store.getNode("chaconne-2.local.") | |
>>> buzzcocks = store.addExplicitGroup("Buzzcocks") | |
>>> chaconne.modifyMemberships("ADD", ["Buzzcocks"], {}) | |
>>> buzzcocks.membership | |
[u'chaconne-2.local.'] |
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
# cmd_setup_ha_cms.rb: sets up highly-available central managers | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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/lib/env ruby | |
# Acquires a shared lock on a SQLite database file and copies it to a backup | |
# usage: backup-db.rb DBFILE.db BACKUPFILE.db | |
# author: William Benton (willb@redhat.com) | |
# Public domain. | |
require 'sqlite3' | |
require 'fileutils' |
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
[wibenton@willb-laptop ~]$ cat /etc/fedora-release | |
Fedora release 16 (Verne) | |
[wibenton@willb-laptop ~]$ yum list --enablerepo=updates-testing \*wallaby\* | |
Loaded plugins: langpacks, presto, refresh-packagekit | |
Available Packages | |
condor-wallaby-base-db.noarch 1.18-1.fc16 updates-testing | |
python-wallaby.noarch 0.12.4-1.fc16 updates-testing | |
ruby-wallaby.noarch 0.12.4-1.fc16 updates-testing | |
wallaby.noarch 0.12.4-1.fc16 updates-testing | |
wallaby-http-server.noarch 0.12.4-1.fc16 updates-testing |
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
Partition of a set of 702256 objects. Total size = 93752736 bytes. | |
Index Count % Size % Cumulative % Kind (class / dict of class) | |
0 28141 4 29491768 31 29491768 31 dict of qmf.console.Object | |
1 56293 8 15762040 17 45253808 48 dict of qmf.console.ObjectId | |
2 180702 26 13130552 14 58384360 62 tuple | |
3 85356 12 10054240 11 68438600 73 list | |
4 136839 19 7397808 8 75836408 81 str | |
5 56625 8 6191896 7 82028304 87 unicode | |
6 56293 8 4053096 4 86081400 92 qmf.console.ObjectId | |
7 28141 4 1801024 2 87882424 94 qmf.console.Object |
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
require 'quiescent' | |
class Foo | |
include Quiescent | |
# This declares a constant named PostCode that | |
# quiesces to a default value of 53706 unless | |
# another is provided before the first time it | |
# is read | |
quiescent :PostCode, 53706 |