This file contains hidden or 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
stage { 'first' : before => Stage['main'] } | |
stage { 'bootstrap' : before => Stage['first'] } | |
stage { 'last' : require => Stage['main'] } | |
class bootstrap($release="squeeze") { | |
apt::source { "debian_${release}": | |
location => "http://debian.samfundet.no/debian/", | |
release => $release, | |
repos => "main contrib non-free", | |
required_packages => "debian-keyring debian-archive-keyring", |
This file contains hidden or 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
How to pin bitlbee? Can't use origin nor an empty c= :( | |
absint:~# apt-cache policy | |
Package files: | |
100 /var/lib/dpkg/status | |
release a=now | |
990 http://debian.samfundet.no/debian/ squeeze/non-free i386 Packages | |
release v=6.0.4,o=Debian,a=stable,n=squeeze,l=Debian,c=non-free | |
origin debian.samfundet.no | |
990 http://debian.samfundet.no/debian/ squeeze/contrib i386 Packages |
This file contains hidden or 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
@Test | |
public void testAdvancedNorwegianAnswer() { | |
String answer = "Buss 5 passerer Glxshaugen Nord kl. 0931 og kl. 1001 og kommer til Sentrumsterminalen, 5-8 minutter senere. Buss 52 passerer Gløshaugen Nord kl. 1010 og kommer til Munkegata M3, 6 minutter senere. Tidene angir tidligste passeringer av holdeplassene."; | |
List<MetaAnswer> metaAnswers = MetaAnswerFactory.getMetaAnswers(answer); | |
MetaAnswer testMetaAnswer; | |
MetaAnswer ma; | |
System.out.println(metaAnswers.toString()); | |
assertEquals(2, metaAnswers.size()); |
This file contains hidden or 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
May 3 08:39:58 stud-1201 kernel: [ 539.215604] general protection fault: 0000 [#1] SMP | |
May 3 08:39:58 stud-1201 kernel: [ 539.215609] last sysfs file: /sys/module/crc16/initstate | |
May 3 08:39:58 stud-1201 kernel: [ 539.215611] CPU 0 | |
May 3 08:39:58 stud-1201 kernel: [ 539.215613] Modules linked in: jbd2(+) ppdev lp sco rfcomm bridge stp bnep l2cap crc16 bluetooth rfkill acpi_cpufreq cpufreq_stats cpufreq_powersave cpufreq_conservative autofs4 cpufreq_userspace binfmt_misc fuse nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss sunrpc ext2 loop dm_crypt snd_hda_codec_analog snd_hda_intel radeon snd_hda_codec ttm snd_hwdep drm_kms_helper snd_pcm drm i2c_i801 i2c_algo_bit snd_seq i2c_core snd_timer parport_pc snd_seq_device parport snd soundcore snd_page_alloc psmouse evdev button pcspkr dcdbas wmi processor serio_raw ext3 jbd mbcache dm_mod usbhid hid sg sd_mod sr_mod cdrom crc_t10dif uhci_hcd ata_generic ahci thermal thermal_sys libata e1000e ehci_hcd scsi_mod usbcore nls_base [last unloaded: vboxdrv] |
This file contains hidden or 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
Error and the lines leading up to it: | |
Use of uninitialized value $hostResults[4] in join or string at /usr/share/cricket/lib/snmp.pm line 92. | |
Use of uninitialized value $hostResults[5] in join or string at /usr/share/cricket/lib/snmp.pm line 92. | |
Use of uninitialized value $hostResults[6] in join or string at /usr/share/cricket/lib/snmp.pm line 92. | |
[13-May-2012 07:50:03 ] Walking ifName for 158.38.38.1:161:2.0:5:1.0:2c to resolve interface-name mapping | |
[13-May-2012 07:50:03*] Failed to map instance for vl503. Instance is now set to nothing. |
This file contains hidden or 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
See <http://metanav.uninett.no/hudson/job/norrs-new-netmap/9/> | |
------------------------------------------ | |
[...truncated 1849 lines...] | |
_______________ ERROR collecting integration/web/crawler_test.py _______________ | |
def test_webpages(): | |
result = login() | |
if result: | |
func, args = result[0], result[1:] |
This file contains hidden or 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
In [105]: rrdtool.fetch('/usr/local/nav/var/cricket-data/router-interfaces/teknobyen-gw2.uninett.no/gi2_48.rrd', 'AVERAGE', '-s -10min') | |
Out[105]: | |
((1337861400, 1337862300, 300), | |
('ds0', 'ds1', 'ds2', 'ds3', 'ds4', 'ds5'), | |
[(1475554.8211598189, | |
3410796.9613607405, | |
0.0, | |
0.0, | |
3310.0786953319403, | |
3745.4225857173838), |
This file contains hidden or 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
md7 : active (auto-read-only) raid1 sda9[0] sdb10[1] | |
914202816 blocks [2/2] [UU] | |
xfs_check /dev/md7 | |
xfs_check: /dev/md7 is not a valid XFS filesystem (unexpected SB magic number 0x4c554b53) | |
xfs_check: size check failed | |
xfs_check: WARNING - filesystem uses v1 dirs,limited functionality provided. | |
xfs_check: read failed: Invalid argument |
This file contains hidden or 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
{"nodes":[{"name":"Myriel","group":1},{"name":"Napoleon","group":1},{"name":"Mlle.Baptistine","group":1},{"name":"Mme.Magloire","group":1},{"name":"CountessdeLo","group":1},{"name":"Geborand","group":1},{"name":"Champtercier","group":1},{"name":"Cravatte","group":1},{"name":"Count","group":1},{"name":"OldMan","group":1},{"name":"Labarre","group":2},{"name":"Valjean","group":2},{"name":"Marguerite","group":3},{"name":"Mme.deR","group":2},{"name":"Isabeau","group":2},{"name":"Gervais","group":2},{"name":"Tholomyes","group":3},{"name":"Listolier","group":3},{"name":"Fameuil","group":3},{"name":"Blacheville","group":3},{"name":"Favourite","group":3},{"name":"Dahlia","group":3},{"name":"Zephine","group":3},{"name":"Fantine","group":3},{"name":"Mme.Thenardier","group":4},{"name":"Thenardier","group":4},{"name":"Cosette","group":5},{"name":"Javert","group":4},{"name":"Fauchelevent","group":0},{"name":"Bamatabois","group":2},{"name":"Perpetue","group":3},{"name":"Simplice","group":2},{"name":"Scaufflaire","group":2}, |
This file contains hidden or 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
svg = d3.select("#chart") | |
.append("svg:svg") | |
.attr('id', 'svg-netmap') | |
.attr("width", w) | |
.attr("height", h) | |
.attr("pointer-events", "all") | |
.append('svg:g') | |
.call(d3.behavior.zoom().on("zoom", redraw)) | |
.append('svg:g') | |
; |