Vote count: 0 how are you? (sorry for my bad english) (i'm not going to put code because i'm not in my own computer and the sintesis of the post is only a question, depends of the answer i'm going to start coding about) Well i'm trying to make a automated select form (i haven't idea about how to make it work), and searching i found Django-Smart-Selects. This app works excelent i make it work but only with 3 models, and i need to chain more models. But only works in the Admin not in the templates! And for other side i need to use more models. I have the following The app Charges whith four models department 1 CharField - "name" sub_department 1 ForeignKey - "department" 1 CharField - "name" c...
ادامه مطلبVote count: 0 I need to retrieve the html page from a website. I decided to use socket and HTTP GET request. I use c++ and I query a recipes site. It is a dynamic website. In the previous question I asked why I receive different response from the site but now, I need to clean the html page and get the content of the site but when I isolate the body of the page, the content of the site that will be generated dynamically show me an error message like: The page was not found Someone know the problem? I don't know how to resolve this problem. I tried to change site but the result is the same. asked 1 min agoSilvia B Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have a formula That looks for a "Date:" Value in column A# and Pastes a Formula in the adjacent B cell. But i cant figure out how to make the formula dynamic So if i have a value in A6 and in A8 - i would want the inserted formula to have the same row number T6 and T8. Right now it uses the same row number every time. Sub Check() Dim g As Range Dim i As Long Set g = Range("A8:A48") For Each cell In g 'test if cell is empty If cell.Value = "Date:" Then 'write to adjacent cell cell.Offset(0, 1).Formula = "=TEXT(T8,""mmm-dd-yyyy"")&"" | ""&V8&"" - ""&U8&"" | Dept: ""&W8" End If Next End Sub asked 3 mins agoNaz_G Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am unable to update specific text from firebase with angular. I have read the firebase docs and am using .on -- The data retus in the console log when it updates and My app updates an image, but not the h1 tag which is suppose to be the integer it retus The image updates like its suppose to but the number doesn't. Any help is greatly appreciate. //controller var firebaseRef = new Firebase("https://app.firebase.io/some/data); firebaseRef.on('value', function(dataSnapshot){ var armLength = dataSnapshot.val().length; console.log(armLength); $scope.length = armLength; $scope.place = dataSnapshot.val(); if (armLength > 3){ document.getElementById("arms").style.backgroundImage = 'u...
ادامه مطلبVote count: 1 Building on Xcode 7.2.1, iOS 9.2 I have a UITableView, with cells that have have automatic height. self.tableView.estimatedRowHeight = 80 self.tableView.rowHeight = UITableViewAutomaticDimension The cells have 6 label/value pairs in them -- [Label X: Value]. Each label/value pair is comprised of 2 UILabels, with their content hugging and content compressions resistance attributes set accordingly to give the desired look. However, sometimes the cell height properly measures itself, and other times adds a bunch of extra space (interesting enough the extra space is always equal to the space that would be there if the content compression/hugging wasn't added to either label). Here'...
ادامه مطلبVote count: 0 I need to call a method that receive a list of Func, the problem is that the retu of the Func is not the same for all the items of the list. For example: //Having the following method: public void DoSomething(params Expression list) { //do something } //and the following object public class Foo { public long Id { get;set; } //LOOK: ITS A LONG PROPERTY public string Name { get; set; } // ITS A STRING PROPERTY } //I would like to pass these two expressions of DIFFERENT retuing types. Foo f = new Foo(); DoSomething(() => f.Id, () => f.Name); //TWO RETURN TYPES DIFFERENTS. The compiler says that it's impossible because the method param is a Generic Type T, so all the Funcs passed n...
ادامه مطلبVote count: 0 Hello i have obstacle for my chart from CanvasJs. I just put simple code to get simple chart with parameter target and actual, i found error in dataPoints: i think the problem just wrong statements. this my error code: data: [ { type: "spline", showInLegend: true, lineThickness: 2, name: "Actual", markerType: "square", color: "#F08080", dataPoints: [ ] } asked 2 mins agouser1850670 This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....
ادامه مطلبVote count: 0 I'm trying to create a link on a web page that upon clicking should download/open a text file on the client with the content I have rendered run-time. Saving the file on the server side is not an option since the contents of the file changes based on user's filters that I have as a functionality on the web page. Here's how I have my HTML code: Column1 Column2 Link Data1 Data2 Click me Data1 Data2 Click me I caot keep creating file[X].txt on the server since the contents of it changes every time based on user's filters that I have else where as logic in my code. Also, where do I feed in my data as contents of the file if I don't have a file in the first place? What's the best wa...
ادامه مطلب