skid

1

votes
1

answer
126

views

VS code annoying pop up

I am using VS code to do my development. Can anyone help me to get rid of this annoying popup. I get the following popup. This info pop up get triggered every time when i open the VS code editor, Even if i click Don't show again i am getting this pop up again everytime when i reopen the VS code. Th...
skid
1

votes
2

answer
299

views

Docker OpenProject DB to MySQL

I try to set up an docker container depending on the openproject/community container from docker hub. I have already one openproject running on my machine, and I want to migrate my content from there to the docker container. The docker container is running without any problems, but I have figured ou...
SKiD
1

votes
0

answer
9

views

apache http redirect appending '/' automatically

I am trying to redirect all request to my website from http to https. It works fine but if a user key in http://example.com/ in the browser window manually it get redirected to https://example.com// why does an extra '/' is being added to the end of the URL. My apache config file looks like this...
skid
1

votes
1

answer
61

views

Trigger for auto-generated DataGrid column

I currently work on a WPF project which handels data within an auto-generated data grid. How can I set up a trigger, for changing the background color of a column depending on an empty textbox? My current usercontrol XAML creates a grid which keeps and data grid inside. For each DataGridColumnHeader...
SKiD
1

votes
1

answer
77

views

cannot find the datastore during the compiling in Angular2

When I try to run my page in Wakanda studio 1.1.3, I am getting an error during the compiling when converting the TS to JS. It shows me an error stating 'cannot find the datastore'; which is present in my wakanda database. Is anyone else getting the same error? here is the code: this.wakanda.catalog...
skid
1

votes
1

answer
1.2k

views

How do I change the color of md-tab-header?

Is there a way to change the color of md-tab's header to yellow? I tried the following code but it does not work: .mat-tab-label.mat-tab-ripple { background-color: red; } Does anyone has this issue? Thanks in advance!
skid
1

votes
2

answer
1.6k

views

Good style to avoid global variables in C++ [closed]

In much different projects, I got sooner or later some errors/warnings/problems while using global variables. Is there style a good program design to use global variables right in my projects or to avoid it completely I read much articles about this issue and all are telling the same: Replace global...
SKiD
0

votes
0

answer
4

views

Django Permission

