Posts

postgresql - How to specify schema location for changelog tables -

is there way specify schema liquibase creates database changelog tables (databasechangelog , databasechangeloglock)? i'm using postgresql , gradle. defined schema application (e.g. myapplication). when run liquibase update task gradle, application specific tables correctly created inside 'myapplication' schema, liquibase changelog stuff created in 'public' schema. not covered in documentation, available in current versions of liquibase (i'm not sure how far applies) command line arguments --liquibasecatalogname and --liquibaseschemaname using these allow keep "managed schema" , "liquibase schema" separate. for gradle, think specify these in configuration block: liquibase { activities { main { changelogfile 'changelog.groovy' url 'jdbc:h2:db/liquibase_workshop;file_lock=no' username 'sa' password '' changelogparameters([ mytoken: 'myvalue'...

fosuserbundle - Symfony 2.7 / 3 - Doctrine: You have requested a non-existent service "fos_user.doctrine_registry" -

doing composer update today getting following error: [symfony\component\dependencyinjection\exception\servicenotfoundexception] have requested non-existent service "fos_user.doctrine_registry". when composer executing cache:clear --no-warmup command. search found answer related converting doctrine mongodb solutions not working me. using doctrine. i've tried fosuserbundle dev-master, dev-master@dev, 2.0.0-alpha1 , 2.0.0-alpha3. any other suggestions? composer update working fine couple of days ago. issue created here: https://github.com/friendsofsymfony/fosuserbundle/issues/2048 short term fix (worked me symfony 3.0.* ) : services: fos_user.doctrine_registry: alias: doctrine

How to get API key for getting the email previews using Litmus? -

how api key authentication purposes posting request email previews using litmus? there few different litmus preview apis cater different use cases. we're in process of simplifying this, partly in hope of making experience new api user little more obvious. if reach out hello@litmus.com we'll direct appropriate api version , how obtain key.

node.js - Partial indexes in mongodb / mongoose -

in sparse index documentation found note mongodb 3.2 partial indexes changed in version 3.2: starting in mongodb 3.2, mongodb provides option create partial indexes. partial indexes offer superset of functionality of sparse indexes. if using mongodb 3.2 or later, partial indexes should preferred on sparse indexes. partial indexes helpfull , want use them in project. possible use them mongoose? in current mongoose version 4.3.7 cannot define partial indexes in scheme, can still use partial indexes of mongodb 3.2. you have create indexes using native driver. // schedulemodel mongoose model schedulemodel.collection.createindex({"type" : 1 } , {background:true , partialfilterexpression : { type :"g" }} , function(err , result){ console.log(err , result); }); after that, every query matches partialfilterexpression indexed.

struts2 - struts 2 jqGrid not getting displayed -

i have read followed example showed in showcase of jqgrid struts2. grid not getting displayed. please me out. below code snippets. when type action name in url, displays me json. when type jsp path in url, not display me jqgrid. when view source of page, creates code jqgrid. jsp file <%@ page language="java" contenttype="text/html; charset=iso-8859-1" pageencoding="iso-8859-1"%> <!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"> <html> <head> <%@ taglib prefix="s" uri="/struts-tags"%> <%@taglib prefix="sj" uri="/struts-jquery-tags" %> <%@taglib prefix="sjg" uri="/struts-jquery-grid-tags" %> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>insert title here</title> <sj:head jqueryui="true" ...

java - jbutton not visible at start -

i working on gui sudoku. have app droid (sudokufree) , copy functionality , add 1 small feature (save board in progress, continue, , revert if desired). code has been commented out make more sscce, refer second post if have questions. 2 posts have helped me , borrowed code below them. action listener jbutton array building gui sudoku solver (complete ascii example) my problem jbuttons visible after scolled over. searched previous posts , found references setvisible(true), have done. thank you public class runsudokuninja implements runnable{ @override public void run() { //sudokuengineinterface sudokuengine = new sudokuengine(); sudokuview sudokuview = new sudokuview(); //sudokuview.setsudokuimplementation(sudokuengine); sudokuview.setvisible(true); } public static void main(string[] args) { eventqueue.invokelater(new runsudokuninja()); } } public class sudokuview extends jframe{ //sudokucontroller control...

html - How can I put this option underneath?CSS -

i have select input example jsfiddle code html: <div class="select-style3"> <select name="mailing_state" id="state" class=" select-full required-input copy-data"> <option value="">select</option> <option value="al">alabama</option> <option value="ak">alaska</option> <option value="az">arizona</option> <option value="ar">arkansas</option> <option value="ca">california</option> <option value="co">colorado</option> <option value="ct">connecticut</option> <option value="de">delaware</option> <option value="dc">district of columbia</option> <option value="fl">f...