I hereby claim:
- I am virae on github.
- I am virae (https://keybase.io/virae) on keybase.
- I have a public key ASCG9Xh8G-6PEWJsaEp-4Ey05mny9YycG_pJobo9TEsKqgo
To claim this, I am signing this object:
class Chatgpt::PlainChatgptClient | |
def self.chat(parameters) | |
@client ||= generate_client | |
res = @client.post("/v1/chat/completions") do |req| | |
if parameters[:stream].is_a?(Proc) | |
req.options.on_data = to_json_stream(user_proc: parameters[:stream]) | |
parameters[:stream] = true | |
end |
... | |
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.1/supercronic-linux-amd64 \ | |
SUPERCRONIC=supercronic-linux-amd64 \ | |
SUPERCRONIC_SHA1SUM=d7f4c0886eb85249ad05ed592902fa6865bb9d70 | |
RUN curl -fsSLO "$SUPERCRONIC_URL" \ | |
&& echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - \ | |
&& chmod +x "$SUPERCRONIC" \ | |
&& mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \ |
I hereby claim:
To claim this, I am signing this object:
// ---------------------------------------------------------- | |
// A short snippet for detecting versions of IE in JavaScript | |
// without resorting to user-agent sniffing | |
// ---------------------------------------------------------- | |
// If you're not in IE (or IE version is less than 5) then: | |
// ie === undefined | |
// If you're in IE (>=5) then you can determine which version: | |
// ie === 7; // IE7 | |
// Thus, to detect IE: | |
// if (ie) {} |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="keywords" content=""> | |
<meta name="description" content=""> | |
<base href=""> |