How to change the backcolor of a label to transparent when a form background image is used?
-
تاریخ: 1395/6/7 ساعت: 13:21
Vote count: 0 I have a form that uses a picture as its background image. I want to create a label and make the backcolor of it transparent. i tried to change the backcolor on d property backcolor to transparent. but that only changes the labels back colour to white asked 56 secs agoAsa Let's block a...
Create native android activity via command line only (makefile)
-
تاریخ: 1395/6/7 ساعت: 13:21
Vote count: 0 Creating a native activity in android: via vim & Makefile only no use of gradle, ant, maven, android.mk and all that other stuff I already created a (java-native) android apk via makefile that works well on my Samsung S7. When I try to run the app, it crashes. My gut feeling says I hav...
Running Buildozer from Bash on Ubuntu on Windows
-
تاریخ: 1395/6/7 ساعت: 8:17
Vote count: 0 I've made the decision to enter the world of mobile app development. I've gotten pretty familiar with Kivy in order to do this. I'm ru ing into wall after wall trying to deploy anything I make. First off, I am absolutely unable to create a working VM on my machine at home. I attempted ...
Using Opencv to perform PCA analysis in C++
-
تاریخ: 1395/6/7 ساعت: 8:17
Vote count: 0 I haven't found a working example of implementing PCA analysis using Opencv that suits my case, so I'm not sure what is wrong with my implementation, which follows: void PreProcessor::performPca() { const int type = CV_64F; cv::Mat pt_mat = cv::Mat::zeros(numPatients, numFeatures, type...
Wordpress PHP plugin code
-
تاریخ: 1395/6/7 ساعت: 8:17
Vote count: 0 Hi I need help with modifying the below PHP. Essentially I need to insert a separator in the output between $time & $Venue and tu the venue into a Hyperlink with a fixed URL. Ben if ( ! function_exists( 'TCG_eventbrite_event_meta' ) ) : function TCG_eventbrite_event_meta() { // Determi...
split up string with delimiter only using basic language(if,for,while etc)
-
تاریخ: 1395/6/7 ساعت: 3:11
Vote count: 0 i have the function: //this function takes two params, a string and then the delimiter where the string is to be split up function substringSplit(str, del){ var str; var del; for(var i=0;i<str.length;i++){ if(!str[i]==del){ var res = str[i]; console.log(res); } } and what i am trying t...
Websocket messages -
-
تاریخ: 1395/6/7 ساعت: 3:11
Vote count: -1 For a real-time multiplayer game, the server is sending binary messages to the client with Websocket. The first byte (uint8) of a message would be the "packet ID". Example: packet 1 to "update entity": x, y, score, name in the next bytes. But, to optimize the bandwidth, I would like t...
.toggleClass not working, no idea why
-
تاریخ: 1395/6/7 ساعت: 3:11
Vote count: 0 I am trying to get a div box to expand when clicked, and go back to normal size when clicked again. Seems simple enough, but I can not get it to work no matter what I try. I have no idea what could be going wrong as the part of the code where the error is most likely to be occurring is...
Javascript KeyDown to save textarea is delayed?
-
تاریخ: 1395/6/6 ساعت: 21:53
Vote count: 0 I created a javascript code to save the contents of a textarea whenever someone types inside of it, and it seemed to be working fine at first, but after looking, it seems to be delayed, or rather, behind by one keydown. <textarea id="call_desk_content" style="width:80%; height:350px;">...
How to handle API resource status in Redux?
-
تاریخ: 1395/6/6 ساعت: 21:53
Vote count: 0 In my app, I'm storing all my users in the state, like this: Store = { users: [] } I'm trying to figure out what would be the best approach for telling a component if this user is loaded in or not. Right now, my process goes like this: Action called to fetch user > Save empty placehold...
How to check development mode in OctoberCMS?
-
تاریخ: 1395/6/6 ساعت: 21:53
Vote count: 0 I've got a .env file with this content: APP_ENV=dev in the root of my project which shows that I am in the development mode and therefor my config files will be loaded from config/dev directory instead of config directory. Now I want to add live reload to my html page by including the ...
SOLID principle exceptions
-
تاریخ: 1395/6/6 ساعت: 20:52
Vote count: 0 I try to apply SOLID principles in my project's class design.Are there any exceptions of SOLID principles? Do we HAVE to apply these principle DEFINITILY.For example i prepared a factory class. class XAdderFactory { private Person _person; public bool PersonHasNoRecords { get { retu st...
Scrollspy not working on bootstrap 4
-
تاریخ: 1395/6/6 ساعت: 20:52
Vote count: 0 could anyone check the code here at http://codepen.io/Ago /pen/VjoPgY and tell me why isn't scrollspy working? I initiated it on body tag like this <body data-spy="scroll" data-target=".navbar"> and also my CSS body is on position:relative I made sure that my links on nav have hrefs si...
auto time inerval between starting time to end time
-
تاریخ: 1395/6/6 ساعت: 20:51
Vote count: 0 in cell A1 : 26-08-2016 05:00:00 AM In cell A2 : 26-08-2016 10:00:00 AM we required starting time to ending time with a fixed interval like 00:15 or 00:30 or 01:00 Suppose for 01:00 hr interval we required in another sheet A1: 05:00 A2: 06:00 A3: 07:00 A4: 08:00 A5: 09:00 A6: 10:00 Sup...
SQL server 2012 conditional update on table 1 from a temp table
-
تاریخ: 1395/6/6 ساعت: 19:38
Vote count: 0 I have 2 tables 1 [dbo].[t_Olympic_Country] where i have all the county list but population and GDP is empty. Now i have second table which has most of the countries with population and GDP data but its it has not same number of data. I would like to enter value of GDP and population f...
Ajax sending data from other php file contact form
-
تاریخ: 1395/6/6 ساعت: 19:38
Vote count: 0 I am new to AJAX, i came from a code in inte et about sending Ajax to php file. The problem is i dont know if the data is submitted or what happen. The alert box doesn't pop up if it was submited success: function () { alert('form was submitted'); } Here is the full form from html : <f...
What is your recommended way using Facebook api with Java?
-
تاریخ: 1395/6/6 ساعت: 19:38
Vote count: 0 I've seen couple of ways, some of them seems not relevant any more though. In which one do you use? asked 31 secs agoM.Ashbo Let's block ads! (Why?)
add Google analytics to jekyll blog
-
تاریخ: 1395/6/6 ساعت: 16:55
Vote count: 0 As far as I understand, jekyll new from 3.2.1 doesn't create _layout, _include and everything like that, so that it only states theme: minima and all includes and layouts are encapsulated in the theme as stated in another answer Jekyll default installation doesn't have _layouts directo...
How to access the array data in twig?
-
تاریخ: 1395/6/6 ساعت: 16:55
Vote count: 0 I created an application in Symfony 2.7 allows to retu a set of data in tables. So I tested the variable that I sent to my view twig: description data here Looking how to access such data "array 2 => 0 => ReponsesQues" in the template engine twig. thank you for helping me. asked 37 sec...
UICollectionView Flicker When Reloading
-
تاریخ: 1395/6/6 ساعت: 16:55
Vote count: 0 I have a problem with a UICollectionView that I think I have narrowed down to the following area. The problem is that when I call a reload on the UICollectionView there is a flicker and 1 image is loaded followed by the correct image second. Almost like when you scroll new cells and it...