Posts

Showing posts from August, 2010

Send innerHTML text in URL in JSP -

To send innerhtml text of a tag to the URL on the onclick event handler on the JSP page and how to value it in another JSP page get receive? Here is my code & lt; A href = "DocumentViewer.jsp" & gt; Hello & lt; / A & gt; I want to send hello to url. help? You should assume the URL onclick event and use it JSP page In request.getParameter () example code below & lt; A href = "DocumentViewer.jsp? Proces = something" & gt; Hello & lt; / A & gt; And get it in JSP in this way. string supporters = request.getParameter ("proces");

php - Extract records for 1 Week Time interval and Them start the next timer when the new week starts -

I'm using the query given below 1 week time interval. To remove the record for mysql_query ("t1.username", SUM (t2.points), select total actcontest t2 to t1.userid = t2.userid user t1, where Between (CURDATE (t2.date - INTERVAL 1 week) and CURDATE () GROUP TOTAL DESC LIMIT 20 "by t1.username ORDER BY;); I have been using different queries for this award bonus to top 3 users who have received the record. This works fine. Problem: Once the bonus has been awarded last week, the top 3 members will start starting dates from the new week, where the last week ended, :. We started the timer on the date: [dd / mm / yay] week 1 = {01-01-2010 to 07/01/2010} Week 2 = {07-01-2010 to 14/01 / 2010} Week 3 = {14 -01-2010 to 21/01/2010} Week 4 = {21-01-2010 to 28/01/2010} Do you Please help me in making this argument my script is using php and mysql. What do I want to do? I have given a bonus to a winner in the week. I want to start bringing the members to th...

udp - The relationship between MTU and size of skb in xmit function -

I encounter a problem when I develop a network card driver in Linux. As we all know that the MTU fragment refers to the maximum size of the IP packet. And the squad will be sent to the exclamation function, which will include 14bytes including DST MAC Adrer, SRC MACEdre and LNG. But it is very strange that when I use different values ​​for MTU, the pair size is different, sometimes it is 10bytes, sometimes it is 14bytes, it is based on the size of the MTU For example, I use 7828 as the size of the UDP payload, when MTU is 7700, the size of the scab in the XMT function is 7714, while when MTU is 7800, the size of the scalable is 7810. Can anyone explain this? I think there are some aligned boundaries for the IP packet, but I did not find it. I searched the answers from the Internet, and I found that there is a line limit for the payload field. The frame payload field must be aligned to 8 bytes. So if MTU is 7700, then the correct size of the IP frame should be 7680 + 20 = 7700 ...

Search and replace html tags in sed recursively -

I am trying to write a script to search and delete HTML and HTML tags from all files. The starting point is given in the form of input in order to run the script. As a result, the file should be saved in the new file in the same place that ends with _changed. E.g., Start.html> start.html_changed I have written so far the script. It works fine, but prints out on the output terminal, and I want to save it in the file, respectively. #! / Bin / bash sudo $ 1 -name '* .html' type f -print0 | Xargs-0 sed -n '/ & lt; Div /, / & lt; \ / Div & gt; / P 'sudo $ 1 -name' * .htm '-type f -print0 | Any help is appreciated. The following script: works just fine, but it is not recursive how can I make it recursive? #! / Bin / bash for L in /$1/*.html sed -n '/ & lt; Div /, / & lt; \ / Div & gt; / P '$ l & gt; "$ {L} _nobody" / $ 1 / * HTML is used for M-sed -n '/ & lt; Div /, / & lt; \ / Div & gt...

c++ - #pragma omp barrier inserted by preprocessor? -

मेरे पास ओएमपी #pragma omp महत्वपूर्ण के साथ कोड है, लेकिन कोई #pragma omp बाधा । फिर भी, विजुअल स्टूडियो 2008 में डिबग बिल्ड में मेरे प्रोग्राम में क्रैश हो गया घातक उपयोगकर्ता त्रुटि 1002: '#pragma omp बाधा' अनुचित तरीके से '#pragma omp गंभीर' में नेस्टेड क्या यह संभव है कि ऐसा कोई #pragma omp बाधा स्वचालित रूप से डाला जाता है, हो सकता है कि एक प्रयास / पकड़ ब्लॉक में या तो? क्या अधिक निदान संबंधी जानकारी प्राप्त करने का कोई तरीका है, उदा। जहां वास्तव में समस्या मौजूद है? संपादित करें: यह कोड की संरचना है मैं अपवादों को पकड़ने और याद रखने के लिए और साझा किए गए चर तक पहुंचने के लिए omp महत्वपूर्ण का उपयोग कर रहा हूं यह सभी एक-लाइन ब्लॉक है। std :: vector & lt; RunResult & gt; runResults; मूल्यांकनकर्ता मूल्यांकनकर्ता; std :: वेक्टर & LT; std :: runtime_error & gt; exceptionsDuringParallelExecution; कुछ प्रकार के कुछ वैरिएबल; // निजी डेवलपर के रूप में बाद में #pragma omp समानांतर {#pragma omp के लिए निजी (कुछ वैरिएबल) के लिए (इंट मो...

javascript - Improving code quality/organization of event-heavy riot applications -

I am creating an application using riot.js and jquery. Everything works as expected, but as the code grows, my concern is that nothing in the code is triggering and managing events in the random / unexpected places (.trigger / .on) To keep my code organized and quickly understandable My questions are: (1) I would like to keep a clean and well-organized code for such an application (event namespace one thing My mind ) And (2) I want to keep events on the model different from the event on DOM clearly in the presentation. I riot these targets. How can I get in the application based thanks you can see one Are there. - Another popular FRP library - insteresting less popular but FRP library

Is there any potential performance issue if I make many storeviews in Magento -

I run an MLM business (www.mysitename.com) which reaches 1000 amateur business owners. My site is based on Magento. I intend to give each of them a customized store view (such as partnername.mysitename.com), so that they can promote again. The view of the store is basically a replica of my original store scene, which has small UI tweaks. All store views are mapped to the same root category (again similar to my main store view). Does anyone see any negativity to it? If I make 1000 such store views, then my main concern is potential performance problems. I hope if Magentoga can run thousands of sites with different catalogs, then this magician is able to deliver it for me. (Especially since this list is similar in my case). But what I do not want to do is avoid all this and it is launched, only to understand that 1 20 sites work great, but when the number reaches hundreds, the performance is complete Decreased in kind Any suggestions / suggestions about best practices will be...

c# - Get net bios name with DirectoryEntry -

मुझे DirectoryEntry (कड़ाई से) सी #: का उपयोग कर निम्नलिखित आइटम्स को पुनर्प्राप्त करने की आवश्यकता है I सभी डोमेन जो कि उपयोगकर्ता / समूह सदस्य हैं सभी डोमेन समूह / उपयोगकर्ता जो किसी समूह का सदस्य है इससे पहले ये वन वर्गीय / समूह प्रिंसिपल / यूजर प्रिंसिपल का उपयोग किया जाता था लेकिन ये पूरी तरह से एसएसएल का समर्थन नहीं करते हैं। कोई भी मदद महान होगा। धन्यवाद! के

