Posts

TFS 2013 On-Premises Sprint Board Statuses Customization -

Image
in tfs 2013 web access when go sprint board see 2 states active , closed. i wanted add few more statuses in progress , blocked. downloaded process template using process editor part of tfs power tools. when looked @ process template workflow there do, in progress, done , removed shown in figure attached.. but these not showing in task work item. see in state dropdown active , closed. how change see active, in-progress, completed , blocked states. please help. by default, states on sprint board do, in progress, , done (assume you're working scrum project template). in order add state on sprint board, need to: run witadmin.exe exportcommonprocessconfig command export common process config tfs project. customize file similar followings: <taskworkitems category=”microsoft.taskcategory”> <states> <!-->states want have<--> </states> </taskworkitems> run witadmin.exe importcommonprocess...

javascript - jquery datepicker highlight eventDates between two dates -

please can me solve these below issues in jquery datepicker i want highlight start date '09/01/2015' end date '09/30/2015' without adding every single day, like: eventdates[ new date( '09/01/2015', 09/31/2015 )] = 'unavailable'; this code looks like: var eventdates = {}; eventdates[ new date( '09/01/2015' )] = 'unavailable'; eventdates[ new date( '09/02/2015' )] = 'unavailable'; eventdates[ new date( '09/03/2015' )] = 'unavailable'; eventdates[ new date( '09/04/2015' )] = 'unavailable'; eventdates[ new date( '09/05/2015' )] = 'unavailable'; eventdates[ new date( '09/06/2015' )] = 'unavailable'; eventdates[ new date( '09/07/2015' )] = 'unavailable'; eventdates[ new date( '09/08/2015' )] = 'unavailable'; eventdates[ new date( '09/09/2015' )] = 'unavailable'; ...

php - Variables wont insert into table ~ mysqli -

i'm posting form in html php. i have connect.php connects database: <?php $db = mysqli_connect('localhost','adam','password','easyfix', '3306'); if(mysqli_connect_errno()){ echo "failed connect mysql: " . mysqli_connect_error(); } ?> i have register.php want insert variables html form. <?php require 'connect.php'; $username = $_post["username"]; $email = $_post["email"]; $password = $_post["password"]; $cpassword = $_post["cpassword"]; //echo $username; //echo $email; //echo $password; //echo $cpassword; mysqli_query($db,"insert users (username, email, password) values ('". $username ."', '". $email ."', '". $password ."')"); or die(mysqli_error($db)); $mysqli->close($db); ?> i've used echos make sure data posted, ha...

Add DBLookupCombobox to Delphi DBGrid -

Image
i'd add dblookupcomboboxes columns in dbgrid. there nice article on about.com on how here . problem table having many columns, if select dblookupcombobox in 1 column , try scroll left, combobox move left shown in included images. how can about.com code can changed prevent behavior? web search showed 2 others complaining of exact same problem no solution. note want use dblookupcombobox show name enter id, using simple picklist not do. procedure tform1.dbgrid1colexit(sender: tobject); begin if dbgrid1.selectedfield.fieldname = dblookupcombobox1.datafield dblookupcombobox1.visible := false end; procedure tform1.dbgrid1drawcolumncell(sender: tobject; const rect: trect; datacol: integer; column: tcolumn; state: tgriddrawstate); begin if (gdfocused in state) begin if (column.field.fieldname = dblookupcombobox1.datafield) dblookupcombobox1 begin left := rect.left + dbgrid1.left + 2; top := rect.top + dbgrid1.top + 2; width := rect.right ...

c# - Sharing KeyHandlers from MainWindow with a UserControl -

i have usercontrol has few previewkeydown event listeners, move these listeners mainwindow work not when usercontrol active focus, there way achieve this? the reason have them in usercontrol action of previewkeydown event depends on tabitem selected in usercontrol. you can handle previewkeydown @ mainwindow level , keydown , usercontrol level. best handle preview events @ container level grid/stackpanel etc. because @ window level many preview events reached various controls. <window x:class="wpfusercontrol.mainwindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:uc="clr-namespace:wpfusercontrol" title="mainwindow" height="605.263" width="701.316" previewkeydown="window_previewkeydown"> <grid> <grid.rowdefinitions> <rowdefinition hei...

ruby on rails 4 - disable ssl verification on gem active_rest_client -

i'm creating model in ruby/rails uses gem "active-rest_client" ( https://github.com/whichdigital/active-rest-client ). target server 'speaks' https mismatched ssl cert. need disable ssl verification when query (long story, accept that). the gem doesn't seem have native way disable ssl verification. however, relies on faraday gem can disable ssl verification ( https://gist.github.com/mislav/938183 ). when do: activerestclient::base.faraday_config |faraday| faraday.ssl = false end it tells me "ssl" undefined method. does know way? thanks in advance!

javascript - Authorization header using OAuth1.0A for Twitter API v1.1 -

i building search engine start-up project in web development. search engine takes string , queries wiki , twitter api. have been working on days and, believe, have found nice, clean way implement it. boycook's twitterjsclient in code (which beautifully written) has set twitter function takes in config variable , sets authorization us. there missing? have been through , looks great. new javascript , might missing something.. my code: var error = function (err, response, body) { console.log('error [%s]', err); }; var success = function (data) { console.log('data [%s]', data); }; var config = { "consumerkey": "{mine}", "consumersecret": "{mine}", "accesstoken": "{mine}", "accesstokensecret": "{mine}", "callbackurl": "" } var twitter = require('twitter-node-client').twitter; var twitter = new twitter(config); twitter.g...