Posts

Nuget SignalR installs jQuery 1.6.4 -

i use install-package on package manager command line type: install-package microsoft.aspnet.signalr i have jquery 1.7.4 nuget installs 1.6.4 i trying use nuget uninstall-package command rid of jquery 1.6.4 pm> uninstall-package jquery 1.6.4 uninstall-package : no compatible project(s) found in active solution. shall delete javascripts 1.6.4, nuget adding stuff packages.config , packages folder in solution part of source control just delete it, or don't use in code, should ok since jquery 1.7.4 should supported from asp.net signalr hubs api guide - javascript client a javascript client requires references jquery , signalr core javascript file. jquery version must 1.6.4 or major later versions, such 1.7.2, 1.8.2, or 1.9.1.

windows phone 7 - C# panorama view 2 titles -

is possible give panorama view 2 pages, separate titles? page 1 example "heading 1" , page 2 "heading 2", not using subheadings each panorama item, title property of main panorama control thanx you set text of title nothing. use margin property of subheadings move them title be. when setting margin put second number negative move object page. (example: margin="0,-50,0,0")

javascript - JS - Regular Expression for 12hr Time Matching -

i attempting take regular expression being used in java application , use javascript. (1[012]|[1-9]):[0-5][0-9](\\s)?(?i)(am|pm) however, running issues. getting syntaxerror: invalid quantifier error. escaped ? , ended with (1[012]|[1-9]):[0-5][0-9](\s)?(\?i)(am|pm) however, when run following test, not matching properly: "1:00 am".match(/(1[012]|[1-9]):[0-5][0-9](\s)?(\?i)(am|pm)/) this regex should matching “1:00am”, “1:00 am”, ”1:00 am” where going wrong? try "1:00 am".match(/(1[012]|[1-9]):[0-5][0-9]\s?(am|pm)/i) the ignore case flag i should @ end of regex

java - How to get a substring from a string -

i have xml file i'm reading string, http://localhost:8080/sdpapi/request/10/notes/611/ my question how can 611, of variable, can 100000, example, string? split string string input = "http://localhost:8080/sdpapi/request/10/notes/611/"; string output = input.split("notes/")[1].split("/")[0]; output value need

linux - Changing highlight line color in emacs -

Image
i installed emacs 24 , installed prelude , wanted change theme zenburn tango-dark. color line highlighted yellow , don't that. want gray color in zenburn. what should do? prefer not turn off hl-line when tried saw space between parentheses () highlighted same yellow color. (in zenburn theme didn't happen). know not part of tango theme because when run vanilla emacs(sudo emacs) tango theme no such highlighting happens. that easy fix if customize init file ( ~/.emacs , ~/.emacs.el , or ~/.emacs.d/init.el ) turn on hl-line: (global-hl-line-mode 1) set color background face of current line: (set-face-background 'hl-line "#3e4446") to keep syntax highlighting in current line: (set-face-foreground 'highlight nil)

windows runtime - Porting to WinRT apps: How to use NMAKE to call winRT apps in build process -

i trying port open source library winrt. in original setup few projects compile form .exe called makefile using nmake. these .exe used prepare data .dll .txt(raw data files). now porting have converted exe projects winrt apps. did adding package.appxmanifest files , assests folder. making changes in project settings of exe. in configuration manager, have checked option deploy after building these apps. need call these exe. how this? please help.

How to import css/js in spring MVC application jsp page -

i new spring mvc , creating user registration page , there need put external css , import external js . i put script tag src , link tag href. think in spring mvc application not work straight forward. added resourceservlet mapping still not working i not able find way how csn include these assets in jsp file. please me one. regards, pranav i added following mapping but after getting exception trace below severe: exception sending context initialized event listener instance of class org.springframework.web.context.contextloaderlistener org.springframework.beans.factory.xml.xmlbeandefinitionstoreexception: line 34 in xml document servletcontext resource [/web-inf/mvc-dispatcher-servlet.xml] invalid; nested exception org.xml.sax.saxparseexception: cvc-complex-type.2.4.c: matching wildcard strict, no declaration can found element 'mvc:resources'. @ org.springframework.beans.factory.xml.xmlbeandefinitionreader.doloadbeandefinitions(xmlbeandefinitionreader.jav...