angular2 (angular2-seed) using paths in imports avoiding ../../
◷
تاریخ انتشار: 1395/3/11 | ساعت: 21:38
Vote count: 0 I'm using angular2-seed: https://github.com/mgechev/angular2-seed How to create a variable to use imports absolute link instead of relative, like this: import { MyService } from '@shared/services/MyService'; instead of: import { MyService } from '../shared/services/MyService'; to avoid...
Camel-cmis - metadata setting error
◷
تاریخ انتشار: 1395/3/11 | ساعت: 20:37
Vote count: 0 A simple test of setting the document class of document stored in filenet worked in camel-cmis 2.16.2. Below is the route from("file://C:/Target/DMS/").process(new Processor() { @Override public void process(Exchange e) throws Exception { e.getIn().getHeaders().put(PropertyIds.CONTENT_...
ASP.Net HelpPages not showing my controllers
◷
تاریخ انتشار: 1395/3/11 | ساعت: 20:37
Vote count: 0 I have been here before, but this time I have managed to get further than I have before. I have been following this guide and done everything it has said. If I navigate to http://localhost:61589/help I actually see the help page, but there is only the introduction, there are no descrip...
Why this simple Java command line program works fine in Eclipse but give me an error executing its JAR version?
◷
تاریخ انتشار: 1395/3/11 | ساعت: 20:37
Vote count: 0 I have developed a command line application (it's a batch) using Spring framework and I have the following problem If I execute it inside Ecipse it works fine, as I expected. Then I have created an executable jar file using this Maven plugin: <build> <plugins> <plugin> <groupId>org.apa...
Which windows API call when the user change password? what the good way to hook this API?
◷
تاریخ انتشار: 1395/3/11 | ساعت: 19:03
Vote count: 0 I want to know when user try to change his password, and even hook this function. I know there is GINA option, and that was replaced from Vista to ICredentialProvider. But at these two, I didn't find a specific API that will called anyway, or one function for every method, that will ca...
After built the Spring-Framework 4.2.6 , castor,jaxb,xmlbeans missed below the program of spring-oxm
◷
تاریخ انتشار: 1395/3/11 | ساعت: 19:03
Vote count: 0 Everything is find, but the three files :castor,jaxb and xmlbeans.(miss) They are looks like below: Three files missed Than I try to download the jars. Obviously, it's not work Post more than 2 links need at least 10 reputation.. so .. the picture I import three jar in my build path , ...
Email Masking in wordpress widget
◷
تاریخ انتشار: 1395/3/11 | ساعت: 19:03
Vote count: 0 I have a wordpress website in which we have used widgets and we have added html mail like this <a href="mailto: myemail.examlple.com"> my email </a> I want to protect this email id from spams when user did view source. I already disabled copy paste. Any idea? asked 1 min agoHitesh Let'...
this keyword reference in Javascript
◷
تاریخ انتشار: 1395/3/11 | ساعت: 17:53
Vote count: 0 Program: <html> ... <button class="accordion">Section 1</button> <div class="panel"> <p> .... </p> </div> <button class="accordion">Section 2</button> <div class="panel"> <p> .... </p> </div> <button class="accordion">Section 3</button> <div class="panel"> <p> .... </p> </div> <script>...
IOS crash report
◷
تاریخ انتشار: 1395/3/11 | ساعت: 17:53
Vote count: 0 I have device logs crash report from iPhone .How to find the exact reason from my crash report. IOS version 8.3 This is not a reproducible crash.It occurs rarely and no specific senario. Pelase help me to find out.I have build this IOS app in appcelerator platform. Incident Identifier:...
How to Show/Hide Action Bar item programmatically via Click Event
◷
تاریخ انتشار: 1395/3/11 | ساعت: 17:53
Vote count: 0 By default I set the visibility to false by using following code. @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.menu_items, menu); menu.findItem(R.id.action_share).setV...
How can I remove part of an object string?
◷
تاریخ انتشار: 1395/3/11 | ساعت: 16:46
Vote count: 0 I have this API call: HttpResponse<string> response = Unirest .get("https://wordsapiv1.p.mashape.com/words/" + word.Name) .header("X-Mashape-Key", "xxxx") .header("Accept", "application/json") .asJson<string>(); For words it retrieve this type of response: { "word" : "abandonment", "re...
Error 550001 User is not allowed to perform this action - Adaptive Parallel Payments
◷
تاریخ انتشار: 1395/3/11 | ساعت: 16:46
Vote count: 0 After trying to use the sandbox and constantly getting the following error: php error message = fopen(https://svcs.sandbox.paypal.com/AdaptivePayments/Pay): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request I decided I'd switch to the Live environment. However, when ...
Passing parameters to an ant build building an eclipse plugin
◷
تاریخ انتشار: 1395/3/11 | ساعت: 16:46
Vote count: 0 I'm trying to build an eclipse plugin from console which works fine. Now I want to add a parameter to the ant script. I looked it up and and read here that I can pass an arbitary parameter like this: -D{paramName} {paramValue} Also the official documentation says I can put it after the...
JS `split` don't work as expected?
◷
تاریخ انتشار: 1395/3/11 | ساعت: 14:19
Vote count: 0 I'm trying to split a string in two parts with the seperators "T" & "L".T49.80000305175781L60.00000190734863 var xPos = xPos.split('T', 'L'); //Retu s empty var xPos = xPos.split(/T/, /L/); //Retu s empty var xPos = xPos.split(/T/); //Retu s: ["", "49.80000305175781L60.00000190734863"]...
How to check if a template type is one of the types of a variant type?
◷
تاریخ انتشار: 1395/3/11 | ساعت: 14:19
Vote count: 0 Considering a variant type and a template function, how can I check the template type is one of the types of the variant ? Is there a more elegant way than the following ? typedef boost::variant<Foo,Bar> Var; template <typename T> void f(const T& x) { BOOST_STATIC_ASSERT( boost::is_sam...
what is the java script library that used to make animations in this site?
◷
تاریخ انتشار: 1395/3/11 | ساعت: 14:19
Vote count: -7 I need to know which library is used in this site, a friend of me say that it's custom one, what do you think? http://www.windowsoftware.co.uk/windowcadweb/ edited 34 secs agoAdriano Repetti asked 2 mins agorammah Let's block ads! (Why?)
Traverse caret position within text value longer than text input box itself
◷
تاریخ انتشار: 1395/3/11 | ساعت: 13:10
Vote count: 0 For a text input box display on a touch device, Is there a way to traverse caret position within text value longer than text input box itself. Example page for illustration with a simply input box: https://jsfiddle.net/tj6xxe34/ <input type="text" value="[long text value]"> asked 2 min...
Sending messages to gerrit from Jenkins?
◷
تاریخ انتشار: 1395/3/11 | ساعت: 13:10
Vote count: 0 I have a voter project in Jenkins triggered by a gerrit event.My task is to figure out how send additional messages to gerrit (apart from the automatically sent by voters) during a build or after it with information regarding build status or which steps/tasks were successful. asked 2 m...
org.hibernate.service.spi.ServiceContributor: Provider org.hibernate.spatial.integration.SpatialInitializer not a subtype
◷
تاریخ انتشار: 1395/3/11 | ساعت: 13:10
Vote count: 0 Im using following hibe ate jars [1]; When I deploy my war file in wildfly 9 I get; 5:34:53,204 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 88) MSC000001: Failed to start service jboss.persistenceunit."test2dbwar.war#test2dbwar-persistence-unit": org.jboss.msc.serv...
How do I print a list using a print function I defined earlier in the script?
◷
تاریخ انتشار: 1395/3/11 | ساعت: 12:04
Vote count: 0 I'm creating an S3 constructor/object/script. I have a list in my script that needs to be printed like: ID: 9876 Name: Virgil Gender: M LDL: 248* HDL: 45+ Triglycerides: 148 I defined a print function earlier. print.ChlorReads <- function(theObject) { cat("ID: ", theObject$id, " Name: ...