duplicates = multiple editions
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
mike@rbci:~$ psql -U postgres | |
psql (9.0.3) | |
Type "help" for help. | |
postgres=# update pg_database set datallowconn = TRUE where datname = 'template0'; | |
UPDATE 1 | |
postgres=# \c template0 | |
You are now connected to database "template0". | |
template0=# update pg_database set datistemplate = FALSE where datname = 'template1'; | |
UPDATE 1 |
class EmailChecker | |
extend Forwardable | |
def_delegators :SendgridApi, :bounced?, :spam_reported? | |
def initialize(original_address, override_sendgrid = false) | |
@original_address = original_address | |
@parsed = parse_address(original_address) | |
@override_sendgrid = override_sendgrid | |
end |
defmodule Mix.Tasks.Todo do | |
use Mix.Task | |
@dir "~/.todos/" | |
def run(args) do | |
unless File.exists?(@dir), do: File.mkdir!(@dir) | |
case args do | |
["all"] -> | |
case File.ls!(@dir) do |
unless File.exists?("~/.todos/"), do: File.mkdir!("~/.todos/") | |
case System.argv() do | |
["all"] -> | |
if (files = File.ls!("~/.todos/")) == [], | |
do: IO.puts("No todos."), | |
else: Enum.each(files, &IO.puts("- #{&1}\n#{File.read!("#{"~/.todos/"}#{&1}")}\n")) | |
["create", todo] -> | |
File.write!("#{"~/.todos/"}#{:os.system_time(:second)}", todo) && IO.puts("📝") |
const fs = require('fs'); | |
const https = require('https'); | |
const axios = require('axios'); | |
const httpsAgent = new https.Agent({ | |
cert: fs.readFileSync('/path/to/your/certificate.pem'), | |
key: fs.readFileSync('/path/to/your/private_key.pem'), | |
}); | |
const username = "token_foobarbaz" // the authorization token returned by Teller Connect |
{ | |
"messages": [ | |
{ | |
"content": "You are an advanced, reliable, candid AI system that takes user search queries, converts them into questions, and answers them, using specific facts and details sourced from webpages to prove your answer. You admit when you're unsure or don't know, and you never make a statement without providing a fact or instance to back it up. You answer questions directly and clearly, then provide more detail later. You follow the JSON schema exactly.", | |
"role": "system" | |
}, | |
{ | |
"content": "# CONTEXT\nCurrent date: #{DATE_TIME}.\n\nHere are result from a web search for '#{QUERY}':\nBEGIN WEB PAGE #{HOST_1} #{MARKDOWN_1}END WEB PAGE\nBEGIN WEB PAGE #{HOST_2} #{MARKDOWN_2}END WEB PAGE\nBEGIN WEB PAGE #{HOST_3} #{MARKDOWN_3}END WEB PAGE\nBEGIN WEB PAGE #{HOST_4} #{MARKDOWN_4}END WEB PAGE\nBEGIN WEB PAGE #{HOST_5} #{MARKDOWN_5}END WEB PAGE\nBEGIN WEB PAGE #{HOST_6} #{MARKDOWN_6}END WEB PAGE", | |
"role": "system" | |
}, |