Posts

Showing posts from July, 2010

arrays - Python: IndexError: index out of bounds -

I get this error: traceback (last call call): file "T_evoluzione_binarie .py", line 58, & lt; Module & gt; P1_001 = t_gw.p_evolution (p_001, m1_001, m2_001, ecc_010, tgw_e001) file "/ home / alessandra / dropbox / tesi all / Python / t_gw.py", line 40, p_evolution delta = p [i] ** (8. /3.)-(256./5.)*(2*np.pi)**(8./3.)*G**(5./3.)*c**(-5.) * I .) ** (-7./2) Index error: The index is out of bounds related to this limitation: p_evolution (p , M1, m2, e, t_coal): p_e = np.empty ((p.shape [0], 1)) T = Minimum (t_cool) category for i (p. Size [0]): delta = p [I] ** (8/3.)-(256./5.)*(2*np.pi)**(8./3.)*G**(5./3.)*c ** (- 5.) * (M1 [i] * M2 [i]) * (M1 [i] + M2 [i]) ** (- 1./3.)* (1- E [i] ** 2.) ** (-7./ 2) If delta and lieutenant; 0: p_e [i] = 0 elif e [i] == 1: p_e [ii] = 0 print 'eccc = 1', i second: p_e [i] = (p [ii] ** (8. / 3.) - (256./5.)*(2*np.pi)**(8) /3.)*G**(5./3.)*c**(-5.)* (M1 [i] * m2 [i]) * (m1 [i] + m2 [i]) ** (-1./3.)* (1- / 3.) * (...

javascript - Cordova(phonegap):- how to get mobile CallLog? -

I am developing mobile application using Cordova, sending mobile call log history I am Please help me You can use it for Android only (Support with iOS Welcome)) Cordova plugin to access call history on one device.

How to use both Android.App.Fragment and Support V4 library -

