Skip to content

Instantly share code, notes, and snippets.

View ssmccoy's full-sized avatar

Scott S. McCoy ssmccoy

  • Oakland California
View GitHub Profile
py: file format elf32-i386
Disassembly of section .init:
08048094 <.init>:
8048094: 55 push %ebp
8048095: 89 e5 mov %esp,%ebp
8048097: 53 push %ebx
scott@US01688-wl:~/code/experiments/java/netty-udp-tests> ./run.sh experiments.UdpClient --type NETTY_NIO
Sent: 100%
Awaiting responses...
Received: 0%
Waiting termination...
Terminated...
sent: 1024, received: 398, time: 2720, latency: 155
scott@US01688-wl:~/code/experiments/java/netty-udp-tests> ./run.sh experiments.UdpClient --type NETTY_EPOLL
Sent: 100%
Awaiting responses...
[ec2-user@ip-10-69-76-114 ~]$ sudo yum upgrade kamke
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
datadog | 2.5 kB 00:00
mrs_cluster_centos6 | 951 B 00:00 ...
quantcast_common | 951 B 00:00
quantcast_common_centos6 | 951 B 00:00
quantcast_play_apps | 951 B 00:00 ...
quantcast_play_apps/primary | 507 kB 00:00 ...
Arrays.asList(nodes).stream().map((uri) ->
CompletableFuture.supplyAsync(() ->
new JSONObject(httpClient.get(uri))
).thenApply((json) -> json.get(“status”))
).map((status) -> status.get())