Hi i am having trouble with Django User object. I have created a group named 'Admin' and this group have the following permission 'can_change_name','can_update_name'. A user 'falcon' belong to group 'Admin' i did this by performing the following query user.groups.add(Group.objects.get(name='Admin...
skid
1

votes
1

answer
309

views

value undefined in angular2

I am creating a application in which i am using the Ag-Grid api for listing my database content on the web page. Ag-grid have a predefined api to get the selected row content. Here i my code : export class customer_entryComponent{ public gridOptions:GridOptions; constructor(private wakanda: Wakanda...
skid
1

votes
1

answer
52

views

Error importing a existing project into wakanda studio

I tried to import a working project into my workspace in wakanda studio 1.1.3 it show me the following error web:src:app:home:home.component.ts doesn't exist It works in a windows machine if i open the same project but it doesn't works on my mac. I tried to reinstall the entire application again but...
skid
17

votes
2

answer
15.9k

views

Difference between OpenGL files glew.h and gl.h/glu.h

I've build an opengl program with my glu and gl header files default included in windows 7 professional edition. Now, I've bought a book that describes OpenGL game development. The author of this book said, I have to include the glew header into my project. After I've done this I got some unresolved...
SKiD
2

votes
2

answer
9.3k

views

How to send a file to a client so a Download dialog will open?

I have a file, say a PDF on my website and when a user visits a page I want to display a download dialog for the pdf on page load or a button click. I did a google search and I found two ways to do this but wondering what is the accepted way of doing this? I am currently doing this string pdfPath =...
skid
4

votes
1

answer
84

views

Python's regex module: repeating 'backreferences' does not appear to work correctly

Note: I am using the PyPi alternative regex module I have a python program in which I am looking for repeated labels in a specific format, separated by commas. The format is: (*words...* #*number*) For example: Trial #1, Trial #2, Run #3, and Spring trial #13 would all fit in the format. I am usin...
E.Skid
3

votes
3

answer
1.6k

views

Access Amazon s3 using http in angular2

I have a .json file in my Amazon s3 bucket when i try to access the file using http call in my Angular2 app i am getting an error Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://s3.us-east-2.amazonaws.com/....../list.json. (Reason: CORS header ...
skid
2

votes
2

answer
4.2k

views

cannot find OnInit in typescript during implementation

I am working on a sample project with a loginComponent, I need to implement OnInit in my class when i try to add the OnInit i am getting the following error [ts] cannot find OnInit Here is my code export class loginComponent implements OnInit{ ngOnInit():all{ } } How to solve this issue Thanks in...
skid
3

votes
1

answer
185

views

Unable To Create More Than 5 Mqueues

I'm having a problem with creating mqueues, namely my system appears to block me from creating more than 5 mqueues, even though /proc/sys/fs/mqueue/queues_max is set to 256. I'm running Ubuntu 13.04 server on an a Q7 module system with a Atom E680T, I'm also running a custom compiled kernel (3.8.0)...
Skid
2

votes
1

answer
176

views

Python selenium string to int

I've tried most of the examples on stackoverflow but I can't find a way. I have two questions, how do I make a string into a text.. posts = driver.find_elements_by_class_name('currency-chaos') numberOfItems = 1 for post in posts: numberOfItems = numberOfItems + 1 print(numberOfItems) print(post.text...
Skid
1

votes
2

answer
7.9k

views

SQL Insert multiple rows using stored procedure and xml parameter?

I've used a table valued parameter before, but I'm not sure how to use xml. I do not know the best way to format my xml but I think I would try this: BMW Red Then I would pass the xml (one or more car) to the stored procedure and it would insert one row for each car I pass (with the name going...
skid
7

votes
2

answer
34.4k

views

For a DataGridView, how do I get the values from each row?

I am wondering what is the best way to go iterate through all the rows in a datagridview and get the values from the cells. Here is what I am thinking of doing, but I don't really like it because if I rearrange the columns then the code will also have to be changed. for (int i = 0; i < dataGridView....
skid
4

votes
2

answer
7.9k

views

md-tabs Using code to goto a tab in angular 2 material design

I am using Angular2 to create an application i which i need to navigate between tabs using a button present inside the tabs. my html is as the following : Navigate to Two Navigate to Three So,when i click the navigate to three it should take me to the tab name three I am using the Angular2 material...
skid
1

votes
2

answer
102

views

why wakanda client send only 40 as response

Is their any way of increasing the wakanda client pageSize before performing the query to make itreturn us more than 40 value from the datastore. I tried some query and getting the response to be 40 everytime not more than that. The attribute of the returned object has a _count of 38654 value in it...
skid
1

votes
3

answer
2.6k

views

Dynamic function call for service in typescript

I am working on Angular2 project in which i need to generate dynamic function which will be able to call the service provided under the service class. The service class has some 10 get functions as the following. eg: my service class import { Injectable } from '@angular/core'; @Injectable() export c...
skid
2

votes
0

answer
83

views

How to get Javascript value into a Android activity

I am currently creating a application with the webview interface and i need to retrieve the var that is being stored in webview to the android activity Here is the sample var testing='hello'; I need to get the Hello string from the script into some String variable under the Android Activity Thanks...
skid
2

votes
1

answer
4.6k

views

new line while concatenation of string in Typescript

I am working on Angular2 in which i need to create a new line for my dynamically created string. eg. input: Hello how are you ? output: Hello how are you? Here is my code: .html Import Data {{selectedLogContent.message}} this is the typescript code: var splitString = selectedRows[0].description.sp...
skid
2

votes
2

answer
2.2k

views

Typescript cannot find name error

I am currently developing a application with the Angular2, i created a small private object which will have the firstName and the lastName when i try to transpile the file from typescript to javascript i am getting an error stating error TS2304: Cannot find name 'firstName' My code is export class...
skid
2

votes
2

answer
4.6k

views

Uncaught (in promise): Error: Cannot match any routes: ' '

I just started learning Angular2 and created a sample project in which i need to route between three pages. I created a RouterModule in the app.module.ts as the following @NgModule({ imports: [ BrowserModule, HttpModule, FormsModule, RouterModule.forRoot([ {path:'login',component : loginComponent},...
skid
2

votes
1

answer
216

views

Change the default port number in systemjs

I am using the Angular.io default quickstart template to build a project. When I give the command npm start it always show up the content of my project components in localhost:3000 Is their anyway to change the content to be visible on: localhost:8000 Thanks in advance.
skid
2

votes
0

answer
314

views

ionic status bar issue white - iOS

I am creating a mobile application with Ionic framework , When i test it with iOS device my status bar turn into white color after the application is fully loaded. I need to change the color from white to black. It works fine with Android Device. This is the issue I tried the following methods and n...
skid
2

votes
0

answer
803

views

How to open TTS settings with intent

I want to open the systems TextToSpeech settings page from within my app from within my preference activity. I am able to open sound setting page but cannot figure out how to open the TTS settings. I also tried these two answers how to show up the settings for text to speech in my app? How do I sho...
skid
2

votes
1

answer
55

views

What Happens If I Detach A Thread That Has Been Joined?

Question is fairly self explanatory, but here is the context, basically I have a server socket thread that spawns child threads when it receives new connections. These child threads accept data dumps from the remote connections, then clean up themselves and close when they are done. Currently I have...
Skid
1

votes
2

answer
197

views

Understanding iteratee-functions in Haskell

I'm trying to figure out what's iteratee I/O in Haskell. I checked the following Haskell-Wiki with some definitions. I don't understand the meaning of the second, third and the last two lines of that function: enumerator :: FilePath -> Iteratee (Maybe Char) o -> IO o enumerator file it = withFile fi...
SKiD
2

votes
1

answer
23

views

Django save function error - int() argument must be a string or a number, not 'Template'

I am building a Django Application. when I try to save my model class, I am getting the following error message int() argument must be a string or a number, not 'Template' My Model seems to be like this. class Template(models.Model): creation_time = models.DateTimeField(null=True,default=datetime.d...
skid
2

votes
1

answer
680

views

Importing a interface in Angular2

I created a interface and tried to access it from an another class but i am getting the following error stating 'format'only refer's to a type but it is being used as a value here my code looks like this format.ts export interface format{ firstName : String; } appcomponent.ts import {format} from '...
skid
2

votes
4

answer
6.1k

views

Error: Uncaught (in promise): Failed to load login.component.html

I tried to access a custom built html using templateUrl in Angular2. Here is my login.component.ts import {Component} from '@angular/core'; @Component({ selector: 'login' , templateUrl : './login.component.html' }) export class loginComponent{ } Here is my login.component.html Login My directory s...
skid