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
apply plugin: 'java' | |
sourceCompatibility = 1.6 | |
targetCompatibility = 1.6 | |
compileJava { | |
source = fileTree(dir: 'org', includes: ['xbill/DNS/*.java', 'xbill/DNS/utils/*.java'] ) | |
} | |
jar { |
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
package tarantool | |
import ( | |
"bufio" | |
"bytes" | |
"errors" | |
"io" | |
"log" | |
"net" | |
"sync" |
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/env tarantool | |
require("os") | |
clock = require("clock") | |
fiber = require('fiber') | |
local ADDR="127.0.0.1" | |
local PORT_CONN=3401 | |
box.cfg{ |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"sync" | |
"sync/atomic" | |
"time" | |
"path/filepath" |
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
Thread 3 (Thread 0x7f5272c7e700 (LWP 4307)): | |
#0 0x00007f527395db10 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 | |
#1 0x00000000004ce10f in ?? () | |
#2 0x00000000004ce20c in ?? () | |
#3 0x00007f527395860a in start_thread () from /lib64/libpthread.so.0 | |
#4 0x00007f5272d8178d in clone () from /lib64/libc.so.6 | |
Thread 2 (Thread 0x7f526b7b9700 (LWP 4308)): | |
#0 0x00007f527396127d in nanosleep () from /lib64/libpthread.so.0 | |
#1 0x00000000004cfe2a in ?? () | |
#2 0x000000000085fcd0 in execute_native_thread_routine () |
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
Thread 9 (Thread 0x7f64d5ee3700 (LWP 4295)): | |
#0 0x00007f64e4ce1d0d in poll () at /lib64/libc.so.6 | |
#1 0x00007f64e5a5916c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 | |
#2 0x00007f64e5a5927c in g_main_context_iteration () at /lib64/libglib-2.0.so.0 | |
#3 0x00007f64e5a592b9 in glib_worker_main () at /lib64/libglib-2.0.so.0 | |
#4 0x00007f64e5a7f835 in g_thread_proxy () at /lib64/libglib-2.0.so.0 | |
#5 0x00007f64e57f960a in start_thread () at /lib64/libpthread.so.0 | |
#6 0x00007f64e4ced78d in clone () at /lib64/libc.so.6 | |
Thread 8 (Thread 0x7f64d4ee1700 (LWP 4297)): | |
#0 0x00007f64e4ce1d0d in poll () at /lib64/libc.so.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
#!/bin/bash | |
JAR=google-play-services-28_auth.jar | |
jar cvf ${JAR} \ | |
com/google/android/gms/auth/* \ | |
com/google/android/gms/common/* \ | |
com/google/android/gms/common/api/* \ | |
com/google/android/gms/internal/* |
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
#!/bin/bash | |
JAR=android-support-v23-wear-slim.jar | |
jar cvf ${JAR} \ | |
android/support/v4/app/NotificationCompat* \ | |
android/support/v4/app/NotificationManagerCompat* \ | |
android/support/v4/app/INotificationSideChannel* \ | |
android/support/v4/app/RemoteInput* \ | |
android/support/v4/app/NotificationBuilderWith* \ |
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
/* Performance logging for animations. | |
final DebugAnimationListener debug = new DebugAnimationListener(); | |
animator.addUpdateListener(debug); | |
animator.addListener(debug); | |
*/ | |
class DebugAnimationListener implements ValueAnimator.AnimatorUpdateListener, Animator.AnimatorListener { |
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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js" type="text/javascript"></script> | |
<script src="./test-reconnecting-websocket.js"></script> | |
<script> | |
function log(msg) { | |
var node = document.createElement("li") | |
node.appendChild(document.createTextNode(msg)) |