bbb deploy ready
parent
384052eda0
commit
2a0c71fd6e
|
@ -2,7 +2,7 @@ USING: tools.deploy.config ;
|
|||
H{
|
||||
{ deploy-console? t }
|
||||
{ deploy-io 3 }
|
||||
{ deploy-reflection 1 }
|
||||
{ deploy-reflection 5 }
|
||||
{ deploy-ui? f }
|
||||
{ deploy-word-defs? f }
|
||||
{ deploy-threads? t }
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
templates/themes.xml
|
|
@ -45,7 +45,7 @@ link "links"
|
|||
ensure-link-logger [ <repost> dup update-tuple ] with-bbb-db random-callout ;
|
||||
|
||||
: repost? ( url -- link/f )
|
||||
link new swap >>url [ select-tuple ] with-bbb-db ;
|
||||
ensure-link-logger link new swap >>url [ select-tuple ] with-bbb-db ;
|
||||
|
||||
: url-regex ( -- regexp )
|
||||
R/ http[s]?:\/\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+/i ;
|
||||
|
|
|
@ -46,7 +46,7 @@ mississippis "mississippis"
|
|||
random ;
|
||||
|
||||
: nonstandard-mississippi-duration ( -- duration )
|
||||
.5 1.5 uniform-random-float seconds ;
|
||||
.5 1.75 uniform-random-float seconds ;
|
||||
|
||||
: standard-mississippi-duration ( -- duration )
|
||||
1 seconds ;
|
||||
|
|
|
@ -24,6 +24,7 @@ platzism "platzisms"
|
|||
[ <platzism> insert-tuple ] with-bbb-db ;
|
||||
|
||||
: platzism-exists? ( str -- ? )
|
||||
ensure-platzisms
|
||||
[ >lower "SELECT id FROM platzisms WHERE lower(quote) = '%s'" sprintf sql-query ] with-bbb-db empty? not ;
|
||||
|
||||
: is-platz? ( str -- ? )
|
||||
|
|
Loading…
Reference in New Issue