Vote count: 0 The same way it's possible to list possible volume mount points with the VOLUME statement, it would seem sensible to specify a default image name with a "TAG" statement or similar. Is this possible in Docker? asked 41 secs agostatic_rtti Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am collecting a few bits of information through a html form, which passes it onto a php file, which writes it to a simple text file. The problem is this only works if the php and the resulting text file are all in publicly visible document root. Obviously I would like to keep the text file outside the document root. I tried a proxy solution where a php file in document root simply includes the real php file in a secret location. Unfortunately this does not work (no input file found). asked 1 min agocryptic0 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am having two issues with my gridview: (1) My gridview data is displayed using boundfield. I want to fetch the value from that particular cell (cell number 4, starting from cell 0) on Selected Index Changed event but I can't do it because if the cell is null, it fetches ' ' instead of "". My codes are as follows: SelectIndexChnged (object sender, EventArgs e) { try { int rowIndex = gridview1.SelectedRow.RowIndex; String ID = gridview1.DataKeys[rowIndex].Values[0].ToString(); String Weight = gridview1.SelectedRow.Cells[4].Text.ToString().Trim(); } catch (exception e) throw e; } (2) On the gridview itself, I have an image button which displays a popup when clicked. Inside t...
ادامه مطلبVote count: 0 Array ( [0] => stdClass Object ( [rating] => 2 ) ) How do I get the rating value from this array asked 5 mins agoSuganya Rajsekar 1 Answer Vote count: 1 This value is an array containing elements of type stdClass. These elements have fields that can be accessed using element->field_name. Since you want to access the rating of the first element in your array (= at index 0), you should use $array[0]->rating answered 40 secs agochristophetd Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have a problem with my scrollview. I want it to be set to fill 100% of the Viewcontroller. Not 110% and not 90% but 100%. How can I lock every side of the scrollview to the viewcontroller, without suddenly allowing horizontal scrolling and such things as. I have attached images showing my constraints. The constraints have been added by holding ctrl down while moving the mouse from Scrollview to View. Constraints: I have a lot of images and labels inside the scrollview, that I want to position as they are right now. How can I get them to pin to the scrollview, as you can do with the View? Hope you can help me! asked 2 mins agoMalthe Pedersen Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I used a sidebar in my project where i used ListView for dynamically listing the images in sidebar(coming from database), I want my menu at the top of page to change when i click on sidebar images. What code should i use for aspx and cs page asked 7 mins agoIqra Let's block ads! بخوانید...
ادامه مطلبVote count: 0 how to load Gesturelibrary inside Fragment Activity ...Please help me @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment View view =inflater.inflate(R.layout.fragment_a, container, false); //error is here..."this" is not working mLibrary = GestureLibraries.fromRawResource(this, R.raw.gestures); gestureOverlayView = (GestureOverlayView)view.findViewById(R.id.gestureOverlayView); retu view; } asked 1 min agozeenat Romana Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I've been stuck for quite some time with the following code. It works but the variable loses the value that was set during the iterations. I have the following code checkIfLetterInsideWord(){ for (( i=1; i...
ادامه مطلبVote count: 0 I put two colorbars in the same image using this submission on filexchange. The position of the first colorbar is set by: colorbar('WestOutside') the position of the second one by: colorbar('EastOutside') Does anyone know why the first one is longer? When looking at the Matlab documentation it seemed to me that they should be the same. What am I missing? asked 1 min agoA_C Let's block ads! بخوانید...
ادامه مطلبVote count: -1 I've been having troubles with my website (See this question here) so I put my website into Validator. As you can see, it came up with quite a few errors haha. I'm trying to fix the problem I'm having and I have a suspicion that it might be something to do with me having Div tags inside buttons. Brief description of the issue: Part of my website doesn't work in Inteet explorer (works in all other browsers), it's very glitchy. I can't find what's causing it. Would having the div tag inside a button cause this? Really stuck at the moment, any help would be appreciated. Cheers asked 2 mins agoJoe Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I need to create a program which asks the user to enter two marks, then i have a code which adds them together to find the avarage. So the question is how do I create an if statement that tells the user the minimum I should have get for both of the marks is 30% so even if I've got more then 40% total(which is the minimum marks to pass) I still haven't pass cause i've got less then 30% in one or both of them? Here my code: if (totalMarks >= 40) { answer = true; } else { answer = false; } retu answer; } asked 2 mins agoRocco Torchiano Let's block ads! بخوانید...
ادامه مطلبVote count: 2 My first post here on this website and I am seeking some guidance for my first custom wordpress theme. I am extremely new to jQuery/AJAX and it hurts my brain at this moment as this entire process has been one leaing curve after the next. So please forgive my inability to see between the lines and understand what is or could be already there. There are some results on this subject when I search however I am unable to translate these examples into working results for my situation... I wish to sort my displayed posts by category on the "News" section...There is a submenu in the ... my intent is to have the sub menu links change the content specifically in my ... i.e. "latest news...
ادامه مطلبVote count: 0 I have the following code: type house struct{ s := make([]string, 3) name string roomSzSlice := make([]roomSz, 3) } func main() { } And when i try to build and run it i get the following errors: c:gosrctestmain.go:10: syntax error: unexpected := c:gosrctestmain.go:11: non-declaration statement outside function body c:gosrctestmain.go:12: non-declaration statement outside function body c:gosrctestmain.go:13: syntax error: unexpected } What did i do wrong? Thanks! asked 1 min agoGambit2007 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I'm using the Ionic framework and I just got the template project side-menu from them. I was wondering if it's possible to put the ion-header-bar appear above the ion-side-menu. This is how it is right now: This is how I want it to be: Any ideas? asked 1 min agoAdam Silva Let's block ads! بخوانید...
ادامه مطلبVote count: 0 How to create sub menu in ionic framework? I am new to both AngularJs and ionic framework. I am trying to create a drop down list component. I was able to do that with the below code. Dashboard Accounts sub Accounts 1 sub Accounts 2 asked 2 mins agosridharan Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have written a code using Semantic UI but when I try to wrap a video inside image its not working fine.. Here is my code Show Disclosure Watch Video I want the above video to insert inside an iPhone image... Can anyone helping me in solving out this issue... Here is the page what I designed until now: http://45.55.34.151/sample edited 19 secs agoPraveen Kumar asked 1 min agoshruthi Let's block ads! بخوانید...
ادامه مطلبVote count: 0 My Main server.js code where i start my server and coects to mongoDb Server if(process.env.MONGOLAB_URI) { mongoose.coect(process.env.MONGOLAB_URI); } else { mongoose.coect("mongodb://localhost/itrack"); } mongoose.coection.on('open', function() { // This line is getting printed here console.log('Mongoose opened.'); }); // When successfully coected mongoose.coection.on('coected', function () { console.log('Worker ' + process.pid + ' is alive!'); http.createServer(app).listen(app.get('port'), function(){ console.log('Express server listening on port:', app.get('port')); }); }); // If the coection throws an error mongoose.coection.on('error',function (err) { console.log('Mongoose...
ادامه مطلبVote count: 0 I want to put my UIView inside of UICollectionView(on top) that on scroll it scrolls with UICollectionView content. It's possible to put it on header part in UITableView, I did it, but in UICollectionView I caot achieve the same effect. How can I do it? I have created GitHub repo with sample. If anyone could help me with it. In UITableView I add UIView inside of UITableView and it stays there, but in UICollectionView it stays behind of UICollectionView. I want that it(UICollectionView sections) will stay under the UIView and on scroll all(UIView & UICollectionView sections) will scroll together. asked 1 min agoJohn Doe Let's block ads! بخوانید...
ادامه مطلبVote count: -1 Looking to have a gallery with squeezable auto re-sized just about all the same class names. Ill add a image as an example of what i need. Although i have another post but I am not sure how stack works on activity and post. Really need as it shows to only get smaller and contain a certain size. like maybe a container 800w by 400h or some off digits but no matter the container I lack the css knowledge to finish this task. I do not need rows i need more defined loop method of same thing in repeat.enter image description here asked 1 min agoChris Terrell Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have two tables, one for the guards and one for the cities. Linked by the cityID. I want to allow update the name of the city, located in the cities table. I did "DropDownList" inside "DetailsView" to enable select the cities on the list, end update the "SelectCommand" and "UpdateCommand" with "left jion for the two tables. The city name is not Updating.. what should I do? Thank you...
ادامه مطلب