I want to use a support library to add a new El Style actionbase to my app. So I changed my activity to a ActionBarActivity now I have both getFragmentManager () and getSupportFragmentManager () . I use getFragmentManager () to work with pieces and they are provided fine but when I get backstack ( (mTransaction.addToBackStack ("blabla" ), Then there is a problem, the backstack remains empty, so if I call mTransaction.commit () and immediately after getFragmentManager (). GetBackStackEntryCount () After 0 will return no matter how much transaction I do, as a result, in my first section of the section, without first navigation, "BACK" Why do not I use pieces from the help library? I do not care for the app 15 and new & lt; 11 and to migrate There is a lot of code besides this, if the help library is used then I will not be able to use the objectAnimator for the transition. This is not a disaster, but I just want to improve one more addendum ...

Can't connect Linkedin with Drupal -

My problem is that I am trying to import the user from LinkedIn, to my user Drupal After setting a secret key, I try to connect to Linkedin, LinkedIn shows me my login interface, but I try to confirm, do not redirect to my home, but for a 404 page. I do not know what my problem is, if the problem is linked to aden, from my server or me

c# - Creating an ambiguous test -

I had an idea about creating a bool isNull , where can be needed anywhere . The basic idea was as follows (pseudo-code only): bool isNull (var test) {if (test == null || DBNull} string.Empty) back true; Second false return; } But that does not work, because var is not recognized here. Instead, it is believed that var refers to a type ... well, of course, there is not one type for var ! What do I do to get around this? Or, perhaps the question I should ask, is this a good idea? Why do not you use the object? bool isNull (object test) {if (test == null || test == DBNull.Value) true return; Second false return; } For string , I will use the string.IsNullOrEmpty method. For other types, especially when you are working this database with the database can be useful.

jsf - <h:commandLink target=“_blank” only after validation -

I used the h: commandLink target = "_ blank" method to get a new tab, but it Verification errors in a new tab If this validation is passed, then I want to open it only to open new tabs, is there a way to open and open new windows only when verification is near? Thanks for not using javascript or jquery I have tried h: command button but it opens in a single tab As far as I can see that you can not do without javascript, because target attribute browser is a new tab / window immediately Forcing the server to open, after the request.

Sockets, xmpp and polling to node.js - performant and server friendly -

I am making a webpage and may need some help. The app has got chat and some news systems. That's why we write a lot and need constant updates of information. At the beginning of the project, we can not host many servers due to financial problems. So I was wondering, what is the most server-friendly way to do this. Which approach requires minimal server resources? Can somebody help me out? Voting - I request new data through AJAX every 60 seconds - no connection to be established in two ways xmpp - I Recently it has heard - if somebody is a protocol, then explain it in some sentences? socket.io - A connection is established in two ways but the server can crash very fast because it can only control the limited amount of connections Information is not required on display. I need to know that it is more efficient to make many single requests on the server or better to establish a connection. I have read a lot of articles on it but my question has not yet been given a very ...

html - 2 Background Colours - CSS only -

Image
How do I add 2 background colors to a container device? I have seen some solutions that work, but with only 50% height for each color. I need a set height (see image). My current solution is background 2 background color for the background background of 1x260px for background 1. It leaves you though, unless you open the page with 2 background color of Flash, Unless the background 1 is loading, I want to save this flash. Here is the structure of the page: In advance Thanks for the help! Update: I could not find any solution to work properly in my context, but eventually resolved it myself (I I know maybe my brief maybe a bit incomplete). This is mine Here is the code: html, body { Margin: 0; Padding: 0; }. Other content {background color: light blue; Width: 100%; Height: 20px; }. Page content {width: 100%; Background color: lightgray; }. Container {width: 600px; Height: 700px; / * This height is flexible and can change whatever value you want * / background co...

jquery - how to change the content of my ifame using next and previos button -

फ़ंक्शन openFiles (fileSlNo) {var डेटा = {pageMode: "PDF_DISPLAY", फ़ाइल: SNO: fileSlNo}; Var d = $। पैराम (डेटा); Var अनुरोध = $ .एजेक्स ({प्रकार: "GET", url: "फ़ोल्डरनैविगेशन.डॉ?" + डी, डेटाटाइप: "टेक्स्ट", सफलता: फ़ंक्शन (प्रतिसादडेटा) {// प्रतिक्रिया डेटा एक यूआरएल है जो स्ट्रम वेर देता है दस्तावेज़ = एन्कोडरआईकोनेंट (प्रतिसादडेटा); // दस्तावेज एक वेरिएबल है जो यूआरएल आने वाले यूआरएल को एनकोड करता है। $ ("Show_dialog")। Html ('& lt; iframe src = "web / viewer.html? File =' + document + 'चौड़ाई = "900px" height = "650px" gt; & lt; / iframe & gt; ') .dialog ({create: फ़ंक्शन (इवेंट, यूआई) {$ ("body")। सीएसएस ({overflow:' hidden '});} , 'ऑटो', चौड़ाई: 'ऑटो', मोडल: सच है, resizable: झूठी, खींचने योग्य: झूठी, स्थिति: ["केंद्र", 30], पासऑनस्केप: टी Rue,}); }, त्रुटि: फ़ंक्शन (जेकएक्सएचआर, टेक्स्टस्टाटस, एररप्रू्रंस) {चेतावनी ("जेक...

jquery - Make Bootstrap work on Webpart resize? -

I am working on a SharePoint 2010 site. A page can have more than one web part and users can resize a web part according to their requirement. Bootstrap works on one page on window resize, can they anyway create bootstrap to work in the size of the Web Part? I want to make every web part individually liable despite screen resolution. For example, I have a separate SharePoint page with 2 separate widths in Web Parts & amp; Height Say, WebProp 1: 800x480, Web 2: 400x600, Window Resolution: 1920x1080 Now if I change the width of 1 to 1200 on the Web, then I Want to create Webpart1 responsive for new width only Bootstrap WebPart 2 & amp; The window remains in the form of resolution. Any leadership / support will be appreciated. thank you in advanced.

c# - Filter Sub-Collection of Collection -

मेरे पास निम्न कक्षाएं हैं: वर्ग ग्राहक {सार्वजनिक इन्ट आईडी ग्राहक; सेट} सार्वजनिक स्ट्रिंग नाम {get; सेट;} सार्वजनिक वर्चुअल आइकलेंक्शन & lt; विशेषज्ञता & gt; विशेषज्ञों {प्राप्त करें; सेट;}} वर्ग विशेषज्ञता (सार्वजनिक इंट आईडीईएक्टेस्टिस {get; सेट;} सार्वजनिक स्ट्रिंग विवरण {get; सेट;} सार्वजनिक वर्चुअल आइकलेंकिंग & लेफ्टिनेंट; सबएक्सटेर्टिस & gt; उप-एक्सपर्टिस [प्राप्त करें; सेट;}} क्लास सबएक्टेक्टेस {सार्वजनिक इंट आईडीस्यूबटेक्स्टेस {प्राप्त; सेट;} सार्वजनिक int आईडीईएक्टेर्टिस {प्राप्त; सेट;} सार्वजनिक स्ट्रिंग विवरण {get; सेट;} सार्वजनिक वर्चुअल विशेषज्ञता विशेषज्ञता {get; सेट करें;}} मैं एक IQueryable का उपयोग करके सबएक्स्टर्टस कैसे फ़िल्टर कर सकता हूं, और फ़िल्टर की स्थिति को कैसे रख सकता हूं? असल में मैं SubExpertise द्वारा फ़िल्टर करना चाहता हूं, लेकिन क्वेरी में अधिक फिल्टर जोड़ने के लिए possibilty को रखने उदाहरण: मैं सभी ग्राहकों को चाहता हूं जिसमें एक उप-एक्सटर्टेस 'एक्स' या 'वाई' है ध्यान रखें कि उप-एक्सर्टर्टस संग्रह क...

Javascript Arrays. Pushing a calculated value to an array returns undefined -

I have created a form for which the numerical values ​​to be entered in that number are then calculated. And comes in some other form. Calculation output should be later added to an array for reference in the session. All data in the process order function is successfully pushed to its respective arrays, but once I try to push any data that is computed instead of just input, there is no undefined function Not returned. Any help has been greatly appreciated. HTML & lt; Form & gt; & Lt; Fieldset & gt; Units: & lt; Input type = "number" value = "" id = "formUnits" & gt; ChemS: & lt; Input type = "number" value = "" id = "form kms" & gt; & Lt; Input type = button value = 'submit order' onClick = 'calculate ()' & gt; & Lt; / Fieldset & gt; & Lt; / Form & gt; & Lt; Form & gt; & Lt; Fieldset & gt; Cost per unit: & lt; Input type =...

ios - Really accurate speedometer on iPhone -

I would like to develop a mobile app for iPhones, which calculates the time required for any velocity. For example: I'm in my car, I open the app, select 100 km / h and when I speed up the app then the time should start counting and when I reach 100km / h then at that time The countdown is closed. It should be very accurate. I have heard about two solutions that I have to use the accelerometer / guoroscope first, but some people have told me this bad idea, because I will not be able to calculate the time in long distance. The second option is to use GPS, but on the other hand it can not be as accurate as I want it to be. I want to suggest, which option is better and why My goal is iPhone 4S and newer If you want to be more precise than GPS, then you will need some type of sensor. Most of the same apps and concepts build a receiver that plugs into a connecting car on the iPhone. The advantage of making all the sensors in the car available to you is this: This is an exam...

objective c - IOS 8 Interface builder UITableViewCell alignment -

Image
I am working on the iOS app which has got the UITBAView. I need custom UITableViewCell, so I created the .xib file to design it and linked it to my custom class. But I want a button to be aligned properly and I can not achieve it. The screenshot below shows my problem: I am using AutoLayout on the left side to mine. The xb has opened where I have a button. In between is a simulator that only shows a part of a button. In addition, if a change orientation, full button position does not change (it is fully visible). On the right you can see how I determine the constraints. Obviously, I did it wrongly, but I have tried everything and nothing helped. Different obstacles, values, toggled autollection - no effect How do I set up the obstacles, so that my button is aligned (on both the orientation)? PS I am using Swift. You need to link your button in the view that it contains, you can press Ctrl And drag the mouse from your button to the view in which it is included, Xcode wil...

sql server - SQL: Calculate the number of Days in a Month with no stock -

I can calculate the number of days in a given month, trying to create a query, which Special stock item unavailable (ie: number = 0). Currently, I have developed a query that can calculate today's date where stock is unavailable, but I am actually trying to calculate, during a month, how many days Stock Quantity = 0. i.e.: Month of January - Item 'A' had no stock on January 5, January 7 and January 20 - This means that the number of days outside stock = 3 Additional details: Currently, I am on the basis of my query in determining the stock level of the last transaction (i.e .: if, the last transaction However, the amount of stock = 0) then calculate the number of days between the date of transaction and today. Select [Stock Items]. Stockcode, Case When SM ([StockTits] .Qty_On_Hand) = 0 (thenDedifff (Day, GateDate), Max ([transaction]. Transgenadata [transaction] . [Stocklink] where [stock items]. 'Stock exchange' like 'stockcut' like stockcode ...

Less than (<) sign in XSLTForms / XForms -

I am trying to create a function that calculates something and then loads some canvas into a div, To do this, I created a script section in the header and added some code, and I actually need to compare two numbers, but if I use the "& lt;" If XSLTProcessor throws an error, sign or "end lieutenant" escape code ... I know this because XML analyst thinks that this signal is a "initial instruction", but I do not know how it can be understood that it There is only one math symbol. just use> sign in & lt; And & amp; Amp; LT is reserved for XSLT processors

html - DIV Not Clickable After Appended Using JQUERY append() -

इस सवाल का पहले से ही एक उत्तर है: 9 जवाब मैं एक डीआईवी को जोड़ रहा हूँ एक मौजूदा डीआईवी संलग्नक काम कर रहा है और दिखा रहा है, लेकिन मेरे डिवाइज़ को क्लिक करने योग्य होने की आवश्यकता है। वर्तमान में मैं काम करने के लिए onclick नहीं मिल सकता है मैंने प्रत्येक अनुलग्नक को एक अनूठा वर्ग या आईडी बनाने की कोशिश की है और फिर भी div क्लिक करने योग्य नहीं है। मेरी JQUERY $ (" Val ()) {$ .ajax ({type: "POST") (कुंजी) () (key) (function () {var y = $ ('# searchUsersText2')। Val (); अगर ($ ('# searchUsersText2')। ", Url: '../home/findUser.php', डेटा:" डेटास्ट्रिंग = "+ y, सफलता: फ़ंक्शन (डेटा) {$ (" # खोजउपर्सबॉडी-रिजल्ट 2 ")। खाली (); $ (" # searchUsersBodyResults2 ") .append ("& lt; div class = 'inputs' & gt;" + डेटा + "& lt; / div & gt;");}});}}); $ ("# SearchUsersText2")। क्लिक करें (फ़ंक्शन () {$ ("# searchUsersContainer2")। FadeToggle...

html - CSS not working on live heroku website but works on localhost -

So I do not even know what code is shown here, but I have a basic railroad website Heroku's My CSS and everything is working fine until I join one thing until it's done, unless I push changes in Herakok, then it is working on my localhost. This is CSS which is not working: . Thankyou {background-image: url ('xxx.jpg'); Background size: Cover; A {color: white; Text-decoration: underlined; & Amp ;: Hover {}} Question-list {color: white; Font-family: Muli; Align text: left; Font-size: 17px! Important; Ul {list-style-type: none; Lee (font-size: 17px! Important; Line-height: 22px! Important; }} P, OL, UL, TD {font-family: Vardana, Ariel, Helvetica, Sense-Serif; Font-size: 17px; Line-height: 22px; White color; }}} and this is HTML for that section: & Lt; H3 id = "putparadise" & gt; & Lt; Em> Check your inbox for a link to a webinar, or & lt; A href = "/" & gt; Here & lt; / A & gt; To return to the home page. ...

c - Compile without generating output file in GCC -

$ gcc -c somefile.c लिंक किए बिना संकलित करता है और संबंधित somefile उत्पन्न करता है ओ । क्या किसी भी आउटपुट फ़ाइल को उत्पन्न किए बिना जीसीसी में फाइलों को संकलित करना संभव है? मुझे पता है कि इसे प्राप्त करने के अन्य तरीके हैं लेकिन मैं इस बात पर उत्सुक हूँ कि क्या त्रुटियों / चेतावनियों की तलाश में स्रोत कोड के माध्यम से जा रहा के लिए एक झंडा है। आपको -fysyntax-only विकल्प पसंद हो सकता है यह डिस्क पर कुछ भी नहीं लिखता है, बस जांचता है कि कोड मान्य है। आप देख सकते हैं कि यह इस आदेश के साथ डिस्क पर कुछ भी नहीं लिखता है: $ strace -e लिखें -एफ जीसीसी -फिसेनटेक्स-केवल test.c प्रक्रिया 14033 जुड़ी [पिन 14033] +++ 0 +++ --- सीआईजीईएलएलडी से निकलती है (सीआईजीओएनओ = एसआईजीसीएलएलडी, सीआईसीडीएड = सीएलडी_एक्सिड, सीआईपीपी = 14033, सीआईस्टस्टस = 0, Si_time = 0, si_stime = 0} --- +++ 0 +++ से निकल गया इस अन्य कमांड के साथ तुलना करें जो -c -o / dev / null का उपयोग करता है इसके बजाय: रॉड्रिगो @ पी 41 सीसीटीएक्स 5: / टीएमपी $ सीढ़ी -ई लिखें -एफ जीसीसी -सी-ओ-डी / डीआईड...

asp.net - do web.config changes get deployed in .dll? -

I am trying to apply the changes to my web application. I have web on my localhost Changed the config file I do not have much experience in deploying on other servers .. And notice that the team has deployed the app but the web The config file looks unchanged. The Web The configuration change is compiled into \ bin *. DLL files or the Web Config files always need to be updated? the web Configure is a separate protected text file that needs to be separated into the root directory of the application of the server. him. Dll does not get compiled if you update the web.config file on the server, then it will be due to recycle to load new values.

Distributing MS Access database file with Creating an application shortcut -

Image
I read in the book (in Access 2013), one way of distributing access databases is making an application shortcut. Now there is an Access 2013 file on my computer (with Office 2013 and Windows 7) Other users' office 2007 and Windows (XP) are on my computer. Now I save a copy of this file to other users I want to give without saving as 2007. I want to know how I can do this with creating a shortcut application, if it is possible because in the book it seems that there is no clear way.

svn - Subversion and LDAP integration -

I subdivide under the Linux machine which is configured with LDAP. I have to migrate this machine and the SVN repository to work against different LDAP servers. This new LDAP server will include a new username, in order to make this migration easier for developers, I wanted to add some aliases to the old username, so they will be able to "commit" with their old username. Although it would be possible to use Authz it would be possible but I can not do this work and I think I did not understand the idea of ​​this authentication method. So what do I have? I have the following parameters for repo under my http.conf: DAV svn SVNPATH & lt; Mydata & gt; Original AthzLDAP authorization on AuthBasicProvider ldap AuthType authzSVNAccessFile & lt; Mydata & gt; AuthName & lt; Mydata & gt; AuthLDAPURL & lt; Mydata & gt; AuthLDAPBindPassword & lt; Mydata & gt; AuthLDAPBindDN & lt; Mydata & gt; Valid-user is required, so I added ...

python - IOError: cannot open resource -

I have a code on the iPython notebook, where I am trying to create a wordcloud, but I get an error . What could I see, the error is related to something else and not my code (something with fonts?) ---------------- - ------------------------------------------------- - -------- IOError Tracebacks (Most Recent Call End) & lt; Ipython-input-71-795b92e06f22 & gt; In & lt; Module & gt; () 4 ​​# print x [0], x [1] 5 ---- & gt; 6 GeneWorldClouds (list_of_tuples) & lt; Ipython-input-70-55c34fb2c915 & gt; In GenWordCloud (filename) 15 calculations = filename 16 #words = myWC.fit_words (calculation, width = 500, height = 500) ---> 17 terms = myWC.fit_words (count) 18 myWC.draw (word, pngapath + os.path.splitext (filename) [0] + '. PNG', width = 500, height = 500, scale = 1) returns 19 Cloud is generated for '{}'. Fit_words (self, the word) 177 in the format (file name) /usr/local/lib/python2.7/dist-packages/wordcloud/wordcloud.pyc while true:...

c++ - Is it necessary to repeat compilation flags when linking a program? -

ऑप्टिमाइज़ेशन और -g के लिए जी ++ झंडे जैसे -O डीबगिंग सिग्नल बनाने के लिए लिंकिंग प्रक्रिया के दौरान कुछ भी प्रभावित होता है? अधिक स्पष्ट रूप से, अगर मैं संकलन और लिंकिंग को अलग करता हूं (उदाहरण के लिए, एक मेक फाइल में), और मैं -O और संकलन के दौरान -g झंडे, क्या मुझे उन झंडे को भी जोड़ना चाहिए, जब लिंक करना चाहिए? परंपरागत रूप से, यह अनावश्यक रहा है कंपाइलर्स में हालिया सुधार, हालांकि, कम से कम ऑप्टिमाइजेशन लिंक-टाइम पर भी चलते हैं: एलटीओ (लिंक-टाइम ऑप्टिमाइज़ेशन) संकलित ऑब्जेक्ट फाइलों को इंटरमीडिएट कोड को नियंत्रित करने का कारण बनता है, न कि मशीन कोड, और उस इंटरमीडिएट कोड को मशीन कोड में संकलित किया जाएगा लिंक समय पर, जहां अनुकूलन लागू किया जा सकता है जो अमान्य होगा यदि प्रत्येक ऑब्जेक्ट फ़ाइल में मशीन कोड होता है संकलन का दूसरा चरण कमांड-लाइन विकल्पों जैसे -O से प्रभावित होता है, ताकि आपको लिंक-पंक्ति पर उन्हें लिंक करना चाहिए।

javascript - cannot populate backbone collection from backbone.js tutorial -

I'm working my way through the backbone tutorial: I'm working on the DEGENGO + TTPP I'm using the tutorial for tips and foreground tutorials in the form of backdoors + underscores. However, I am unable to loop through the collection of users which I get. Here my code is a DJ ango template): {% "my_app / base_template.html"%} {% block script%} extends gt; & lt; tr & gt; & lt; td & gt; & lt;% = user.get ('username)'% & gt; ; & Lt; / td> & lt; / tr & gt; & lt;%}); & Gt%; & Lt; / Tbody & gt; & Lt; / Table & gt; & Lt; / Script & gt; & Lt; Script type = "application / javascript" & gt; $ (Document) .ready (function () {var Users = Backbone.Collection.extend ({url: "/ api / q / user /"}) user list = backbone.view extension ({el: ".user_list ", Render: function () {var key = it; var user = new user (); users.fetch ({success: function (user) {v...

ubuntu - Hadoop namenode cannot find datanode -

पर्यावरण: 2 Ubuntu 14.04 VMs VMware कार्य केंद्र के अंतर्गत चल रहा है। I सफलतापूर्वक एक एकल नोड क्लस्टर की स्थापना की है और अब मैं पूरी तरह से वितरित एक स्थापित करने की कोशिश कर रहा हूं जिसमें मास्टरनाम पर चल रहे एक नामनाम और एक दातनो दास पर चल रहा है। start-dfs.sh चलाने के बाद और start- Yarn.sh, मैं मास्टर और स्काई मशीन दोनों पर सभी आवश्यक प्रक्रियाओं को देख सकता हूं। (नामनोद, संसाधन प्रबंधक, मास्टर और डेटानोड पर माध्यमिक नामोड, गुलाम पर नोडमैनेजर। हालांकि मुझे मास्टर पर मेरे डेटानोड नहीं मिल सकता है: 50070 ( मुझे इस पूरे दिन से फंस गया है। क्या कोई मेरी मदद कर सकता है, कृपया मुझे ? मैपेटेड-साइट। Xml में एक संपत्ति जोड़ें & lt ; संपत्ति & gt; & lt; नाम & gt; मैपेटेड। जॉबट्रॉकर & lt; / name & gt; & lt; मान & gt; मास्टर: 9 001 & lt; / value & gt; & lt; / property & gt; मुझे यह काम करता है या नहीं।

How to set custom colors in amCharts Column Chart? -

Image
How do I change the default yellow color with red in the chart below? Actually, I need to implement the red and green combinations. Thank you in advance! Linear colors and fillcolors are the properties of AmGraph responsible for color

dplyr filter function broken using R 3.1.2 -

Using dplyr version 0.3.0.2 with an empty workspace with R version 3.1.0.2. The filter function does not recognize the table areas, so it fails. Is there other dplyr work to do any test / validation? Thank you. I had a similar problem. I am using R studio and one in the project directory. The PROFILE file that was set to load dplyr on startup. It did the dplyr after the search path data. Thus, when I say a filter, this data was calling the package function. When I loaded the duplar after the data, then everything worked fine.

ios - ABPeoplePickerNavigationController transparent top bar -

Image
I use standard ABPeoplePickerNavigationController and when I transparent top bar that I saw was dragged table with contacts. I could not solve it looks awesome I [UIColor whiteColor] everything I tried to set to reach :. NavigationBar, all subviews of ABPeoplePickerNavigationController and topViewController it all subviews. I tried to set the styles in different times in the navigation bar, nothing to help. Here's the code @interfaceMNFindClientVC () & lt; ABPeoplePickerNavigationControllerDelegate & gt; @protecti (nonatomic, strong) epipilipikaran navigation controller * addressbook controller; - (zero) openPhoneBook; @end @implementation MNFindClientVC - (zero) viewDidoadload [[Super Viewedload]; self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithImage: [UIImage imageNamed: @ "Phonebook"] style: UIBarButtonItemStyleBordered goal: self action: @selector (openPhoneBook)]; Self.addressBookController = [[ABPeoplePickerNavigationC...

jquery - .load page within linked javascript and css files -

वर्णन: मेरे पास शीर्ष लेख, पाद लेख, आदि के साथ एक मुख्य पृष्ठ है। सामग्री (शरीर के अंदर एक div) इस पृष्ठ का है आप कहां पर क्लिक करें (मेनू आइटम) के आधार पर बदलते हैं लोड की गई सामग्री जावास्क्रिप्ट और सीएसएस फ़ाइलों के भीतर अलग-अलग पृष्ठ हैं। समस्या: लोड किए गए पृष्ठों की जावास्क्रिप्ट और सीएसएस फाइलें काम नहीं करती हैं। मुझे यह काम करने के लिए सभी पेजों को शामिल करना होगा। उदाहरण के लिए, अगले कोड में, status.jsp में शामिल जावास्क्रिप्ट काम नहीं करते: $ (document) .ready (प्रारंभ); फ़ंक्शन इनिशियलाइज़ () {// status.jsp है जावास्क्रिप्ट और सीएसएस से जुड़े $ ("# कंटेंट")। लोड ("पेज / स्टेटस। जेएसपी # इंफॉर्मेशन"); } हालांकि, यह काम करता है, लेकिन यह मेरी इच्छानुसार नहीं है: $ (दस्तावेज़) .ready (प्रारंभ); फ़ंक्शन इनिशियलाइज़ () {// status.jsp है जावास्क्रिप्ट और सीएसएस से जुड़े $ ("# कंटेंट")। लोड ("पेज / स्टेटस। जेस्प"); } पिछले कोड का नतीजा यह जैसा पृष्ठ है: & lt; html & gt; & Lt; शीर्ष & gt; & Lt; मेटा ...

c# - Should EndReceive ever return zero if the socket is still connected? -

I'm calling the following BeginReceive a socket: m_socket.BeginReceive (M_bfr , 0, M_bfr. Lang, Soketflagskpartiy it. Risev callback, null); My classes in ReceiveCallback function I call try {int bytesReadFromSocket = m_socket.EndReceive (AR); If (bytesReadFromSocket & gt; 0) {// Some processing date}} if {end (m_socket.Connected) m_socket.BeginReceive (m_buffer, 0, m_buffer.Length, SocketFlags.Partial, this.ReceiveCallback, null); } The issue I am coming to is that Andrew is returning zero, but the M_set.connected truth is coming back, so I get the call again. It occurs in a tight loop but does not stop when you finish the document, so it is not clear from the documentation. I only do it when the socket is closed, but it seems to be true. So the question remains, what can the conditions be endReceive assumed zero return under? After Socket.EndReceive () Specific case in return 0: Start remote host SocketShutdown.Send is either done or accepted pretty...

javascript - simple jquery slideshow with navigation? -

So I'm in the process of creating a very simple jQuery / CSS slideshow for a course, it's about ten pages long, And just works fine if you want to go in that sequence from the beginning, but if you want to refresh the page for any reason, then it sends you to the first page. Since it is for a long time, I want to be able to "click" on a certain page ... can not it be very complicated? Here's my jQuery function checkNav () (if ($ ('active-slide'). Haclus ('first') ($ '' Prev '). Hide ();. $ (' Next. ') Show ();} and if ($ (' active-slide '). Haclas (' last ')) {$ (' $ ('Previous') show ().;} And {$ ('next.') Show (); $ ('previous') show ().}}} Var main = function () {$ ('. Next') Click $ (function () {var currentSlide = $ ('Active-Slide'); var nextSlide = currentSlide.next ('slide') ; Var currentDot = $ ('.- Active Dot'); var nextDot = currentD...

Adding php code to renaming file while/ after uploading -

I am the originator of php and learn my methods around it. I know the job but nothing is working for me, so many mistakes are done. If someone does help, then the image is part of the code of the uploading function, I need to add the function so that the name of the file is hyphen (- ), After changing the empty space [/] after issuing the image file (if isset ($ input ['pic'])) (if (isset ($ input ['img_url' ]) & Amp; $ input ['img_url'] = '') {input ['pic_url'] = ImageHandler :: uploadImage ($ input ['img_url'], 'picture', helper :: slugify ($ input [' Title ']),' url ' ); $ Input ['pic_url']) = ImageHandler :: uploadImage (input :: file ('pic_url'), 'image'); $ input [' Pic '] = 1;} thanks eb

javascript - Loader before website fadein -

मेरे पास यह नमूना कोड है: & lt;! DOCTYPE html & gt; & LT; html & gt; & Lt; शीर्ष & gt; & Lt; title & gt; उदाहरण & lt; / title & gt; & Lt;! - यह अगला शायद आपकी मुख्य सीएसएस फ़ाइल में होगा, लेकिन उदाहरण के उद्देश्यों के लिए यहां इनलाइन दिखाया गया - & gt; & Lt; शैली प्रकार = "टेक्स्ट / सीएसएस" & gt; शरीर {/ * इसे निफ्टी फीड-इन प्रभाव के लिए छुपाएं * / डिस्प्ले: कोई नहीं; } & Lt; / style & gt; & Lt;! - गैर-JavaScript लोगों के लिए फ़ॉलबैक - & gt; & LT; नोस्क्रिप्ट & gt; & Lt; शैली प्रकार = "टेक्स्ट / सीएसएस" & gt; शरीर {/ * उपर्युक्त * / डिस्प्ले: ओवरराइड करके इसे पुनः प्रदर्शित करता है; ब्लॉक; } & Lt; / style & gt; & Lt; / noscript & gt; & Lt; / head & gt; & LT; बॉडी & gt; ... सामग्री ... & lt; script src = "jquery.js" & gt; & lt; / स्क्रिप्ट & gt; & LT; स्क्रिप्ट & gt; // यह संस्करण फ़ंक्शन * तुरंत चलाता है * (...

c# - ComboBox selected item in windows 8.1 or windows phone 8.1 -

Image
मेरे पास इस तरह xaml है: & lt; combobox x: name = "cbProvince1" क्षैतिज संरेखण = "वाम" मार्जिन = "674,481,0,0" कार्यक्षेत्रएलिन्मेंट = "शीर्ष" चौड़ाई = "236" टैबआइंडएक्स = "10" & gt; & Lt; ComboBoxItem सामग्री = "अल्बर्टा" / & gt; & Lt; कॉम्बोबॉक्स आईटम सामग्री = "ब्रिटिश कोलंबिया" / & gt; & Lt; कॉम्बो बॉक्स आईटम सामग्री = "मनीटोबा" / & gt; & Lt; कॉम्बोबॉक्स आईटम सामग्री = "न्यू ब्रंसविक" / & gt; & Lt; कॉम्बोबॉक्स आईटम सामग्री = "न्यूफाउंडलैंड एंड लैब्राडोर" / & gt; & Lt; कॉम्बोबॉक्स आईटम सामग्री = "नोवा स्कॉशिया" / & gt; & Lt; कॉम्बोबॉक्स आईटम सामग्री = "ओन्टरियो" / & gt; & Lt; कॉम्बोबॉक्स आईटम सामग्री = "प्रिंस एडवर्ड आइलैंड" / & gt; & Lt; कॉम्बोबॉक्सआईटम सामग्री = "क्यूबेक" / & gt; & Lt; कॉम्बोबॉक्स आईटम सामग्री = "सस्केचेवान" / & g...

java - Swagger-UI doesn't recognize application/hal+json -

Image
The Sokhst API I have spring boot application I when I was trying to add custom media-types, then I was trying to figure out a different problem. After trying to do this, I found an exception to HTTP Media Type Not Accessible while trying to view my code document. This exception appears only in the log (if I change the level to debug / />) On the browser I see 406 undefined . Here's a screenshot: the exception I get it from logs spring boot: 2014-11-04 10: 08: 26.189 debug 5496 --- [NIO-8080- executive -9] .wsmsDefaultHandlerExceptionResolver: exception Handler being resolved [public org.springframework.http.ResponseEntity & lt; Com.wordnik.swagger.model.ResourceListing & gt; com.mangofactory.swagger.controllers.DefaultSwaggerController.getResourceListing (java.lang.String)]: org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable represents The root of the problem Application / json; Charset = UTF-8 application ...

excel - Highlighting a row based on 3 columns of independent criteria -

I am trying to figure out how to do this job. I am making the Excel 2010 Windows 7 spreadsheet which needs to include 3 criteria specifically based on the school-wide benchmark: grade-level 5, subject-Math or Reading, and percentage score. I want to use 3 or 4 colors (red, yellow, green and hopefully a fourth color of blue) to show an "if-then" statement that will highlight the whole line in a particular color, To indicate how a child has done a benchmark then the color should be based on grade level, subject and percentage. The three criteria are independent of each other, so for mathematics, 1% will be 60% yellow in mathematics, but reading can be 60% green for 2 GDRs. Or it may be 60% yellow in mathematics for 1 percent, but 60% of the readings may be green, all 3 criteria are independent from the rest. I hope that I tell you correctly. For example: If a student's score in grade level 4 is greater than or equal to 90%, then the entire row is highlighted in gree...

ms access - VBA MapNetworkDrive to server with windows credentials -

I am using Windows 7 and Access 2010 I'm trying to connect to my server to view files Am My problem is that I do not want to have a username or password in the code. I want to do windows to indicate if authentication is required (by my trial, once to prove that you do not have to redo it for a while), strUser and strPassword are optional and Existing users uses credentials, but this does not seem to work for a server. dim objFSO object as object dim objNetwork in as dim objFolder As Object Dim strShareLetter As String Dim strURL string, string StrUser string strShareLetter as strPassword = " set L "objFSO = CreateObject (" Scripting.FileSystemObject ") strURL =" \\ company @ SSL \ DavWWWRoot \ companydav \ nodes \ 12345678 \ "objNetwork set = Bnaaaobjekt (" WScript.Network ") objNetwork.MapNetworkDrive strShareLetter, strURL, false, Strugr, Strosward set objFolder = objFSO.GetFolder (strURL) by MsgBox objFolder.Files.Count MsgBox objFo...

Add CSS/JQuery conditional formatting Oracle Apex form based on value -

ओरेकल = 11 जी एपेक्स = 4.2.6 मेरे पास ओरेकल एपेक्स के भीतर बहुत बड़े कस्टम मैट्रिक्स ग्रिड हैं I यह हेडर के रूप में नाम, क्षेत्र और दिन की संख्या (1,2,3 यानी) प्रदर्शित करता है पंक्तियों के साथ 350 से नीचे जा रहा है। प्रत्येक सेल में एक कार्य प्रकार है। इसलिए कर्मचारियों के प्रत्येक सदस्य के पास प्रत्येक दिन का कार्य है। यह एक इंटरैक्टिव रिपोर्ट में प्रदर्शित किया गया है। मुझे अब क्या करने की जरूरत है कार्य प्रकार के आधार पर विशिष्ट कक्षों को हाइलाइट करना है .. उदाहरण के लिए, पृष्ठभूमि सेल बीमार, सप्ताहांत के लिए हरे और इतने पर लाल हो जाएगा। "एमडीडीएचडीआईडीईटीईईईईटीई" = "202" जब "एमडीएचडीडीईटीईआरएल"। "JOB_TYPE_ID" = 115 तब 'एमडीडीएचडीआईडीएडी' # 000000 'एंड टेक्स्टकॉल्लोरी', जब "MD_TS_DETAIL"। "JOB_TYPE_ID" = 20 तब "नीला" जब "MD_TS_DETAIL"। "JOB_TYPE_ID" = 115 फिर 'लाल' अंत back_color_1 तब कॉल करें स्तंभ विशेषता में लेकिन ऐसा करने के लिए मुझे इसे 31 गुना...

Getting a 500 internal server error thanks to some javascript in symfony -

यह कोड है: नियंत्रक: सार्वजनिक फ़ंक्शन IsreadAction (अनुरोध $ अनुरोध) {var_dump ($ request- & gt; प्राप्त करें ('sentValue')); $ Em = $ this- & gt; getDoctrine () - & gt; getEntityManager (); $ Pm = $ this- & gt; getDoctrine () - & gt; getRepository ('लॉग इन लॉगिन बंडल: निजी संदेश)' - & gt; FindBypmid ($ request- & gt; प्राप्त करें ('sentValue')); $ बजे & gt; setIsRead (सही); $ Em- & gt; फ्लश (); नया रिटर्न () लौटें; } जेएस: $ (दस्तावेज़) .ready (function () {$ ("pmcontents")। Hide (); $ (" .pmbox ")। क्लिक करें (फ़ंक्शन () {$ (यह)। सीएसएस (" फ़ॉन्ट-वजन "," सामान्य "); $ (यह) .next ()। टॉगल (); var myValue = $ ('this' ) .attr ('id'); var डेटा = 'भेजावाले =' + myValue; $। एएक्सएक्स ({प्रकार: "पोस्ट", यूआरएल: रूटिंगिंग ('आईड्रेड'), डेटा: डेटा, कैश: गलत, सफलता : फ़ंक्शन (डेटा) {चेतावनी ("डेटाबेस अद्यतन किया गया है");}});});}...

Retrieve XML from HTTP POST request using php -

I have examined similar questions but no one is experiencing any problem. I am creating a web service and I want to recover XML data from an HTTP POST request, manipulate data and return a response. The following information should be considered when writing a script: Communication mode is not HTTP POST (SOAP) content type text / xml in POST request Only XML will be included in the request directly to a Raw post A parameter will not be streamed in and. I tried but my script is not capturing data from the HTTP POST request. My script: $ postData = file_get_contents ('php: // input'); If (empty! ($ Xml-> Merchant Reference)) {$ merchRef = (string) $ xml- & gt; Merchant Reference; $ CustRef = (int) $ xml- & gt; CustReference; $ Username = (string) $ xml- & gt; ServiceUsername; $ Password = (string) $ xml- & gt; Service passwords; $ Db- & gt; Settlement (check if the customer is present in the database); If ($ db-> countResultset () ...

linux - Take latest Log File & store in a variable -

I am looking for a solution for the latest log file (for example abc-20141028-005356.log) Which was revised. I can do this with the command "ls -1t | head-1", which gives the solution, but there are other files which are also modified in the logs folder. I tried to do with a head -2, which Gives 2 files; Then unloaded the file ... Say "LS-1T | Head-2 | GRP ABC-" The real problem occurs when we have the same file name with the latest file; New time & amp; Date How do I store the latest logfile in a variable that has the same duplicate file name & amp; Pursuit with date & amp; time. path = '$ 1 CD; LS-1T | Head -1` Hanged = $ 1 $ Pat $ 1 = / opt / server1 / log / Please advise on the same I 'may not be able to redeem a unique file based on time stamp for an example, for example abc-20141028-005356.log has been modified & amp; The next file is abc-20141028-005358.log, which is only a time difference. But the complete file name re...

objective c - iOS Multipeer Connectivity didReceiveInvitationFromPeer did not -

I know that this question has been asked many times, but after reading them many times more, I just do not get me Maltiipr connectivity to work "I'm not, I'm sending invitations but here's the code: @implementation MPCManager - (ID ) Init {self = [super init]; If (self) {_myPeerID = zero; _session = zero; _browser = zero; _advertiser = Zero; } Healthy return; } - (void) automaticBrowseAndAdvertiseWithName: (NSString *) DISPLAYNAME {_myPeerID = [[MCPeerID alloc] initWithDisplayName: DISPLAYNAME]; _session = [[MCAs Alloc] Init WithPair: _MairID]; _session.delegate = self; _advertiser = [[MCNearbyServiceAdvertiser alloc] initWithPeer: _myPeerID search info: zero service type: @ "trm -s"]; _advertiser.delegate = self; [_advertiser start ad viewer]; _browser = [[[MCNairBisvibIabersAlok] initWithPeer: _myPeerID serviceType: @ "trm -s"]; _browser.delegate = self; [_browner startbrowsingforars]; } - (void) session: (MCSession *) session didReceiveC...

c - when i use input line and start without debuging app just crash -

Hello everything is new so it's easier on me using im to know right when Trying to use im any type of input line, when I start the input, when its input crashes #define _CRT_SECURE_NO_WARNINGS #include At the point I need to press some number, and then crash the boom! What am I doing wrong? Your code is all wrong. I suggest you look at the basic information of C before it. Anyway, how it should be done: int numbers; Printf ("Select a number \ n"); Scanf ("% d", and number); Printf ("You entered the number:% d", number); Return 0;

google app engine - How to shell into a locally running Python app? -

New in GoogleAppEngine, this question might be stupid ... I just follow the tutorial and created a Python app , What's going on locally with GoogleAppEngineLauncher, is there any way to open in Python Open and play with data structures in the running app? Thanks! It may be what you want?

oracle11g - SQL Query multiple tables same values -

I'm having trouble creating a query Two tables are company_career and company_people . People have information related to the person's knowledge (name, address, etc.) and career information (jobs_chittle, department, etc.) People have been linked to the career by job_ref_ID . The Career table contains Direct_Reports_ID and has a unique ID that is affiliated with job_arr_id Example: job_ref_id = '1' result in direct_report_id = 'A' I then use the value produced from direct-report_id (i.e., 'A') and ask job_ref_ID = 'A' and it produces the name of the employee. Since it generates the employee's name (which is actually a manager) I will need to know how to present it as a manager name. I think I know what you are looking for, just join you and use nicknames For example: SELECT cp.name AS [EmployeeName], cp.address AS [EmployeeAddress], cc.job_title as [employeeTitle], cc.department as [employee] From the company name [Ma...

text - Visual Basic String variable alternative -

Image
I have a problem at present that string variables in visible origin are too small for my needs, just like 2 million characters Can capture but my script is sorting a list of IPs. Each list contains 10 - 100 million IPs, I get an error because the variable is too small, is there any option for string? (It can not be as long as alphanumeric) The error I get is found here:

api - Firebase Java client authentication -

Trying to create a standalone Java application, but can not be authenticated. import com.firebase .client *. Public Sector Main {Public Stable Zero Main (String [] Args) {Firebase Ref = New Firebase ("https://myURL.firebaseio.com/"); Ref.authAnonymously (New Firebase.AuthResultHandler {@Override public void onAuthenticationError (FirebaseError arg0) {System.out.println ("Not authenticated:" + arg0);} @Authorized (AuthData arg0) {@} Override public zero {System.out.println ("authenticated.");}}); }} The following authentication error always occurs: Not authenticated: Firebus error: There was an exception when connecting to the authentication server: Connection refused: Unknown authentication authentication is running on the host site Anonymous Authentication Works from the Web App Using Firebase-Client-jvm-2.0.0.jar Any suggestions?

json - phonegap/cordova installation error -

I'm trying to install phonegap, but I'm getting error message. I also try this for Cordoba Please do not help me, please help me. Your environment has been established to use Node.js 0.10.33 (x64) and npm. C: \ Users \ saiki & gt; Install -g phonegap 'install' is not recognized as an internal or external command, operative program or batch file. C: \ Users \ Saki & gt; NPM install - G phonegap / & gt; Ws@0.4.31 C: \ Users \ Saiki \ Apdata \ Roaming \ npm \ node_modules \ phonegap \ nod e_modules \ connect-phonegap \ node_modules \ socket.io \ node_modules \ engine.io \ node_mo dules \ ws & gt; (Node-jeep reconstruction 2 & builderror.log) || (Exit 0) \ C: \ Users \ saiki \ AppData \ roaming \ npm \ node_modules \ phonegap \ node_modules \ connect-ph Akgap \ node_modules \ socket.io \ node_modules \ engine.io \ node_modules \ ws & gt; Node "C: \ PR Ogram Files (x86) \ nodejs \ node_modules \ npm \ bin \ node-gyp-bin \\ .. \ .. Nod_modu...

ios - Custom UITableViewCell button click -

एक UIViewController में एक UITableView है जिसमें एक UIButton के साथ कस्टम UITableViewCell होता है। जब उपयोगकर्ता क्लिक करता है बटन (कस्टम UITableViewCell में), मैं होस्टिंग UIViewController में एक संदेश प्रदर्शित करना चाहता हूं - इसे प्राप्त करने का सही तरीका क्या है? मुझे UIViewController को कैसे सूचित करना चाहिए कि बटन पर क्लिक किया गया था? आपको कक्ष में कुछ हुआ होने के लिए UIViewController को बताने के लिए प्रतिनिधिमंडल का उपयोग करना चाहिए।

apk - Is it possible to get a source code of an android app installed in my phone? -

Okay, I accidentally lost a source of my project but I got this app from ctrl + F11 eclipse. Now, I can do all this to compress this app with APK and take code with Apolloq with Dex 2 and resources. But the code was quite different after the decompressing and not the same as I wrote. Is there any other way to remove Java code from APK (with backup) from my phone and besides removing it from Decompile? I really need that code: ( Not for my knowledge The app installed in your phone is always the compiled version while the decompressing can get you back the logic, it will always be like the generated code instead of the exact code you compiled.

apache spark - Scala import TSV -

I have some problems in parsing a TSV file in Scala. The following is the code that operates on the code. var lines = file.map (_. Partition ('\ n')) var node = lines.foreach (_.split (' Input pre> 1 one 24 2 3 3 6 6 desired Operation a 27 b 6 I get an error after performing the split ('\ t'), it states that this [ String], which is quite strange like - inside each foreach, every element is taken at a time. First of all, a foreach This is an assignment unit, so it is not what you want. Use unchanging vals It is also unclear what a format file is, so you have to get the string anyway. Val file = "1 \ ta \ t24 \ n2 \ ta \ t3 \ n3 \ tb \ t6" wall line = file split ("\ n") val nodes = lines.map (_ divided ("\ t") Map. (A = & gt; (A (1), A (2)). GroupBy (_._ 1) .map (a => (a._1, a._2.map (b = & Gt; B._2.toInt) .sum) // map (b -> 6, a - gt; 27) This is a big hot mess so I try to break it d...

c++ - Potential evaluation of inline function bodies and instatiation of template members -

Where are expressions inside an inline marked function marked as 'probability evaluation'? a.cpp template & lt; Typename T & gt; CONST T & amp; Foo (Constt and Edge) {Return AGR; } Inline void () {int x (21); X = foo (x); } b.cpp #include & lt; Iostream & gt; Template & lt; Typename T & gt; CONST T & amp; Fu (Consta & amp; amp;); Int main (int argc, char * argv []) {std :: cout & lt; & Lt; Fu (12) & lt; & Lt; Std :: endl; } If the inline function is defined, the expression is considered 'probable evaluation', then the template should be done immediately, and I hope that the $ (CCC) -ca CPP; $ (Ccc) - cbpp; To successfully link $ (CCC) ao bo -o bin , if the expression within a function declared function becomes only 'potential evaluation', when such a function is automatically used, then I Hopefully $ (CCC) -c a.cpp; $ (Ccc) - cbpp; $ (CCC) AO BO-O Bin to fail during the link phase. So far...

r - Deleting a row from a data set -

I am trying to create a function that rows a code in the n Removes. The rows that I want to delete are the minimum values ​​in the data set from my_data_set column time . I currently delete_data When I manually input these lines ( while using the loop) it works perfectly, but I'm not able to work the loop. I am calling the function: delete_data (n = 2) Any help is appreciated ! Try Try: My_data_set [! My_data_set $ time == minutes (my_data_set $ time),] or if you are using data and would like to use more direct syntax providing datatable: Library (Data Eligible) SetDT (my_data_set) my_data_set [! Time == minutes (time)] Then review how to work R R is a vector of language that can take you through a lot without taking the help of complex loops Makes more sense

c# - Local database to be used by multiple applications/machines? -

I am looking for a local (offline) database solution, a database that does not run as a service nor Need to be installed. I came to SQL Server compact, which seemed promising, except that it only allows multiple connections from a single device / machine. This is a WPF project being written on C #. This application will run on computers with no access to the Internet. The local network must have a database sharing with other examples of the same application. I considered writing on HTML / PHP but came to the same problem I thought of using a portable Apache server (which would be mysql) that the USB Virus V8, but actually a The application wanted to run away or avoid the risk of compatibility problems. There is probably no way to get this. Any suggestions? Thanks

AngularJS - e2e testing - Why does this by.css selector work? -

So I'm starting to break in javascript (& amp; jQuery) background in AngularJS; I'm vying through the tutorial I love it, and the way in which it is established. I am currently watching and I do not understand what works of a piece of code that I have tried to googling and poking through the document ... The launcher docs also do not feel anything for KC I could not understand how to search very briefly: / ... sorry if I'm just making it clear with some seriousness. The code in the E2A test scenario is: ('The main image should be swapped upon clicking on the thumbnail image', function () (element ( By (CSS. '(Phone: thumbs li: nth-child (3) img')). Click (); hope (element (by.css ('img.phone')) GetAttribute ('Src')). ToMatch (/img\/phones\/nexus-s.2.jpg/); Elements (By CSS ('Phone-Thumbs li: nth-child (1) img')) Click (); Expect (element (Via 'img.phone') getAttribute ('src')). ToMatch (/img\/phones\/nexus...