Removing conflicted javascript from page by jquery -

I have a problem with my 2 scripts on my web page () I have ModernIsre Custom is I And then I have a mail sender with a freelancer bootstrap template They work just fine, but when I have both I can only resize it Here's my picture. When I try to send mail, nothing is happening (no dialogue) I do not understand what is wrong in this scripts, who make this kind of struggle So, I try to remove this modern IR. Custom.js When I click the send button P> I try to use jquery: $ ("lift src =" js / modernizr.custom.js "& gt; & lt; / Script & gt; "). Remove (); But I can not do it to delete the script after the click button, then after viewing the user, click it again again or click succes mail dialog.

javascript - AngularJS if statement with ng-repeat -

I have trouble using it as well as a repeat statement. The data is as follows: Module: array [1] 0: Object embeds: "iframe width =" 600 "height =" 338 "src = "Https://www.youtube.com/add/UqdDAn4_iY0" frameborder = "0" permissible = "" style = "margin: 0 px auto; Display: Block; "& Gt; & lt; / iframe & gt; Type: "Embed" 1: Object Source: "https://m1.behance.net/rendition/modules/127899607/disp/072cebf2137c78359d66922ef9b96adb.jpg" Type: "Image" Therefore, if there is an image of the module, then I have to get the image. If there is a type embed in it, then I want to get the iframe. My current view code is: & lt; Div ng-repeat = "project.modules in project" ng-if = "project.type == 'image'" & gt; & Lt; Img src = "{{project.src}}" class = "IMG-responsive IMG-centric" alt = "{{project.name}}" /> ...

html - How to fadeOut one div and fadeIn another div with jquery timing? -

Thank you, I can get fade out of the div after 3 seconds. But after 3 seconds I can not make a second feed in the feed-in-the division is already on the zero-screen. Code is: $ (document) .ready (function () {$ ('# blue'). Delay (3000). FadenOut (100); $ ('# red'). Delay (3000). FadeIn (100);}); Demo: The idea is that div 1 (blue) is dissolved and div 2 (red) appears. Please note: I need to hide Div 2 from how div 2 is "Always there" to show it is offset DivA because in test, div 2 appears before div 1 It covers. You should #dialize the styles in display: none; Add so that you initially hide when opening the page. $ (document) .ready (function) ($ ('# blue'). Delay (3000) .Fedaut (100); $ ('# red'). Delay (3000) .Fedine (100);}); html, body {background-color: yellow} #red {width: 300px; Height: 300px; Status: Completed; Top: 5px; Left: 5px; Z-index: 100; Background color: #F00; display none; } #Blue {width: 300px;...

Twisted SMTP server, adding SSL support, 2 factories? -

Recently it has been said that I was barking the wrong tree - so now it's fresh, modified question . So I am trying to expand the original SMTP server sample found to support SSL connections. I can create an SSL Pract Factory: (Code taken from my previous attempts: caCertFile = open ("/ opt / tesa / etc / certs / ca / ​​cacert.pem" , "R") CertFile = open ("/ opt / tesa / etc / certs / server / server.crt", "r") keyFile = open ("/ opt / tesa / etc / certs / server / server.key" , "r") CaCertData = caCertFile.read () pKeyData = keyFile.read () certData = certFile.read () caCert = ssl.Certificate.loadPEM (caCertData) certificate = load_certificate (FILETYPE_PEM, certData) pKey = load_privatekey (FILETYPE_PEM, pKeyData) sslCtxFactory = ssl.CertificateOptions (privateKey = pKey, certificate = certificate, trustRoot = caCert) now I SMTP Factory emailserver.tac, and above my Minister of sslCtxFactory. In my old code, ...

c# - Biztalk custom pipeline components: XmlSchemaException -

मेरे पास निम्न घटकों के साथ कस्टम भेजें पाइपलाइन है: पूर्व-इकट्ठा: कोई घटक इकट्ठा एक्सएमएल कोडल एन्कोड कस्टम घटक 2 इस घटक के साथ, मैं हमेशा "कस्टम में एक XmlSchemaException प्राप्त करें घटक 2 " "अपवाद संदेश है" तत्व में सफेद स्थान नहीं हो सकता है सामग्री मॉडल रिक्त है " निष्पादित (IPipelineContext pContext, IBaseMessage pInMsg) {ReadOnlySeekableStream धारा = नए ReadOnlySeekableStream (pInMsg.BodyPart.GetOriginalDataStream ()); XDocument डॉक; // अगली पंक्ति अपवाद।: का उपयोग करते हुए (XmlReader पाठक = XmlReader.Create (धारा)) {reader.MoveToContent ();}} क्योंकि जब मैं उदाहरण "कस्टम घटक 1" के लिए हटाने यह अजीब है या "एक्सएमएल सत्यापनकर्ता ", यह ठीक काम करता है। मेरे पास सभी 3 घटक मौजूद होने पर मुझे अपवाद मिलता है। किसी भी विचार से मुझे यह सब घटकों के साथ काम करने की जांच करनी पड़ सकती है? धन्यवाद और सबसे अच्छा संबंध है माइकल अधिकतर आपके घटक 1 को कुछ अमान्य मूल्य के साथ एक एक्सएमएलईलेमेंट नोड जोड़ना जटिल प्...

mvvm light - SimpleIoc (mvvmlight) - how to automatically register all classes implementing a particular interface -

