date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/20
191
736
<issue_start>username_0: I have a VSTS GIT repository, I want to create new remote repository which would be the copy of existing repository. How to do it ? Please note I am not looking for GIT clone to clone a local copy of remote repository. Atul<issue_comment>username_1: I think there is no in built command, create...
2018/03/20
233
746
<issue_start>username_0: currently I am using ``` for s in list: print(*s) ``` but it displays the list output as ``` ['this is'] ['the output'] ``` But I would like the output to be displayed as ``` this is the output ``` There should be a simple solution but i am still yet to come across one.<issue_c...
2018/03/20
330
1,116
<issue_start>username_0: I've just installed Bugzilla 5.0.4 on Centos 6.9 (upgrade from Bugzilla 4.2.1) It's `checksetup.pl` passes, but the website returns 'Internal Server Error'. The only thing in apache's error\_log is: > > /var/www/html/bugzilla/.htaccess: Options not allowed here > > > How should I appr...
2018/03/20
1,499
5,584
<issue_start>username_0: I am Beginner in Ionic 2 . I am working on **Network Connection/Detection** Using Network native plugin. I want show **wifi symbol image** when there is **no Internet connection** Example . [![enter image description here](https://i.stack.imgur.com/yDnji.png)](https://i.stack.imgur.com/yDnji....
2018/03/20
598
2,066
<issue_start>username_0: In my project I need to use Gotham Book font-family and I am using following code: ``` @font-face { font-family: 'Gotham Book'; src: url('assets/fonts/Gotham-Book.eot'), url('assets/fonts/Gotham-Book.eot?#iefix') format('embedded-opentyp...
2018/03/20
540
1,736
<issue_start>username_0: I tried to concat two string using sql query. Below is my code which is not working. ``` SELECT TOP 100 CONCAT('James ','Stephen') AS [Column1] FROM [dbo].[ORDERS] Group BY () ORDER BY CONCAT('James ','Stephen') ASC ``` If I use `[Column1]` instead of `CONCAT('James ','Stephen')` in Order...
2018/03/20
1,114
4,517
<issue_start>username_0: What I am trying to do is, there is no chance the two activities are running at the same time. So I am using for this method in my adaptor class. ``` Intent intent = new Intent().setClass(v.getContext(), WinnerDetailActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_...
2018/03/20
1,026
4,175
<issue_start>username_0: I am facing problem while playing last frame of pixi spine animation directly. The animation works fine but i want to skip all frames and run last frame only.<issue_comment>username_1: Just remove this line: ``` ((Activity)context).finish(); ``` Upvotes: 0 <issue_comment>username_2: Called t...
2018/03/20
179
719
<issue_start>username_0: I have installed [octobercms](/questions/tagged/octobercms "show questions tagged 'octobercms'") and I want to check version number of my current installed [octobercms](/questions/tagged/octobercms "show questions tagged 'octobercms'"). How can I check via Command line,through **backend** (*af...
2018/03/20
229
1,125
<issue_start>username_0: I need an AppService to load a treeview with a recursive collection of entities like these: ``` ===Products=== Id Description Price Products[] ====> Id Description Price Products[] ====> Id Description ...
2018/03/20
787
3,082
<issue_start>username_0: I have a basic component that contains the `ngxPermissionsOnly` directive which is working as expected. The library is on github [here](https://github.com/AlexKhymenko/ngx-permissions). I generated the component using the @angular-cli which also auto-generated the unit test. e.g. Component ``...
2018/03/20
1,661
4,881
<issue_start>username_0: From the answer [from here](https://stackoverflow.com/questions/49367451/dynamically-pivot-columns-with-month-and-year) I build a solution that is good for me but I have still one problem. I had table: ``` ID | Year | Month | Multiply | Future | Current 123 | 2017 | 1 ...
2018/03/20
1,511
4,792
<issue_start>username_0: `$data` has ``` stdClass Object ( [class] => srt-fields [rules_field_1] => 1 [rules_condition_1] => 0 [rules_value_1] => text [rules_field_2] => 3 [rules_condition_2] => 1 [rules_value_2] => another_text ... ) ``` Now I have another array `$newdata`, I need t...
2018/03/20
692
2,716
<issue_start>username_0: I am new to Android development and I am creating an app for practicing purposes, my app only retrieves data from the webserver and copies it into the SQLite database, but how do I know if there is new data that I don't have in my local DB or it has been updated? Is there any way to tell Androi...
2018/03/20
672
2,359
<issue_start>username_0: I'm implementing a on my React Native app. Most of my screens are in a ScrollView. When I add the , it obstructs the content. While I want this bottom area to be "safe", I'd like the user to be able to see the content behind it, otherwise, the space is wasted. How do I implement a "transparen...
2018/03/20
422
1,327
<issue_start>username_0: While creating an app using React native, in cmd I'm facing the following error message: > > ERROR: npm 5 is not supported yet. > > > `npm WARN deprecated socks@1.1.10`: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue ...
2018/03/20
1,268
4,313
<issue_start>username_0: ``` xml version="1.0" encoding="UTF-8"? true ``` this is the xml file i have (with multiple key value pairs), i need to get the value "true" in the C# variable "setting\_name" ``` private static bool setting_name = true; ``` This is what i have done so far ``` var setting_name = doc...
2018/03/20
2,521
6,530
<issue_start>username_0: I want to compare dates of each object using `NSPredicate`. If the Object has same dateCreated It will return an array of object which has same dates. In the below Array of dictionary 0 index has the different date as compared to another one how can I get data like that. Ex: ``` { "Dat...
2018/03/20
582
1,855
<issue_start>username_0: I'm new to programming and currently learning C from The C Programming Language by <NAME> and <NAME>. I have a difficult at section 1.8. Why when I'm trying to change ``` for (i = 1; n > 0; --n) ``` into ``` for (i = 1; n > 0; ++n) ``` the output is, ``` 0 1 1 1 2 ...
2018/03/20
347
1,264
<issue_start>username_0: I'm working on an application which reads heart rate from the finger using camera lens. I want after it's done with previewing the image to pass the results to a new `Activity`. I want to open the next `Activity` which is `Results.kt`. Here is what I've tried so far: ``` if (Beats != 0) { ...
2018/03/20
363
1,286
<issue_start>username_0: I have made a npm package for the first time. For my daily dev, I have used `npm start` to start the server and then user can use localhost:3000 to view the pages. When I try to publish that to end users, I can still ask people to use `npm install` > `npm start` to use the package. However, i...
2018/03/20
750
2,976
<issue_start>username_0: I have been trying many solutions out there for preventing the soft keyboard from pushing my layout when it appears. However, all solutions did not work. Simply, I want everything in my layout (buttons, imageViews, Background, textViews, textEdits) to stay in place when soft keyboard is shown....
2018/03/20
584
2,126
<issue_start>username_0: I am new to javascript and all so pardon me for the mistakes. I am trying to open a pop up for some device discovery. When clicked on the below div, ``` [Discover Device ...](#waitDiscoveryDialog) ``` it opens a pop up like this ``` Device Discovery ================ ### This will sea...
2018/03/20
412
1,417
<issue_start>username_0: I need to have the unique values from a column (column c from sheet1) and have the unique values in an array so that I can reuse them again from that array. I'm new to stak so, please help me.<issue_comment>username_1: Please try ``` ``` Upvotes: 0 <issue_comment>username_2: As I can see i...
2018/03/20
617
2,124
<issue_start>username_0: Using API, I am trying to fetch some incident data from a web portal. From portal I am getting multiple incident output. I have written a script to write a print output in a text file. My problem is, currently all incident output is getting stored in a single text file, I want to store this int...
2018/03/20
795
2,696
<issue_start>username_0: I have created this code to see how many text boxes have something inputted in it and then to display the total in a message box, I want to know if I can make my below code any smaller by may putting it in a loop? ``` Dim TotalRooms = 0 If String.IsNullOrEmpty(txtRoom1.Text) Then TotalRoo...
2018/03/20
651
2,286
<issue_start>username_0: I wanted to receive data to my site on React through the API.I did everything as stated in the documentation, performed the installation of `npm install --save woocommerce-api`, created the object with parameters as in the documentation <http://woocommerce.github.io/woocommerce-rest-api-docs/?j...
2018/03/20
315
1,284
<issue_start>username_0: I am working on a custom entity on dynamic 365. This entity is manipulated on Dynamic 365 Portal using web forms. Whenever I am creating a record in the entity, it is showing "System" in out of the box "Created By"column. Can anybody tell me what is the reason behind it?<issue_comment>username_...
2018/03/20
530
1,847
<issue_start>username_0: I have two array, first is month array second is result array, $monthArray = array("Jan 2018,Feb 2018","Mar 2018"); Need to sort the following array in the order of months ``` $result = array( array( "day" => "Feb 2018", "value" => "101" ), arr...
2018/03/20
692
2,113
<issue_start>username_0: I'm trying to write a simple logger using variadic templates for my understanding. It works, but with a catch. ``` void log() { std::cout << std::endl; } // variadic Template template void log(T t1, Args... args) { std::cout << t1<<" "; log(args...); } int main() { log("Logging", 1, ...
2018/03/20
713
2,323
<issue_start>username_0: I have component using PrimeNg p-dropdown. html code: ``` ``` ts portNames decleration: ``` portNames: string[] =["Port 01","Port 02", "Port 03"]; ``` My Problem is that DropDown Does not Display Values "Port 01","Port 02", "Port 03". Maybe I have any mistake?<issue_comment>username_...
2018/03/20
964
3,689
<issue_start>username_0: I have news details inserted and i need to show it on the edit page but when i try to edit and delete it shows blanks page insert and show is working properly. i have been stucked on this from morning. id is getting from the database but it shows a blank page,Not using any Form helper 1.what'...
2018/03/20
1,026
4,149
<issue_start>username_0: I am a beginner and I am making a simple android game in which a user sign in into the app and play the game. After the game finishes I want to add the current score of the user with previous score and then store this total score in Firebase and then again retrieve the score next time when the ...
2018/03/20
334
1,222
<issue_start>username_0: I am trying to use ubuntu for php laravel project, I have setup all the requirements but now I am facing problem with gitkraken. I am trying to clone repo on var/www/html but I cant even enter in var folder please help [![enter image description here](https://i.stack.imgur.com/wh5Wb.png)](https...
2018/03/20
592
2,197
<issue_start>username_0: I am working on a Code Receipt Number Auto Generate. Here is my code: ``` var conrecipt = new SqlConnection( ConfigurationManager.ConnectionStrings["con"].ConnectionString); conrecipt.Open(); var cmd = new SqlCommand("Select COALESCE(MAX(Reciptno),0) from Registration", conrecipt); int i =...
2018/03/20
371
1,536
<issue_start>username_0: I change the scheme to Apple Watch and hit run, the watch simulator shows up but my app icon is not even seen on the home screen of watch. I have been trying for days now. I tried **cleaning project, cleaning build folder, removing derived data, removing files in the watchOS DeviceSupport, re...
2018/03/20
826
2,600
<issue_start>username_0: I don't know why my website's Schema.org markup is showing number and characters instead of stars. For example, it's showing "3 out of 5" instead of "\*\*\*". ![](https://i.stack.imgur.com/TbF9e.png) How can I fix it? I'm using WordPress and All In One Schema Rich Snippets plugin.<issue_co...
2018/03/20
226
860
<issue_start>username_0: I want to my HTML5 template support RTL (Right to Left). But I do not know how to do it. If someone helps me, then I will know it.<issue_comment>username_1: Basically you have to setup `dir=rtl` in your html for this like below: ``` ... ``` Add dir="rtl" to the html tag any time the overall...
2018/03/20
684
2,291
<issue_start>username_0: I know that if I want to check if an array does contain a certain value I should use `Arrays.asList(arrayName).contains(valueName)`. But how do I check if that value is not present? At first I just thought of putting ! in front like: ``` !Arrays.asList(arrayName).contains(valueName) ``` but ...
2018/03/20
402
1,616
<issue_start>username_0: I am simultaneously doing speech to text and text to speech within an app but for some reason after Speech to conversion is over and the result for which is back from server , text to speech [default API of apple] doesn't produce any sound even though it reproduces same for static text at start...
2018/03/20
656
2,466
<issue_start>username_0: I need to read `web.config` file, outside the application's folder (located in any other directory). I tried this code: ``` string filePath = @"C:\Users\Idrees\Downloads\New folder\Web.config"; Configuration c1 = ConfigurationManager.OpenExeConfiguration(filePath); var value1 = c1.AppSettings...
2018/03/20
628
2,071
<issue_start>username_0: I have a problem in calculating the TOTAL. Although it works BUT when i try to remove a single row, the value is still there. It is still calculated by the total. How can i fix this? When i remove a single row, only the rows that are there, is calculated for the TOTAL? Here's my stackblitz code...
2018/03/20
602
2,116
<issue_start>username_0: When I connect to my Windows Server 2012R2 Azure VM via RDP, I have resolution 1600x900, which corresponds to my client PC resolution. However, when I run selenium UI tests on this machine with VSO agent, they are failing because screen resolution for agent session is 1024x768. In Device manage...
2018/03/20
4,633
20,889
<issue_start>username_0: how to open activity to display message push notification android, i make project to push notification android, i send from php web and recieve on android, it just show the notification help me to display all message when we click the notification thank you. mainactivity.java ``` package com....
2018/03/20
552
1,879
<issue_start>username_0: I know a lot of people asked that already but nothing seems to work. I want my footer to be on the bottom of the page. So far it is on the bottom of the screen, but if the page is bigger and you need to scroll, it just sticks there and stays in the middle. If I put `position: fixed` the footer ...
2018/03/20
493
1,515
<issue_start>username_0: I need a list of last date of the previous months for past 13 months; like 2-28-17 3-31-17 4-30-17 5-31-17 and so on until 2-28-18 how can i get this in Oracle Sql<issue_comment>username_1: In OnDeleteRow you have: 1.-Delete the totals[rowIndex] 2.-recalculate total ``` onDeleteRow(rowIndex) ...
2018/03/20
3,116
9,780
<issue_start>username_0: When I'm trying to send mail using php.text also send as an attachment with the name noname.html. please provide a solution for me. I have used this library to send email <https://github.com/google/google-api-php-client>. My code is like this.any help will be appreciated. ``` $client->setAcces...
2018/03/20
1,485
5,206
<issue_start>username_0: I have this code: ``` public function taxesData(Product $product) { $taxes = \Auth::user()->taxes; foreach ($taxes as $tax) { echo "$product->getTax($tax)"; } } ``` which on testing gives this error: > > Type error: Too few arguments to function App\Product::getTax(), 0...
2018/03/20
471
1,917
<issue_start>username_0: This is my spring boot application: ``` @SpringBootApplication @EnableTransactionManagement(proxyTargetClass=true) public class WhizhopApplication { public static void main(String[] args) { SpringApplication.run(WhizhopApplication.class, args); } } ``` This is my service: ``` @Servi...
2018/03/20
609
2,407
<issue_start>username_0: I have an int array with 1000 elements. I need to extract the size of various sub-populations within the array (How many are even, odd, greater than 500, etc..). I could use a for loop and a bunch of if statements to try add to a counting variable for each matching item such as: ``` for(int...
2018/03/20
432
1,670
<issue_start>username_0: The following code just won't change the port to 9874. It stays the same in Project -> Debug -> Web Server Settings -> App URL -> "<http://localhost:56021/>", which uses the 56021 port. I am using VS 2017 to create .net core webapi project. ``` public static IWebHost BuildWebHost(string[] args...
2018/03/20
511
1,622
<issue_start>username_0: I need Javascript code to print all star patterns using a single program with only 2 for loops. I tried the following code but it prints only diamond shape. ``` var spaces = " "; var rows = "* "; while(rows.length < 200) { spaces += spaces; // doubles length each time rows += rows; // ...
2018/03/20
615
2,009
<issue_start>username_0: I am playing around with an HTTP2 client/server implementation and I'm running into a `protocol_error` but I'm not sure why. ``` Received frame: {:length=>18, :type=>:settings, :flags=>[], :stream=>0, :payload=>[[:settings_max_concurrent_streams, 128], [:settings_initial_window_size, 65536], [...
2018/03/20
751
3,112
<issue_start>username_0: I'm fairly new on using ConstraintLayout (java). What I want to achieve is something like when the numpad is being shown/hidden as a slide animation, I've tried something like this: ``` Animation a = new Animation() { @Override protected void applyTransformation(float interpolatedTime...
2018/03/20
532
2,083
<issue_start>username_0: I have two `spannable` object for same string and both have different styles. I need to merge all `spannable` objects and display all styles into `TextView`. From one of returning from `Html.fromHtml()` and second return StyleSpan(Bold). I tried `TextUtils.concate(htmlSpan, boldSpan)` but it ...
2018/03/20
842
2,953
<issue_start>username_0: I have a class with a method which uses shutil.rmtree to remove some files if a param is passed as true, How to mock this behavior so as other tests don't break which needs these files. My class looks like this - ``` class FileConverter(object): def __init__(self, path_to_files): ...
2018/03/20
1,591
4,302
<issue_start>username_0: Hello I am a beginner in HTML and CSS. I created a multiple table tag to with Power description but I cant align the level2 and level3 table tag from Level1. Another query. How can I create another sets of Level's that will be under to no Power? but I'm not able to get the desired result. actu...
2018/03/20
984
4,037
<issue_start>username_0: I am trying to retrieve a row from database , changing certain columns value in it and adding it as new row (Entity Framework Core), But it is giving me error > > Cannot insert explicit value for identity column in table 'Audit\_Schedules' when IDENTITY\_INSERT is set to OFF. > > > Thi...
2018/03/20
1,793
7,363
<issue_start>username_0: I have an ASP.NET Core 2.0 app hosted on an Azure App Service. This application is bound to `domainA.com`. I have one route in my app—for example, `domainA.com/route`. Now, I want to introduce another domain, but have it respond only to a different route—for example, `domainB.com`. What is t...
2018/03/20
1,043
3,841
<issue_start>username_0: I have multiple buttons 0 to 9 and other calculation methods like plus, minus, etc There are two display items, `Memory` and `Display`; `Memory` item is hidden. When click on `1` button then display value 1 in `Display` item. When click on `+` button then store value 1 in `Memory` item. When ...
2018/03/20
1,092
4,070
<issue_start>username_0: I was wondering if there is a way to prevent the Modal from showing up when an ajax call returns an error. I've seen a few posts here already that use ``` e.stopPropagation(); ``` but I couldn't manage to make that work. My ajax call looks as follow ``` $.ajax({ url: url, data: data...
2018/03/20
953
3,742
<issue_start>username_0: I am doing a migration of old project (Core Java + EJB + hibernate) from hibernate 3 to hibernate 5.2.12. Though hibernate 5.2.12 supports .hbm.xml file but as a part up gradation migrating from .hbm files to Annotated files. Below is the scenario i have, and the data model is tightly coupled...
2018/03/20
584
1,766
<issue_start>username_0: I have some data in the following date format. '27-SEP-97' i.e DD-MON-YY Now I want to convert this to YYYYMMDD. I am using the following script to convert this. ``` TO_CHAR(TO_DATE(CHD_DATE_FIRST_ACT,'DD-MON-YY'),'YYYYMMDD') ``` but this is giving me the following output. ``` 20970927...
2018/03/20
570
1,785
<issue_start>username_0: When creating a time timestamp from Date() function app is getting crash rarely, Is it the right way to handle it? ``` let time_stamp = String(Int(Date().timeIntervalSince1970*1000)) ``` The above code is getting crash rarely, in the test flight build. [![enter image description here](https:...
2018/03/20
602
2,145
<issue_start>username_0: I was trying to run a Flask project using Python 3.6. I encountered an error: ... from flask\_openid import OpenID ModuleNotFoundError: No module named 'flask\_openid' Flask-OpenID is available in my Python v3.5 dist-packages. (When I run: "sudo pip3 install Flask-OpenID", it shows "Re...
2018/03/20
1,040
3,585
<issue_start>username_0: I need vba code in Excel to convert formula to its value, but only in specific column and only convert till last row with data Example: Sheet 1 Column B, E:J filled with lookup formula to get data from Sheet 2. Formula is filled from row 1 to 1500. Based on table array in sheet 2. Sheet 1 row ...
2018/03/20
961
3,482
<issue_start>username_0: This my code of rest controller ``` @RequestMapping(value = "/?username={username}&password={<PASSWORD>}", method = RequestMethod.GET, produces = {MediaType.APPLICATION_JSON_VALUE}) @ResponseStatus(value= HttpStatus.OK) public UserDetails getUserDetails(@PathVariable("username") String user...
2018/03/20
690
2,524
<issue_start>username_0: I have built an angular 4 application with .Net core 2.0, visual studio 2017, and deployed to production server on IIS web server. The routing is working fine on localhost when refresh,but not working on live. I saw some answers in stackoverflow for IIS in web.config file. But I don't have web....
2018/03/20
409
1,306
<issue_start>username_0: I need to process two lists in `Ajax` success function. The below simple code works well for a single list but doesn't work with 2 lists. How can we process 2 lists separately in a `success function`. **jQuery Ajax** ``` success: function(data) { $.each(data, function() { $.each(t...
2018/03/20
476
1,728
<issue_start>username_0: I'm trying to save the application's root state on `mounted` lifecycle of VueJS and freeze the copy in `$root`'s `data`, and my attempt is as following, ``` mounted() { this.globalState = this.$store.state; }, data () { return { globalState: null } } ``` However thi...
2018/03/20
1,039
3,749
<issue_start>username_0: I created a modal which displays information specific to their id entries and placed the Approve and Reject button as below. [Screenshot of modal](https://i.stack.imgur.com/sYfbM.jpg) When a user click on "Accept" or "Reject", it needs to pass id related to the viewed entries so the user can ...
2018/03/20
362
1,320
<issue_start>username_0: I have parent form called MainBackground and a user control named LoginUI. LoginUI is docked into the MainBackground. I need to change enability of a button (InfoButton) located in parent form to "true" when user clicks on the button "Log in" in the control form. But I can't access the paren...
2018/03/20
479
1,562
<issue_start>username_0: I have a java servlet service which need to be invoked from dot net application. I have found some code but in response stream i am receiving null.Where as when invoked through html it is working fine. Below is html code which is working when executed and xml structured data is pasted in textb...
2018/03/20
394
1,291
<issue_start>username_0: I have the following libraries being used in my AWS Lambda function: ``` pytz/ nltk/ nltk-3.2.5/ numpy/ psycopg2/ pandas/ spacy/ ``` But while I zip and upload these libraries along with my code on AWS S3 and link the S3 zip to Lambda Function it gives the f...
2018/03/20
1,547
5,531
<issue_start>username_0: I'm using `react-toastify` and I can't get a simple toast to be rendered... ``` import React from "react"; import { toast } from 'react-toastify'; class MyView extends React.Component<{}, {}> { constructor() { super(); this.state = { }; } componentDidMou...
2018/03/20
858
3,742
<issue_start>username_0: * I am using "TextWebSocketHandler" for websockets and "WebSocketConfigurer" to configure the websocket. * I have a scenario where different instances of the handler needs to be gererated. **For example:** if I am doing auction for some items, then I need to generate seperate WebSocketHandler ...
2018/03/20
743
2,740
<issue_start>username_0: I have just opened an old project here at work. Someone appears to have changed the indentation. It's set to 2 spaces instead of four space tabbing. [![enter image description here](https://i.stack.imgur.com/NYv7w.png)](https://i.stack.imgur.com/NYv7w.png) What I have tried: 1. I tried doing...
2018/03/20
806
2,620
<issue_start>username_0: I am building a map structure by extracting 30-40 keys from unstructured text rows from messy csv data. i am extracting using regex on this messy data row , lot of time those values are not there so it generates exception, I put these 40-50 statements in try , catch block and able to parse but...
2018/03/20
1,457
5,835
<issue_start>username_0: I've discovered a weird behavior on iOS 11 when I push `UIViewController` and change the `UINavigationBar` color to transparent. Important thing is that I'm using `largeTitles`. 1. I want to change red color of the navigation bar to transparent and this works fine. 2. However, if I tap on back...
2018/03/20
474
1,788
<issue_start>username_0: Here is my code snippet. What am I doing wrong? Not able to replace the string. ``` f = open("template.html", "r") lines = f.read() string = ''' High ----- #### ''' if string in lines: print lines lines.replace("", "") print lines ```<issue_comment>username_1: call **gree...
2018/03/20
387
1,379
<issue_start>username_0: I need the `AppTheme.colorAccent` to be brown but I need my `Snackbar` action color to be blue. How to change action button color of `Snackbar` from style without changing `AppTheme.colorAccent`? I've try this code but it does not work : ``` <item name="colorAccent">#3097ff</item> ```<issu...
2018/03/20
301
989
<issue_start>username_0: Still wondering why its not working. ``` echo "[". $catrow['name'] . "]("$config_basedir. "/products.php?id=" . $catrow[)";} ``` I wanted to use a variable for the `products.php?id=&quot.`. Is there another way to solve this?<issue_comment>username_1: There is some issue in using quote in yo...
2018/03/20
870
2,762
<issue_start>username_0: I used to build my angular 5 projects with command: ``` ng build --prod --locale=de --base-href /onlineshopNP/de/ -op dist/de ``` I've updated my project to angular 6 and when I call the command, I'm getting an error like this: > > Schema validation failed with the following errors: > Dat...
2018/03/20
392
1,530
<issue_start>username_0: Frequently `./sbt fastOptJS` throws a linking error at me, `Referring to non-existent method...`, that disappears if I run `./sbt clean` and then `./sbt fastOptJS` again. I was wondering, what could be a possible cause for this? Is this likely a `build.sbt` misconfiguration issue? Common codin...
2018/03/20
483
1,897
<issue_start>username_0: The system environment check returned errors. Those errors will affect the functionality and stability of your TYPO3 CMS instance. Please check the install tool "System environment" for all details. The first image shows the typo3 backend status report error: ![**First image link** shows the ...
2018/03/20
867
2,343
<issue_start>username_0: i have a set of arrays: ``` $nums = array(2,3,1); $data = array(11,22,33,44,55,66); ``` what i want to do is to get a set of $data array from each number of `$nums` array, the output must be: ``` output: 2=11,22 3=33,44,55 1=66 ``` what i tried so far is to slice the array and remove ...
2018/03/20
446
1,406
<issue_start>username_0: ``` local a= >3500 local b= local c= <3700 ``` I don't know how I can make the 200 numbers in between into just the variable `b` ``` lives=1 while lives > 0 do math.randomseed(os.time()) local randomNumber1 = math.random(7200) local randomNumber = math.random(randomNumber1, 7200) pri...
2018/03/20
1,169
3,426
<issue_start>username_0: Recently, I have studied 'Programming language' using standard [ML](http://en.wikipedia.org/wiki/ML_%28programming_language%29), and I've learned currying method(or something), so I applied it in Python. The below is simple function and currying. ``` def range_new(x, y): return [i for i in...
2018/03/20
1,557
5,194
<issue_start>username_0: What is the correct way to declare a date in a swagger-file object? I would think it is: ``` startDate: type: string description: Start date example: "2017-01-01" format: date ``` But I see a lot of declarations like these: ``` startDate: type: string description...
2018/03/20
863
2,894
<issue_start>username_0: ``` class Player def initialize(hp, attack, defence, gold) @hp = hp @attack = attack @defence = defence @gold = gold @inventory = inventory end def inventory @inventory = [] end def buy(item) if @gold >= item.price @gold-=item.price puts "You ...
2018/03/20
793
2,347
<issue_start>username_0: looking for how to go about this in SQL. For the same value of A, if two or more values of B exist, and one of the B values is null; show all combinations of A, B and C. Table: ``` A B C 1 2 3 4 5 6 7 8 9 1 null 4 1 2 4 9 3 5 9 null 7 ``` Expected Result...
2018/03/20
744
2,455
<issue_start>username_0: we verify the users of our application (in Oracle Forms 11g) using internal oracle database authentication. The user enters the user id, password and connection description in the default logon screen provided by Oracle Forms 11g (screenshot attached). When the user presses the CONNECT button i...
2018/03/20
528
2,059
<issue_start>username_0: In the following code, I am attempting to iterate over `geoMarkers` and create a Marker for each. The line of code here needs some help: content: `@Html.Partial("~/Views/Search/_MyPartialView.cshtml", Model.ElementAt(' + i + '))` In this line above, I am attempting to pass the JavaScript var...
2018/03/20
1,139
3,220
<issue_start>username_0: I have two sheets, one filled with data and other one empty. I want to reshape the data on the other sheet by putting it into the next row every 7 columns. This is my code, but it's not working. Can you help me to find the mistake that I'm making? ``` Set ws1 = Sheets("F2") Set ws2 = Sheets("...
2018/03/20
1,341
4,647
<issue_start>username_0: I am using intel fortran 2016. I have defined some precision variables as follows: ``` ! definition of single, double and quad precision integer, parameter :: SINGLE_PRECISION = selected_real_kind(6, 37) integer, parameter :: DOUBLE_PRECISION = selected_real_kind(15, 307) ! is...
2018/03/20
356
1,177
<issue_start>username_0: Using Linux 16.04 and docker All the containers are running fine .Successfully installed the chaincode on core peer. But At the time of chaincode instansiate ``` peer chaincode instantiate -o orderer.example.com:7050 -C $CHANNEL_NAME -n fabcar -l "golang" -v 1.0 -c '{"Args":[""]}' -P "OR ('Or...
2018/03/20
859
2,973
<issue_start>username_0: I `cherry-picked` a commit and resolved the conflicts, added them, now when I try to do git amend it fails with below message. > > fatal: You are in the middle of a cherry-pick -- cannot amend. > > > Why does git gives this message, is there a way to tell it things are fine?<issue_commen...
2018/03/20
535
1,688
<issue_start>username_0: i have some strings from database > > email1 link1 data1 > > > email1 link1 data2 > > > email1 link2 data3 > > > email2 link3 data4 > > > How can i get such а json? ``` {log:[ {email: email1, link:link1, data:[data1,data2]}, {email: email1, link:link2, data:[data3]}, {email: emai...
2018/03/20
539
2,501
<issue_start>username_0: ``` enum TrackingEvent: String { case notificationScreenLoaded = "Notification Screen" case homeScreenLoaded = "Home Screen" case homeScreenViewBill = "Home Screen View Bill Button" case homeScreenPayBill = "Home Screen Pay Bill Button" case homeScreenViewLastPayment = "Home...
2018/03/20
1,953
6,986
<issue_start>username_0: I have a problem with creating GUI with PyQT, I have attached the code for your reference. The problem is whenever a message box is shown, I cannot click OK or 'x' to close it. Can anyone show me how to deal with it? Thank you very much. Does anyone have the answer, I am very in need of it. ...