date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/06
659
1,889
<issue_start>username_0: ``` select * from purchase_items where item_code between '180' and '186' ``` I have a table purchase\_items, for example, I have the following value(s). ``` item_code 180 182 183 1852563 186cf2564 186cf2564 187sa5635 ``` If I select between `180` to `187` the all values display. But I n...
2018/03/06
474
1,576
<issue_start>username_0: **my application package name like this :** ``` com example developer myproject ``` **and I want to change it like this :** ``` com fyk myproject ``` how can I do this ? Any advice or tutorial please ?<issue_comment>username_1: You may try something like th...
2018/03/06
521
1,859
<issue_start>username_0: I am using JGit (v4.10.0.201712302008-r) to automate tasks that interact with our git repository. Some of the tasks leave the repo in a `REBASING_MERGE` state for some reason. Now the next time I process a task, I need to try to "repair" the repository. I have already removed potential confli...
2018/03/06
367
1,477
<issue_start>username_0: I send request to website for get content by file\_get\_contents e.g. ``` $html=file_get_contents('http://....'); var_dump(HTML::encode($html)); ``` but html body tag fill by js so I cant get body. body is like this ```html ``` How can get body by php<issue_comment>username_1: if the t...
2018/03/06
1,082
3,569
<issue_start>username_0: [![enter image description here](https://i.stack.imgur.com/hlF00.jpg)](https://i.stack.imgur.com/hlF00.jpg) I want to make the screen like the attached image, but getting some issues. My code is working fine for Small devices and Large devices, but for Medium devices, it's not working fine. So...
2018/03/06
684
1,897
<issue_start>username_0: I installed XAMPP in my Ubuntu version. I start apache with : ``` sudo /opt/lampp/lampp start ``` and I read in my console this error: ``` Another web server is already running ``` So I think to modify the port's values `httpd.conf` and `httpd-ssl.conf`, in details I have mofidy port: `...
2018/03/06
371
1,389
<issue_start>username_0: Is there any option how to implement Docker command (`--target` parameter) ``` docker build --target backend -t project/backend:latest ``` in Ansible Playbook with `docker_image` module? Right now in playbook: ``` - hosts: localhost tasks: - name: Build backend image docker_imag...
2018/03/06
525
1,910
<issue_start>username_0: I am using the new ngrx 5. This is the file that holds the reducers and the featureSelector: ``` import AppState from '../interfaces/app.state' import { ActionReducerMap, createFeatureSelector } from '@ngrx/store' import { partnerReducer } from './partner.reducer' export const reducers: Actio...
2018/03/06
1,411
5,014
<issue_start>username_0: Here is example of my problem: <http://dbfiddle.uk/?rdbms=postgres_9.6&fiddle=ddb9cfd2da315ecf36cfffd66853f023> I use this function: ``` CREATE OR REPLACE FUNCTION inListExistOrNull(list jsonb) RETURNS boolean AS $BODY$ DECLARE r TEXT; i boolean := false; vcount in...
2018/03/06
645
1,923
<issue_start>username_0: I want to get the max value out of row count of columns `name` and `hours` below: ``` import pandas as pd hours = [8,8,9,9, 8,9,10,10, 8,9,12,12, 10,11,12,12] names = ['A', 'B', 'C', 'D'] * 4 df = pd.DataFrame({'names': names, 'hours', hours}) `...
2018/03/06
398
1,335
<issue_start>username_0: I have several buttons im my main window. I want the ones that open additional windows to disable main window before executing and enable after. Is there a different way to achieve that other than writing this: ``` private void button_Click(object sender, RoutedEventArgs e) { ...
2018/03/06
547
1,878
<issue_start>username_0: I am new to iOS and I stucked in this issue. I am creating a custom cell like this[![UITableviewcell](https://i.stack.imgur.com/QQjGC.png)](https://i.stack.imgur.com/QQjGC.png) I have taken a rectangular view(on left) inside main view. Here is the code for setting a corner radius of both views...
2018/03/06
668
1,985
<issue_start>username_0: I have a dataframe ``` df = pd.DataFrame(data=[[1,0],[1,0],[2,0],[2,1]],columns=['day','class']) ``` and I would like to count the instances of class 1 each day. I use groupby in this way, ``` df.groupby(['class','day'])['class'].count() Out[51]: day class 1 0 2 2 0 ...
2018/03/06
371
1,268
<issue_start>username_0: I have two questions: 1. How to change laravel 5.5 forgot password template and sender name? 2. What's a proper eMail template design? [![how to change laravel 5.5 forgot password template and sender name?](https://i.stack.imgur.com/MqM4l.jpg)](https://i.stack.imgur.com/MqM4l.jpg)<issue_comme...
2018/03/06
329
1,185
<issue_start>username_0: What is the function of the below header mediator placed after payload factory. What does the name action specify, and is the header mediator placed to append header for request or what? ``` $1 ```<issue_comment>username_1: Publish the vendor template first by running `php artisan vendor:p...
2018/03/06
761
2,335
<issue_start>username_0: I try to push a docker image to my private Nexus 3 registry. Before to push, i try to authenticate doing : `docker login nexus_host:nexus_port` But i got the following error message : > > Error response from daemon: login attempt to http://*nexus\_host*:*nexus\_port*/v2/ failed > with sta...
2018/03/06
474
1,729
<issue_start>username_0: ``` echo ''; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo 'Confirm Register'; echo ''; echo ''; if(isset($_POST['Cancel'])) { $path = $_SERVER['DOCUMENT_ROOT'].'Files/'.$_SESSION['Identification']; unlink($path); $path = $_SERVER['DO...
2018/03/06
755
2,946
<issue_start>username_0: I have installed a certain python package (netCDF4), which contains compiled code (extension module). I am running Anaconda and python 3.6 under Windows 10 (x64). When importing the module from console, I get the following error: ``` In [1]: import netCDF4 -------------------------------------...
2018/03/06
388
1,281
<issue_start>username_0: I am trying to learn angular with socket in a todo app. But socket is not working. I am using socket.io v2.0.3. but I am getting error in chrome console. [![Error screenshot](https://i.stack.imgur.com/lQ9MY.jpg)](https://i.stack.imgur.com/lQ9MY.jpg) My code is - ``` import io from "socket....
2018/03/06
414
1,945
<issue_start>username_0: I'm in trouble with azure synchronization, I'm able to detect the number of pending operations by `mCLient.getSyncContext().getPendingOperations();` but can't resolve them. Any help or suggestion?<issue_comment>username_1: When working with in an offline scenario and you have pending operations...
2018/03/06
454
2,086
<issue_start>username_0: I have enhanced dropdownlist (html select > option) into responsive select control using css and extending jquery. I have encountered that select text greater than and less than symbols are displayed as `<` and `>` respectively. [![enter image description here](https://i.stack.imgur.com/uhkvj....
2018/03/06
1,236
3,836
<issue_start>username_0: How can i continually replace the word behind a set value (in my example`_Number_`) in a string? The text I want to replace appears to two times and looks like this in the textfile: ``` One_Number_ = "0" if [ One_Number_ == "0" ] ``` So in this example I want to store the word "One" in a st...
2018/03/06
877
2,666
<issue_start>username_0: After running the following example a dialog window appears *under* the active window, for example if a browser window active at the moment than dialog appears under it. How can I make dialog window appear on top of all windows in the system? ``` try { Thread.sleep(5000); } catch (Interrup...
2018/03/06
1,341
3,540
<issue_start>username_0: I have a `tasks` table as such: ``` +-------+-------------------+---------------------+---------------------+ | rowid | title | start_task | due_date | +-------+-------------------+---------------------+---------------------+ | 1 | Paint Apartment | 2018-0...
2018/03/06
1,020
3,707
<issue_start>username_0: Google announced their Google Play Referrer API at 20 November 2017 as new way to track app installs. My question is: Is there any way to test the function before my app is released in Google play?<issue_comment>username_1: None mentioned in the [Play Install Referrer API](https://developer.and...
2018/03/06
1,184
4,299
<issue_start>username_0: I am creating a CKEditor plugin and I face some issues on this. **Model of My Plugin:** ``` CKEDITOR.plugins.add("myplugin", { //for lang,require,icon init:function(a){ editor.on('contentDom', function () { editor.document.on('key', function (evt) { ...
2018/03/06
814
3,197
<issue_start>username_0: I'm working on an MVVM project and I have this Code in one of the the views: ``` <Setter Property="CmdB:CommandBehavior.Event" Value="MouseDown" /> <Setter Property="CmdB:CommandBehavior.Command" Value="{Binding DataContext.RobotErrorSelectionChangedCommand, RelativeSource={RelativeSourc...
2018/03/06
714
2,787
<issue_start>username_0: ``` class newPlanner{ private newAppointment[] Appoint = new newAppointment[20]; newPlanner(){ newAppointment obj1 = new newAppointment("Mar",4,17,30,"Quiz 1"); newAppointment obj2 = new newAppointment("Apr",1,17,30,"Midterm"); newAppointment obj3 = new newA...
2018/03/06
943
2,783
<issue_start>username_0: I'm trying to draw line over all circle surface, my current shape look like: [![enter image description here](https://i.stack.imgur.com/Zb6fY.png)](https://i.stack.imgur.com/Zb6fY.png) My wrong attempt: ``` for (int i = 0; i < 24; i++) { g.drawLine(xCenter - clockRadius + i , yCe...
2018/03/06
1,083
3,362
<issue_start>username_0: Hi I am attempting to save image files using JSZip and JSZip-utils. I can package up the files but when trying to view them in windows the files are corrupt. Here is my code: ```js //returns a Jquery Promise (binary content for use in JSZip) if (currentViewOption == "f"|| currentViewOption =...
2018/03/06
3,017
11,778
<issue_start>username_0: I have been asked to create something I'm not sure is possible in Shiny: a context menu that appears when a user right-clicks on a numeric input. I know how to show a context popup on a chart (see code below), but this doesn't help me answer the following: * Can an input widget catch a click /...
2018/03/06
324
1,360
<issue_start>username_0: I would like to add a feature to my social app, which can send a push notification to a specific user, is he's not active. For exemple, if the user has not logged in for 7 days: I would like to send him a push notification "Hey, it's been a while since you've logged in! Come see the new posts"...
2018/03/06
810
2,795
<issue_start>username_0: I've been trying to create a script that: * Asks a user to input keywords * Stores the user's input in a list * Prints each value from the list When I try to print the list all the values seem to be under the index `0` ``` inputwords = input('What keywords are you looking for?').split() inpu...
2018/03/06
656
2,496
<issue_start>username_0: I'm trying not to mutate an object within an object before setting it to state like this: ``` isDraggable = () => { let steps = [...this.state.stepsData]; steps = steps.map(step => { return { ...step, dataGrid.static: !step.dataGrid....
2018/03/06
322
1,245
<issue_start>username_0: I want to create a circular recycle view, where I can populate or change list items on circular motion of my recycle view as shown in the image below. On circular motion the items needs to be changed/replaced as we do in recycle view scroll. I am unsure about the feasibility for the same, but ...
2018/03/06
246
968
<issue_start>username_0: Hi Im new to swift and Im trying to have a part of UILabel open up a link in browser.I have created label in storyboard and type as attributed.Im sure how to make it clikable in the most easiest way possible. Also some time there are multiple links for different words but all are part of same l...
2018/03/06
915
3,037
<issue_start>username_0: I have the following tables: ``` create table dbo.Files ( Id int identity not null constraint PK_Files_Id primary key (Id), Content varbinary (max) null, Name nvarchar (280) null ) create table dbo.BookFiles ( BookId int not null, FileId int not null, constraint PK_BookFiles_I...
2018/03/06
722
2,360
<issue_start>username_0: I've been working on auditing using CIS Benchmarks for example : [root@localhost ~]# ls -l $CATALINA\_HOME/webapps/docs \ > > CATALINA\_HOME/webapps/examples > ls: cannot access /webapps/docs: No such file or directory > ls: cannot access CATALINA\_HOME/webapps/examples: No such file or d...
2018/03/06
806
2,697
<issue_start>username_0: I am very new with lambda expressions. I want to have the count of all the status\_ID who has the number 6. Then I want to convert this as a list. What is the right syntax to set a value to the query? I know it in SQL but not in lambda expressions. ``` return ContextHelperSlowly.GetCount(fals...
2018/03/06
431
1,764
<issue_start>username_0: We are planning to use Big Query and Cloud Storage but have questions regarding access via VPN/VPC. As Big Query, GCS are managed services is it correct to assume that it is not possible to restrict access to project level buckets and data sets to connections inbound to the VPC. As we unders...
2018/03/06
976
3,632
<issue_start>username_0: i want to implement a Typo3 extension: load image/media from my cloud site, and insert into Typo3 web page. but i am a very new comer of Typo3. i want to learn how to build my extension. could someone tell me the guideline or a sample extension which is similiar as my extension? i read Typo3 s...
2018/03/06
593
2,152
<issue_start>username_0: Hi I have a `Trying to get property of non-object` error which I just can't seem to solve. In my view I have a `@foreach`, using relationship tables. The relationships seems to be fine when I check them. The are also no null values in my banks table. I have a user principles table, banks table ...
2018/03/06
281
1,144
<issue_start>username_0: Can I implement the app with MVVM but it without using Dagger2? it seems so many mvvm examples included the dagger2 library and it makes me feel confused.<issue_comment>username_1: Dagger is a dependency injection framework. While being useful for implementing different architecture approaches...
2018/03/06
524
1,511
<issue_start>username_0: I am trying to extract a string(username) from a excel table. username's place varies from row to row for example: * D:\Users\james * D:\Users\johnny2 * D:\Userdata\Users\mark\My Documents * D:\Users\Jessica\My Private Files\Files * D:\NewteamUsers\Molly2\Documents What I need to extract is ...
2018/03/06
436
1,193
<issue_start>username_0: Using Laravel 5.4 I am trying to validate a field that has to be bigger than Zero. This rule return success: ``` if($request->input('kg_bags')) { $validator = Validator::make(Input::all(), [ "kg_bags" => "numeric|min:1" ]} ``` Checking the value posted, it is: 0 ...
2018/03/06
919
3,454
<issue_start>username_0: I want to route the path based on the permissions a particular user has. I am using `react-router-dom`. Here is my sample code: ``` ``` I made my `CustomRoute` class where I passed additional `authorize` custom prop to it. Inside `CustomRoute` I compare the `authorize` prop with list of ava...
2018/03/06
503
1,689
<issue_start>username_0: I was ask to create python programe for rent calculation based on the rented date and returned date but whenever i run this code im getiting an error **here is my code:** ``` from datetime import date rent= date(int(input("enter rented yeat") ),int(input("enter month") ) , int(input("enter da...
2018/03/06
671
2,605
<issue_start>username_0: I often have classes which provide simple member-by-member comparison: ``` class ApplicationSettings { public: bool operator==(const ApplicationSettings& other) const; bool operator!=(const ApplicationSettings& other) const; private: SkinType m_ApplicationSkin; UpdateCheckInterval...
2018/03/06
538
2,081
<issue_start>username_0: There is a spring-mvc web project. If the user does something important, the application must record log and send a message to the user's email in the service layer (btw, the user will do many important things). The code like below: ``` private static final Logger LOGGER = LoggerFactory.getLog...
2018/03/06
388
1,447
<issue_start>username_0: In my Android project, I just made something like this: ``` Person person; void onSucceed(Doc doc) { person.setName(doc.getName); person.setAddres(doc.getAddres); ... person.setAge(doc.getAge); } ``` These two classes are not the same, but they have a lot of similar variable...
2018/03/06
316
1,226
<issue_start>username_0: Is it possible to pass data using class object? as i don't want to use bundle to pass data between fragments can anyone suggest me for the same?<issue_comment>username_1: I would create a method in the `Person` class to gather the details from the `Doc` object. ``` public void useDetails(D...
2018/03/06
1,121
3,887
<issue_start>username_0: I am writing sikuli scripts in Eclipse.. I have added `sikulixapi-1.1.0.jar and sikuli-3.0.0` in Eclipse Project build path. I am getting following error: ``` *** classpath dump end [error] RunTimeINIT: *** terminating: libs to export not found on above classpath: /sikulixlibs/windows/lib...
2018/03/06
2,247
7,968
<issue_start>username_0: We have been struggling with this issue for a long time now. In short, our storm topology stops emitting messages from spout after some time in a random fashion. We have an automated script which re-deploys the topology at 06:00 UTC everyday after the master data refresh activity is complete. ...
2018/03/06
657
2,911
<issue_start>username_0: Suppose we have a list of complex objects (primitives and other objects inside) requested from a server to show them inside a `RecycleView`. In adapter we need only some data from each object, let's say 70%. I get from server list with full data objects, and each object implements `Parcelable...
2018/03/06
1,230
6,104
<issue_start>username_0: I have implemented JWT and LDAP Authentication using Spring Security Oauth2. It seems to be working fine and I can login with my LDAP credentials. Now, there is one requirement that I need to use the currently logged in user info to save details in database - specifically like when that user ...
2018/03/06
379
1,326
<issue_start>username_0: I'm in a environment where I can't test it, and I don't find information or any example on internet. Let's say I have a statement like this: ``` ActiveRecord::Base.connection.select_values("select a from table_b where id = 'x'") ``` (I know that it's not recommended and it's better to use o...
2018/03/06
2,224
7,947
<issue_start>username_0: I want to remove a certain environment created with conda. How can I achieve that? Let's say I have an active `testenv` environment. I tried, by following documentation, with: ``` $ conda env remove CondaEnvironmentError: cannot remove current environment. deactivate and run conda remove agai...
2018/03/06
664
2,281
<issue_start>username_0: I've been trying to remove duplicates using HAVING count(\*) > 1, group by, distinct and sub queries but can't get any of these to work.. ``` SELECT UserID, BuildingNo FROM Staff INNER JOIN TblBuildings ON Staff.StaffID = TblBuildingsStaffID GROUP BY TblStaff.User_Code, BuildingNo ``` ...
2018/03/06
1,163
3,673
<issue_start>username_0: I am trying to fill all the nans in a dataframe containing multiple columns and several rows. I am using this to train a multi variate ML-model so I want to fill the nans for each column with the median. Just to test the median function I did this: ``` training_df.loc[[0]] = np.nan # Sets firs...
2018/03/06
309
1,050
<issue_start>username_0: Developing with Laravel 5.4 I am trying the example from Laravel documentation: ``` $validator = Validator::make($request->all(), [ 'title' => [ 'required', 'max:255', function($attribute, $value, $fail) { if ($value === 'foo') { return $fail($attribute.' is inv...
2018/03/06
851
3,371
<issue_start>username_0: I want to create and AMP version of my website in ASP.NET MVC using .NET Core 2.0. Previously I had done some work with `DisplayModeProvider` instances in tha past on .Net framework, but that does not seem to be an option in .NET Core. What I want to be able to do is alter the view names to be...
2018/03/06
227
813
<issue_start>username_0: I have a URL `http://www.example.com/page?params=2`. How can i submit this parameter value with the submission of a form as an hidden type?<issue_comment>username_1: you can define hidden input control inside your form. ``` '> ``` Then you can get hidden params after you submit form. Upvotes...
2018/03/06
1,273
4,771
<issue_start>username_0: I have a custom model class like this - ``` public class MyModel implements Parcelable { String title; String message; /** * Creator method for the Parcel to use. */ public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { public MyModel create...
2018/03/06
1,098
4,093
<issue_start>username_0: How to stop OutLook Security Message : > > A program is trying to access e-mail addresses, Allow access for 1 Minutes > > > I want to stop this alert programatically and want to allow `vba` to access inbox of outlook,, since I dont have admin access for the outlook, I cant solve this man...
2018/03/06
336
884
<issue_start>username_0: How can I use grep to replace the 10th alphabet `H` in `HsdkjnsjsHlk$mH` with `Q` in R ``` s="HsdkjnsjsHlk$mH" ```<issue_comment>username_1: We can use either `gsub` ``` gsub("H", "Q", s) #[1] "QsdkjnsjsQlk$mQ" ``` or with `chartr` in `base R` ``` chartr("H", "Q", s) #[1] "QsdkjnsjsQlk$m...
2018/03/06
415
1,200
<issue_start>username_0: I have two df: `df_jan_2001` and `df_feb_2001`. I would like to do a full outer join by using this syntax: ``` new_df = pd.merge('df_jan2001', 'df_feb2001', how='outer', left_on= ['designation', 'name'], right_on=['designation', 'name']) ``` `designation` and `name` are both string variables...
2018/03/06
348
1,059
<issue_start>username_0: I have 5 tables which are all `likeable` by a `user`, and a `likes` table which records this. The problem is one of the 5 tables uses `uuid` and not integer for their primary key. So I can't have a typical `likeable_id` & `likeable_type` Is it possible to set up a polymorphic association tha...
2018/03/06
286
1,032
<issue_start>username_0: Few html elements loaded from server side and angular click() event also part of it. but event is not firing after rendering the elements. I understand that i need to notify the DOM. I can not do this. **component.ts** ``` mport { Component} from '@angular/core'; @Component({ selector: '...
2018/03/06
1,752
6,313
<issue_start>username_0: I am looking for **WebView** in flutter. How can I show my Html contents in flutter ? Actually our books format is Html so I need WebView or a way to parse Html in flutter programming.<issue_comment>username_1: You can use [> flutter\_webview\_plugin](https://pub.dartlang.org/packages/flutter...
2018/03/06
679
2,601
<issue_start>username_0: Here's what [docs](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html#//apple_ref/doc/uid/TP40008194-CH11-SW1) state: > > The priority of the notification. Specify one of the following values: > > > 10–Sen...
2018/03/06
368
1,214
<issue_start>username_0: I have a dataframe which has a column, ``` service-id ids-1-2-3-4-5 ids-1-2-6 ids-5 ids-7-8 ``` with many other columns. I want to split the data ids-1-2-3-4-5 into different columns 1,2,3...8 like one hot encoding ,having columns 1 2 3 4 5 6 7 8 also having 1 and rest 0 if not presen...
2018/03/06
1,878
6,021
<issue_start>username_0: I am trying to understand possible sources for `"stack smashing"` errors in GCC, but not Clang. Specifically, when I compile a piece of code with just debug symbols ``` set(CMAKE_CXX_FLAGS_DEBUG "-g") ``` and use the GCC C++ compiler (GNU 5.4.0), the application crashes with ``` *** stack...
2018/03/06
1,043
3,732
<issue_start>username_0: The setup is as following: Website using JS-SDK (currently the Sinch web sample) will call an iPad app (which might be running in the background). I have generated and uploaded a PKCS 12 development certificate to the Sinch Dashboard. I am able to manually send push notifications to the app wi...
2018/03/06
1,271
2,408
<issue_start>username_0: I'm new to this site and couldn't find a similar question, and not sure if this is even possible to query in SQL, but, what the heck, worth trying... I have a access control system which writes the entries log into my DB. Attached sample from my data table: ``` tpxID Rec_Creation_Date 29953...
2018/03/06
801
2,953
<issue_start>username_0: I'm trying to make a react component that has a background image which is provided as a url by JSON. This JSON has multiple objects inside, one of which (let's call it `imgObj`) has the url in it (`imgObj.url`). Now, I want to use that url for the background image, but fail miserably. Here's...
2018/03/06
699
2,863
<issue_start>username_0: In my audio recording application, I created a job service which will schedule a job of recording at scheduled frequency intervals. Once I schedule the job to record for every 5 minitues(example), after few recordings, when I force stop the application, I could see job service is still running ...
2018/03/06
848
3,280
<issue_start>username_0: We have different type of images, we store the image on disk in subfolders accordingly, and the metadata in database, including the fileTypeId. currently we have this: ``` public enum FileTypes { Document=1, ProfileProto ... } ``` and ``` switch (fileType) case 1: sub...
2018/03/06
848
3,419
<issue_start>username_0: I have two EditText-views using the same TextWatcher. I can input text to these manually, one by one. This triggers the TextWatcher for each individual input - and that's good. However, there is also a method which does will change the text in both of these EditText-views. I want this to trigge...
2018/03/06
480
1,780
<issue_start>username_0: I have recently upgraded to jenkins 2.89.4(jdk8). I am continuously getting below error on a redirected page whenever I go into the configuration tab of any jenkins job. ``` Bad Message 431 reason: Request Header Fields Too Large ``` There is not enough help available on jenkins pages. The ...
2018/03/06
1,307
4,355
<issue_start>username_0: Somebody know how to deal with this kind of XML annotation with Python, it's my first time I saw this. ``` <?link id="752760" resource-uuid="UUID-9f0575a3-1847-1cde-fd35-f18014fdecf3" resource-id="570935" resource-type="fork" type="ResourceLink"?> ``` I need to query this kind of 'element' t...
2018/03/06
2,264
6,897
<issue_start>username_0: I am trying to Setup SonarQube on Centos 6 VM with 6GB of RAM. The process always exits with 143. On analysis I found that the JVM is being sent a SIGTERM signal and thus exiting. There are no core dumps and dmesg is also quite unhelpful. I also tried fiddling with the Memory options to no av...
2018/03/06
563
1,906
<issue_start>username_0: I am creating textbox dynamically by getting data from MySQL. suppose I have 2 rows in DB table, ABC and XYZ then 2 textboxes were created successfully but now I want to take data and doing some operations on it. I am set ID to textboxes like TB1,TB2 but in inspect tools id are like ContentPlac...
2018/03/06
765
2,522
<issue_start>username_0: Just started using the FuturePress/epub.js. And use with vue.js ``` ‹ › ``` in `script.js` ``` var app = new Vue({ el: '#app', created: function () { this.$nextTick(function () { var Book = ePub("http://desq.xyz/epub-test/book.epub"); Book.renderT...
2018/03/06
398
1,259
<issue_start>username_0: During a simulation using a `for` loop, the system crashed. Each loop's results were saved and I want to pick up the simulation again at the point it crashed. I know the index `i,j` at which it crashed in a loop of the form: ``` for(i in 1:5){ for(j in 1:5){ ... } } ``` Let's suppose...
2018/03/06
283
942
<issue_start>username_0: I have a field in my database which has a datetime type column. I want that field to have today's date every time the view is loaded. Can I do this with AJAX and the `location.reload()` function?<issue_comment>username_1: You could try the following: ``` for (i in 2:5) { start <- ifelse(i ...
2018/03/06
569
2,192
<issue_start>username_0: I have an app and I want to examine the files and directories the app creates on my iPhone in Xcode 9. How can I do that?<issue_comment>username_1: Try this ``` NSString *documentsDirectory = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; N...
2018/03/06
771
2,701
<issue_start>username_0: I am having two objects say `firstObject` and `secondObject` . Now i have to sort `firstObject` in such a way thats its value matched by `secondObject` .Here are objects `firstObject` ``` 0:{id: 23, code: "SONGS", value: "Songs"} 1:{id: 24, code: "ATHELETE", value: "Athelete"} ...
2018/03/06
527
1,936
<issue_start>username_0: I'm trying to connect my Google Colaboratory Notebook to the Google Cloud SQL Instance I have, but I can't. My instance is only accessed with Cloud SQL Proxy, and I have no whitelisted any ip. What would be the steps to connect to it? I have also tried to download cloud\_proxy\_sql, but the pro...
2018/03/06
207
739
<issue_start>username_0: I already use this Yii::$app->controller->action->id to get my current action in controller, but can someone tell me on how to get the url instead?<issue_comment>username_1: [Referrer Detail](http://www.yiiframework.com/doc-2.0/yii-web-request.html#$referrer-detail) You could use `Yii::$app->r...
2018/03/06
1,002
3,476
<issue_start>username_0: So, I am trying to get my head around Associations in rails (I'm using 5.1.5). I have things working partially, but I am trying to get the `bank.title` which is for the associated bank account when I get back a list of payments. I can't seem to for the life of me work it out, how would I go a...
2018/03/06
1,136
4,461
<issue_start>username_0: I'm experiencing issues using `Jszip` for `DevExtreme`. My `DataGrid` is the following: ``` Html.DevExtreme().DataGrid() .ID("testgrid") .FilterRow(filter => { filter.ApplyFilter(GridApplyFilterMode.Auto);...
2018/03/06
848
3,263
<issue_start>username_0: I have made an app device owner using ADB, by following this link : [How to make my app a device owner?](https://stackoverflow.com/questions/21183328/how-to-make-my-app-a-device-owner) but now, I'm not able to revert this. In the device administration Tab, this option is disabled. Not able to...
2018/03/06
880
3,414
<issue_start>username_0: All I want to call receiver on install of APK and get Referrer of it, I have tried to do this, here is my code of receiver class: ``` public class InstallReferrerReceiver extends BroadcastReceiver { String TAG = "InstallReferrerReceiver"; @Override public void onReceive(Context context, Inten...
2018/03/06
928
3,551
<issue_start>username_0: I have a ASP.NET Core 2.0 application with built-in console logging enabled. Here is the WebHost creation: ``` var webHost = WebHost.CreateDefaultBuilder(args) .UseUrls("http://localhost:5002") .UseStartup() .UseApplicationInsights() .Build(); webHost.Run(); ``` Wh...
2018/03/06
513
1,853
<issue_start>username_0: I want to emit an event to the component that is the bootstrap of my application. This component is the handler of a websocket connection, I need to send a message and this is why I have to emit this event. In the bootstrap component I have only so I cannot realize how I can receive the event...
2018/03/06
761
3,079
<issue_start>username_0: I have written 2 methods to read the file ``` public static void parseCsvFile(String path) throws IOException { FileInputStream inputStream = null; Scanner sc = null; try { inputStream = new FileInputStream(path); sc = new Scanner(inputStream, "UTF-8"); wh...
2018/03/06
870
2,696
<issue_start>username_0: I have some html code like this ``` abc123 ``` I used Beautifulsoup,and here's my code : ``` html = 'abc123 ' soup1 = BeautifulSoup(html,"lxml") p = soup1.text ``` I get the result 'abc123' But I want to get the result '123' not 'abc123'<issue_comment>username_1: You can use the functi...
2018/03/06
1,926
5,741
<issue_start>username_0: I'm trying to integrate **Cyber Source** Payment gateway in php using **REST API**. And I found following reference link in [github](https://github.com/e-payment/cybersource-secure-acceptance/tree/master/php) After required changes finally I can able to login (Authenticate) to Cyber source bu...
2018/03/06
692
2,503
<issue_start>username_0: I am using the bebula.ospackage plugin with gradle to create a specific rpm. So the following is added ``` ospackage { packageName = "rpmA" packageGroup ="..." ... } ``` In this way i will have an rpm creation named rpmA. What i need is to create more than one rpm packages fo...
2018/03/06
351
1,305
<issue_start>username_0: It might sound a trivial question but I am newbie in Swift, I was wondering whether an internal class can have public methods and variables that I would like to use from that class. Let's say something like this( as example) ``` internal class myService: InheritService { public var x : Int32...