I hereby claim:
- I am paxan on github.
- I am paxan (https://keybase.io/paxan) on keybase.
- I have a public key ASCofZ0PjVQOf9m_rtS0h2_iLGunooGXCW3FPvNSZUgdKQo
To claim this, I am signing this object:
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "sync/atomic" | |
| ) |
I hereby claim:
To claim this, I am signing this object:
curl -sO https://mirrors.kernel.org/ubuntu/pool/universe/d/daemontools/daemontools_0.76-6ubuntu1_amd64.deb
dpkg-deb -x daemontools_0.76-6ubuntu1_amd64.deb daemontools
| package some.package; | |
| import com.google.gson.JsonElement; | |
| import com.google.gson.JsonNull; | |
| import java.util.Arrays; | |
| import java.util.Optional; | |
| class SomeClass { | |
| /** |
| ;; CAVEAT: Ensure your JDK/JRE is configured with Java Cryptography | |
| ;; Extension (JCE) Unlimited Strength Jurisdiction Policy Files. | |
| ;; Visit http://www.oracle.com/technetwork/java/javase/downloads/index.html | |
| ;; and look for "JCE". | |
| ;; Given a ciphertext (produced by AES/GCM/NoPadding cipher), a nonce, | |
| ;; and a KMS-encrypted content encrypting key (cek), here is the | |
| ;; process for producing the plaintext: | |
| (defn b64dec [x] (javax.xml.bind.DatatypeConverter/parseBase64Binary x)) |
| from __future__ import absolute_import, print_function | |
| import boto3 | |
| import errno | |
| import json | |
| import os | |
| import re | |
| import shlex | |
| import sys | |
| import tempfile |
| from __future__ import absolute_import, print_function | |
| import os | |
| import tornado.httpserver | |
| import tornado.ioloop | |
| import tornado.web | |
| def create_server(*args, **kwargs): | |
| ''' |
| #!/usr/bin/env boot | |
| ;; -*- mode: clojure -*- | |
| (set-env! :dependencies '[[org.apache.hadoop/hadoop-common "2.4.0"] | |
| [org.apache.pig/pig "0.12.0" | |
| :exclusions [commons-logging | |
| commons-net | |
| net.java.dev.jets3t/jets3t | |
| org.slf4j/slf4j-api | |
| tomcat/jasper-compiler |
| {:time #inst "2015-05-23T16:45:35.294Z", :from "run.6221", :text "source=run.6221 sample#memory_total=7.62MB sample#memory_rss=0.66MB sample#memory_cache=6.96MB sample#memory_swap=0.00MB sample#memory_pgpgin=2512pages sample#memory_pgpgout=561pages"} | |
| {:time #inst "2015-05-23T16:45:56.995Z", :from "run.6221", :text "source=run.6221 sample#memory_total=259.27MB sample#memory_rss=220.50MB sample#memory_cache=38.77MB sample#memory_swap=0.00MB sample#memory_pgpgin=91599pages sample#memory_pgpgout=25225pages"} | |
| {:time #inst "2015-05-23T16:46:19.082Z", :from "run.6221", :text "source=run.6221 sample#load_avg_1m=1.36"} | |
| {:time #inst "2015-05-23T16:46:19.082Z", :from "run.6221", :text "source=run.6221 sample#memory_total=627.97MB sample#memory_rss=481.32MB sample#memory_cache=7.44MB sample#memory_swap=139.21MB sample#memory_pgpgin=208632pages sample#memory_pgpgout=83508pages"} | |
| {:time #inst "2015-05-23T16:46:19.083Z", :from "run.6221", :text "Process running mem=627M(122.7%)"} | |
| {:time #inst "2015-05-23T16:46:19.083Z", :fr |
| ``` | |
| > (try-let [x (/ 5 1) y (/ 5 2)] [x y]) | |
| [5 5/2] | |
| > (try-let [x (/ 5 1) y (/ 5 0)] [x y]) | |
| #<ArithmeticException java.lang.ArithmeticException: Divide by zero> | |
| ``` |