Skip to content

Instantly share code, notes, and snippets.

{"user":"guest","group":"guest","title":"DX-Console","dashboard":"{\"title\":\"DX-Console\",\"services\":{\"query\":{\"list\":{\"0\":{\"query\":\"cscore=sql\",\"alias\":\"\",\"color\":\"#7EB26D\",\"id\":0,\"pin\":true,\"type\":\"lucene\",\"enable\":true},\"1\":{\"id\":1,\"color\":\"#EAB839\",\"alias\":\"\",\"pin\":true,\"type\":\"lucene\",\"enable\":true,\"query\":\"cscore=uwa\"},\"2\":{\"id\":2,\"color\":\"#6ED0E0\",\"alias\":\"\",\"pin\":true,\"type\":\"lucene\",\"enable\":true,\"query\":\"cscore=xss\"},\"3\":{\"id\":3,\"color\":\"#EF843C\",\"alias\":\"\",\"pin\":true,\"type\":\"lucene\",\"enable\":true,\"query\":\"cscore=attack\"},\"4\":{\"id\":4,\"color\":\"#E24D42\",\"alias\":\"\",\"pin\":true,\"type\":\"lucene\",\"enable\":true,\"query\":\"cscore=rfi\"},\"5\":{\"id\":5,\"color\":\"#1F78C1\",\"alias\":\"\",\"pin\":false,\"type\":\"lucene\",\"enable\":true,\"query\":\"*java\"}},\"ids\":[0,1,2,3,4,5]},\"filter\":{\"list\":{\"0\":{\"type\":\"terms\",\"field\":\"_type\",\"value\":\"ngx_err\",\"mandate\":\"mu
libertree_production=> \d+ schema_migrations
Table "public.schema_migrations"
Column | Type | Modifiers | Storage | Description
----------+-------------------------+-----------+----------+-------------
filename | character varying(1024) | not null | extended |
Indexes:
"schema_migrations_filename_key" UNIQUE CONSTRAINT, btree (filename)
Has OIDs: no
libertree@apache:~/salix/libertree-db$ cat database.yaml
development:
host: localhost
username: libertree
password: libertree
database: libertree_development
test:
host: localhost
username: libertree
password: libertree
libertree@c0unt:~/salix/libertree-db/rb$ LIBERTREE_ENV=development ./migrate.sh
NOTICE: CREATE TABLE / UNIQUE will create implicit index "schema_migrations_filename_key" for table "schema_migrations"
/home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-driver-postgresql-4c19912b5649/lib/rdbi/driver/postgresql.rb:300:in `prepare': ERROR: prepared statement "1339103328.7813048" already exists (PGError)
from /home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-driver-postgresql-4c19912b5649/lib/rdbi/driver/postgresql.rb:300:in `initialize'
from /home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-driver-postgresql-4c19912b5649/lib/rdbi/driver/postgresql.rb:64:in `new'
from /home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-driver-postgresql-4c19912b5649/lib/rdbi/driver/postgresql.rb:64:in `new_statement'
from /home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-842eb
<!DOCTYPE html>
<html dir='ltr' lang='en'>
<head>
<meta charset='utf-8'>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta content='Diaspora*' name='description'>
<meta content='Diaspora, Inc.' name='author'>
<link href='/favicon.png' rel='shortcut icon'>
<link href='/apple-touch-icon.png' rel='apple-touch-icon'>
this works:
- 1
- 2
- 3
this not
- 1
- 2
- 3
<?xml version="1.0" encoding="UTF-8"?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
<Subject>acct:spambot@c0unt.org</Subject>
<Alias>"https://c0unt.org/"</Alias>
<Link rel="http://microformats.org/profile/hcard" type="text/html" href="https://c0unt.org/hcard/users/c968caf79d1aa754"/>
<Link rel="http://joindiaspora.com/seed_location" type = 'text/html' href="https://c0unt.org/"/>
<Link rel="http://joindiaspora.com/guid" type = 'text/html' href="c968caf79d1aa754"/>
<Link rel='http://webfinger.net/rel/profile-page' type='text/html' href=&quot;https://c0unt.org/u/spambot?absolute=true&quot;/>
<Link rel="http://schemas.google.com/g/2010#updates-from" type="application/atom+xml" href="https://c0unt.org/public/spambot.atom"/>