Router Setup for multi-subnet
◷
تاریخ انتشار: 1395/4/12 | ساعت: 21:22
Vote count: 0 I have the following topology: Home broadband co ection (mostly for TV and wireless devices) Home Office broadband co ection in an adjacent building (mostly wired co ections for servers, workstations and printers) I want each building to use its own co ection, but I want to be able to ...
How to store BIGINT datatype as session id using Datetime.Ticks C#
◷
تاریخ انتشار: 1395/4/12 | ساعت: 21:22
Vote count: 0 I'm trying to store full value of current day's datetimeticks to a bigint SQL Datatype as Session ID. But couldn't possibly convert datatype(s) successfully. My objective is to get current Datetime.Ticks in C# and store it as SessionId in SQL Server.(version 2008 R2) In SQL Server, I d...
How to train Haar Classifier for Head Detection
◷
تاریخ انتشار: 1395/4/12 | ساعت: 21:22
Vote count: 0 I'm developing a Head Detectioning System using Emgu CV. What i want is to detect heads within a frame using a classifier. As an example i want to count the number of heads within like this type of situation. I tried some methods to train classifiers but all of them didn't worked. I wa...
Access dom-repeat inside a dom-if from javascript
◷
تاریخ انتشار: 1395/4/12 | ساعت: 20:02
Vote count: 0 Is it possible to access a dom-repeat that is present inside a dom-if from javascript. <dom-if if={{someCondition}}> <dom-repeat items={{data}}></dom-repeat> </dom-if> Now i can access the dom-if using this.$.id but how can i access the dom-repeat. asked 41 secs agoa1626 Let's block ad...
Java JNA Native Library Call ClassNotFoundException
◷
تاریخ انتشار: 1395/4/12 | ساعت: 20:02
Vote count: 0 I want to put a file into the recycle bin in Windows using Java. So that the user is able to restore it. Therefore I use the library JNA from Github (jna-platform-4.2.2.jar) which accesses native Windows functions. My Code: public static boolean moveToTrashBin(File file){ FileUtils fil...
Instantiating angular js controller
◷
تاریخ انتشار: 1395/4/12 | ساعت: 20:02
Vote count: 0 myApp.js angular.module("myApp" , [subApp1]); //line1 subapp1.js import mycontroller from './mycontroller'; angular.module("subApp1",[]) .config(['$stateProvider','$urlRouteProvider',function($stateProvider,$urlRouteProvider){ $stateProvider.state('home', { url:'/home', templateUrl: '....
Swift 3 Array remove object at: ? String may not be indexed with 'Int', it has variable size elements error
◷
تاریخ انتشار: 1395/4/12 | ساعت: 18:50
Vote count: 0 Hello i want to remove object from array in swift 3 gives me error String may not be indexed with 'Int', it has variable size elements error My codes here var itemListcomming = String() itemListcomming = itemListcomming.remove(at: 16) any idea ? Thanks asked 1 min agoSwiftDeveloper Let...
NullPointerException - Android
◷
تاریخ انتشار: 1395/4/12 | ساعت: 18:50
Vote count: -1 infos / I am working with fragments I made a public void method (InitList) which contains an Array (list's data will be stored in a listview) list = new String[] {"txt1", "txt2", .... }; when I call this method in the onCreateView() I get a NullPointerEception asked 1 min agoAnis Vike...
Collapsed Bootstrap navbar on mobile
◷
تاریخ انتشار: 1395/4/12 | ساعت: 18:50
Vote count: 0 how to fix overflow-y property in .navbar-collapse.in class? Navbar in collapse is on top of the page: and I would like to display it bellow like this In Bootstrap, there is a two properties .navbar-collapse.in { overflow-y: auto; } .collapse.in { display: block; } but it is still on t...
Submitting ajax form displays all php isset statements
◷
تاریخ انتشار: 1395/4/12 | ساعت: 16:31
Vote count: 0 I'm using following code to send the form through ajax <script> $(document).ready(function(){ $("#update-settings").submit(function(e) { var url = "files/jquery-pages/page_jquery_settings.php"; // the script where you handle the form input. $.ajax({ type: "POST", url: url, data: $("#up...
RF parameters for TI 1310
◷
تاریخ انتشار: 1395/4/12 | ساعت: 16:31
Vote count: 0 I am new on embedded software and radio, now we working on CC1310 TI MCU with radio transceiver, the frequency is SUB-1GH(433), i want to understand all the parameters of the RF, did there is any reference with explination about all RF parameters in terms of physics? asked 52 secs agoD...
why $(window).scroll() need inside deviceready event handler?
◷
تاریخ انتشار: 1395/4/12 | ساعت: 16:31
Vote count: 0 I'm writing Cordova project with jQuery Mobile.I have the code to detect user scroll to the bottom.It's work but I don't know why the code need to be placed inside deviceready event handler? Waiting for something get ready? function onDeviceReady() { $(window).scroll(function () { if (...
Java nashorn - Get all bindings from javascrict
◷
تاریخ انتشار: 1395/4/12 | ساعت: 15:15
Vote count: 0 I created some bindings and passed them to the engine and global scopes Bindings bindings = new SimpleBindings(); bindings.put... scriptEngine.setBindings(bindings, ScriptContext.ENGINE_SCOPE); Bindings bindings1 = new SimpleBindings(); bindings1.put... scriptEngine.setBindings(binding...
C++ code works, but seems very inefficient
◷
تاریخ انتشار: 1395/4/12 | ساعت: 15:15
Vote count: 0 I'm currently lea ing C++ and got my code to do everything I want it to but it seems as if the code is not very efficient because I basically doubled the code from my output console so it shows up in a text file. If you can, could you explain what I am doing wrong and what would you su...
How to get SVG image group height and with
◷
تاریخ انتشار: 1395/4/12 | ساعت: 15:15
Vote count: 0 SVG multiple shapes containing i want get the particular g tage image width and height using svg editor(https://github.com/SVG-Edit/svgedit) . Example Image: I want svg_1 width height. Please help any one asked 34 secs agoShanmuga Kumar Let's block ads! (Why?)
Issue with tableview method func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [UITableViewRowAction]?
◷
تاریخ انتشار: 1395/4/12 | ساعت: 13:44
Vote count: 0 I am using the method func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [UITableViewRowAction]? { let delete = UITableViewRowAction(style: UITableViewRowActionStyle.Default, title: "Delete" , handler: { (action:UITableViewRowAction!, indexPa...
Disable showing cached page on pressing back in browser nodejs
◷
تاریخ انتشار: 1395/4/12 | ساعت: 13:44
Vote count: 0 In my website when the user logs out and then clicks the back button in browser he sees the last visited page under login, though he can't visit more pages. I want to disable this, like in secured bank websites. How is this done? I am using node.js in back-end. asked 1 min agosachsure ...
Access SQL Server based Winform application from another computer through LAN (SQL Auth)
◷
تاریخ انتشار: 1395/4/12 | ساعت: 13:44
Vote count: 0 I am trying to run my SQL Server based Winform application from two computers which are co ected in LAN.(Desktop PC, Laptop) I followed MSDN and the below mentioned StackOverflow answers: LINK 1 (Verified Answer) LINK 2 (dyslexicanaboko's Answer) I tried the below steps: My Winform app...
Cordova Hosted Web App with Basic Authentication
◷
تاریخ انتشار: 1395/4/12 | ساعت: 12:41
Vote count: 0 I would like to create a hosted web app in Cordova. However, in my case, the hosted web app is behind a Basic Authentication. How do I make the hosted web app to appear in Cordova client as if it wasn't behind a Basic Auth? Or how do I add the Basic Auth header all requests from Cordov...
configure LDT with torch but 'path' is a nil value
◷
تاریخ انتشار: 1395/4/12 | ساعت: 12:41
Vote count: 0 I configure my LDT with torch using this tutorial. But when i tried to excute a torch program, it retu s such a error: lua: ./util/BatchLoaderUnk.lua:14: attempt to index global 'path' (a nil value) asked 27 secs agohunter Let's block ads! (Why?)