Using SimpleIoc I want to automatically register all the classes that apply to a particular interface. I was unable to see a method on the container of SIMIioc automatically, so I put some code together again through the types of registrations. Unfortunately, the code is not happy (see the commented row). var types = AppDomain.CurrentDomain.GetAssemblies (). Selection Exists (s = & gt; s.GetTypes ()). Where (IFoo) .IsAssignableFrom); Voroch (type =. (X => x.IsClass)) {container. Registry & lt; IFoo, type & gt; (); // This line will not be compiled Type can not be sorted by the compiler as type I know that there are less elegant ways to enter classes (like only hard Coding "Container. Registrar" to register each class in the interface), but I want to add new implementations without keeping the IoC installer code up to date. It would also be useful, at some point, using the same method for me, able to register classes in other sects. Any ideas that I ...

jquery - Hover to change background image instead of background color -

Can anyone guide me with this piece of code, currently when I mouse over a link, then this Background color changes on another device. Instead of changing the background color, I want to change to another background image. & lt; Html & gt; & Lt; Top & gt; & Lt; Title & gt; Sample & lt; / Title & gt; & Lt; Script src = "http://code.jquery.com/jquery-1.9.1.js" & gt; & Lt; / Script & gt; & Lt; Style & gt; Body {background: # ccc; Infection: 0.5s; } & Lt; / Style & gt; & Lt; Script type = "text / javascript" & gt; $ (Document) .ready (function () {$ ("# div-1"). Hover (function () {$ ('# top_section'). CSS ("background", "# ff9900");}, function ($ ('# Top_section'). CSS ("background", "#ccc");}); $ ("# div-2"). Hover (function () {$ ('# top_section'). CSS ( Css ("background", "#ccc");}); $ ...

Php Magento - How to redirect user to a custom store after login -

After checking the customer group type, I want to redirect a user after signing in. Now in the login.phtml file, where should I change? Where should I apply my condition to check customer type in code? help please. After successful sign in login.phtml file is not executed, You must override this controller class Mage_Customer_AccountController Refer to this link if you do not know how to override the controller Then type your code in your new AccountController class like this public function _loginPostRedirect () {$ session = $ this- & gt; _getSession (); Dana :: log ($ session-> getCustomerGroupId ()); } Once logged in with the foreground and check your log /var/log/system.log that you will get the customer group id

python - How to integrate celery with Django, when settings needs to be injected in? -

I am working on a new project where every developer has his own settings file. Run Django I have such load it: python manage.py runserver --settings = "databank_web.settings.dqs.dev_houman" I now have to integrate celery 3.1 in the project and this approach is causing me a lot of headache. I followed the steps to integrate the celery in all Django described as I can run Django as usual, but now I do this DJANGO_SETTINGS_MODULE = 'databank_web.settings.dqs.dev_houman' celery -a databank_web worker as described -l information to run celery with your custom Django environment It seems to be one step ahead, but I get this error message: file "/ uso The actors / houman / Git / venv / lib / to Python2 .7 / site-packages / django / contrib / admin / sites.py ", line 3, & lt; Module & gt; Django.contrib.admin Import From ModelAdmin, ImportError Functions: Can not Import Name Action I did some research and arranged to abbreviate it...

mysql - multiple foreign keys to same table -

There are several fields in my table whose values ​​were: No, yes, yes ( Front), yes (back), yes (above), yes (front and back), .... So yes, it also has a situation I have two options, first of all: each column Add another location field to the second, to create another table to store these values ​​and references to that table. And I choose another implementation. But to retrieve the data, I will have to be included in the same table several times (7 times) and I have to do about 15 other (like brand name ). If my parents have only ten thousand records in the table and there are 10 or 11 records for just getting the data in the reference table, then which method is a better form performance perspective? 1- Create a function in my application and get the value from it Enter the reference ID 2- Use of joining and renaming the reference table in each join If you experience the same problem then I will be appropriated to share it with me. Thank you in advance.

array merge php with same index -

मेरे पास यह स्थिति है: $ qty = array (1) {[0] = & gt; सरणी (1) {["qty"] = & gt; स्ट्रिंग (5) "35254"} $ मूल्य = सरणी (1) {[0] = & gt; सरणी (1) {["मूल्य"] = & gt; स्ट्रिंग (5) "1000"} मैं यह कैसे प्राप्त कर सकता हूं? $ res = array (1) {[0] = & gt; सरणी (1) {["qty"] = & gt; स्ट्रिंग (5) "35254" ["मूल्य"] = & gt; उत्तर के लिए धन्यवाद हो सकता है कि आप चाहते हैं: $ res = array (); विदेशी मुद्रा ($ q = $ के रूप में $ x = $ v) {$ res [$ k] = array_merge ($ qty [$ k], $ मूल्य [$ k]); } परिणाम: सरणी (1) {[0] = & gt; सरणी (2) {'qty' = & gt; स्ट्रिंग (5) "35254" 'price' = & gt; स्ट्रिंग (4) "1000"}}

Python using function with if -

I'm trying to do the following: myChain = myChain (a, B) if a & amp; Is there any way to do this like this? Or should I stay as usual: if a & amp; B: myChain = myChain (a, b) Thanks! If you want to block your second code in one line, you can delete the new line : If A & B: myChain = myChain (a, b) If you absolutely do not want to use the if statement, you can use conditional expressions like As you did in your first code block, but this is an unusual way of doing this. myChain = My China (A, B) if A & B other myChain

jquery - Carrierwave not saving file on db -

I am trying to upload avatar to my project model, but without success This is my idea: .inbox-body.light-panel% span.blue-light-title Look for your projects and feel #audit_trail_container = form_tag Set_project_logo_project_path (project) ,: method = & gt; Post: Form-control-group .separator-div .fileuploadadvanced.fileuploadadvanced-new {"data-provides" = & gt; "Fileuploadadvanced"}% span.btn.btn-white.btn-file% span.fileuploadadvanced-new% i.fa.fa- Select the paper-clip file% span.fileuploadadvanced- present% i.fa.fa-undo Change = File_field_tag: Avatar, class = & gt; "Upload"% span.fileuploadadvanced- preview% a.close.fileuploadadvanced- exists {"Data-Dismissed" = & gt; "Fileuploadadvanced", href: "#"} = link_to "Save", "#" ,: class = & gt; 'Btn submit-btn btn-cl-info set_project_logo',: Data = & gt; {: Project = & gt; Project.id} which goes on this jquery...

regex - Java - issue when getting the value between two # # signs (matcher-pattern) -

मेरे पास उदाहरण फ़ील्ड के साथ मूल्य है स्ट्रिंग a = "आइटम: # 1000 # , # 2000 # "; जिसके लिए मैंने सफलतापूर्वक 1000 और 2000 मान प्राप्त करने के लिए तर्क विकसित किया है। पैटर्न p = pattern.compile ("\\ # (। *? ) \\ # "); मैचर एम = पी। मेटचर (ए); जबकि (m.find ()) {System.out.println (m.group (1)); } यह ठीक काम करता है! लेकिन मेरे पास कुछ मानों के साथ मुद्दा है जिसे केवल एक # साइन इन और उस डबल के बाद ध्यान में नहीं रखना चाहिए ## संकेत। उदाहरण के लिए: स्ट्रिंग a = "आइटम: # 1 # 1000 #, # 2000 #"; यह मान 1 को ध्यान में नहीं लिया जाना चाहिए !!!! लेकिन मेरा कोड इस मामले में 1 और , देता है जो अच्छा नहीं है, इसे फिर से 1000 और 2000 क्या यह संभव है कि मूल्य को केवल एक # के साथ अनदेखा करना है? दुर्भाग्य से मेरे पास कई # $ संकेतों के साथ कई मान हैं? मान हमेशा ## और कोमा निम्नलिखित पैटर्न केवल # से घिरे हुए तारों पर मेल खाएंगे और उसके बाद एक अल्पविराम या स्ट्रिंग के अंत में होगा: Pattern p = Pattern.compile (" # ([^ #] ...

c# - XML deserialization doesn't initialize an array element -

मैं निम्नलिखित XML को deserialize करने का प्रयास कर रहा हूं: & lt; ns0: L2CCustomer xmlns: ns0 = "http: //CustomerSyncFromMDM_L2C.L2CCustomer_XML" & gt; & LT; customerList & gt; & LT; ग्राहक & gt; & LT; DNV_Status & gt; सक्रिय & lt; / DNV_Status & gt; & LT; MDM_ID & gt; 1270004 & lt; / MDM_ID & gt; & LT; FULLNAME & gt; JONBER030 & lt; / FULLNAME & gt; & LT; AFFRowID & gt; 1-GT6E0X & lt; / AFFRowID & gt; & LT; addressList & gt; & LT; पता & gt; & LT; addrType & gt; कार्यालय & lt; / addrType & gt; & LT; addrStatus & gt; सक्रिय & lt; / addrStatus & gt; & LT; MDM_ID & gt; 2090001 & lt; / MDM_ID & gt; & Lt; एन्डरलाइन 1 & gt; ट्राएनवीन 14 & lt; / addrLine1 & gt; & Lt; एड्रलाइन 2 & gt; बिल्डिंग 2 & lt; / addrLine2 & gt; & LT; शहर & gt; के रूप में & lt; / शहर & gt; & LT; Postal...

algorithm - Find number of numbers made with 1,2,3,4 such that same digits never lie together -

एक विशेष अनुक्रम केवल 1 संख्या, 2, 3, 4 का उपयोग करता है और दो आसन्न संख्याएं नहीं हैं वही। · एक प्रोग्राम लिखें जो एन 1 1 एस, एन 2 2 एस, एन 3 3 एस, एन 4 4 एस दिए गए हैं, इन सभी नंबरों का उपयोग करके इस तरह की अनुक्रमों की संख्या का उत्पादन होगा। आउटपुट अपना उत्तर मॉड्यूलो 1000000007 (10 ^ 9 + 7)। मैंने इस सवाल को geeksforgeeks.com पर पाया है। ऐसे सभी समाधानों को छूने का सरल तरीका ओ (4 ^ एन) क्या गतिशील प्रोग्रामिंग का बेहतर समाधान हो सकता है? मैंने डीपी के लिए निम्नलिखित कोड चलाने की कोशिश की गलत जवाब देता है क्या कोई भी सुधार का सुझाव दे सकता है? # शामिल & lt; iostream & gt; नेमस्पेस एसटीडी का उपयोग करना; इंटी डी 1 [50] [50] [50] [50], डी 2 [50] [50] [50] [50], डी 3 [50] [50] [50] [50], डी 4 [50] [50] [50] [50]; Int main () {int n1, n2, n3, n4; n1 = 2; n2 = 2; n3 = 1; n4 = 2; d1 [1] [0] [0] [0] 1 =; d2 [0] [1] [0] [0] 1 =; d3 [0] [0] [1] [0] 1 =; d4 [0] [0] [0] [1] 1 =; (For int i = 0; i & lt; = n1; i ++) {for (int j = 0; j & lt; = n2; j ++) {के लिए (in...

sql server 2008 - SQL Query basis on given limitation in another table -

अभिभावक तालिका: Cate_Name | चेतावनी -------------------- सीएटी 1 | 40 टेस्ट | 10 टेस्ट 1 | 5 टेस्ट 1 | 10 लेनदेन तालिका CAT1 | 25 टेस्ट | 5 टेस्ट 2 | 50 टेस्ट 1 | 50 यहां मैं एक क्वेरी की तलाश कर रहा हूं। माता-पिता तालिका में, Cate_Name और Warn_Qty मान होंगे उपयोगकर्ता परिभाषित। Cate_Name होगा न .. नहीं। और नीचे यह लेन-देन तालिका है क्वेरी में केवल लेन-देन तालिका से संबंधित रिकॉर्ड्स आउटपुट होंगी, जो संबंधित माता-पिता तालिका से कम या बराबर मात्रा में हैं एस Warm_Qty आउटपुट उदाहरण यहां तालिका दिखाई देगी जनक तालिका CAT1 | 40 टेस्ट | 10 लेनदेन तालिका CAT1 | 25 टेस्ट | 5 नोट: - क्वेरी में, Cate_Name एकाधिक श्रेणी केवल SELECT t.category_name, parent_table p से t.warn_qty, transaction_table t जहां c.category_name = t.category_name - join t.warn_qty & lt; = p .warn_qty - क्वालीफायर जब तक मैं यहाँ कुछ याद नहीं रहा हूँ। यह अनिवार्य रूप से कह रहा है कि "लेनदेन तालिका से सब कुछ दे दो, जहां चेतावनी_कौरी माता-पिता तालिका में मेलिंग चेतावनी से क...

windows - Extract Sorted File Names By Alephabets -

As you can know, you can sort files in Windows Explorer with your names, but it seems that VBSPs are not showing them sorting set objFSO = CreateObject ("Scripting.FileSystemObject") strReg = "C: \ Users \ Smart \ Desktop Files" Set objFolder = objFSO.GetFolder (strReg ) Set colFiles = objFolder.Files colfiles for each objFile next to WScript.Echo ObjFile.Path but it seems it is showing files in random ways to files For Ane Can I edit the script, I like that they are sorted in Windows Explorer? Just note that my files are unicode as FileSystemObject files are not sorted (Cf. the quote), you have to write your own code (do not have to edit) Start for a sample using an ArrayList (and list of alternative methods). The first link shows how dir / A: -D / B / O: ... .

redirect - redirection bash: content from variable, not from file -

I am using Math to create and send mail with a Bish script. By the way: $ mutt -s SUBJECT MAIL_TO_ADDRESS & lt; BODY_CONTENT_FILE So I always have to write a file before calling Mutt, is there a way to pass information directly from the script or shell variables? Sure. For literal content, you can use the document here: mutt -s "$ SUBJECT" "$ ADDRESS" & lt; & Lt; The EOF body of the message goes here and unless you have a line with the Terminator, In this case, the Lieutenant; & Lt; `Note that the parameter will be expanded here-in the document such that it was a double-quoted string, as long as you were using the Terminator (for example ), in which case it will be treated as a single quoted string. If it is a short message, or is already a variable, using the here-string instead is easy: mutt -s "$ SUBJECT" " $ ADDRESS "& lt; & Lt; & Lt; "$ BODY"

jquery - javascript : apply plugin at once to all vs one by one -

I have a home page for 5-6 dynamically-generated jquery sliders inside the page. & lt; Div id = "slider1" class = "slider" & gt; // Images here & lt; / Div & gt; & Lt; Div id = "slider2" square = "slider" & gt; // Images here & lt; / Div & gt; After all slider loaded at the end of the page after the slider plugin has been applied, $ ('# Slider1') applyplugin () .; $ ('# Slider2') applyplugin () .; ......... The question now is whether the plugin at once on all the sliders at the end of the page Should apply; Or i below one by one . I ...... images here ..... and lt; / Div & gt; $ ('# Slider1') applyplugin () .; & Lt; Div id = "slider2" square = "slider" & gt; ...... images here ..... and lt; / Div & gt; $ ('# Slider2') applyplugin () .; Which would be better for the better user experience ? Or is there any other solution for ...

useing group by in inner query in mysql -

sub query it'm my select query when I try to use the Group results at the time, If not suitable, then I want to use the group by Stone CompanId, the stone SICID $ z = 0; $ SelectDia = "Choose designmasterdetail.designMasterId, stoneize.stoneSizeId, stoneize, dimandWei, dimandTot, orderQty, stoneCompanyName Leave default by command add masterdetail.designMasterId = orderdetail.designMasterId LEFT addon stoneize.stoneSizeId = designmasterdetail.stoneSizeId LEFT JOIN on stonecompany Stonecompany.stoneCompanyId = Dijhainmastr-Dipartmentkstonkanpaniaidiarderardermstraidi = ". $ OrderMasterId; $ Selectiondear = mysql_query ($ selectDia); While ($ line = mysql_fetch_array ($ selectDiaRes)) {$ s = 0; $ DsArray = array (); $ SelctDiaQty = "SELECT order Kti, Dijhainmastr Distantkdijainmstraidi, Syuem (Dimanandkviti) Dijhainmastr distributed Dijhainmastraid = Order Distantkdijainmstraid order Mstraidi =" on Dijhainmastr Join Order detect as Admondktiti. $ OrderMaste...

validation - Validating User Input for Letters -

I am trying to validate a user input recently so that only letters of the alphabet are accepted, I How do I do this? I know how the user input is valid for most things, but this one line of code for the letters is actually bothering me. itemprop = "text"> You can check the contents of a field with this function: function String Return Match Text (Valid, String, "^ [a-zA-Z] + $") is valid ^ [a-zA-Z] + $ is a regular expression ^ indicates the beginning of a string, the brackets determine the same character and a set of expression characters within the bracket. + means that all the following characters will be equal to the preceding (set) character (s). The end of the string indicates that in other words, according to this expression, one should be one of all the characters and it will include z or A and it will include Z. matchText () is a LiveCode function, which checks that the string in the first parameter matches the regular expression...

reporting services - SSRS FormatDateTime -

मैं = FormatDateTime (पैरामीटर! StartDate.Value, DateFormat.ShortDate) का उपयोग कर रहा हूँ और उसके लौटने " Mm / dd / yyyy "format। मैं इसे इस प्रारूप" dd / MM / yyyy "में वापस करना चाहता हूं। कृपया यह कैसे करें! धन्यवाद रिपोर्ट केनवास पर क्लिक करें, दबाएं F4। अब आप रिपोर्ट के गुण प्राप्त करते हैं। 'भाषा' नामक एक संपत्ति है उपयुक्त सेटिंग चुनें, उदाहरण के लिए एनएल_एनएल यदि आप डच संकेतन चाहते हैं।

Excel 2013: VBA to find all cells with duplicate ID text and dump cell contents to 2nd sheet -

Not sure that the title is very clear Actually, I have this column in column B There are approximately 500 rows that include the Nessus vulnerability scan data. The main element is "Plugin ID: ######" The text is attached to a set of some column above, the plugin ID / vuln hosts. Some plugin IDs occur multiple times in 500 rows, however, this data is temporary (month to month) because we do new scans, sometimes it is fixed on the old host but for some reasons From the new host to that vulnerability, and sometimes it is a mixture (many hosts will be certain, not the other, new hosts come with the same problem) (B) Plugin ID: 123456 ( J) Server 1, Server 2, Server 3 . (B) Plugin ID: 123456 (J) Server1, Server2 I have to do a VBA function which takes the Plugin ID from each cell in column B and the remaining B For duplicate B.B., and then copy the column B cell and its line contents to the original from column J and duplicate it in a new sheet, in this way I c...

javascript - How to implement a CustomTile that can be consumed by sap.m.TileContainer in SAPUI5? -

I have increased the "custom tile" with some other controls and planned to use it in tile container. Example code for new tile: jQuery.sap.declare ("xyz.control.MySpecialTile"); JQuery.sap.require ("sap.m.CustomTile"); Sap.m.CustomTile.extend ("xyz.control.MySpecialTile", {Metadata: {properties: {"icon": {type: "string", defaultValue: "sap-icon: // shipping-status"}}, }, // will be said during creation time: function () {this.addStyleClass ("some style"); var oCont = ... some content created with other controls ... this.setContent (oCont);} , Renderer: {}, on-premise: function () {}}); Var oFunctions = new sap.m.TileContainer ({width: "100%", // sap.ui.core.CSSSize height: "100%", // sap.ui.core.CSS Size tiles: [oCustomTile1, oCustomTile2 , Omespastile], // sap.ui.core.Control}); Where: oCustomTile1 and oCustomTile2 Certain standard custom tiles and omespace tile is an exam...

json - Insert missing data using Lodash -

If we want to insert missing data, then what would be best to use the Lodash function? For example, our data [{'time': '12: 00 ', position: true}, {' time ': '01: 00', status: true}, { 'Time': '02: 00 ', position: true}, {' time ': '03: 00', position: true}, {'time': '04: 00 ', position: true}, {' time ': 23: 00', status: true},] and I would like to include it from 05:00 to 22:00 var startNumber = 5; Var Endnumber = 22; Var step = 1; Var originalArray = [{'time': '12: 00 ', position: true}, {' time ': '01: 00', position: true}, {'time': '02: 00 ', status: true }, {'Time': '03: 00 ', position: true}, {' time ': '04: 00', position: true}, {'time': '23: 00', status: true} ]; Var getMappedItem = function (item) {return {time: item + ': 00', position: true}; }; Var newArray = origin...

javascript - Appending div inside another div -

I am trying to add an input box to a div and my code is as follows: document. GetElementById ('location'). Appendbill ('& lt; div id = "' + lname + '" & gt; & lt; input placeholder =' 'please enter' 'type = "article" name = "new button" /> /> I do not use the innerHTML + = method Because my first created input box uses text to lose text content while adding new input box. The above code is not working for me Is there a problem with the code? Your code is completely incorrect: .appendChild () does not match the method as string argument, it's a If the node element is , then you should first create the element, and then add it to the parent. The correct code will be: var container = document.getElementById (' Places'), children = document. CreateElement ('div'), input = document.createElement ('input'); Children.id = lname; Input.placeholder = ...

qt - Find border image of QMainWindow programatically -

I have set a border image on my QMainWindow using a style sheet: QMainWindow {boundary-image: url (: / metal_back field); } In my program, there are several widgets with a transparent background color that sit at the top of the main window. However, when I drag and drop them, they look bad because they take the color of the system background. What would I like to do is to draw the brush (?) To the main window background, and use it to paint the hair widget while it is being transferred I've tried: QWidget * widget; QMainWindow * mainWindow; QList & LT; QWidget * & gt; Widgets = qApp- & gt; ToplevelWizts (); Exotic (widgets, widgets) (if (widget-> objectname) == "main window") // name is OK then break; } Main window = static_cast & lt; QMainWindow * & gt; (Widget); QDebug () & lt; & Lt; MainWindow- & gt; Objectname (); Pellet palette; Palette .cssbrush (it-> pageviewer (), main window-palette (.) Brush (main window-...

c# - get current windows user in webapp -

मैं string appNetworkUserId = WindowsIdentity.GetCurrent ()। का उपयोग कर रहा हूं; वर्तमान उपयोगकर्ता प्राप्त करने के लिए मेरे वेब अनुप्रयोग का यह काम करता है जब मैं स्थानीय स्तर पर मशीन चला रहा हूं। मुझे डोमेन \ मेरा नाम मिलता है, लेकिन जब मैं अपने देव सर्वर पर ऐप चलाता हूं तो मुझे उस वेबसाइट के बजाय NT AUTHORITY \ NETWORK SERVICE मिलता है जो वेबसाइट तक पहुंच रहा है। मैं अपने वेबपेज पर आगंतुक का उपयोगकर्ता नाम कैसे प्राप्त करूं? मैं .net 4.0 और C # आपको NT AUTHORITY \ NETWORK SERVICE मिलता है क्योंकि यह ऐसी पहचान है जो IIS चल रहा है I आप डेवलपमेंट एन्वायरमेंट में अपना नाम ले सकते हैं क्योंकि वेब सर्वर वहां सिस्टम यूजर के बजाय आपके लॉग-इन उपयोगकर्ता के रूप में चल रहा है। यदि आप एएसपी.नेट एमवीसी में एक की तरह प्रमाणीकरण ढांचा का उपयोग करते हैं , आप एक नियंत्रक कार्रवाई में User.Identity.Name देख सकते हैं।

My Settings Automatically get reset in vb.net -

I have developed many projects in vb.net 2010 and in all the projects I have used my settings and all are well Has worked from But now my new project has 20 settings in my settings .... and every time I start my software, it gets reset to the original value ..... all of them 20 ..... I can not find any problem in the coding section, I also wanted to test the test by setting the semilette settings and a button that changed the setting value. But when I'm starting the software, then it is Bach for the original value ...... Please provide your suggestions for the same ...

javascript - Performing bitwise operations on large values -

I want to take a bitwise action with some larger values: var someVariable = 4 ; Some variables | = 36028797018963968; // Add flag, 1 & lt; & Lt; 55 However, the result is always going to be 36028797018963972 rather than 4 . After some research, I came to know that Javascript turns the number to 32-bit representation when bitwise is operating, which tells me why this problem is happening, but how can I fix this? After some more research, I found some javascript in Binton libraries, but I would like to do without libraries if possible, how can I do a large number of bitwind operations in Javascript? variable number MAX_SAFE_INTEGER in Chrome can be used for maximum math Keeps the safest number. This number is return number in my ChromeMXCAIFIITER = 9007199254740991. Your number is big. Try this exam: var a = 36028797018963968; Var B = A + 1; Console.log (a == b); // print true console.log (a === b); // right print / code> var a = number MAX_SAFE_INT...

javascript - Invariant Violation in React Render OR the proper way to iterate and return in React -

I am running into problems with constant renders in the {{ This.props.answers.map (function (reply, i) {return ( {answer.text} );}, this)}}}); Var QuizTaking = React.createClass ({componentDidMount: function () {}, render: function () {return ( div classname = 'submit' & gt; & lt; / div & gt; & lt; / div & gt; )}}) me Ornamental violation: Answer: (): A valid response component should be returned. You can undefined, return an array or any other invalid object. Errors However, it works every time: / ** @ jsx response DOM * / var TestIndex = React.createClass ({propTypes: {}, loadTest: function (i) {window.location .replace (this.props.tests [i] .url.replace (".json", "/ take "), Render: function () {return ( {this.props.tests.map (function (Test, i) {return ( {test.title} & Lt; click on the button Click = {this.loadTest.bind (test, i)} key = {i} type = "button" className = "startbutton paper-bu...

java - Android listview items -

I have a list view and there are some items in it (usually 7-10 people). Each item contains a checkbox I want to intersect all the items in this list view and check all those checkboxes. I try to do this: list view list = (list view) Find VVBID (RID). Int count = list.getCount (); (Int i = 0; i But when I == 4 I have NullPointerException. I think that when I use the getChildAt method, I can only get the items displayed on the screen and on the screen Provides zero for items that do not fit. Can I get all the items from the list view and not just on the screen?

struggle for javascript porting to dart -

मूल जावास्क्रिप्ट कोड मैं डार्ट को बंद करना चाहता हूं। hterm.defaultStorage = new lib.Storage.Chrome (chrome.storage.sync); मैंने कोशिश की है js.context ['hterm'] ['defaultstorage'] = नया जेएस .JsObject (js.context ['lib'] ['भंडारण'] ['क्रोम'], जे.कैनटेक्स्ट ['क्रोम'] ['भंडारण'] ['' सिंक '']); लेकिन यह काम करना जितना मैंने उम्मीद की थी शायद, क्योंकि js.JsObject डार्ट ऑब्जेक्ट देता है क्या मुझे JsObject.jsify का उपयोग करना है? ऐसा लगता है कि jsify केवल डार्ट ऑब्जेक्ट का संग्रह प्राप्त करता है। मुझे लगता है इस तरह से काम करना चाहिए js.context ['hterm'] ['defaultstorage'] = js.context ['lib'] ['भंडारण' ]। CallMethod ('क्रोम', [जे.कैनटेक्स्ट ['क्रोम'] ['भंडारण'] ['' सिंक ']]);

java - add length to a line that passes through 2 points and get the new end point -

I am working with lwjgl and j3d for the geometry section. I am still working on the collision, whatever I have done so far, the collision is working properly but there are two problems in it, adding to my current collision method, it tests that if the previous coordination and current coordinate triangle (Which is provided to things) and then on the triangle it finds that it is only intersected that is near your current coordination and you go there. It also makes your Y coordination .001. It's a workd offspring, but going up .001 is bad because if you go to a triangle which is going to 90 * angle, then you can go to the left, but you can not take it out, Almost as you are stuck in it. Here is a picture how it works imgur I would like to say .001 Current coordination and the closest point (I already get these points) and get the new current point . BTW is Pew, where the person was before moving on point and then tests to see if those two points penetrate the triangle and ...

installer - Can I optionally Include specific file extensions with Wix Heat using transforms? -

Whether to include only certain file extensions when using the XSLT file to replace the heat storage component using the wooces possible? I know that I can remove the file extension with the following: & lt; Xsl: key name = "exe-search" match = "wix: component [in [wix: file / @ source, .pdb ']]" use = "@ id" /> & Lt; - !. Pdb - & gt; But is it possible to include many file types and include everything else (for example: .exe, .dll, .xml)? Thank you! Surely inside the condition, you can use full expression, like: contains (wix: file / @ source, '.pdb') or (wix: file / @ source, '.exe') or (wix: file / @ source, '.dll') or (Wix: file / @ source, '.xml') If this is just a handful, then the theorem is qualified. To help readability, you can put NewAlline inside the match attribute value (or an attribute in general). I will use it this way. & lt; Xsl: stylesheet version = ...

gnuplot - Plotting x versus sum(y) -

निम्न फ़ॉर्म के डेटा सेट पर विचार करें: 1 3 1 10 2 7 2 14 3 9 मुझे एक ग्नुप्लॉट स्क्रिप्ट चाहिए जो केवल 3 अंक (1, 3 + 10), (2, 7 + 14), (3, 9) साजिश करता है? सवाल एक समान स्वाद में है, लेकिन यह वास्तव में मेरी विशेष समस्या को हल नहीं करता है। असल में , आपके द्वारा उल्लिखित लिंक आपको एक अच्छा संकेत देता है: आप अपने डेटा को प्री-प्रोसेस करने के लिए एडब्ल्यूके का उपयोग कर सकते हैं और फिर इसे gnuplot में पाइप कर सकते हैं। निम्नलिखित पंक्ति आपको चाहिए कि आपको क्या चाहिए (यह मानते हुए कि आपका डेटा फ़ाइल में है in.txt ): plot "& lt; awk '{If ($ 1 == last_x) sum_y + = $ 2; else {प्रिंट last_x, sum_y; sum_y = $ 2} last_x = $ 1} END {प्रिंट last_x, sum_y}' in.txt "पंक्तियों के साथ {if ($ 1 == last_x) sum_y + = $ 2 else {प्रिंट last_x, के रूप में, Sum_y sum_y = $ 2} last_x = $ 1} END {प्रिंट last_x, sum_y} ADDENDUM यदि आपकी इनपुट फ़ाइल सॉर्ट नहीं की गई है एक्स निर्देशांक के अनुसार आप सॉर्ट : plot "के लिए कॉल को शामिल करने के लिए पाइप ...

symfony - Symfony2 on ubuntu virtual host debug toolbar not found -

I've just installed LAMP on Ubuntu 14.04 LTS and created virtual host the Symphony project. I Symfony did not change anything in the project yet, but the first as soon as I load AcmeDemoBundle I error try to get web debug toolbar (not found in 404) An error occurred while loading. Do you want to open proffer? I did some research, but what I found was something to do with the .htaccess file that was not working. I content of the suspicion that it might have / etc / apache2 / sites-enabled / virtual host conf file that file: & lt; VirtualHost *: 80 & gt; ServerAdmin admin @ localhost server name registration.dev server www.registration.dev DocumentRoot / var / www / registration / web / DirectoryIndex app_dev.php Errorlog $ {APACHE_LOG_DIR} /error.log CustomLog $ {APACHE_LOG_DIR} combined & lt / Access.log; / VirtualHost & gt; I had the same problem here on your / etc / apache2 / sites -enabled / & lt; VirtualHost *: 80 & gt; There is a...

java - How can I achieve this specific output using for loops to simplify storing data in an array? -

सार्वजनिक वर्ग IndividualProject2 {सार्वजनिक स्थिर शून्य मुख्य (स्ट्रिंग [] args) {int i; के लिए (i = 0; i & lt; 7; i ++) {स्कैनर ग्रेडइनपुट = नया स्कैनर (System.in); System.out.println ("मध्यम अंक 1 अंक दर्ज करें"); Int num1 = gradeInput.nextInt (); System.out.println ("midterm 2 स्कोर दर्ज करें"); Int num2 = gradeInput.nextInt (); System.out.println ("अंतिम स्कोर दर्ज करें:"); Int num3 = gradeInput.nextInt (); }} सार्वजनिक स्थिर चार फ़ंक्शन (इंट ग्रेड) {स्ट्रिंग [] नाम = नया स्ट्रिंग [7]; चार [] अंतिम ग्रेट = नए चैलेंज [7]; चार अक्षर; यदि (ग्रेड & gt; = 90) {letter = 'A'; Println (पत्र); } और अगर (ग्रेड & gt; = 80 और amp; ग्रेड & lt; 90) {letter = 'B'; Println (पत्र); } और यदि (ग्रेड & gt; = 70 & amp; amp; ग्रेड & lt; 80) {letter = 'C'; Println (पत्र); } और {letter = 'F'; Println (पत्र); } के लिए (इंट काउंटर = 0; काउंटर & lt; अंतिम ग्रैड.लाइन; काउंटर ++) {अंतिम ग्रेड [काउंटर] = पत्र; } ...

ios - UILongPressGesture as IBAction or Property w/ handler method? -

This is just a general "best programming concepts" question, but if someone can answer it for me, I would appreciate it. I do I am trying to add a UILongPressGestureRecognizer on a button on my view controller, what better practice is there to implement long-term handling as IBAction, or what is included as the property containing the Handler method for long time? Or does it matter? The button is in your storyboard. Whatever I normally do, I also make gesture identifiers in the storyboard. I connect the viewer to this view and then target @IBAction in my Visual Controller. This works well for me.

Selecting and grouping similar fields in mysql to populate a dropdown -

I have a selected field that I need to populate from mysql in preparing for execution in search [when Form is deposited] # 3 # 3 sp # 4 # 4 Las # 4 pp # 4 pi # 4 pvc 2b2b pvc 2b / pi I select them in select control and group is required so that option View types: & lt; Option value = "# 3" & gt; # 3 & lt; / Options & gt; & Lt; Option value = "# 4" & gt; # 4 & lt; / Options & gt; & Lt; Option value = "2b" & gt; 2B & lt; / Options & gt; & Lt; Option value = "ALUM" & gt; ALUM & lt; / Options & gt; & Lt; Option value = "QQ" & gt; QQ & lt; / Options & gt; & Lt; Option value = "QQ 2A" & gt; QQ 2A & lt; / Options & gt; & Lt; Option value = "ro pvc" & gt; RO PVC & lt; / Options & gt; & Lt; Option value = "SCRP" & gt; SCRP & lt; / Options & gt; & Lt; Option value = "sc...

java - Can't turn off tooltips for text area inside scroll pane -

Image
वरीयता मेनू है जो की अनुमति देता है उन्हें बंद कर दिया मैं हर घटक को नाम दे सकता हूं और इसके टूलटिप पाठ को "[उदाहरण के लिए, txtPattern.setToolTipText (" "); ] (और 10 अन्य) में सेट कर सकता हूं, लेकिन मैंने फैसला किया (थोड़ी देर पहले सहायता के साथ) कोड लिखने के लिए जो अधिक सुरुचिपूर्ण (एक सीखने का अनुभव) होगा: निजी शून्य युक्तियाँ ऑफ़ (कंटेनर कंटेनर) {घटक [] c = container.getComponents (); के लिए (घटक सीसी: सी) ((JComponent सीसी) .setToolTipText (""); } निजी शून्य mniPrefTooltipsActionPerformed (java.awt.event.ActionEvent evt) {यदि (! MniPrefTooltips.isSelected ()) {tipsOff (gui.getContentPane ()); tipsOff (gui.pnlLetters); tipsOff (gui.mbrMenuBar); } और {gui.dispose (); गुई = नया आईओ (); gui.setVisible (सही); }} मेरे पास एक समस्या है, जो कि टूलटिप्स नीचे दो बड़े पाठ क्षेत्रों के लिए बंद नहीं हैं गुइ का (नेविगेटर फलक में हाइलाइट किया गया) दो बटन (नेव फलक में हरे रंग के साथ चिह्नित) सही तरीके से संसाधित होते हैं। इन मदों को पहली कॉल के माध्यम से ...

haskell - Generate N random numbers using randomR -

I want to randomize the random number using randomR. I know that there are other ways to use randomRs and complete this as taking this code as N: Diff_select :: int - & gt; Int - & gt; StdGen - & gt; [Int] diff_select nm = take N digits RandomRs (1, m) but I use randomR and Want to use state I'm not sure where I am with this code: let's FS = \ s -> (Random R (0, 5) S, S) should give the status s = State (FS) representative N MA = Repell MN (theState ma) let res = runState (rep3) (mkStdGen 4) - want to use state to generate random numbers while using , You want your state to be generator. In this situation, we can only use the StdGen : type RandGen a = State StdGen a then you Write a task to create a single random value getRandom :: Random A => RandGen a getRandom = do gen & lt; - get (val, newGen) = new genera return value to random generic You can now use it to make all random numbers all the normal monaad fun...

sql server - sql I don't want to lose null values when I'm using group by -

I am trying to figure out which merch has traveled a poi out of its way . To do this I need to find void values ​​from vp.poiid, but when I lose zero value on that column, I create the group. . . (As the date, select me.MerchName vp.routedate, mercid as me.id, as done ov.poiid, planned, vp.poiid as the case when ov.poiid re-calculate (Ov.poiid) is notDone the end, the case is when vp.poyid void again counting (vp.poiid) end outOfRoute asb_visitplan joining in full from the vice president on the OutVisitData ov (vp.poiid = ov.poiid and ov. Commitdate = vp.routedate and vp.merchid = ov.merchid) include atb_merchs me on (vp.merchid = me.id) where my.id = 1 group vp.rateet, m. mercked, iiid , Ow. Poiid, vp.poid) A. . . When I run this program, I get this view: Date Name ID planned Not Out Out 2013-11-06 00: 00: 00.000 Seven Fungus 1 30 30 0 Newell 2013-11-06 00: 00: 00.000 Seven Fungus 1 34 34 Faucet 2013-11-06 00: 00: 00.000 Seven Fungus 1 48 48 Faucet 2013-11-06 00 : 00: 00.0...

Is there a way to specify page elements not to be translated with Google's webpage translator? -

I am using Google's website translator and has a specific block code that includes the names of the schools. This block should not be translated Is there any way to tell Google to go this block alone? Add class = "notranslate" for element.

How to get older posts from facebook page using facebook c# sdk -

In my application, I'm posting from a Facebook page like this Dynamic pageadata = Client.Get ("/" + Page ID + "/ Post", new {access_token = _userAccesstoken}); But it only gives 25 posts. How do I get older posts too?

sql - Adding Total Sales -

I'm having trouble getting the total number of items sold. The script below shows me total sales but their short does not. I got to tell this, but it was listing duplicate invoices so I "separate" before the invoice. I do not know where I'm messing with. Note that I do not have any previous SQL training, I have only got it from reading the questions of other readers. Please help. thank you in advanced. select sh.invoice_no, sr.item_id, sr.item_desc, sr.last_sale, sr.SQ, sr.DQ, sr.AQ, sr.VQ, sr pq, sr.iQOH , Sr.avg_MAC, si.cost, sr.PT, item, SUM (sh.qty_shipped) as QTY_Shipped from iml_view_item_stock_review_nh to si.item_id sr include sr.item_id = si.item_id interi as C Include as p21_view_inventory_supplier as sh on Sr1item_id = sh.item_id p21_sales_history_view where (sr.item_id 'IEI%') and (sr.PT = 'R') and (sh.invoice_date & gt; Convert (DATETIME, ' 2013-10-17 00:00:00 ', 102)) GROUP by sr.item_id, sr.item_desc, sr.last_sale, sr....

Java Swing problems in Eclipse -

इस सवाल का पहले से ही एक उत्तर है: 2 जवाब मैंने बहुत से नेटबीन्स का इस्तेमाल किया लेकिन हाल ही में ग्रहण लुना के लिए स्विच मैं जावा में एक जीयूआई ऐप बनाने की कोशिश कर रहा हूं, लेकिन मुझे इसके साथ कुछ परेशानी हो रही है। स्विंग की ड्रैग एंड ड्रॉप एक्लिप्स में बहुत ही प्रतिबंधात्मक है, मैं लेबल या पाठ फ़ील्ड को किसी भी जगह जहां मैं चाहता हूँ, यह अजीब "ग्रिड लाइनों" को तड़के रखता है, या क्या मैं कुछ गलत कर रहा हूं? क्या मुझे अतिरिक्त प्लगइन्स हैं या मैं कुछ गलत कर रहा हूं? समस्या ठीक है मुझे अपने प्रपत्र का इस्तेमाल करने वाले लेआउट का प्रकार बदलना होगा। आपकी मदद के लिए धन्यवाद।

node.js - Why showing phantom std out error when using Nightmare.js or phantom.js to scrape website -

I am trying to write a web-spider using phantom.js. Although I have made a lot of mistake, I do not know why my code is shown below: Use Nightmare.js : var nightmare = essential ('nightmare'); New Nightmare () .goto ('http://www.amazon.com/Aroma-Housewares-aSP-137-3-Quart-super/dp/B00024JQ3Q'). Evaluate (function () {return document.getElementById (' Priceblock_ourprice '). TextContent;}, function (numAnchors) {console.log (numAnchors);}) Run (); Use phantom.js : var page = is required (' Webpage '). Surge (); Console.log ('is the default user agent' + page.settings.userAgent); Page.open ('http://www.amazon.com/Aroma-HouseWares-ASP-137-3-Quart-Super/dp/B00024JQ3Q', function (status) {if (status! == 'success') { Console.log ('Unable to access the network');} Other {var ua = page.evaluate (function () {return document.getElementById ('priceblock_ourprice'). TextContent;}); console.log (ua);} Phan...

asp.net mvc - How to get rid of home controller and preserve other controllers? -

I need to provide the link to my website like this: http: / / world Wide Web. Domain.com/contact http://www.domain.com/category/2/category-name http://www.domain.com/article/234/article-subject http://www.domain.com/search / My-search-query So I created a path for that: route. MapRoute (name: "default", url: "{action} / {Id} / {name}", default: new {controller = "home", action = "index", id = UrlParameter.optional, name = UrlParameter Optional}); As you can see in the URL without the "Home" controller. Now I need to provide access to the following URL: http://www.domain.com/admin/categories http: //www.domain Com / admin / categories / edit / 12 http://www.domain.com/admin/categories/create So here are my questions, how to make "admin" controller accessible is? I think the "areas" will work here, routing the areas by adding intangibles to a second level Which keeps you integrating your o...