Posts

Showing posts from February, 2014

scala - Gradle test builds but no report -

I do not see my report after running gradle test . My build script is: Apply the plugin: 'scala' archivesBaseName = 'playground' repositories {mavenLocal () mavenCentral () maven {url 'http: // conjars.org/repo/ 'artifactUrls' http: //clojars.org/repo/a?a' ArtifactUrls 'http://maven.twttr.com/'}} dependency {compile 'org.scala-lang: scala-compiler: 2.9.2' compilation 'org.scala-lang: Scala-Library: 2. 9.2' compilation "Orgkapachekhadoop: Thaup-core: 1.2.1 'compile' com.twitter: scalding_2.9.2: 0.8.1 'compilation' cascading: cascading-core: 2.1.6 'compilation' cascading: cascading-Hadup: 2.1 .6 'testcompile' org.testng: testng: 6.8.7 'testcompile' org.easytesting: festival assert: 1.4 'testcompile' org.scala-tools.testing: specs: Lk6k2k2_lk5k0 '} test {useTestNG {{}} {{}} {{Main category ":" com.twitter.scalding.Tool ")}} {{configurations.compile} con...

wordpress - Google Map API Issue. Using without API key -

"Google's MAP implementation was working fine when Google reported to any visitor that Google's MAP was inactive Because our site did not have a correct domain reference or because the key was wrong, that key was working properly in our sub-domain, which we use for development purposes, so we were very confident that The problem is we do not trust our end We have also double-checked the settings on Google's Developers Console and everything is properly arranged. In the end, we removed the key temporarily from the API call, until we find a solution ; We are also using Google's Page Speed ​​Technology. Whatever I tried, it was to make sure that the Google Developers Console Efrir patterns were significant series normalized, eg. mysite.com than *. Mysite.com / * This apparently helped, but more testing was not consistent with almost always shown the alert on Windows Safari (5.1.7) and Firefox (29.0.1). On the contrary, it was rarely shown on the Saf...

java - Android - Error in writing to file -

I have a code I want to do that is not working. deleteFile (mealFile); // TODO: Try {FileOutputStream fos = openFileOutput (foodfile, MODE_APPEND); OutputStream Water OSV = New OutputStream Water (Force); For (int i = 0; i & lt; temp_name.size (); i ++) {if (! (Temp_name.get (i) .equals (mealName.getText). ToString ()) {osw. Append (temp_name) (i) + "\ t"); Osw.append (temp_meals.get (i) + "\ t"); Osw.append (temp_scale.get (i) + "\ t"); System.getProperty ("line.separator"); }}} Hold (exception e) {updateWarningMessage (6); } Something should be clear that I am missing out. This code does not want to add anything to the file. I know that the code is not unsuccessful (no exceptions), I know that the array is trying to include the list I am not empty and contains the strings (I also "osw.append" ("test") I have also tried; "with no luck) I know that the four-loop is going on as many times as it is supposed to...

Ignore Specific Computer Google Analytics -

I need a way to get rid of my traffic and interactions with my Google Analytics I know all IP and cookie based solutions but IP can change and cookies can be erased. Whatever I thought was that I am always logged into my Google account and I am always using Chrome, is there any way to use it for my benefit? It would be really good if I could just ignore my Google account. browser extension You can monitor analytics Use a browser extension to prevent I use the extension because it allows you to configure the sites that you want to prevent traffic.

c# - How to fill part of image with color? -

Image
मेरे पास बिटमैप छवि है: मैं उस छवि पर आयत खींचना: बिटमैप myImage = नया बिटमैप (" पथ ") ; का उपयोग (ग्राफिक्स जीआर = ग्राफिक्स.फ्रेमइमेज (myImage)) {पेन पेन = नया कलम (रंग। ब्लैक, 2); जीआर। ड्रॉरेक्टेंगल (पेन, 100,100, 100, 200); } I पूरे रंग को काला रंग के साथ भरना चाहते हैं, आयत को छोड़कर इस तरह से: किसी भी विचार को कैसे कार्यान्वित करें? एक सरल बहिष्कृत क्लिप करें: का उपयोग कर (ग्राफिक्स जी = ग्राफिक्स। फ़्रेम इमेज (MyImage)) {g.ExcludeClip (नया आयत (100, 100, 100, 200)); g.Clear (Color.Black); }

reactjs - Reuse markup from react component in single-page, client-side only webapp -

मार्कअप का पुनः उपयोग करने के लिए डेटा-प्रतिक्रिया-चेकसम विशेषता पर निर्भर करता है, जो केवल renderComponentToString (घटकों के सर्वर साइड रेंडरिंग के लिए उपयोग किया जाता है)। जब घटक क्लाइंट साइड प्रदान किया जाता है तो मैं प्रतिक्रिया-घटक मार्कअप का पुन: उपयोग कैसे कर सकता हूं? पृष्ठभूमि मैं एक ग्राहक-साइड पर केवल webapp पर काम कर रहा हूं। प्रोजेक्ट के लक्ष्य में से एक को जितनी जल्दी हो सके उतना जल्दी रेंडर करना है, आरंभिक तत्वों, जेएस लोडिंग / पार्सिंग आदि से यूआई "लैग" को कम करना। मैं गाया प्रतिक्रिया-घटक मार्कअप कैश करना चाहता हूं स्थानीय स्टोरेज का उपयोग करते हुए पिछले यूआई स्थिति को जितनी जल्दी हो सके बहाल किया जा सकता है (बिना प्रतीक्षा किए बिना निष्पादन कारणों के लिए ~ लोड करने के लिए 200ms प्रतिक्रिया और पार्स किए जाने के लिए)। कड़ाई से बोलते हुए, एक लाइव रिकैक्ट घटक (कम से कम एक निष्पादक तरीके से नहीं) में मार्कअप की एक स्ट्रिंग चालू करने का कोई तरीका नहीं है। इसके अलावा, यह वास्तव में समझ में नहीं आता है कि आपके घटक में छिपी हुई स्थिति हो सकती है ...

themes - Remove app title bar android -

I know that this question has been asked a million times, but whatever method I use is not good for me. is. If I'm in the manifest file, the full topic of the app Android: theme = "@Android: style / theme." Change. If I'm requested WindowFeature (Window.FEATURE_NO_TITLE); In on-the-kreyat activities, this app is displayed soon in the beginning BTW I have not selected any theme, only using standard Android Happened. It is not clear what you mean by "the whole theme of app changes"? For API level 11+ devices, you might want to @android: style / theme.Holo.NoActionBar . should be used

Clojure style: defn- vs. letfn -

Closer style (and generally good software engineering) puts a lot of emphasis on small functions, which is a subset of public Provide an external interface that is visible. There are some ways to do this in the closure: (letfn [(Private-A ...) (private-B ...)] (public- A ...) (public-b ...) (defn-private-a ...) (defn-private-b ...) (public-A defn ...) (defn public-b ... Letterform form seems more vocabulary and perhaps less flexible, but it reduces the scope of the function. My guess is that letfn is used only by other forms Is done only when the small auxiliary function is used only in a small area Is it a consensus? Should it be used at any top level (as I have suggested earlier)? When should it be used? In the case of letfn it is intended for interpersonal recurrence: (letfn [(even ? [N] (If (zero? N) is true (strange? (DC N))) (Strange? [N] (If (zero? N) is wrong (even? (DC N) )))] (Even -42?)) ;; = & gt; true its sub Do not do yoga at the top level. Do...

php - CodeIgniter session set-cookie duplicated -- how to solve -

update: I wonder if anyone can review my answer and Can you see if any hole in it A well documented issue is when using codingers and sessions: A set in the Summary coding - Cookies each time set_userdata Is called. I got a partial solution: The only problem with this solution is that the code needs to be inserted everywhere to clean all the headers An easy way? I have modified the code a bit to remove php errors, but is there any way I can use hooks or something? & lt; Php class extends MY_Controller CI_Controller {public function __construct () {origin: __construct (); } // View (Modified) http://ha17.com/1745-bigip-f5-header-max-size-collides-with-codeigniters-bizarre-session-class/ Protected Function _removeDuplicateCookieHeaders () {// Clean All cookies are set ... $ headers = headers_list (); $ cookies_to_output = array (); $ Header_session_cookie = ''; $ Session_cookie_name = $ this- & gt; Config- & gt; Item ('sess_cookie_name')...

javascript - jQuery Click function doesn't work on first child -

jQuery's click function is not working on Lee's first child & Lt; Ul class = "clearfix" & gt; & Lt; Li class = "contracted" & gt; & Lt; A href = "#" & gt; & Lt; Span & gt; L1 & lt; B & gt;: Identify a number 10 times the value of & lt; / B & gt; & Lt; / Span & gt; & Lt; / A & gt; & Lt; / li & gt; & Lt; li class = "" & gt; & Lt; A href = "#" & gt; & Lt; Span & gt; L2 & lt; B & gt;: Identify a number, value of 10 times value & lt; / B & gt; & Lt; / Span & gt; & Lt; / A & gt; & Lt; / li & gt; & Lt; / Ul & gt; I also tried to move down the function below. But it is not working. The full working example is given in JSField. $ ('contracted'). Click (function () {$ (this) .Parent (). Attr ('class', 'expanded' $ ('Ul.expanded li.activeLesson'). Attr (...

javascript - Change the value of a custom attribute for an image -

I have a document with two thumbnail images (bank and bank checks like front and back) I can see the thumbnail image of the original ( Large) zooming a part of the image in front of the image can zoom and display. Everything works by clicking on the front image, it changes with the back and I should be able to display the back zoom. However, this does not work, I believe that the zooming arrow () attribute should be modified and provided with a value for custom attribute or zooming () to refresh any way to display the second image. Any ideas what is needed? My images with sources from sessions: Data zoom-image = '& lt;% = session ("ImageFrint")%> & gt; Width = "500" height = "250" /> JQuery & lt; script type = "text / javascript" & gt; Function Page Load (Sender, Args) {Zooming}} Function Forward () {on onmg = '& lt;% = Session ("ImageTambal Pathfinder")% & gt;'; } Function rear ...

android - Finishing an activity from service -

I am creating an app for which a connection to a MQTT server is all right, but I want to make it proof-proof more specifically, I need that when the service is unable to connect to the MQTT server, the application stops because it can not do anything I want to transmit the intention of the activity Tried, but caught the broadcast exception Not reaching after. (I've done easily Omet some code to understand) service to handle intent () try {mqttClient.connect (); } Hold (MqttException e) {intent msgint = new intent (); msgint.setAction (constantStrings.SH_CONN_ERROR); sendBroadcast (msgint); Log D. ("McKitlog", "Error-McCattyException" + EZET Message ()); } activity is required to eliminate (SelectionGrid.class) @Override secure zero saved create (Bundle Given Instestestate) {[...] IntentFilter Filter = New IntentFilter (); filter.addAction (constantStrings.SH_CONNERROR); Register Receiver (SH_Communication, Filter); } Broadcast receiver SH_Comm...

json - Is there a common (not any) type in typescript for [] and LinkedList/Dictionary -

We have to copy the object between a web worker and the main application. We have installed a system, where for each class Copied, we define an interface and then there is a class implementing interface. This works because the added JSON can be copied to the interface and then the properties can be assigned. This interface is not important for implementing the class, but it is clean and probably will reduce the bug. But we have a problem. We use class. So my class will be: Export class DocHeader {public format: DocumentFormat; Public Fonts: Archive. Linked list & lt; Fonts.FontAttributes & gt; Public style: collections.Dictionary & lt; String, styles. Style & gt; But JSON is an array and will be: Export Interface IDC header {format: DocumentFormat; Fonts: fonts FontAutimes []; Style: Genre. Style []; } I know that possibly "No, it is not possible." But I feel that it never hurts to ask. Is there some type (and none) like IEnumerable at leas...

Using MAX() in MySQL more efficiently -

I am trying to get all the email addresses that have ordered anything with category id of 10 But this month nothing has been ordered. If they have ordered the category id of any type this month, then I do not want to include them. I am using this question but I do not think that it is very efficient, it has been going on for many years. Select contact e-mail (order order maximum (order date) where o.customerID = commands.customerID) with latest order order where category id = 7 'contact e- Group latest order by mail & lt; = '2014-04-01 00:00:00' Is there a better way? You do not need subquery if you already have order Can be referenced. Should do some work like this (has not been tested) Select contact email, maximum order order (from order) as the latest order WHERE categoryID = 'Latest Order Ordering Customer ID by Group' & lt; = '2014-04-01 00:00:00' '

bash - split a long string of arguments after delimiter -

मेरे पास HTTP पते के साथ एक बहुत लंबी स्ट्रिंग है, जो "।" यानी http: //bla.com | http: //blabla.com | ... बाश में यह कैसे संभव होगा कुछ ऐसा http://bla.com http://blabla.com धन्यवाद -a यह प्रयास करें: गूंज "http: //bla.com | http : //blabla.com "| Tr '|' '\ N'

Calling a JavaScript function on an AngularJS Service -

I'm working on a custom panel for quota, using AngularJS is a service called "filter" that service Code can be dynamically trying to add a filter from my panel to runtime. I can tell what I thought, I could do something like this: var N = getName (); Var filter = {aka: 'my filter', edit: incorrect, query: 'name:' + + + '' ', type:' query string '}; $ Scope.dashboard.current.services.filter.set (filter, empty, true); Unfortunately, this approach does not seem to work, instead, I get an error that says: typeError: unspecified Function is not After some scrutiny, I have told this problem about this fact that the set does not appear to be a function on the filter object when I created the console.log ($ Scope.dashboard.current.services.filter) I did not see it listed; I am confused when I look at the code in the service, then I can clearly see a set method. However, this console is not listed in .log, am I here something wr...

currency - Give the employee(fname and lname) that make the most money in each dept -

SELECT max (वेतन), विभाग से कर्मचारी ग्रुप द्वारा विभाग; त्रुटियों के बिना fname और lname कैसे जोड़ सकते हैं? अगर मैं उन्हें समूह में जोड़ता हूं, तो मुझे अधिक वेतन नहीं मिलता है। यह मैं कैसे करता हूं इसे SQL सर्वर में करें ... आपको एक सबक्विरी की आवश्यकता होती है जो प्रत्येक विभाग के लिए अधिकतम वेतन देता है, फिर उस कर्मचारी तालिका में शामिल होने के लिए इसमें पता लगाएं कि कौन सा कर्मचारी उस विभाग के लिए वेतन है: SELECT D. Dept, D. MaxSalary, Employees.FName, Employees.LName FROM (चुनें MAX (वेतन) MaxSalary के रूप में, कर्मचारी ग्रुप द्वारा विभाग का चयन करें) डी INNER कर्मचारियों पर कर्मचारियों में शामिल हों.डिप्ट = डी.छोटे और कर्मचारी। = D.MaxSalary

Perl regex: indent/add words after matching keyword in a string? -

I am indenting text using a regex before and after a word in a string? I have the following string This is some keyboard fill text and I want to convert it to: This is something & lt; * & Gt; KEYWORD & lt; * & Gt; Full text A literal interpretation will be: S / (KEYWORD) / & lt; * & Gt; $ 1 & lt; * & Gt; / G

swing - Trying to draw rectangles/ovals after user selects what color and shape to be drawn in Java -

Just started to wander with the GUI I want to draw rectangles / circles to this program (which the user clicks on) and Maintaining the same size in the previous one until the user accesses the amount entered in the text field. When I run it, it seems that it never seems to color it. Thanks for any help. import javax.swing. *; Import java.awt. *; Import java.awt.event. *; ClassLocal Applicability of ActionListener {JTextField numOfShapes; Pinkton square, circle, black, red, blue; Boolean is Square = true; Boolean's cycle = false; Boolean is Black = true; Boolean isRed = Wrong; Boolean is blue = false; Int num = 0; SizePanel () {setLayout (new border layout ()); // Panel 1 JPNL P1 = new zpn (); Class = new pocket ("square"); P1.add (square); Square.addActionListener (this); Circle = new pocket ("circles"); P1.add (cycle); Circle.addActionListener (this); NumOfShapes = new JTextField (15); P1.add (numOfShapes); //numOfShapes.addKeyListener (this); Joint (P1,...

How to set up python cron job in app engine from september to may -

I want to set up a cron job to send weekly emails from September to May, what I have for far cron.yaml : - Description: Mail URL: / croncat schedule: every Monday from 09:00 ["to" (first Monday of September) "to" (last Monday of May)] app. Yaml: - url: /.* script: myapp.application Python: class kronetsk (handler) ): Deaf Post (Self): * Send Mail * Python Mapping: application = webapp2.WSGIApplication ([('/ crontask', kronksk ) ... What is "syntax" for this? It seems that this handler is called once per week. What if you were to specify the date in the cronnutsk handler on the Dragon Contactab Instead of the DataEim Library? Alternatively, "brackets are only for illustrations, and quotes make a literal point" from the document. Therefore, do not use those brackets and quotes. It may look like: Schedule: sep, oct, nov, dec, jan, feb, mar, apr, May 17:00

If I use the auto scaling features of Azure Web Sites do I need to set a specific machine key? -

If you use auto scaling with Aesur Web sites, then you need to set the machine key so that encrypted authentication Can tokens be shared between machines? Here is a question that I am asking for. However this question refers to Azure Web roles. I am asking about Azure Web sites. No, you do not need it. The weird website will set the same machine key for all your instances when they are running 2 (or 10) different VMs. If you want a quick and dirty way to verify this, the code of the following code is basically the machine key in your Application_Start () code % WEBSITE_INSTANCE_ID% writes in a file named . This example is a unique environment variable Scale for 2 machines, turn on always setting and in 2 minutes your files will have 2 files in your D : \ Home \ site \ wwwroot should be written in the folder for which the long route path Complaints and s is an example for the name (2 machines ID) and they will have the same key. Secure void Application_Start ()...

actionscript 3 - What is the way to turn on optimization in flash professional? -

I have examined some speed and it seems that the compiler does not optimize in Flash Professionals. I'm using Flash Professional CS5.5. Is there any way in Flash Professional to turn on compiler optimization? Do you mean the alternate version between Flash Professional and the debugging version? Adobe Official Note: When you compile your project in Flash Professional, you do not have the option to choose between release and debugging version. The compiled SWF file is a release version by default. Hope is useful for you. :)

Nested For Loop in Batch -

Ive looks at several threads and can not solve my problem. I would like to use two lists to create an output. Set Client_ID = BJCH, BORG, FGMS, SVIN, JEFF, NWIL Runs = 1,2,9,10,12, 20% for %% (% Client_ID%) In (%% for %% (% partNEW)% (echo %% A %% B)) But the output I get is: BJCH 1 BJCH 2 BJCH 9 BJCH 10 BJCH 12 BJCH 20 BORG 1 BORG 2 BORG 9 BORG 10 BORG 12 BORG 20 FGMS 1 FGMS 2 FGMS 9 etc .. What do I need BJCH 1 Borg 2 FGMS 9 SVIN 10 JEFF 12 NWIL 20 Any ideas What am i doing wrong Any help is greatly appreciated. Your two lists are different : if you have a To create a nest, you are multiplied by list of both processed for the same on There is no way to do this, unless you change the lists into two and then process the same for both , that is, the elements of two arrays with the same index P Action. For example: setlocal EnableDelayedExpension set client_id [1] = BJCH set Client_ID [2] = borg etc ... not set [1] = 1 set not run [2] = 2 etc. . /...

How does the jQuery.proxy() work in this situation? -

I try to understand To be precise, study method $. Proxy () Unless I found this script, everything was clear: (function ($, export) {var mod = function () {}; mod.fn = mod Prototype; mod.fn.proxy = function (function) {return $. Proxy (function, this);}; mod.fn.load = function (func) {$ (this.proxy (func));} export; controller = Modern;}) (jQuery, window); (Function ($, controller) {var mod = new controller; mod.toggleClass = function (e) {this.view.toggleClass ("over", e.data);}; mod.load (function () {see = $ ("#view"); this.view.mouseover (this.proxy (this.toggleClass); this.view.mouseout (this.proxy (this.toggleClass));});}) (jQuery, controller ); And I do not understand how $ .proxy () works in this part: mod.fn.load = function (func ) {$ (this.proxy (function)); // Why is this an object converted to jQuery? }; Can anyone explain how it works? This is not a jQuery object, $ (this.proxy (func)); As a domain handler, entering the function pass...

matlab - dicom image : area calculation -

I am developing a program in matlab to view diacom files and measure the area of ​​a particular target area in the image . The target area will be given as manual input (number of points). I know a lot about the DICOM analysis. But I think that simply the matlab function will not give the real area to input the polio (x, y) to the number (coordinate). I need to know the real area in mm ^ 2 I also have pixel spacing and slice thickness. Please help me do this? If the coordinator supplied to you polyarea is measured in pixels , Then the result will be measured in pixels. If you have a pixel width (in mm), then your area (mm 2 ) pixelarea * pixelwidth 2 , i.e .:: area = polyaira (x, y) * power (pixelwidth, 2)

java - What's the trade-off between using GetPrimitiveArrayCritical and Get ArrayRegion? -

When bridging c ++ and java using JNI, we always want to avoid unnecessary copying. I got GetPrimitiveArrayCritical can not give us an opportunity to copy the array, but I can not fully understand the document of its restriction: GetPrimitiveArrayCritical After making the call, the original code should not run for an extended period of time Before this release, the Pyrametic Array Critical Code of Code, within this pair of work, as we walk in "important area" Treatment Ahia. Inside an important area, the original code should not call other JNI functions, or any system call which may cause the current thread to wait for another Java thread . (For example, the current thread should not be called to read on the stream written by any other Java thread.) With these restrictions it is more likely that the original code is one of the Orange Will receive the exact version , even if VM does not support pinning. My questions are: Extended period of time Doe...

How to set the path of a Tempfile in ruby -

I have some files that I want to convert to temphile objects. Is there a way to do something like this: Tempfile.new (path) ? I am asking that I am trying to run an imaginary command which creates many files, a single template unfortunately does not collect the newly created files garbage ... Thanks! Instead of just dumping into the new file in temphile, just overwrite it, thinking about just about anything tempfile = Tempfile.new ('foo') tempfile.close FileUtils.mv path, tempfile.path tempfile.open

nuget - Packages not appearing in proget feed -

I am using the program to upload packages, I'm manually uploading from the disk, but when I check that the package is present in this feed. When I log on to the server that is hosting the Progress and going from the package to the Pathpath, I can see that the package is actually on the server! Why do not any thoughts appear in the feed? ps I restarted the website / application pool and the Pragate service and still does not work. No packages are seen in the web application (and you have verified that they are actually In the right place on the disk), this means that packages are not indexed by the Proget Service. Since you have already restarted the ProGet Web service, so this is a problem with the personal package. Check to see "Indexing errors" in the Admin section; It will give some insight what the problem might be. Frequently, the file name does not match the package name / version; This is a requirement if you have a package of MyFoo and version 3.0...

What is the difference between AngularJS $window.alert() and Javascript alert()? -

It looks like AngularJS $ window.alert () and JavaScript Alert () are the same. Under what circumstances should we use them? Or is there any difference at all? this is exactly the same - in the global way browser in javascript) window The methods are the AngularJS 'nickname for the' window object. $ Window: Reference to Browser's Window Object Note that you override the $ window for your tests But both are similar in regular code.

android - How to differentiate between two images(drawable) placed on same imageView -

When writing a robotium test case, I want to differentiate between the two images placed on the same image. Drawables are dynamically placed, I have tried to get drawables with the help of a dragable (), but each time the different drawable object is coming. Is there a way to get the drawable ID? Any help or guidance will be appreciated well You do not get yourself from the Drawable ID You can store and retrieve drawables by using the SetTag () and getTag () methods to view imageView ID. TestActivity.java extends the test of public class to test activity activity {Private Static String TAG = "Test Activity"; Personal activity mActivity; Private static id ID_TAG = 100; @ Override Protected Zero (Bundle Saved Instantstate) {Super. NET (Saved Instantstate); SetContentView (R.layout.activity_test); Log D. (Tag, "On Crate"); Mactivity = this; // Set Graphical Image View imgView = New ImageView (mActivity); ImageView.setImageResource (R.drawable.photo); St...

asp.net - How to add a class to the body when parent ID is matched in Kentico 6 -

मैं class को body में जोड़ने का प्रयास कर रहा / रही हूं नोडिड । उदाहरण के लिए: यदि मौजूदा दस्तावेज अभिभावक नोडिड 1234 के बराबर है - वर्ग "नीला" जोड़ें & lt; body class = "LTR Gecko Gecko28 ENUS ContentBody blue" & gt; मैं वेबप्रार्ट सेटिंग्स में मैक्रोज़ का उपयोग करके इसे प्राप्त करने के लिए संभव है, एस्प संपादित करके नहीं? (मैं asp.net, या कस्टम मैक्रोज़ में देखेंगे) // जब आप jQuery को खिड़की लोड करते हैं, तब // डेवमेंट ... $ ... ($) के साथ प्रतिस्थापित किया जा सकता है {% CurrentDocument.NodeId | (बराबर) 1234 | (सचव्यू) & lt; script & gt; window.onload = function ) $ ("बॉडी")। AddClass ("नीला");} & lt; / script & gt; | (falsevalue) #%} // स्क्रिप्ट में विशेष-वर्णों के लिए वॉचआउट, चूंकि यह टूट सकता है, मैक्रो अगर आप इस समाधान को अपग्रेड करते हैं तो सावधान रहें, कोड बदल जाएगा। केंटिको v6.0.58 (एसपी 1) के साथ एक रिच में परीक्षण किया गया -छोटी फ़ील्ड और क्रोम 33 +

c# - get value from var item? -

Image
I have a wp8 app in which the list picker binding is XML data growth and when I select the item, Src location file location I have this function when I inspect the item which I selected with the name src Private Wide Sodalist Picture Selection Switch (Object Sender, System.Wind Controls: Selection Changed Avenues Eg. E) {// Tudo: Add Event Handler Implement here. Var items = (Sender as listPicker). Selected item; MessageBox.Show ("The selected item is:" + item); } var the resulting type is correct - Object This is the case. To see this property you must enter SelectedItem for this is the actual type. Private Zero Glitch picture checkon changed (Object Sender, System. Windows. Control Selection, Changing Event Errs) {// TODO: Add an implementation of the event handler here. var item = (The sender in the form of ListPicker). As the selection) as expression. Blend.SampleData.soundsEFXSampleDataSource3.sound; If (item! = Null) message box Showing (...

php - I cant include image in view file using yii framework -

I am new to the yii framework. I am trying to include the image file in the yii framework. See the file in the admin module But the image is in my root folder. My original folder is 'job explorers' image in the 'Pictures' folder inside the job finder folder. The name of the image is 'update.png'. The name of my view file is list_jobseeker.php I am including the image like this: I got the error: htmlspecialchars () assumes that the parameter 1 should be a string, The second parameter is the alt attribute of the IMG element. So your image should be similar to the code, including: & lt ;? Php echo CHtml :: image (Yii :: app () - & gt; request-> Basipult. / Images / update .png ',' update '); ? & Gt; If you want to make the image a link, then use it with the CHtml :: image: & lt; php $ img = CHtml :: image (Yii :: app () - & gt; Request- & gt; BaseUp. '/ Images / update.png', 'update...

graphics - Inner and Outer Glow Implementation using Opengl ES 3.0 -

I want to apply internal and external brightness for a render 3D object. The brightness here applies only to 3D models, which are glow-enabled and not for the full view. There is a post in the Stackoverwork Flo that talks about modifying the mesh, which is difficult and deep in my opinion. Was wondering if it can be obtained through multi-pass rendering? Like some effects that apply to specific items in the scene and only apply to internal and external limitations. I think you want the brightness near the shape of the object? I have exterior brightness using a multi-pass approach (after all the "regular" drawing): continuous output shader (forms of output In the process), drag the object to the texture (approved to fully transparent) while marking the stencil buffer in the process. Use the same depth test if you want a brightness around the part where the object is actually visible on the screen. Clearly use depth buffer to be used to draw normal view. ...

php - How can I get facebook statuses from an account -

I am trying to get Facebook user status from my feed. Here's my code: & lt; Php require_once ('facebook.php'); $ Config = array ('appId' = & gt; 'my_app_id', 'secret' = & gt; 'my_app_secret', 'allowSignedRequest' => incorrect); $ Facebook = new Facebook ($ config); $ User_id = $ facebook-> GetUser (); // user_id get here ...? & Gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt ;? Php if ($ user_id) {{$ status = $ facebook- & gt; API ('/ me / posts? Boundary = 1'); // Get the post here ... "Status:" Repeat $ status ['message']; // Post messages message ...} hold (FacebookApiException $ e) {$ params = array ('scope' = 'gt;' email, read_stream, user_reference, user_boot, user_space, user_status', 'redirect_uri' = & gt; ; 'Http: //localhost/facebook/index.php', // replace with y...

javascript - PHP alert message in persian language -

I have a delete page, I'm trying to get popup a warning message if a deleted operation was done Was, display I want to show a text message in the warning box in Persian (Persian) language, but this code is done but Persian characters do not display correctly. Please help me what should I do? echo & lt; Script & gt; '; Echo 'warning ("ØØ ° Ù ??");'; Echo 'location.href = "remove touristic 1 fpp' '; echo & lt; / script & gt;'; I found my answer: In each PHP output header as set UTF-8, specify UTF-8 as encoding: Header ('Content-type: text / html; charset = UTF-8');

php - "mysqli_fetch_array() expects parameter 1 to be mysqli_result, string given" error -

Image
& lt;; doctype html & gt; & LT; html & gt; & Lt; शीर्ष & gt; & Lt; title & gt; सभी & lt; / title & gt; & Lt; / head & gt; & LT; बॉडी & gt; & lt;? php शामिल ("connection.php"); $ Result = mysqli_query ($ con, "student_data से चुनें") या मर ('क्वेरी विफल'); जबकि ($ पंक्ति = mysqli_fetch_array ('$ परिणाम')) {गूंज $ पंक्ति ['नाम']; प्रति पंक्ति गूंज ['fname']; प्रति पंक्ति गूंज ['sid']; प्रति पंक्ति गूंज ['ईमेल']; गूंज "& lt; br & gt;"; }? & Gt; & Lt; / body & gt; & Lt; / html & gt; यह मुझे डेटाबेस में हर डाटा को प्रिंट करने के लिए लगता है। लेकिन मुझे निम्नलिखित त्रुटि मिलती है मुझसे कहां गलती हो रही है? एपॉस्ट्रॉफ़ को $ परिणाम के आस-पास हटा दें। यह mysqli_fetch_array ('$ परिणाम') होना चाहिए mysqli_fetch_array ($ परिणाम) अंतर ध्यान दें: mysqli_query $ परिणाम div>

sql - Conditional Distinct -

Image
Sorry for a little introduction, but I want to make it clear what I'm trying to do. If someone is able to come up with a more appropriate title, please feel free to edit. I wrote an SNMP collector who checks every switch in our data center once per hour and checks which ports are online, and MS SQL 2's 12 DB DB inspires it It was often that administrators do not report a blocked server or any other device and we are running out of switch ports. The DB schema looks like this (simplified screenshot): Interface table is a child's table for crawl (crawl = run) the number of the SNMP collector) is not constant for every switch as the number of interfaces but changes between the crawls, like That line card is included or removed. Now I want to write a query that switch every interface that always had 2 ifOperStatus value and ifOperStatus of 1 was never there. I have written a query of three nested sub-questions, it is slow to read and hell. There must definitely ...

intel - ARM Program Counter distinguishing feature -

How is ARM's R15 different from the CPU's normal PC? Both programs are counter-only ARM's PC is similar to a regular register with some restrictions from the x86 IP. Similar to a regular register Looking at the normal PC, Intel is a x86 based CPU, in case of x86 you can not manipulate the PC directly (instruction indicator), but it is accomplished through control control instructions. In the case of ARM, the historical counter (PC) is indexed as a register on index 15 (16th register), can be manipulated directly through arithmetic directions. For example, you can add PC to 16, which will change the flow of instruction stream similar to the 16-byte forward jump instruction.

java - Flushing in the repositories -

Most of the code shows me (spring), it seems that any call entityManager.flush () Is there a reason for this from a repository? Yes, one reason is by default, flush () Before being done, or before a query is executed, it is called automatically, resulting in non-flick-induced modifications. So a clear flush () is not nearly needed and it is a good thing to flush as much as possible, because the transaction is rolled back, Because it avoids execution of this query.

multithreading - How to terminate thread in python to jump out of loop and then continue the loop again? -

I wrote a piece of code for scrapping in Python. I have a list of urls, which is to scrap, but after reading the web pages in the loop the script is lost sometime. So I have to set a certain time, after which the script should come out of the loop and start reading the next web page. Below is sample code. def (main): If & lt; Some condition & gt; list_of_links = ['http://link1.com', 'http://link2.com', 'http://link3.com'] for link in list_of_links: Process (link) DEF Process (): & lt; Some code for reading web pages & gt; Return page_read The script is lost inside the process (), which is called repeated for the loop, I want to go to the next link for the loop if the process () method Taking more that one-minute webpage to read. You probably can use one depending on the code inside your process function. If your main and process work are one class methods, then: class MyClass: def __init __ (self): self.stop_thread = incorrect...

c++ - Shared memory or named pipes in ram? -

I want to communicate between two different programs. A revised environment program that gives information to the output and my own program that reads this information. I have read about designated pipes and shared memory. But for me it is not clear where the data is stored. Due to the fact that I will exchange a lot of data, I do not want to write this data all the time on the disk. I am using a raspberry p and the SD card should be for some more time;) The basic question is: Can the methode exchange information on the other end without being written to disk is? I'm not sure the shared memory is written on RAM, I want to make it clear. As I have read about another idea / dev / shm which should be a RAM disc. Can I use designated pipes for this place and what is the information about being saved in Ram? What's the best way? Thanksgiving :) shared memory and named pipes (and Unix domain sockets) will not write sdcard for you IPC As long as you do not allocate more...

mysql - Is the file "my.ini" in the wrong place? -

Image
When I click on the option file in WorkBench, it says that it can not get "C: \ Program Files \ MySQL \" I do not even have version 5.0 on the machine, I have only installed version 5.6 and 5.7 of the server. However" C: \ Program Data \ MySQL \ MySQL Server 5.5 \ my.ini "in my.ini .. If I copy the file then I believe that two. Will the files be confused with the server or will they? And why are you looking at the workforce working in the wrong place for this file? Could it be that all entries apart from the root Failure to start? Take a look at connection settings Right-click on connection and edit connection Select that you can manage the connection. Have a tab called Stum Profile Make sure that the path to configuration file is in the correct Ii file. In your case, the path should be the highest C: \ ProgramData \ MySQL \ MySQL Server 5.5 \ my.ini

java - How to hide value in URL -

192.168.178.83-18300/जुपाडेट_वे_दृश्य.ैक्ट .name = binavitou&position=Research111&sex=Male url पर मूल्य छुपाएं इस से: 192.168.178.83:18300/ ज़ुपडेट_वे_दृश्य.ैक्ट ? Name = bunnavitou और स्थिति = रिसर्च 111 और सेक्स = पुरुष == & gt; यह करने के लिए: 192.168.178.83:18300/ ज़ुप्रेट_वे_दृश्य.एक्ट? सहायता की आवश्यकता है !! जावा या जावा स्क्रीप्ट सबसे पहले आपको यूआरएल प्राप्त करना है, इसे संशोधित करना है और फिर जावास्क्रिप्ट को बदलना है "सही" यूआरएल जिसे आपने अभी संशोधित किया है। यहां मैं क्या करता हूं: // url $ old_url = "http: //" प्राप्त करें। $ _ सर्वर ['HTTP_HOST']। $ _ सर्वर ['REQUEST_URI']; // तो आप इसे $ new_url = ... संपादित करें; // फिर जावास्क्रिप्ट के साथ आप यूआरएल की जगह एक नया & lt; script type = "text / javascript" & gt; अगर (new_url! = '') {window.history.replaceState ({"html": 'शीर्षक', 'पेज शीर्षक': 'पृष्ठ शीर्षक'}, '', नया_उर्नल)...

python - How do I retrieve stderr for a shell command with a large data buffer? -

The Python subprocess module describes the function: Note If the read data is buffered in memory, then do not use this method if the data size is large or unlimited. How can I execute a process that reads a lot of data (such as communication (Contraindicated)) and yet still has the stderr output used? 'stdout / stadder output is available as an individual to receive unlimited sub-process, You can use it: twisted.internet import protocol from twisted.internet import protocol #! / Usr / bin / env python process protocol (protocol processing protocol): dff reset (self, data): print 'foundout found:', data df error received (self, data): print 'done stacker:', data DF processed (self, cause): reactor.stop () process = process protocol () reactor. SpanProcess (Process, 'CMD', ['CMD', 'AGR1', 'AGR2']) Reactor r.run () An alternative is to use thread, e.g. ., Or OS specific code eg., On POSIX systems or usage.

Missing default-gems file......when installing Ruby -

Thanks in advance for any help I am new to this and struggling to piece together all this together I am! I have followed the 'Guide to Biffi' created to install Ruby on Mac OS X (My Lion) and it has worked really well until: Install Fluffy rbenv-default-gems echo "bundler \ n" & gt; ; & Gt; "~ / .rbenv / default-gems" When I get an error code then: -bash: ~ / .rbenv / default-Gem: No such file or directory Did I lose some settings? Rbenv was the directory. I'm surprised if that echo command is ~ / .rbenv / default-gems

php - Joomla 3.2 How to edit Login Module? -

requirement I'm just starting to study Joomla and What I have to do is to calculate the number of failed logins and show a div or a captcha after the 5th failed login. Whatever I tried I tried to find out the extensions that are as per the requirement (some coding without me) but unfortunately, all Extensions start doing something else (like send an email to unsuccessful attempts, etc.). So I have decided to edit the existing login module here i here extends class UsersControllerUser UsersController {public function Login () {// code here}} I really do not fully understand Joomla's idea, but if I want to do it in a "barbarous" way, So I definitely ask a question to get involved / update every unsuccessful attempt The S & lt; Prefix & gt; Column under the _users table. Question Is this the right way to do or is there any other "Joomla" way of doing this? If I was doing this, then is it okay to add a column manually...

ssl - WampServer HTTPS -

Hello I have a HTTPS to learn more about WampServer I have it but if I command openssl genrsa -des3 -out server.key 1024 This will tell me an error: It can not be located in sequentially 3807 Dynamic Link Libary LIBEAY32.dll I have looked at my directory: wamp \ bin \ apache \ Apache2 .4.4 \ bin There was a file named libeay.dll. What can be the problem? openssl executables that are distributed with Apache for Windows and therefore WAMPServer does not work very well is. I never really had the time to work! My solution was to download OpenSSL because they are connected to it, so I think it is a stable and unobtrusive distribution of a windows binary. Job for Windows users

php - Newsletter backgound image not showing up in my outlook 2007 -

I have called background images in my HTML newsletter and did not display these images in my perspective and in Gmail Going: / p> Can anyone help me on this? Code: & lt; Td style = "font-family: calibri; font-size: 16px; color: # 000; font-weight: bold; padding-left: 4px; border-top: 1px solid # 039ee; border bottom: 1px solid # 039 AET; boundary-left: 1px solid # 039ae, border-right: 1px solid # 039ee, border-radius: 25px; background: url ('http: // mysite / newsletter / images / Truy.jpg ') repeat-x; text-line: center; "height =" 40 "& gt; 3900 AED & lt; / Td> Using background images is not supported by most email clients Here's some information about how you can get it -

Android - notifying message becoming online -

Being the beginner, I just learned how to create an alert for Android apps. The thing is, I Trying to notify some messages that can only be known that my friends will be online through their apps through their apps. So what should I do now or learn to work? Please guide me with cordial thanks. Just get the value of online_friends if online_friends = true , set notification_trigger = true

c++ - MFC CListBox AddString - Prevent Automatic Sorting -

छद्म कोड: CListBox listBox; सीएसटीइंग [10] स्ट्रिंग; // पर विचार करें कि यह (int i = 0; i & lt; 10; i ++) के लिए वैध स्ट्रिंग के साथ प्रारंभ होता है listbox.addrestring (str [i]); जब भी मैं AddString () , एमएफ़सी CListBox का उपयोग कर एक CListBox ऑब्जेक्ट में एक प्रविष्टि / स्ट्रिंग जोड़ता हूं प्रत्येक स्ट्रिंग के रूप में प्रविष्टियों को स्वचालित रूप से बदलता है। आइटम को उसी क्रम में रखने के लिए (सॉर्टिंग के बिना) मैं एमएफसी को स्पष्ट रूप से कैसे बताऊं। PS : मैं फ़ंक्शन InsertString () या ऐसा नहीं करना चाहता। धन्यवाद! इसमें गुण टैब एक सॉर्ट संपत्ति है इसे ग़लत के मान सेट करें। संपादित करें: जैसा कि @The वन और पेड़ पहले से उल्लेख किया गया है, आप कोड से उसी परिणाम प्राप्त कर सकते हैं: listBox.ModifyStyle (LBS_SORT);

ios7 - Can i update value of label by long press on it - iOS -

I write a simple application with Xcode 5 on the iPhone iOS7 device. I have a label that increases with the +/- button, but I want to give the user the option to enter their numbers on this label. How can I do this with a long press identifier? Thank you. use a UILongPressGestureRecognizer and a UITextView . Add a UILongPressGstureRecognizer property to your view controller: @propertyUILongPressGestureRecognizer * gestureRecognizer; You have to see that your view controller corresponds to UITextViewDelegate and UIGestureRecognizerDelegate protocol: @interface view controller: UIViewController & lt; UITextViewDelegate, UIGestureRecognizerDelegate & gt; viewDidLoad in : self.textView.editable = NO; Self.textView.delegate = self; Self.gesturerecognizer = [[UILongPressGestureRecognizer alloc] initWithTarget: Self-action: @Selector (TextualGuoder :)]; Self.gesturerecognizer.delegate = self; [Self.textView addGestureRecognizer: self.gr]; This is...

java - Thread.currentThread().getContextClassLoader() returns multiple object instances -

मेरे पास एक स्टेटलेस स्टोरी बीन है जो एक रनटाइमफैक्चर और एप्लिकेशन बनाता है वस्तु। दोनों वर्ग सामाजिक व्यापार टूलकिट का हिस्सा हैं। अनुप्रयोग का उपयोग गुणों और प्रबंधित-बीन्स फ़ाइलों को पढ़ने के लिए किया जाता है, लेकिन ऐसा नहीं हुआ क्योंकि RuntimeFactory application ऑब्जेक्ट प्राप्त करने में असमर्थ था । AbstractRuntimeFactory में मानचित्र के साथ अनुप्रयोग वस्तुओं: निजी मानचित्र & lt; classloader, AbstractApplication & gt; एप्लिकेशन = नया हैशमैप & lt; क्लासलोडर, ऐब्स ऍप्लिकेशन्स & gt; (); क्लास लोडर इस पद्धति का उपयोग करके सेट है: संरक्षित क्लास लोडर getContextClassLoader () {वापस थ्रेड.क्रेंटथीफ्रेड ()। GetContextClassLoader ( ); } इस विधि से एप्लिकेशन ऑब्जेक्ट पुनर्प्राप्त किया गया है: सार्वजनिक एप्लिकेशन getApplicationUnchecked () {ClassLoader cl = getContextClassLoader () ; वापसी अनुप्रयोगों। सीएएल (सीएल); } डीबगिंग के दौरान मैंने देखा कि धागा आईडी एक ही रहता है, लेकिन ClassLoader के दो अलग-अलग उदाहरण हैं। यह कैसे होता है...

lightbox - How to close jquery lighbox popup without clicking close option at top -

I am using the jquery lightbox plugin in my website. Whenever I have a lightbox popup, I need to click on the top on the close button (X) I Can anyone help when I click anywhere outside the popup box? Try it out: $ ("# overlay"). Click (function () {$ ("# lightbox"). Hide ();}); Every time we open a lightbox, there is a "overlay" id with a divisible device in the background so if you want to stop jquery lighbox popup without clicking the closed option You can close it by clicking outside the lightbox. So div "overlay" exists outside the lightbox and we can force click event with it to close the lightbox.

Django base template files -

I want to ask a question about the dezenego base templates. How do they really work..I mean what I have a base file that can say that there is a static conten and a block content that changes the templates that extends the base file Does. base.html & lt; Html & gt; & Lt; Top & gt; & Lt; script src = "main.js" & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; div class = "side-nav" & gt; & Lt ;! - Static content here - & gt; & Lt; / Div & gt; & Lt; Div class = "content" & gt; {% Block "content"%} {% endblock%} & lt; / Div & gt; & Lt; / Body & gt; & Lt; / Html & gt; I have three templates that extend base.html, such as t1.html, t2.html and t3.html. All of them have some dom elements that are edited in the main.html by importedn in base.html. My question is low whether it loads all the pages in my time when I provi...

php mysql not updating row in proper way -

I have a column that has the name right 1, in this column I want $ $ $ $, but the problem is That's when I update only $ month, value is $ 1, but when I update only $ year does not disappear in $ month, but update columns with $ year old call And the new value is such, month is May and old year 2013, and when I update only with 2014, on its date Aa Output May 201301014, This is my code & lt; Select id = "month" name = "month" & gt; & Lt; Option value = "Jan" & gt; January & lt; / Options & gt; & Lt; Option value = "February" & gt; February & lt; / Options & gt; & Lt; Option value = "march" & gt; March & lt; / Options & gt; & Lt; Option value = "April" & gt; April & lt; / Options & gt; & Lt; / Select & gt; & Lt; Select ID = "year" name = "year" & gt; & Lt; Option value = "2012" & gt; 2012 ...

android - Python - How to hide output after killed specified process -

Now I try to create a Python script to automatically get Android logos from Below Secureon is my share of code logcat_process = subprocess.Popen ('adb logcat -v time & gt; logcat.log', shell = true) time.sleep (5) os.kill However, every time after the os.kill process has expired, it is "" ( Does anyone have any idea how to hide this message? I'm more likely to print the result of the script more clearly .... You can do something like this: logcat_process = subprocess.Popen ('adb logcat -v time & gt; logcat.log', shell = true) time.sleep (5) Save_stdout = Sys.stdout sys.stdout = open (r '/ youlib .... / trash.txt', 'w') os.kill ((logcat_process.pid) +1 signal, SIGKILL) # To retrieve the studio Sys.stdout.close () sys.stdout = save_stdout This will divert the feed out to trash.txt on operation .

distribution - distribute a list in python -

मान लें कि मेरे पास एक कॉन्फ़िगरेशन डिक्शनरी है: config = {'A': 3, मैं कैसे इस तरह की सूची वितरित करता हूँ (अंतर): (परिणाम सूची में एक-एक करके प्रत्येक विन्यास के अंत अभी भी जोड़ें) परिणाम = ['ए', 'बी', 'सी', 'ए', 'बी', 'सी', 'ए', 'बी', 'बी'] config = {'A': 3, 'B': 1} परिणाम = ['ए', 'बी', 'ए', 'ए' कॉन्फ़िग = {'ए': 2, 'बी': 2} परिणाम = ['ए', 'बी', 'ए', 'बी'] से itertools आयात करें izip_l, chain config = {'A': 3, 'B': 4 , 'सी': 2} # सूचियों की सूची को पुनर्निर्धारित = विस्तारित = [[के] * कॉन्फ़िग [के] कॉन्फ़िग में के लिए] # बस उन्हें ज़िप करें और किसी भी प्रिंट को अनदेखा नहीं करें [आइटम के लिए श्रृंखला में.फ्रेम_लिटेबल (izip_l (* विस्तारित)) अगर आइटम] यदि गिनती बहुत बड़ी है और यदि आप प्रदर्शन और स्मृति के बारे में चिंतित हैं, तो आप repeat सूची की सूची को पुनर्निर्मि...

html - Android PhoneGap HTML5video -

I'm looking for a HTML5 video plugin for PhoneGap . I've got a plug-in, but I have some problems, like I have the following problems: I do not know that plugin.xml Where to Keep I do not know with this & lt; video & gt; And this is not working with PhoneGap This Javascript function is now start function () {window.plugins.html 5video.in initialize ({"video1": "movie.mp4"}); Window.plugins.html5video.play ("video1"); 04-24 09: 52: 59.305: E / Web Console (740): Uncustom Type Error: The 'Start' method of the undefined file can not be called: / // android_asset After several attempts I solved this way: Git I have installed the plugin with the command for the installed Cordoba add the cordova plugin https://github.com/ Jaeger25 / html5video.git (this command Together, the project is configured to use the plugin automatically I have the folder platforms \ androis \ res \ raw \ where I have the vide...

android - How to save the configuration of widgets -

I am busy in the following Especially in that part where you set up a ConfigurationActivty App widget configuration. When the configuration is complete, get an example of AppWidgetManager by calling AppWidgetManager.getInstance () update AppWidget (int, RemoteViews) with the Remote Veez layout Finally, return make intentions , set it with the activity result, and end the activity I need help with 2: gin People have goggleed me from people SharedPrefs , but how can I actually use my XML, which gives information about the widget, such as the update frequency: & lt ;? xml version = "1.0" encoding = "UTF-8" & gt; & Lt; Appwidget-provider xmlns: android = "http://schemas.android.com/apk/res/android" Android: initialLayout = "@ layout / widget_layout" Android: minHeight = "200dp" Android: minWidth = "144dp" Android: WidgetCategory = "home_screen" Android: configure ...

c++ - find out the type of auto -

I am playing with normal lambda in C ++ 1 and I often do not know what kind of code > Auto variable / parameter is there a good way to detect it? Currently I am using typeit (decltype (arg)). but it is not very useful Example: Auto F = [] (Auto & amp; A, Auto B) {std :: Cout & lt; & Lt; Std :: endl; Std :: cout & lt; & Lt; Typed (Deltaipip (A)). Name () & lt; & Lt; Std :: endl & lt; & Lt; @ Encoded (manifesto (a)) & lt; & Lt; Std :: endl; Std :: cout & lt; & Lt; Typed (delftype (b)). Name () & lt; & Lt; Std :: endl & lt; & Lt; @ Encode (declaration (b)) & lt; & Lt; Std :: endl; }; Int i = 1; F (I, I); F (1, 1); F (std :: make_unique & lt; int & gt; (2), std :: make_unique & lt; int & gt; (2)); AutoContactTr = STD :: MacConnect & lt; Int & gt; (); F (PTR, encryptor); output i // It does not tell me that the reference ^ i // ^ means the pointer, but this is actually ...

powershell - HDInsight Oozie: Hive Job Parameters -

I am working in the process of automating the hive jobs using Oozie scipts. In the workflow.exml, I get the value from the Powershell script file (OZ Job Script). Where in the HCl file I am unable to get the value defined in the PowerShell script file (Ozzy Job Script). powerhell script file: Property & gt; & lt; name & gt; nameNode & lt; / name & gt; & lt; value & gt; $ storageUri & lt; / value & gt; & lt; / property & gt; & lt; Property & gt; & lt; name & gt; Jo obTracker & lt; / name & gt; & lt; value & gt; jobtrackerhost: 9010 & lt; / pricing & gt; & gt; / property & gt; & lt; Property & gt; & lt; name & gt; queueName & lt; / name & gt; & lt; value & gt; default & lt; / pricing & gt; & gt; & gt; & gt; asset & gt; asset & gt; ; & Lt; name & gt; oozie.use.system.l ibpath & lt; / name & gt; & gt; value & ...