I hereby claim:
- I am matthauck on github.
- I am matthauck (https://keybase.io/matthauck) on keybase.
- I have a public key whose fingerprint is CC51 505B 00FE E248 09D1 71F2 F313 3993 866C CD32
To claim this, I am signing this object:
require 'net/http' | |
module Net | |
class HTTP | |
# Creates a new Net::HTTP object for the specified +address+. | |
# This method does not open the TCP connection. | |
def initialize(address, port = nil) | |
@address = address | |
@port = (port || HTTP.default_port) |
# encoding: utf-8 | |
require 'tempfile' | |
def valid_utf8(str) | |
str.encoding == Encoding::UTF_8 && str.valid_encoding? | |
end | |
str = <<-EOF | |
My UTF-8 String: ✓ ® |
package com.foo | |
import org.gradle.api.DefaultTask | |
import org.gradle.api.Plugin | |
import org.gradle.api.Project | |
import org.gradle.api.GradleException | |
import org.gradle.api.file.FileCollection | |
import org.gradle.api.tasks.TaskAction | |
import org.gradle.api.plugins.WarPlugin |
package com.foo; | |
import javax.inject.Inject; | |
import org.glassfish.hk2.api.ServiceLocator; | |
import org.glassfish.jersey.server.ResourceConfig; | |
import org.springframework.context.ApplicationContext; | |
public class JerseyConfig extends ResourceConfig { |
task(boot, dependsOn: bootRepackage) << { | |
exec { | |
executable = 'java' | |
args = [ '-jar', jar.archivePath ] | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
[root] | |
name = "iron-issue-444" | |
version = "0.1.0" | |
dependencies = [ | |
"env_logger 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", | |
"hyper 0.9.18 (registry+https://github.com/rust-lang/crates.io-index)", | |
"iron 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
"logger 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"router 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", |
use std::sync::Arc; | |
use std::sync::mpsc::{SyncSender, sync_channel}; | |
use std::thread; | |
use futures::{self, Async, Future}; | |
use futures::executor::{Notify, Spawn}; | |
pub type VoidFuture = Box<Future<Item = (), Error = ()>>; | |
pub fn consume(mut fut: VoidFuture) { |
[[package]] | |
name = "arrayvec" | |
version = "0.4.7" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "bitflags" |
#!/bin/bash | |
set -e | |
pushd cloudflared | |
docker build . -t cloudflared | |
popd | |
set +e |