date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/21 | 423 | 1,714 | <issue_start>username_0: I am new in node.js, i want to fetch the data from table of the postgresql using sequelize ORM in node.js. I am using below code but its not working.
```
const apisListModel = sequelize.define('apisList', {});
apisListModel.findAll().then((data)=>{
JSON.stringify(data,undefin... |
2018/03/21 | 559 | 2,336 | <issue_start>username_0: I'm having problems SSH'ing between ESXi guests that are on different hosts within the cluster. I've one guest that is on the routable cluster virtual network that I am using as a bastion server to access guests on a private network - the distributed port group spans all hosts.
I'm using SSH P... |
2018/03/21 | 455 | 1,626 | <issue_start>username_0: I used the following code to connect to a asp.net core signalR server. But I could not manage to have a connection. Is there something I am doing wrong?
I am getting this error,
>
> Error: The "promise" option must be a Promise
>
>
>
```
var hubUrl = "http://localhost:52273/logNotifi... |
2018/03/21 | 581 | 2,032 | <issue_start>username_0: I've tried to get the value of **selectOneMenu** of Primefaces but it gives an error of not found property. My method in *UserBean* class return an **UserDTO** object and login is not **case-sensitive** in **Entity** class but it still catches an error.
**UserBean** class;
```
public List get... |
2018/03/21 | 1,085 | 3,878 | <issue_start>username_0: I try to store the current time and date but get the following error:
>
> incompatible types: String cannot be converted to Date
>
>
>
This is the code:
```
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
LocalDateTime now = LocalDateTime.now();
time.setUpdat... |
2018/03/21 | 1,201 | 2,992 | <issue_start>username_0: I have a csv file from which I have to get rows which have more then 2 characters from a specific coloumn. My csv file look like this
```
"Name" "Age" "ID" "RefID"
"ABC" "12" "Abccc" "xyzw"
"AAA" "14" "A" "X"
"BBB" "18" "DEfff" "dfg"
"CCY" "10" "F" "XY"
"CCZ" "20" "R... |
2018/03/21 | 900 | 3,650 | <issue_start>username_0: I have written custom type with implicit cast operator
```
public class TcBool : TcDataTypeBase
{
public TcBool() : base(1, false) { } //For somewhat reason without this callin new TcBool() fails
public TcBool(bool value = false) : base(1, value) { }
public static implicit operato... |
2018/03/21 | 406 | 1,172 | <issue_start>username_0: I want to remove decimal point from the price.
My HTML:
```
₹399.00
```
How can I remove .00 ?<issue_comment>username_1: You can use below method to remove decimal value.
`Math.round();`
Hope this can help you.
Upvotes: 2 <issue_comment>username_2: You can use `substr` on the price value... |
2018/03/21 | 486 | 1,485 | <issue_start>username_0: Before the addition of the below code

After addition of the following lines of code
```
self.tableView.register(ContactListTableViewCell.self, forCellReuseIdentifier: "ContactCell")
self.tableView.rowHeight = UITabl... |
2018/03/21 | 510 | 1,655 | <issue_start>username_0: I'm having a problem ordering numbers that are saved as string in CRM,
Its working fine until 10, then it says that 9 > 10 I know a simple solution where I can append zeros to the strings into a fixed length.
Wondering if there is a way to order by a string by int in some way.
My code:
```
... |
2018/03/21 | 406 | 1,217 | <issue_start>username_0: For the following code used in jquery, how can i code them in a reactjs function ? Can anyone help?
```
$('.row_1').css('display','none');
```<issue_comment>username_1: You can use below method to remove decimal value.
`Math.round();`
Hope this can help you.
Upvotes: 2 <issue_comment>userna... |
2018/03/21 | 982 | 2,991 | <issue_start>username_0: How could I remove the vertical space between the objects while using `inline-book` ?
[jsfiddle](http://jsfiddle.net/e6raLLc5/35/)
I want keep different height for the cards, and make a fixed vertical space between them :
Update :
I want make the space of blue's circles exactly same gold's ... |
2018/03/21 | 963 | 2,947 | <issue_start>username_0: Can we use MERGE statement between 2 tables with different columns?
I need to update few columns in target table T1 from source table T2 based on one condition(where T2.Song\_code=T1.Song\_code).
But t1 has some columns which are not available in Source table. So did not exactly get how it cou... |
2018/03/21 | 603 | 2,267 | <issue_start>username_0: I have the following table:
```
CREATE TABLE [T_Manufacture](
[ManufactureID] [int] IDENTITY(-2147483648,1) NOT NULL,
[Manufacture] [varchar](25) NULL,
[ManufactureDescription] [varchar](50) NULL)
```
As we can see that the `ManufactureID` is identity column which is start from `-214748364... |
2018/03/21 | 1,679 | 6,747 | <issue_start>username_0: I want to show All pdf files present in internal as well as external storage, So on tapping that particular file, i want to open that file in full screen dialog.<issue_comment>username_1: So in order to do that you need to:
* Grant access to external storage in a directory where there are your... |
2018/03/21 | 330 | 1,358 | <issue_start>username_0: I have created maven project with selenium and TestNG. When I run the project using pom file it does not generate TestNG results (test-output folder). But when I run the project as testng.xml->(right click) run as -> TestNG suite, it generates the results<issue_comment>username_1: While working... |
2018/03/21 | 534 | 2,104 | <issue_start>username_0: I am trying to get results from two tables by filter. I want to get all the properties and if there is an agreement I also want to include the renters first and last name. Below is a simple model.
```
class Property(models.Model):
name = models.CharField(max_length=70, blank=True, verbose_... |
2018/03/21 | 2,424 | 7,393 | <issue_start>username_0: I have a below properties file and would like to parse it as mentioned below. Please help in doing this.
.ini file which I created :
```
[Machine1]
app=version1
[Machine2]
app=version1
app=version2
[Machine3]
app=version1
app=version3
```
I am looking for a solution in which ini file ... |
2018/03/21 | 2,417 | 7,382 | <issue_start>username_0: I have got a project for which I need to translate the urls from wikispaces format to the wordpress. What I am looking for is to replace
>
> .html
>
>
>
with
>
> /
>
>
>
where the text is in the following format
```
<a class="identifier-class" href="<some_variable_url>.html>........ |
2018/03/21 | 221 | 937 | <issue_start>username_0: Just came to my attention that there are now more regions supporting Cognito. Is it possible to move a user pool from one region to another?<issue_comment>username_1: AWS Cognito, does not replicate ( moving or sharing) the user pools across the regions at the moment, if your users / clients ar... |
2018/03/21 | 1,092 | 3,597 | <issue_start>username_0: I have EF model class and I've decided to extend that class with one `bool` property:
```
class A
{
public int Id { get; set; }
public string Value { get; set; }
}
class A_DTO : A
{
public bool BoolProp { get; set; }
}
class C
{
public int Id { get; set; }
public int A_I... |
2018/03/21 | 260 | 1,069 | <issue_start>username_0: It takes UTC + 0 for the application to work, but the exact minutes and seconds are needed.
Since access to the network is not permanent, The exact time can not always be determined. If the method is still like that, determine the exact time.<issue_comment>username_1: use **System.currentTimeM... |
2018/03/21 | 721 | 2,721 | <issue_start>username_0: In my use case i want to show side menu as well as tabs in my ionic 3 angular app. The use case is: showing tabs initially with side menu hidden (set as enable(false)). The first page shows a button to add to cart, doing this shows a cart in the header area and clicking the cart shows a login p... |
2018/03/21 | 984 | 2,711 | <issue_start>username_0: I need to get the float number inside brackets..
I tried this `'([0-9]*[.])?[0-9]+'` but it returns the first number like 6 in the first example.
Also I tried this
```
'/\((\d+)\)/'
```
but it returns 0.
Please note that I need the extracted number either int or float.
Can u plz help
... |
2018/03/21 | 431 | 1,319 | <issue_start>username_0: I want to set the `order id` on the very left and set the rest of the two to the very right of the div. The `total` and `view` elements should have equal space between them but should be to the right. `justify-content:space-between` sets equal space in between them and flex-grow or shrink is no... |
2018/03/21 | 523 | 1,920 | <issue_start>username_0: I'm having trouble figuring out how to customize console.log() so that it automatically prints out the label for each argument I pass into it. For example, I often do something like this, so that it's clear what each log is printing out:
`console.log('firstName: ', firstName);`
I would love t... |
2018/03/21 | 8,863 | 25,795 | <issue_start>username_0: I'm trying to configure Elasticsearch for Shopizer and get the below error.
I configured Elasticsearch as best I could. `elasticsearch.cluster.name=shopizer` so in elasticsearch.yml I set `cluster.name: shopizer`. I also renamed shopizer-core.properties to configs.properties.
That innitial er... |
2018/03/21 | 616 | 2,245 | <issue_start>username_0: I am new to `javascript` and `jquery`.
I have a **form** which has only one **text box** and **type is email** and I have a **submit button**. After clicking the submit button value in text box will not disappear and I don't want to(Not clearing form). Now my problem is **Button should disab... |
2018/03/21 | 781 | 2,869 | <issue_start>username_0: Basically I am trying to code a `onClickListener` for a button in MainActivity.java .
This Button is defined in a **resource file : main\_resource.xml** inside a `ListView` and not in **activity\_main.xml**.
I am getting the error :
>
> Trying to define a onClick Listener on null item.
>
>... |
2018/03/21 | 271 | 1,036 | <issue_start>username_0: I am using angular 4 and I want to reload all the tabs in the browser(google chrome).
I am using the following code but it only reload the current tab.
```html
location.reload();
```<issue_comment>username_1: try this
```
chrome.tabs.getAllInWindow(null, function(tabs) {
for(var i = 0; i < ta... |
2018/03/21 | 657 | 2,305 | <issue_start>username_0: ```
php
class Dashboard extends CI_Controller {
private $menu;
public function __construct() {
parent::__construct();
$this-load->model('menu_model');
$this->$menu = $this->menu_model->generateTree($items = array());
}
public function index() {
... |
2018/03/21 | 3,771 | 14,806 | <issue_start>username_0: I am working on a shopping cart in Angular 2.There are 2 components (category and products listing ) that included in app component(3rd one).Now problem is that I am unable to get communicate both child components.I have tried two solutions as below..
**Solution1:** I have used products compon... |
2018/03/21 | 1,055 | 4,144 | <issue_start>username_0: Coming from the knockoutJs background. If you don't specific the binding to an element. You can use the model to cover the whole page of elements. For example, i can make a div visible if a click event happened. I'm learning VueJs and from the documentation. I see the vue instance required you ... |
2018/03/21 | 193 | 611 | <issue_start>username_0: I want to let users select multiple layers of folders.
Once they select a version folder (Folder name similar as: 1.0.0) I will continue to do next steps.
How can I match the format like 1.0.0?<issue_comment>username_1: You can use regular expressions:
```
folderName="1.2.3";
matchPattern="^... |
2018/03/21 | 785 | 2,957 | <issue_start>username_0: I am using facebook SDK. I am getting the following error:
```
Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://
```
After studying I came to know that I have to set 'Enforce HTTPS' as NO under 'facebook log... |
2018/03/21 | 952 | 3,471 | <issue_start>username_0: I can't install Express through npm install express. Actually I get an error if it try to install the dev dependency called content-type. <https://www.npmjs.com/package/content-type>
I tried to install the content-type package, it doesn't work. Here is the error:
```
60 error path C:\Users\kv... |
2018/03/21 | 701 | 2,566 | <issue_start>username_0: I have a question about how to select all tag elements in HTML page with JavaScript and apply an Event listener to them.
With jQuery we can do like this
```
$('td').on('click', function(){...});
```
But how can I do it with pure JavaScript?
I have this code:
```
const el = document.getEl... |
2018/03/21 | 489 | 1,344 | <issue_start>username_0: I want to get the **name** value from the below RESTful response
```
{
"login": "mdo",
"id": 98681,
"url": "https://api.github.com/users/mdo",
"html_url": "https://github.com/mdo",
"type": "User",
"site_admin": true,
"name": "<NAME>",
"company": "GitHub",
"blog": "http://mdo.fm",
"location": "... |
2018/03/21 | 1,347 | 4,512 | <issue_start>username_0: I got this error when trying to get data from **API** using **retrofit**.
**Model**
```
public class Movie {
@SerializedName("id")
@Expose
private Integer id;
@SerializedName("title")
@Expose
private String title;
@SerializedName("image")
@Expose
private S... |
2018/03/21 | 685 | 2,376 | <issue_start>username_0: Is there a way to write a common code or a configuration which can remove trailing or leading spaces from any strings which
are input from form submission in web application so that we should not get NumberFormatException at java code level while parsing
those strings to Integer or number. For... |
2018/03/21 | 462 | 1,600 | <issue_start>username_0: I want to display the number of rows from database using Go. How do I display number of rows?
```
count, err := db.Query("SELECT COUNT(*) FROM main_table")
```<issue_comment>username_1: The query will return a row into the variable count. So the next you have to do is to read this row and ass... |
2018/03/21 | 1,387 | 5,215 | <issue_start>username_0: I have developed a shiny app, where we are using various box object in the ui. Currently the boxes expand/Collapse by clicking on the "+/-" sign on the right of the box header, but we need the expand/collapse on click on the header (anywhere on the box header).
Below code (sample code)
If you ... |
2018/03/21 | 416 | 1,459 | <issue_start>username_0: ```
var func1 = function() {}
console.log(func1.name); // func1
```
Is there any real-time usage of this property from the javascript developer's perspective?<issue_comment>username_1: You can use it for debugging purposes when you pass function as a parameter to another function, for instanc... |
2018/03/21 | 1,267 | 3,765 | <issue_start>username_0: I'm trying to write a quicksort function in JavaScript. My code is below:
```
function test_quicksort(){
var arr = [0, 9, 8, 7, 6, 5, 4, 3, 2, 1];
arr = quicksort_by_percent_filled(arr);
Logger.log(arr);
}
function quicksort_setup(arr){
var high = arr.size - 1;
arr = quicksort_by_pe... |
2018/03/21 | 919 | 2,866 | <issue_start>username_0: When I retrieve the history price of spot for "us-east-f1" or any region in "us-east-1", the result always less than 200 price, I need for single region and single instance type.
How can I retrieve a huge number of results?
EX:
```
ec2 = boto3.client('ec2')
t=datetime.datetime.now() - datetime... |
2018/03/21 | 618 | 2,154 | <issue_start>username_0: A commit in the C implementation of the Nokogumbo gem is causing the build to fail on Gentoo Linux, however, the modification is minor and shouldn't cause any trouble. Unfortunately, I know next to zilch about C.
Here's the commit:
<https://github.com/rubys/nokogumbo/commit/8b4446847dea5c6147... |
2018/03/21 | 596 | 1,921 | <issue_start>username_0: i have a page "deposits" here are plans are availble with the use of "foreach"
now i wnt to show only plan number 3 here. mean plan of id 3.
```
@foreach($plan as $p)
### **{{ $p->name }}**
**{{ $p->minimum }} {{ $basic->currency }} - {{ $p->maximum }} {{ $basic->currency }}**
* Commis... |
2018/03/21 | 339 | 1,344 | <issue_start>username_0: When I start writing a question on Stackoverflow without finishing, I can leave the page, and when I return the input still is keeping what I had entered. How can this be done? Is a database absolutely necessary?
I would like to do something similar for a small webapp. Its a question-app where... |
2018/03/21 | 8,982 | 26,539 | <issue_start>username_0: Within a java spring-boot service (using Gradle), which provides a REST API to get data from the h2 database, I'll face the problem that the database always gets corrupted after a period of time. Sadly I'm not able to reconstruct the process in which the database gets corrupted. It always happe... |
2018/03/21 | 1,342 | 5,650 | <issue_start>username_0: ```
class ChildSerializer(serializers.ModelSerializer):
class Meta:
model = Child
fields = '__all__'
class ParentSerializer(serializers.ModelSerializer):
"""
Serializer for task
"""
def validate_title(self, data):
if not data.get('title'):
... |
2018/03/21 | 1,355 | 5,588 | <issue_start>username_0: In my main component, I am fetching the api data and setting it to a state. Rather than an object, I'd prefer it to be in an array. Is there any way I can do this during the fetch and just make the object the first index(and only) index in an array?
```
fetch('https://api.aes/latest')
.then(... |
2018/03/21 | 493 | 1,563 | <issue_start>username_0: I am trying to add class `first` to the first div of a row and class `last` to the last div of a row. The number of divs in a row is user selectable and stored in a variable. the total number of divs is also user selectable and stored in a variable.
Here's what I have tried, but it adds the cl... |
2018/03/21 | 1,308 | 4,507 | <issue_start>username_0: I am trying to download files to disk from squeak.
My method worked fine for small text/html files,
but due to lack of buffering,
it was very slow for the large binary file
<https://mirror.racket-lang.org/installers/6.12/racket-6.12-x86_64-win32.exe>.
Also, after it finished, the file was much ... |
2018/03/21 | 939 | 3,442 | <issue_start>username_0: I made a script that reads an Excel document en checks if the first row contains "UPDATED". If so it writes the whole row to another Excel document with the same Tab name.
My Excel document is 23 sheets with 1000 lines on each sheet, and now it takes more than 15 minutes to complete this. Is t... |
2018/03/21 | 730 | 2,853 | <issue_start>username_0: I have spring boot application which used spring rest controller .
This is the controller , below is the response an getting. Am using postman tool for sending request to this controller. And am sending content type as application/json
```
@RequestMapping(value = "/test", method = Reque... |
2018/03/21 | 1,366 | 6,497 | <issue_start>username_0: I want to stop the second click on a `RadioButton`, when someone has already clicked on a `RadioButton` in a `RadioGroup`. If someone clicks 2 times, the user not able to change that selected click. I am trying to prevent that with a `boolean` but it doesn't work. Where am I wrong?
**This is ... |
2018/03/21 | 969 | 4,250 | <issue_start>username_0: Can anyone explain how it return "C" and not report error in "b = false"?
```
class A {
public static void main(String[] args) {
boolean b;
if (b = false) {System.out.print("A");
} else if (b) {System.out.print("B");
} else if (!b) {System.out.print("C");
... |
2018/03/21 | 1,243 | 5,005 | <issue_start>username_0: While writing a simple code using STL queue and `for` loop, I faced a problem. My procedure is simple: take a number as a string, convert them into queue elements and show them.
My code is below :
```
#include
#include
#include
//#include
using namespace std;
//int to\_words(int i);
//int t... |
2018/03/21 | 1,247 | 4,020 | <issue_start>username_0: I'm trying to understand how to update my Ionic Framework Version.
```
ionic info
Your system information:
Cordova CLI: 8.0.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 1.1.0
Ionic CLI Version: 1.7.16
Ionic App Lib Version: 0.7.3
OS:
Node Vers... |
2018/03/21 | 1,224 | 4,077 | <issue_start>username_0: I try to pass a JSON as String from my Spring Controller to the React Frontend.
***JSON:***
```
{
"name": ".",
"size": 0,
"children": [
{
"name": "setup.bat",
"size": 6,
"children": []
},
{
"name": "src",
"size": 0,
"children": [
{... |
2018/03/21 | 685 | 3,263 | <issue_start>username_0: in my app, I am connecting my app to BLE device. and I am fetching BLE data from BLE device at every 1 second. it working fine when I do this in the foreground.but I want to do same in the background even when the app will be in the background I need to fetch data continuously from BLE device. ... |
2018/03/21 | 653 | 2,168 | <issue_start>username_0: I have tried solutions in other questions but that is not solving my issue. I have made **strict** from **true** to **false**. Used modes
```
'modes' => [
'STRICT_TRANS_TABLES',
'NO_ZERO_IN_DATE',
'NO_ZERO_DATE',
'ERROR_FOR_DIVISION_BY_ZERO',
'NO_AUTO_CREATE_USER... |
2018/03/21 | 492 | 1,936 | <issue_start>username_0: In AWS Lambda, there is no need of provisioning done by us. But I was wondering how AWS Lambda might be provisioning machines to run for the requests. Is it creating a EC2 server for each request and execute the request and then kill the server? Or it keeps some EC2 servers always on to serve t... |
2018/03/21 | 484 | 1,840 | <issue_start>username_0: I have two localhost addresses. One has an ID field and the other has a definition field. I combined the ID numbers with the definition, but now I want to calculate the number of repetitions of each activity. I will draw a graph based on the number of repetitions of each activity. I think my co... |
2018/03/21 | 1,231 | 5,044 | <issue_start>username_0: Can someone please help me? How I can force user to enter the `numberDecimal` in `EditText` field in XX.XX format(Eg.56.75).
I used max length attribute to restrict max length to 5.<issue_comment>username_1: try this:
```
edittext.addTextChangedListener(new TextWatcher() {
@Override
p... |
2018/03/21 | 512 | 1,602 | <issue_start>username_0: In my html file I'm passing an array of objects with a date time to javascript like this
```
var TimerEvents = @Html.Raw(Json.Encode(Model.PendingTimerEvents));
```
my 'TimerEvents' has an EventTime property that when I read in Javascript looks like this
>
> "/Date(1521617700000)/"
>
> ... |
2018/03/21 | 565 | 1,835 | <issue_start>username_0: I am trying to use `QOpenGLWidget` without subclassing.
When I try to make OpenGL calls outside of `QOpenGLWidget`'s methods or signals, nothing seems to happen. For example, following code clears window black despite me setting `glClearColor`:
```
MainWindow::MainWindow(QWidget *parent)
... |
2018/03/21 | 247 | 935 | <issue_start>username_0: I am running codes that were running on php5 that support mysql\_connect and I have migrated to another server that has php7.0. I realized that php7.0 does no longer support mysql\_connect but it supports mysqli\_connect. I don't want to go back to edit the codes and I don't want to go back to ... |
2018/03/21 | 591 | 1,457 | <issue_start>username_0: I have zeros, ones, NAs and negative ones in my dataframe, but I would like to remove rows having all zeros. Apparently, I can not use rowSums because I have negative ones and positive ones in the data frame.
```
> dd <- data.frame(a=c(0,0,0,0),b=c(0,-1,NA,1),c=c(0,1,0,-1),d=c(0,NA,0,0), e=c(0... |
2018/03/21 | 1,054 | 2,717 | <issue_start>username_0: My Command output is something like `0x53 0x48 0x41 0x53 0x48 0x49`. Now i need to store this in a hex value and then convert it to ASCII as `SHASHI`.
What i tried-
1. I tried to store the values in hex as `int("0x31",16)` then decode this to ASCII using `decode("ascii")` but no luck.
2. `"0... |
2018/03/21 | 1,059 | 2,762 | <issue_start>username_0: I am using Truffle [MetaCoin](https://github.com/katopz/truffle-metacoin-example "MetaCoin") box in **truffle develop** mode. The front end tries to get the balance of an account but gets a huge number.
The front end code is the following:
```
var coinbase = web3.eth.coinbase;
var balance = w... |
2018/03/21 | 993 | 2,730 | <issue_start>username_0: When I add a claim to an identity in a controller on
```
HttpContext.User.Identities.First(
i => i.AuthenticationType == IdentityConstants.ApplicationScheme)
```
with
```
Addclaim(new Claim(type, value))
```
and try to retrieve that claim from the ActionExecutingContext in my custom... |
2018/03/21 | 377 | 1,291 | <issue_start>username_0: I want to get the list of all the labels available in the graph, but I am unaware of the schema. Is there any way to find out the list of all the labels?
I have tried the following:
```
g.V().Label().values()
g.V().hasLabel().values()
```
but they are not working.<issue_comment>username_1:... |
2018/03/21 | 681 | 2,203 | <issue_start>username_0: I want to parse a xml file during build time in `build.gradle` file and want to modify some values of xml, i follow this SO question and answer [Load, modify, and write an XML document in Groovy](https://stackoverflow.com/questions/2245641/load-modify-and-write-an-xml-document-in-groovy) but no... |
2018/03/21 | 988 | 3,454 | <issue_start>username_0: I've got a PWA set up using angular (5.2.9) service-worker. The following is my configuration:
```
{
"index": "/index.html",
"assetGroups": [{
"name": "app",
"installMode": "prefetch",
"updateMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
... |
2018/03/21 | 901 | 2,980 | <issue_start>username_0: I have an issue with white space appearing above div when inserted in between text. I have tried margin & padding things, but it hasn't worked out. I figure this must be a quite common issue, but I cannot seem to find an answer. Here's a [jsfiddle](http://jsfiddle.net/1hj4akqa/7/).
```css
div.... |
2018/03/21 | 565 | 1,766 | <issue_start>username_0: I need to change my navbar hover color to something else.
I managed to change navbar text color on my own, but I couldn't find the correct one to change in inspect element for hover color.
Then I looked it up on stackoverflow for previous asnwers but they didn't work for my code. Any input wou... |
2018/03/21 | 345 | 1,125 | <issue_start>username_0: My profile image that made rounded with `RoundedCorners` method in glid4 is very flatted and my profile it has not any shadow. How can i set shadow to my image profile ?glid4 hase any method for this or i have to create one?
[]... |
2018/03/21 | 387 | 1,237 | <issue_start>username_0: `val x: Int=> Int = { y => y }` // ① This is correct
`( x1: Int) => Int = { y => y}` // ② This is wrong
I understand a simple scala function like this :`x:Int => x`
or this :`val f =(x: Int) => x`
but how to explain the role of "x" in the sentence ①<issue_comment>username_1: Here:
```
val... |
2018/03/21 | 538 | 1,738 | <issue_start>username_0: I'm trying to implement the autoload feature using `psr-4` with composer but I get this error, even if I've already require it in the index. Please see the error and code below:
**Error**
>
> Fatal error: Class 'Blog\Classes\Database\Connection' not found in C:\wamp\www\blog-oop\index.php on... |
2018/03/21 | 551 | 2,137 | <issue_start>username_0: In Javascript I can do the following to get a value according to their respective order of appearance in the assignment..
```
var myString = source1 || source2 || source3 || source4 || source5;
```
If any of the sources has value, it will be assigned to myString. If all sources have value, i... |
2018/03/21 | 470 | 1,719 | <issue_start>username_0: I store card information in database e.g card-id `card_*****` and customer id `cus_****` on customer first payment for use it later on. user choose his card e.g in form of radio button `visa****4242` and charge takes with card id or customer id. now i am using stripe modal box for payment. ever... |
2018/03/21 | 529 | 1,936 | <issue_start>username_0: I read the **Node SDK tutorial** ( <https://fabric-sdk-node.github.io/tutorial-app-dev-env-setup.html> ) and their were these lines:
>
> user identities provisioned this way are only of the **MEMBER role**, which means it won't be able to perform certain operations reserved for the **ADMIN ro... |
2018/03/21 | 750 | 3,009 | <issue_start>username_0: I can run multiple Chrome browser sessions **without** `@BeforeSuite` annotation , but sometimes I need to assign some variables or do something in `@BeforeSuite` before going to `@BeforeClass` and `@BeforeTest` , and the same time I need to start multiple browsers session parallel. How can I d... |
2018/03/21 | 366 | 1,010 | <issue_start>username_0: I have problem with opcache. I'm running laravel 5.6 on IIS server with php 7.2 and when I enable opcache the app is crash.
>
> Fatal error: composerRequire1a7493bfe79afb8c03f982a7ea4d4348(): could not obtain parameters for parsing in Unknown on line 0
>
> PHP Fatal error: composerRequire... |
2018/03/21 | 1,632 | 4,267 | <issue_start>username_0: I want to fill an array with req.params, so i can edit my code easily right now the code is like this .
```
let test = [req.query.t0,req.query.t1,req.query.t2,req.query.t3,req.query.t4,req.query.t5,req.query.t6,req.query.t7,req.query.t8,req.query.t9,req.query.t10,req.query.t11]
```
Is there ... |
2018/03/21 | 540 | 1,913 | <issue_start>username_0: I am trying to invoke a Job in AWS Glue from my Lambda code written in Java.
But I am not able to get the Glue Client.
Like we have DynamoClient like this -
```
AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard().withRegion("us-east-1").build();
```
What would be the equivalent ... |
2018/03/21 | 1,101 | 3,705 | <issue_start>username_0: Is it possible if i have an enumerable
```
Input :[1,2,3,4]
Output :([1,3],[2,4])
```
to iterate once over it and start putting odd numbers in a sequence/list/whatever and even in another and at the end placing the two sequences in a tuple?
I have tried something like:
```
class Elem
{
in... |
2018/03/21 | 665 | 2,508 | <issue_start>username_0: When I try to Deploy my application with Capistrano, it gives error
>
> An error occurred while installing pg (1.0.0), and Bundler cannot
> continue.
>
>
> Make sure that `gem install pg -v '1.0.0'` succeeds before bundling.
>
>
>
I've already installed pg version 1.0.0 and its pre-re... |
2018/03/21 | 613 | 2,341 | <issue_start>username_0: Is it possible to change a Class (by ID) after clicking a link that jumps to that page?
I've page 01, and when I click a link in Page 01, I want it to jump to Page 02 and then change a Class in Page 02.
Is it possible?<issue_comment>username_1: When Capistrano runs bundler, it specifies a confi... |
2018/03/21 | 513 | 2,105 | <issue_start>username_0: Just setup a Dynamics 365 on-premises instance and had barely started customizing the Contact entity. After adding a new field and publishing I am unable to open the Editor for Contact entity form. I am also unable to access the Contacts view as it shows a message "An error has occurred". The e... |
2018/03/21 | 1,238 | 4,105 | <issue_start>username_0: I'm looking into binary serialization and deserialization via VBA.
For this, I would need to be able to create and fill arrays of an arbitrary number of dimensions dynamically. For example, let's say you want to do something like
```
Dim sample(0 To 3, 0 To 4, 0 To 2, 0 To 2) As Integer
sampl... |
2018/03/21 | 1,929 | 6,719 | <issue_start>username_0: I just create a dialog with a recycle view on it. Then how to get value from selected recycle view and set it into editext on the same acticity
[this is the dialog and the value from recycle view](https://i.stack.imgur.com/WvbN9.jpg)
[and this is the value will be set](https://i.stack.imgur.c... |
2018/03/21 | 1,548 | 6,425 | <issue_start>username_0: Hi I am failry new to iOS development and wanted to know if there is a equivalent of asynctask in iOS? I want my web service to finish and then I want to pass the contents of my web service to nextview controller
```
@IBAction func searchAction(_ sender: Any) {
let airportName: String = a... |
2018/03/21 | 1,139 | 3,985 | <issue_start>username_0: I am trying to write a loop which tests each cell in for the number 1, when one is present I want to store the value in the adjacent cell (column A) and transpose all of these in a separate sheet.
However, VBA is not one of my strong points and I'm struggling with getting the first part to wor... |
2018/03/21 | 1,193 | 4,270 | <issue_start>username_0: I'm new to Android and using Android Studio.
Here is the detail of what I'm trying to do:
There are 2 **devices**, 1 & 2, and there is a geofence.
Whenever **device1** enter or exit geofence, a notification will be sent to **device2**.
What I've already did was:
got the geofence set up. A noti... |
2018/03/21 | 619 | 2,117 | <issue_start>username_0: I am upgrading rails application fro **3.2.2** to rails **5.1.4**.
I am having issue with strong params with attr\_accessor.
**Console params output: Why i am getting permitted: false**
```
"✓", "authenticity\_token"=>"<KEY> "journal"=>"1", "subject"=>"sdf",
"body"=>"sdf", "recipients"=>[... |
2018/03/21 | 456 | 1,670 | <issue_start>username_0: I got the following JSON string in PHP:
```
{
"status":"200",
"message":"Saved picklist found",
"data":{
"_id":{
"$oid":"5aab871dbcdcab3ab0005cd3"
},
"username":"admin",
"list_count":"3",
"list":[
{
"id":"1",
... |
2018/03/21 | 2,111 | 6,025 | <issue_start>username_0: I have a website that uses external data from a variety of different website sources. This works pretty well but I am struggling with one specific source. The issue is that the data-string is not bound by a clear html tag `<>` which means that I somehow need to split the data manually. If have ... |
2018/03/21 | 591 | 2,028 | <issue_start>username_0: I playing with react-draft-wysiwyg editor. I progress quite well. But now I stuck how can I display the output of the editor.
For example, let suppose body is the output of the wysiwyg editor:
```
function ShowHtml(props) {
let body = 'Sample text with **bold** and *italic*
'
return (
... |