امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبVote count: 0 I have following code to show a loading panel after e.g. clicking a button and making an Ajax call: $(document).on("click", function (e) { window.LoadingPanel.Show(); }); After the Ajax call following code makes sure the loading panel disappears again: $(document).ajaxComplete(function() { if (window.LoadingPanel != null) { window.LoadingPanel.Hide(); } }); But in some cases I redirect to another page depending on the result of the Ajax call by setting the window.location.href. In ...
ادامه مطلبVote count: 0 Requirement : If user is inactive then show a popup after 5 minutes. and if selected continue session the timer will reset for this and again check for the same. If user haven't click any continue button then the page will refresh. asked 34 secs agoAnuj Sachan Let's block ads!...
ادامه مطلبVote count: 0 Good Moing Together, I´m dveloping a Quality Management software to show Errors of a Provisioning tool. therfore I read all errors from an XML and group them but there are errors like: "Forcedtime 1.08.2016 17:51:00 is in the past" is it possible to find Date-Values like this in a string and delete them ? I cant work witch a hardcoded replace cause there are many different values for the Date Time... Thanks for helping me asked 33 secs agoJonas Bon Let's block ads!...
ادامه مطلبVote count: 0 I have table with 4 columns. Each row has set of 3 identical values and one different value. I want to highlight the one which has the different value than the rest of the three. How do I do it in react js ? asked 1 min agouser17422 Let's block ads!...
ادامه مطلبVote count: 0 How would You check if string contains exactly 2 spaces in PHP ? f.e. 'John Wayne Washington' -> TRUE (2 spaces in string) 'John Wayne' -> FALSE (1 space) Any regex patte with explanation ? asked 32 secs agouser6599899 This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.Recommended article from FiveFilters.org: Most Labour MPs in the UK Are ...
ادامه مطلبVote count: 0 I'm doing a website project for college and I want to display three pictures on website. There are 10 pictures stored in my folder (all named "slika 1 to 10" and the script has three variables, all of them randomly generate a number between 1 and 10 and then shows a picture "slika"+randomNumber. How can I check if all three variables are different so that those three pictures are always different whenever I refresh the website. JS code: window.onload=odaberiSliku; var broj1=Math.fl...
ادامه مطلبVote count: 0 how to check if ComputerHKEY_CURRENT_USERSoftwareClassestg exists or not by Javascript (Supported by All Browsers). asked 1 min agoBottledTurtles Let's block ads!...
ادامه مطلبVote count: -1 Let's say I have a string, could be '2016-01-01' or with a time '2016-01-01 10:23:56', how can I identify if I'm receiving a date or a datetime ? asked 8 mins agocarlosm Let's block ads!...
ادامه مطلبVote count: -1 I have a file with information about sequences. Every sequence has some lines. The sequences are separated by five white lines. I want to change the file into a list, and split it by 5 newlines. So that I have a list, with every sequence as one element. Then I want to remove the sequences that not contain the regular expression. At the end, I want a list, with only the sequences that contain the regex. Now I have this. Can anyone help me further? import re def main(): ReadFile() f...
ادامه مطلبVote count: 0 My PDF will only support two lines (I predefined the dimensions of the input box on the PDF). Is there a way to check if user input on the front end will only make up to two lines on the PDF side? I tried to see if I could find character width lengths and then adding up the lengths of the characters the user enters, but that didn't go anywhere. asked 3 mins agoimonlyacontractor Let's block ads!...
ادامه مطلبVote count: 0 For the life of me I don't understand why this doesn't work. It looks similar if not identical to many solutions i've seen. Clearly there is something i'm missing. If anyone would care to explain id appreciate it. var isEven = function(number) { if (isEven % 2 === 0) { retu true; } else { retu false; } }; asked 1 min agoDane Christian This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fi...
ادامه مطلبVote count: 0 If a number is 2017 and I divide it by 4, I get 504.25. if the number is 2016 an I divide it by 4, I get 504. My question is, is there a way to use perl to check if a number that was divided, if the answer is a whole number and has NO decimal at all? Thanks, -Rich asked 2 mins agoRichard Jones This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publish...
ادامه مطلبVote count: 0 There not much to explain here, I need to check if a String is a number or not, I tried this recommended method, but sometimes fails: try { Double.parseDouble((String) data.getData().get(i).get(j)); // CODE IF IT IS A NUMBER HERE } catch (NumberFormatException e) { // CODE IF IT IS NOT A NUMBER HERE e.printStackTrace(); } The string that makes it fail is C:Usersxx11DesktopExcelExcel.opc. I think it has to do with 11D part, but I am not sure and I can´t prove it. Does anyone with mo...
ادامه مطلبVote count: 0 I have a string that looks like this: char * string = "This is ar stringTTTT"; Where I want to check a string (like the one above for the r and characters, however, simply using strcmp doesn't work. For instance: if(strcmp(string,"") == 0 ) { if(strcmp(string,"n) == 0) { printf("The string contains both a newline, and "" characters"); } } memcmp and stcmp don't seem to work either: if(memcmp(string,"",2) == 0) { if(memcmp(string,"n",1) == 0) { printf("The string contains both a new...
ادامه مطلبVote count: -2 I have a int for example: 151515 1 1111111 4848484 111 888 I need to test/check if the number contains only 1s, valid examples:111111111111111111 Invalid examples:88888888888888555547477889Any suggestion?Probably any regex? or there is a fast solution without regex and keep the value as an int without parsing it to String. asked 1 min agoMiguel Reyes 1 Answer Vote count: 0 Convert int to string first. Then try this regex: "^[1]*$" answered 13 secs agoThisaru Guruge This entry pass...
ادامه مطلب