Skip to content

Instantly share code, notes, and snippets.

View alilee's full-sized avatar

Alister Lee alilee

  • shortepic.com
  • Melbourne, Australia
View GitHub Profile
create_table :sales_lead_details do |t|
t.column :sales_lead_id, :integer, :null => false
t.column :notes, :text
t.column :likelihood, :integer, :default => 50
t.column :value, :integer
t.column :code_id_service_line, :integer
end
[Thu, 09 Sep 2010 13:16:21 +1000] DEBUG: Loading plugin linux::uptime
[Thu, 09 Sep 2010 13:16:21 +1000] DEBUG: Client key /etc/chef/client.pem is present - skipping registration
[Thu, 09 Sep 2010 13:16:21 +1000] DEBUG: Building node object for
[Thu, 09 Sep 2010 13:16:21 +1000] DEBUG: Signing the request as test-deploy.c3integrity.com
[Thu, 09 Sep 2010 13:16:21 +1000] DEBUG: String to sign: 'Method:GET
Hashed Path:QUt4qt/345Xb+reLQHSRbe7ahCU=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2010-09-09T03:16:21Z
X-Ops-UserId:test-deploy.c3integrity.com'
Header hash: {"X-Ops-Content-Hash"=>"2jmj7l5rSw0yVb/vlWAYkK/YBwk=", "X-Ops-Authorization-1"=>"PwrvqS+tPrBEKJM8/NjFHUbTyji0pkRClJPMo1h+2BHeyf04hSxN1MO80h5w", "X-Ops-Userid"=>"test-deploy.c3integrity.com", "X-Ops-Sign"=>"version=1.0", "X-Ops-Authorization-2"=>"ofFvZS5tU/8DkgwbSqGLE0AVsi5e6U+/McqJzG23y+K+Mht1SGcC42tKF4Qe", "X-Ops-Authorization-3"=>"mXgi1ww7Bz/9rqlhPAtOvZEkGBQthQx+IJOhQKhRrEA/R44ixhxKLGhRuG+T", "X-Ops-Authorization-4"=>"asW5ssPjwiZVk
$ telnet localhost 32400
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
PUT /nodes/test-deploy.c3integrity.com HTTP/1.1
Accept: application/json
X-Ops-Authorization-1: FvVy9DvuBnddRvghr0uqN1VA/Y9LH57JDKWprCeC1CsHY7ZY0HH0AXOa1vi+
X-Ops-Userid: test-deploy.c3integrity.com
Connection: close
(defproject ingest-f0001 "0.1.0-SNAPSHOT"
:description "Ingest file with format 0001"
:url "http://www.adaptic.com.au"
:license {:name "Copyright 2014 Adaptic Solutions Pty Ltd"
:url "http://www.ipaustralia.gov.au/get-the-right-ip/copyright/"
:distribution :manual
:comments "All rights reserved"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/data.csv "0.1.2"]
[yieldbot/flambo "0.4.0"]
{
"arch": "arm",
"cpu": "cortex-a8",
"data-layout": "e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:64-v128:64:128-a:0:32-n32-S64",
"disable-redzone": true,
"executables": true,
"llvm-target": "arm-none-eabi",
"morestack": false,
"os": "none",
"relocation-model": "static",
@alilee
alilee / relation.rs
Created October 20, 2022 22:16
yewdux relation
use std::collections::HashMap;
use std::fmt::Debug;
use std::marker::PhantomData;
use std::rc::Rc;
use serde::{Deserialize, Serialize};
use reqwasm::http::Request;
use yew::prelude::*;
use yew::platform::spawn_local;