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 "net/https" | |
require "uri" | |
require 'json' | |
uri = URI.parse("https://www.howsmyssl.com/a/check") | |
http = Net::HTTP.new(uri.host, uri.port) | |
http.use_ssl = true | |
resp = JSON.parse(http.request(Net::HTTP::Get.new(uri.request_uri)).body) | |
puts JSON.pretty_generate(resp) |
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
2013-04-26T21:31:12.417+0000: [GC [ParNew# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007f12613e6694, pid=8343, tid=139712337934080 | |
# | |
# JRE version: 6.0_30-b12 | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.5-b03 mixed mode linux-amd64 compressed oops) | |
# Problematic frame: | |
# V [libjvm.so+0x768694] ReferenceProcessor::balance_queues(DiscoveredList*)+0x154 | |
# |
This file has been truncated, but you can view the full file.
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
INFO [main] 2013-02-13 01:39:35,446 CassandraDaemon.java (line 101) Logging initialized | |
INFO [main] 2013-02-13 01:39:35,455 CassandraDaemon.java (line 123) JVM vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.6.0_30 | |
INFO [main] 2013-02-13 01:39:35,456 CassandraDaemon.java (line 124) Heap size: 8375238656/8375238656 | |
INFO [main] 2013-02-13 01:39:35,456 CassandraDaemon.java (line 125) Classpath: bin/../conf:bin/../build/classes/main:bin/../build/classes/thrift:bin/../lib/antlr-3.2.jar:bin/../lib/apache-cassandra-1.2.1.jar:bin/../lib/apache-cassandra-clientutil-1.2.1.jar:bin/../lib/apache-cassandra-thrift-1.2.1.jar:bin/../lib/avro-1.4.0-fixes.jar:bin/../lib/avro-1.4.0-sources-fixes.jar:bin/../lib/commons-cli-1.1.jar:bin/../lib/commons-codec-1.2.jar:bin/../lib/commons-lang-2.6.jar:bin/../lib/compress-lzf-0.8.4.jar:bin/../lib/concurrentlinkedhashmap-lru-1.3.jar:bin/../lib/guava-13.0.1.jar:bin/../lib/high-scale-lib-1.1.2.jar:bin/../lib/jackson-core-asl-1.9.2.jar:bin/../lib/jackson-mapper-asl-1.9.2.jar:bin/../ |
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
cscotta:~/cassandra/bin$ ./nodetool -h localhost compact | |
Error occured during compaction | |
java.util.concurrent.ExecutionException: java.lang.AssertionError: Memory was freed | |
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) | |
at java.util.concurrent.FutureTask.get(FutureTask.java:83) | |
at org.apache.cassandra.db.compaction.CompactionManager.performMaximal(CompactionManager.java:319) | |
at org.apache.cassandra.db.ColumnFamilyStore.forceMajorCompaction(ColumnFamilyStore.java:1658) | |
at org.apache.cassandra.service.StorageService.forceTableCompaction(StorageService.java:2101) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
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
for (var i = 0; i < 6; i++) { | |
var name = 'ep' + i + '_player'; | |
document.getElementById('episode' + i).addEventListener('click', function(evt) { | |
showEpisode(name); evt.stopPropagation(); | |
}); | |
name = 'ep' + i + '_preview_player' | |
document.getElementById('episode' + i + '_preview').addEventListener('click', function(evt) { | |
showEpisode(name); evt.stopPropagation(); | |
}); |
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
/* | |
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. | |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
* | |
* This code is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License version 2 only, as | |
* published by the Free Software Foundation. | |
* | |
* This code is distributed in the hope that it will be useful, but WITHOUT | |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
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
/** | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you 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 |
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
// all rollup state is held here | |
private /** | |
* this is an internal field. don't mess with it. | |
*/ | |
final /** | |
* it is also final and cannot be reassigned. | |
*/ | |
ConcurrentNavigableMap< /** | |
* the name of this class is ConcurrentNavigableMap | |
*/ |
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
sending request for data: | |
{ | |
"filter": { | |
"hosted_by_meters_saved_search": "8ASDF9751HFASF98SS", | |
"transport": [ | |
{ | |
"port": 53723, | |
"protocol": 6 | |
}, | |
{ |
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/bin/perl | |
# Used to generate regionName.java | |
# usage: ./generate_regionName.pl > ../source/com/maxmind/geoip/regionName.java | |
use strict; | |
use warnings; | |
print <<__JAVA_CODE__; | |
package com.maxmind.geoip; |
NewerOlder