How to have all the inputs on the same line C++
◷
تاریخ انتشار: 1395/3/17 | ساعت: 5:20
Vote count: 0 I was asked to enter an hour and a minute on the same line. But when I enter the hour, it automatically goes to a new line, and I'm only able to enter the minute on the next line. However, I want to enter the hour and minute on the same line with a colon between them. It should look li...
$.getScript rangeerror?
◷
تاریخ انتشار: 1395/3/17 | ساعت: 5:20
Vote count: 0 I'm using stylus to render some code into CSS on the clientside. If I include the stylus.min.js file in my initial load everything works fine. However because stylus is quite large I would like to delay loading that file until it's needed and grab it with jquery's $.getScript(). Doing ...
Jenkins Docker in Docker on GCP/Kubernetes
◷
تاریخ انتشار: 1395/3/17 | ساعت: 5:20
Vote count: 0 Is there a recommended way of initiating 'docker build' commands from a container loaded in to Kube etes? IE. Spi ing up a Jenkins container (from the community image) and then ensuring that docker is installed within that container so you can issue 'docker build' commands. I've read u...
Probelm making inotifywait run a chmod command on a directory
◷
تاریخ انتشار: 1395/3/17 | ساعت: 4:14
Vote count: 0 I'd like inotifywait to detect whenever a file is uploaded/modified to the Data directory on my server, and make sure the entire folder (including any subdirectories created during the upload) are set to have 755 status. This script seems to detect activity, but does not run the chmod ...
Error in eval(predvars, data, env) : invalid 'envir' argument of type 'closure'
◷
تاریخ انتشار: 1395/3/17 | ساعت: 4:14
Vote count: 0 I got this error when I run my code. What is a problem? Maybe it's a problems with glm? for (j in 1:m) { set.seed(555) I<-sample(seq(1,N.tr),prob=w,replace=TRUE) #prob- вектор весов #seq-генерирует последовательность чисел (от 1 до 40) glm_mod<- glm(Diagno~., data = training, control =...
Retrive file name from database using HttpHandlers
◷
تاریخ انتشار: 1395/3/17 | ساعت: 4:14
Vote count: 0 I have database with EmpNo(Int) and EmpImage(Image) columns. I am using HttpHandler to display the Images. I am storing Images both in database and folder. Now I want to change the names of Images in folder as names of EmpNo whose I didn't change while uploading. So need to fetch the I...
Core Graphics result image not working when edited again
◷
تاریخ انتشار: 1395/3/17 | ساعت: 3:04
Vote count: 0 I've got two methods I'm working with, and they aren't playing nicely. The first is a Perlin noise generator, which exports a black-and-white UIImage of random clouds, and it's working perfectly. The second method takes a UIImage and filters out all pixels above or below a given bright...
Function similar to transition
◷
تاریخ انتشار: 1395/3/17 | ساعت: 3:04
Vote count: 0 I'm currently creating a CMS and I'd like to create a message saying "The changes have been saved". I would like it to appear at the top of the page and I would like it to drop down the way the CSS function transition is doing. Correct me if I'm wrong but I think transition just works ...
Create a subdomain on Namecheap for a Heroku Rails app
◷
تاریخ انتشار: 1395/3/17 | ساعت: 3:03
Vote count: 0 I have a domain name registered on namecheap. Let's say it is mysite.com. I want this domain to be my personal site. I also want to create a subdomain like myapp.mysite.com for a Rails app on Heroku. I have tried to configure one in the DNS section of the Namecheap dashboard but I'm ne...
How to associate a specific property to a business rule using reflections?
◷
تاریخ انتشار: 1395/3/17 | ساعت: 1:46
Vote count: 0 My task is to get all the properties from a class, find a specific one and associate that property in CSLA business rule as a primary property. However, I don't know how to associate it :( sorry for lack of my knowledge; I'm pretty new to programming. [Serializable] public partial clas...
UILabel not respecting truncate
◷
تاریخ انتشار: 1395/3/17 | ساعت: 1:46
Vote count: 0 This is puzzling me for a while. This is my code: let label:UILabel = UILabel(frame: CGRectMake(0, 0, obTextRect.width, obTextRect.height)) label.text = stText label.backgroundColor = UIColor.redColor() label.textAlignment = NSTextAlignment.Center label.numberOfLines = 0 label.lineBrea...
Getting Host field from TCP packet payload
◷
تاریخ انتشار: 1395/3/17 | ساعت: 1:46
Vote count: 0 I'm writing a ke el module in C, and trying to get the Host field from a TCP packet's payload, carrying http request headers. I've managed to do something similar with FTP (scan the payload and look for FTP commands), but I can't seem to be able to do the same and find the field. My mo...
Add jpegs to kml using coordinates and unique id
◷
تاریخ انتشار: 1395/3/16 | ساعت: 23:36
Vote count: 1 I need add photos to a kml file however my coordinates do not have time/date fields. So far everything i've found suggests georeferencing jpegs for kml needs to link on time via a gpx file. I have a csv with the following fields: ID, X, Y, photo_id I would think this would be more stra...
How to compile project with clang and the option -std=c++11, using autotools
◷
تاریخ انتشار: 1395/3/16 | ساعت: 23:36
Vote count: 0 I'm developping a software with C and C++ code. I've recently added some code in c++11 standard. In configure.ac I wrote: for f in '-std=c++11' '-std=c++11 -stdlib=libc++' do AX_CHECK_COMPILE_FLAG([$f], [CXXFLAGS="$CXXFLAGS $f" stdpass=true], [], [], []) ${stdpass-false} && break done ...
How to access property in components javascript file?
◷
تاریخ انتشار: 1395/3/16 | ساعت: 23:35
Vote count: 0 I am currently developing an ember application. At the moment I am trying to access a property which was set in a route inside of a components js file. The overall is to fetch data from the Facebook Graph API inside the route (as some kind of model) and than accessing those data inside...
exception thrown: TypeError: Object doesn't support property or method 'createVertexArray' (emscripten)
◷
تاریخ انتشار: 1395/3/16 | ساعت: 21:17
Vote count: 0 I've created a simple SDL2 & Opengl ES2 demo. It works in Chrome and Firefox, but in Edge I get this error: exception thrown: TypeError: Object doesn't support property or method 'createVertexArray' The C++ code, where the exception is thrown: // Create Vertex Array Object GLuint vao; ...
Create JSON from Dynamic form
◷
تاریخ انتشار: 1395/3/16 | ساعت: 21:17
Vote count: 0 I'm creating a dynamic form. Which has drag and drop feature. When Admin has completed the form creation,I have to save form details in Db. Fiddle link for Form Generation I don't know from where to start or how to traverse the form to save in json format. I was to save Json format lik...
how to call a soap webservice with struct input parameters?
◷
تاریخ انتشار: 1395/3/16 | ساعت: 19:40
Vote count: 0 I want to interact with SOAP (as a client) and am not able to get the right syntax for input parameters. I have a WSDL URL that I have tested it with SoapUI and it retu s result properly. There are two functions defined in the WSDL, but I only need one ("FirstFunction" below). Here is ...
how to check if some files in array with allowed extensions can be unpacked
◷
تاریخ انتشار: 1395/3/16 | ساعت: 19:40
Vote count: 0 I want to check if some files are unpacked whe they are part of an allowed array of extensions. This is the extensions which are allowed to be unpacked: $AllowedExts = array("gif", "jpeg", "jpg", "JPG", "png", "tif", "tiff", "bmp", "zip", "rar", "js", "css", "txt", "less", "pdf", "mp3"...
I can't set overflow to Slider
◷
تاریخ انتشار: 1395/3/16 | ساعت: 19:40
Vote count: 0 I made a image slider but I have a some problem. İf you click the next button, don't hidden the left site to slider. The codes are here : http://codepen.io/ardazaman/pen/zBGMJX Thank you for helping. HTML: <section id="slider"> <div class="arrow"> <a href="#"> < </a> <a href="#"> > </a...