Posts

Showing posts from July, 2013

asp classic - The ASP page iframe contain a url is not working -

I have an asp program, for example abc.asp is the name of the name. In abc.app I want to show other url pages like page headers. I know that & lt; Cell width can be used to show table width = "100%" range = "0" cellpadding = "0" cellspacing = "0" & ​​gt; & Lt; TR & gt; & Lt; Td align = "center" valign = "top" & gt; & Lt; Iframe frameborder = "0" src = "http: //mywebsite/header.html" scrolling = "no" width = "100%" height = "120" & gt; & Lt; / Iframe & gt; & Lt; / TD & gt; & Lt; / TR & gt; But this page is not showing content iframe link does not show content. I try to use another method instead, & lt; Table width = "100%" border = "0" cellpadding = "0" cell field = "0" & ​​gt; & Lt; TR & gt; & Lt; Td align = "center" valign = "top...

javascript - Notify a directive about data receiving -

I have this simple angular command: angular. Module ("instructions"). {Link: function (scope, element, ethers) {console.log ("loading directive", scope, element, etter); element.addClass ("hidden", "loading", function ($ rootsecope) {return} ); $ RootScope. $ ("$ RouteChangeStart", function (Event, Next, Current) {element.removeClass ("hidden");}); // How do I get the data in the controller? & Lt; - - }};}); As you can see, it allows me to show a loading message for displaying the route of the app, like this: Loading. .. My problem is that I do not know about notifying the instructions to make it disappear. We say the route is connected to / list / ListController . When url hits / list / , the controller will load some data and only when this data is received I want to remove the loaded message. There is no direct instruction when the controller's data is distributed, my question remains: How do I...

How to delete multiple rows in a Collection from Kinvey Console -

I can not find any options in Kinvey Console to delete multiple records is there anybody Option to delete several rows in the collection from the Konwi console We do not think it is currently possible . Please note that a new version of the KENSE console was just released, so this is a good opportunity on roadmaps for future updates.

java - Crypto key generation -

The easiest way to create encoded hex 32 strings with input strings and some numbers (for example (for starters) Could not use the number, but the current date)? In C #, I have used Password Drives for such issues. Is there some analog in Java? View: javax .crypto.Cipher

Jmeter - I could not find exact streps to generate ApacheJMeterTemporaryRootCA.crt -

मैं jmeter का उपयोग कर रहा हूँ मेरी मदद करो धन्यवाद एशव के इन्हें फ़ोल्डर के नीचे रखा गया है। JMETER_HOME / bin

c# - Complex type inside Database-first model of a DDD project -

In my EF6 project [database-first approach] I say that I have a complex type called address . [There is no identity just to clarify my complex type and is only merged with the collection of standalone data and it is not responsible for its persistence] Currently All the fields associated with the address I have are the following for the individual parts of the address as the direct attributes of the address and the following is the automatically defined definition for the individual category: public class person {public Ent ID (Receive); Set; } Public string name {get; Set; } Public taps qualified & lt; Int & gt; Eating {Received; Set; } Public taps qualified & lt; Int & gt; Reply {receive; Set; } Public string building {get; Set; } Receive Public String County { Set; } Public string PostCode {get; Set; } Public string streetName {get; Set; } Receive public string street number { Set; } Public String Town {get; Set; } Receive public string unit { Set; } Get publ...

How to convert floating point numbers in fortran format to decimals using shell (bash) tools? -

How can the floating point number change in decimal using the shell tool? For example: I have 0.17879D-13 as input and 0.000000000000017879 as output. I tried awk and BC but could not succeed. Now I have found something. I use sed to replace "D" from "E", then awk can process it, for example: echo 0.17879D-13 | Sed S / D / E / G | Awk '{printf ("% .20f \ n", $ 1)}'

c# - LINQ expression trees -

I read in a book on LINQ that expression trees are likely to make expression trees manually). It has been written that there may be some precise query tuning in it, normal query operators can not perform. I can not imagine such a situation, can someone give me some examples? Thank you. Generally, this happens when the organization or compilation type is not known in time compilation, or While the query can not be worked hard (for example, to allow for the group / sort / filter criteria provided by the user) it may be cumbersome, so you can use this process as the emergence of libraries such as dynamic LINQ Step by step and your query dynamically The criteria can be prepared in the form of text. Then those libraries have parsed your criteria and created the form of expression tree itself, in the same way how you can make it manually using the expression API. Beyond them, I can only think of an additional case when required to create a tree manually: when you have expression ...

c++ - Android Native - When to use 64-bit NDK? -

According to the official download page of NDK: Two target versions are: x86 target / li> x64 target And I was thinking (as a newbie in NDK stuff), does it mean that I should use x64 NDK, when an application for devices equipped with X64 processor is compiled? And if I only need one ".apk" file, how can it be included in XML? Makes x64? (If possible) Update: The question is a bit old now . Start from version 10c . The answer has been updated to reflect this fact. First of all, you should distinguish between the architecture of the device where your application will run (which is ARM (32 types) or 64 bit, MIPS 32 or 64 bit, and Intel x86 / x 64) and the Architecture / OS of your build machine (which can be all Mac running on Windows, Linux or Mac Intel x86 / x64 processors). Assume that you have Windows 64 bit then (the latest version is still in the form of 10d ) you android-ndk-r10d-windows-x86_64.exe should download. This will allow you to crea...

c# - Reflect changes made by stored procedure in EF context -

मैं नियंत्रक में entity framework संदर्भ इंजेक्षन के लिए SimpletInjector का उपयोग कर रहा हूं निम्नलिखित कोड का उपयोग करना: निजी स्थिर शून्य प्रारंभकर्ता (कंटेनर कंटेनर) {कंटेनर। पंजीकरणकर्ता & lt; IDbContext, SpotterContext & gt; (); कंटेनर। पंजीयक सिंह & lt; IUnitOfWork, UnitOfWork & gt; (); } मैं संग्रहीत कार्यविधि निष्पादित करने के लिए इंजेक्शन वाले संदर्भ का उपयोग कर रहा हूं जिसमें केवल UPDATE या हटाएं निम्न कोड का उपयोग करने वाले स्टेटमेंट होंगे: context.Database.ExecuteSqlCommand (& lt; spname & gt ;, & lt; पैरामेज एरे & gt;); मेरी समस्या का सामना करना पड़ रहा है कि डेटाबेस में संग्रहीत कार्यप्रणाली द्वारा किए गए परिवर्तन संदर्भ में प्रतिबिंबित नहीं हो रहे हैं और जब संदर्भ का उपयोग करते हुए अपडेट किए गए डेटा तक पहुँचते हैं, तो मुझे पुराना डेटा मिल रहा है और अद्यतन डेटा नहीं। डेटाबेस से नवीनतम डेटा प्राप्त करने के लिए एक संग्रहीत कार्यविधि निष्पादित करने के बाद संदर्भ को कैसे अपडेट करें? हाल ही में एक ही समस्या को हल...

jsf - rich placeholder can't input text as in placeholder -

क्या यह समृद्ध में एक बग है: प्लेसहोल्डर? & lt; h: inputText id = "इनपुट" & gt; & Lt; अमीर: प्लेसहोल्डर मूल्य = "यहां प्रकार टाइप करें ..." / & gt; & Lt; / h: inputText & gt; जब मैं प्लेसहोल्डर के रूप में इनपुट पाठ की कोशिश करता हूं तो वह गायब हो जाता है। इनपुट पाठ प्लेसहोल्डर में टाइप करें "सुझाव यहां टाइप करें .. । "& Mdash; यह तब गायब हो जाता है जब उसे इनपुट में छोड़ दें और इसे फिर से फोकस करें। प्रयोग की तरह smth: कोई भी अन्य प्रतीकों रहता है। & lt; अमीर: प्लेसहोल्डर मान = "पूर्व। यहां पाठ लिखें ..." /> या प्लेसहोल्डर का उपयोग न करें।

javascript - How to dynamically add links to a d3 topology? -

मैंने उदाहरण लिया और एक अतिरिक्त लिंक जोड़ने और enter () का उपयोग करके लेआउट को अपडेट करने का प्रयास किया, लेकिन तब सभी लिंक्स गायब हो गए और फायरबग कोई भी त्रुटि नहीं दिखाती। क्या इन पंक्तियों से लिंक नहीं जोड़ा जाना चाहिए? graph.links.push ({"source": 0, "target": 11}); link = link एटीआर ("वर्ग", फ़ंक्शन (डी, आई) {console.log (i); "लिंक";}); इसके अलावा, console.log (i) आउटपुट 18 के बजाय 19 । ऐसा लगता है जैसे कि यह कभी भी ग्राफ सर के आकार में वृद्धि को ध्यान में नहीं रखता। मैंने चेक किया, लेकिन यहाँ भी यह डेटा () का उपयोग करने की तरह लगता है और enter () फ़ंक्शंस पर्याप्त होना चाहिए था। कोड: & lt;! DOCTYPE html & gt; & Lt; मेटा वर्णसेट = "यूटीएफ -8" & gt; & LT; शैली & gt; .link {स्ट्रोक: # 000; स्ट्रोक-चौड़ाई: 1.5px; } .नोड {कर्सर: चाल; भरें: # सीसीसी; स्ट्रोक: # 000; स्ट्रोक-चौड़ाई: 1.5px; } .node.fixed {fill: # f00; } & Lt; / style & gt; & LT; बॉडी & gt; & Lt; ...

How can I Insert account my google glass using node.js -

I want to put my Google Glass account, but I can not do this. I'm using Node.js (v0.10.31), googleapis (v1.0.11) and passport-google-oauth (v0.1.5) Of course, I Google Mirror API on Google Developer Console and the pem file is created. Here's the Google Developer Console setting (I tried to upload the photos I needed some levels, but.) pkginfo.oauth.google Customer ID 670282105 ??? - One ??? Pbnh1pp.apps.googleusercontent.com Email Address 670,282,105 ?????????101@developer.gserviceaccount.com Clients SECRET jt0WiP ??? PCwXT REDIRECT URIs http://www.-----------.com:3333/auth/google/ Callback JavaScript Origins http: //www.-----------. Com: 3333 http://www.-----------.com https: // mirror-API-playground.appspot.com . pkginfo.oauth.glass Customer ID 67,028 ???? Qjv.apps.googleusercontent.com Email Address +6702821053 ????qjv@developer.gserviceaccount.com Public Key fingerprints e25e3a045 ???? A4e40 - Delete 822e7bda ???? E85c56 - 70ae6e7c Delete 45c7c9 - Dele...

web services - REST an architecture but SOAP a protocol? -

I was trying to find out other VS SOAP where some people say REST is a architecture, soap is a protocol. But I did not get (on the net at any place) Does the rest make an architecture but SOAP as the protocol?

c - Problems with _filelength and chsize -

मेरे पास एक फ़ाइल exmpl.cpp है, जिसमें अगले कोड (से है) : #include & lt; sys / io.h & gt; # शामिल करें & lt; fcntl.h & gt; # शामिल करें & lt; sys / types.h & gt; # शामिल करें & lt; sys / stat.h & gt; # शामिल करें & lt; unistd.h & gt; # शामिल करें & lt; stdio.h & gt; शून्य मुख्य (शून्य) {int fh, परिणाम; अहस्ताक्षरित int nbytes = BUFSIZ; / * फ़ाइल खोलें / / (यदि फ़ाइल खोलने वाला ("डेटा", O_RDWR | O_CREAT, S_IREAD | S_IWRITE)) = -1) {printf ("फ़ाइल की लंबाई से पहले:% ld \ n", फ़ाइल लंबाई (एफएच) ); अगर ((परिणाम = चिसिज़ (एफएच, 32 9 678)) == 0) printf ("आकार सफलतापूर्वक परिवर्तित किया गया \ n"); अन्य printf ("आकार बदलने में समस्या \ n"); Printf ("फ़ाइल की लंबाई बाद:% ld \ n", _filelength (fh)); बंद (एफएच); }} इसे g ++ exmpl.cpp -o exmpl के साथ संकलित करने का प्रयास करें और इसे प्राप्त करें: exmpl.cpp: 18:60: त्रुटि: इस क्षेत्र में '_filelength' घोषित नहीं किया गया exmpl...

javascript - jQuery ui Tabs get href -

I am currently using jQuery UI. I'm trying to do some tabs. & lt; Div id = "tabs" style = "width: 18%; height: 30%; float: correct" & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "#first" style = "font-size: 9 pixels; text-align: center;" & Gt; My_Fast & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "# seconds" style = "font-size: 9px; text-align: center;" & Gt; MySecond & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "# third" style = "font-size: 9px; text-line: center;" & Gt; My_third & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "# fourth" style = "font-size: 9px; text-align: center;" & Gt; My_fathth & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt;...

java - insert into select with jpa error -

I am trying to put one in the selection with Jepa. The unit I try to do this is like this: @Entity Public Category A {Private string field one; Private string field two; Private string field three; Private B Fieldfour; @Id public string getFieldOne () {...} @ id public string getFieldTwo () {...} @ id @ ontok a public b getFieldThree () {...} public string getFieldFour () {...}. . @ Entity Public Sector B {Personal Composite ID; .... @ embedded id public composite id () {return MyUUIDGenerator.generateCompositeId (); } .... I'm trying to get involved very simple: A (Field O, Field Two, FieldTree , Fieldfur) Choose 'Static Wells', 'Static Valve To', BID, 'Static Value Fear', where? .... The value of 'staticvlex' is the calculation of those applications Those who should all be equal to B for any given set of elements. Returns the exception of the application during execution: java.lang.IllegalArgumentException: org.hibernate.QueryE...

Permissions on specific elements in a page in pyramid-python -

In the pyramid, you can set permission on the entire sequence. I am trying to find a way to display any one element with different permissions. For example, if I have a page in which there is a lot of data about a person, such as profile page, I want to display an element that allows the user to modify the information on that page, as long as The user is not specified in the group. Can I do this with a view or will I have to create a new view for each level of authentication (or group), on which different elements exist on the page? use request.has_permission imperatively: if request.has_permission ('edit', context): ... Render some templates or somehow include UI in the template of current view ... and: ..no ...

html - Putting Text Into A Div -

I have this code that I am using to create a navigation bar and a site title. & lt; Div id = "wrap" & gt; & Lt; Ul id = "nav" & gt; & Lt; Div id = "head" & gt; & Lt; Li & gt; & Lt; A href = "transitionyear.html" & gt; Home & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Ti Projects & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; News & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Build Bank & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Enterprise Awards & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Gece & lt; / A & gt; & Lt; / Li & gt; & Lt; Li ...

javascript - Filtering by two different categories -

I have a list of people and their activities. I want to filter them by two categories, NAME and ACTIVITY I chose two and with people's names and their activities One filled up & lt; Class = "filter people" & gt; & Lt; Option value = "0" & ​​gt; All people & lt; / Options & lt; Option value = "1" & gt; John & lt; / Options & gt; & Lt; Option value = "2" & gt; Mary & lt; / Options & gt; & Lt; Option value = "3" & gt; Donation & lt; / Options & gt; e.t.c. & Lt; / Select & gt; & Lt; Select class = "Filter activities" & gt; & Lt; Option value = "0" & ​​gt; All activities & lt; / Options & lt; Option value = "1" & gt; Football & lt; / Options & gt; & Lt; Option value = "2" & gt; Basketball & lt; / Options & gt; & Lt; Option value = "3" & gt; P...

sending and receiving data from android app to another -

I am preparing an Android app, I need to contact with an easy app. This app needs to fill some data such as mobile number and destination, the problem is that my app helps people blind people, so I need to send this data without needing to fill it and confirm and request a taxi There is a need to force easy taxi. I read this article But the easy taxi is also my place, does not support any idea to start with it ?! If you do not support this, you will not be able to communicate with other applications. If that app can not control some entries or does not display data through the content provider, then there is nothing that you can do.

What Xcode "Build Rules" does? -

I'm new to Xcode, with the "target" in Xcode, I could see that there is a tab called "Build Rule". I wonder what this tab is? Thanks Personally I am also quite new to Xcode and I do not even know about building rules. I got information that helps me understand it better, maybe it's a help for you. If anyone with more experience with Xcode has a better answer, please correct me, because I'm still learning Xcode.

python - seaborn kdeplot bandwith error? -

I am testing marine carbon package for python. Especially I am using the kdeplot method to plot a biweek distribution. The problem comes when I try to specify the continuous bandwidth for data (BW), I think that it usually fit in Bead using "Scott Rule" I am using the following line: sns.kdeplot (x, y, bw = 1, ...) However, it gives the following

c# - Change UserControl on button click (navigation without reloading entire page?) -

I want to navigate between user controls by pressing the button (I do not want to reload the whole page) I have teeth in which I have empty usercontrol & Lt; / Grid & gt; And I want to set this user current for an example such as Private Zero Button_Click_1 (Object Sender, RoutedEventArgs e) {MainConent.Equals (New MainControl ()); / Maincontrol one usercontrol} But unfortunately it does not work .... Is there any way to navigate without having to reload the whole page? // Have you checked the purpose of similar ? First remove the existing content of grid , then set up new content. Private Zero Button_Click_1 (Object Sender, RoutedEventArgs e) {content.Children.Clear (); material. hair. Add (New Main Control ()); }

windows - Way to automate enumerating and inserting subfolders into a command line -

Using Robocopies to share two user home directories with two different servers to a new server, but use it / Can not clean the mirror deletes because it will remove other server stuff. I need to calculate the folder names that share the user $ on each server, and add it in the two given statement in the command given below, so I can purify the user at the subfolder level. RobotCopy command: Robocopy "\ CurrentServer1 \ users $" "F: \ user" / e / b / copy: DATSOU / R: 1 / W: 1 / metric / ORG: -CC: Robocopelogs Mirror User 1.txt " Can a Batch or VBSSP Practice Do It? Provide thanks in advance for any help. You can merge both source folders into a staging folder, then you can mirror that staging folder to the destination. Address: mkdir C: \ staging robocopy \\ server1 \ src C: \ staging / e / b ... robocopy \\ server2 \ src C: \ staging / e / b .. Robocopy C: \ s C: \ dst / mir / b ... rmdir / s / qC: \ staging

Sharepoint Designer 2010 vs. 2013 -

Sharepoint Designer 2013 does not support Design View in editing mode Microsoft says that you have to edit the pages Can Studio Studio Use Visual Studio to Allow You to Use Design View? No visual studio is a design view for SharePoint master pages SharePoint With 2013 you can convert HTML to Mart-Payout via Design Manager and nowadays have evolved into the latest browser designer tools. - Kartik

ios - Reload/Refresh View Controller with a specific subview -

I I have exits from a UIViewController when I do a scene with several specific Sbwugh (such as passbook scene), then I I want to reload ViewController and all its sub-views. I say how such root view controller's viewDidLoad and viewWillLayoutSubviews method: - (IBAction) Disconnect: (UIStoryboardSegue *) segue {self.sourceVC = segue.sourceViewController; Self. Disconnected = yes; ViewController * Root Controller = (View Controller *) ((AppDelegate *) [[UIApplication Shared Application] Rep]). Window.rootViewController; [Root controller viewDidload]; [Root controller Wuvilleautsubdrishy];} In my view controller class: - (minus) Drishydidlod {[super Wudidlod]; // no additional setup after loading the view from my nib [Self setup Pibeedatasors];} - (blank) Drishyvollautsuwug {[super Wuwvel Lyyuefsuwug]; CGRect frame = self.view.bounds; CGFloat maxY = (([[[UIDevice currentDevice] system warsons] float value]> = 7.0) \? 20: 0); Frame.origin.y + = maxY; Frame.ize.height -...

javascript - Creating a clickable div within a div -

For some reason I can not do this simple: for (var i = 0; I & lt; result.label; i ++) {var object = result [i]; $ ("# Recipes_names") Attachment ("& lt; div id =" + "recipe" + i + "& gt;"); $ ("# Recipes_names") attached (object.get ('recipe_title')). Console.log (object); Console.log (object.id + '-' + object.get ('recipe' title ')); $ ("#nusfie 1"). Click (function (e) {e.stopPropagation (); warning ("click inside");); }}, I create divs in "recpie_names" div with name "recipe0" / "recipe1" etc. and can not make them clickable for my life. I am convinced that I am making the smallest mistakes of those mistakes that I am making here but I can not neal it down. Can you give me a hand? Add a class for the divis that has been added and instead of adding an event to the id The base only adds an event to the class selector and simply writ...

c# - Xamarin Activity OnCreate ActionBar is null -

I just upgraded to an Axmarin in my next "stable" version I think problems with my class are happening The activity that handles the activity is unbearable for some reason when it was not before. I am quite worried about why this is happening. Public class navigation drawer activity: activity {// ... Uncover protected override (bundled saved instenstate) {base.OnCreate (SavedInstanceState); // ... // NullPointerException, this.ActionBar is zero This.ActionBar.SetDisplayHomeAsUpEnabled (true); This.ActionBar.SetHomeButtonEnabled (true); // ...} // ...} This code is based on: Do anyone have any ideas, because of this Could? No problem, I understand it. Apparently I should be an heir of actionbrake instead of activity. I had to add component Android support library v7 AppCompat and support using Android. V7.App; .

exists - What is the different between the two sql codes? -

1. Define course_id where it exists (choose course_id from course where course_id no (choose course_id from section);); 2. Define course_id where course_id is not (choose course_id from the section); I want to get the course in every course_id table which does not appear in the table section . First result in 200; Second result in 115 Why is the result of both of them different? I first explain that I will check whether course_id has no course related to section if Is present, return course_id , which is selected as course_id From the docs: If a subquery returns a line at all, the current subcategory is true, and currently it is not subquery is FALSE In your case, 1 query sums up all the rows It looks like select course_id from the course where TRUE; So if you want to retrieve every course_id in the table course that does not appear in the table section then your second query is correct. And about this: I first explain that I definite...

c++ - How does this code for obtaining LCP from a Suffix Array work? -

Can anyone tell me how does this code work to produce LCP from a suffix array? suffixArr [] is an array that holds the value of the index in the string for suffix with suffixArr [i] rank i . zero LCPconstruct () {int i, c [1001], l; C [suffixRR [0]] = N; For (i = 1; i & lt; n; i ++) C [suffix ARR [i]] = suffix array [i-1]; L = 0; For (i = 0; i & lt; n; i ++) {if (c [i] == n) LCPAdge [i] = 0; Other {While (I + L & L; N & amp; C; i) + L & LT; N & amp; A [I + L] == S [Ii] + L] L ++; LCPEdge [ I] l = l = L (max. -1.0);}} for (i = 0; i & lt; n; i ++) COAT & lt; lcpeds [suffix ARR [i]] & lt ; & Lt; "\ n";} First of all, it is important to realize That the algorithm processes the suffix in the original order, i.e. the order in which they appear in the input string Not in the syfographical order. So if the input string is abxabc , then it first accepts abxabc , then bxabc , Then xabc and so forth. For each suffix it ...

amazon web services - Does CloudFront use a single cache for http and https paths? -

To work around (multiple original domains can not be used in the CORS header), the original server has different access -Control-allow requests based on domain -organ value: - Access-control-permission-origin: http://example.com - Access-Control-Permission-Origin: https://example.com - Access-Control-Permission-Origin: http: / /example.org Although the cloudfree http: // value only When the https request returns back, the original protocol is set to match the policy policy viewer, only HTTP does not have CloudFront uses the same entry per path on the same domain? Until you configure cloudfront for forwarding protocols, then yes, this is the same content Will serve.

apache - Laravel not working with wamp 2, can't even show home page through /index.php -

I am doing a trainee in a telecommunications company. I am responsible for making back office, so I decided to make it Laravel 4.2 (to make something new). Actually, I have already done the highest project, but I am having problems when I try to install it in the server. I followed the severel guide and tutorial but nothing worked. ) Server conf.: Apache / 2.2.25 (Win32) mod_jk / 1.2.37 mod_ssl / 2.2.25 OpenSSL / 0.9.8y mod_wsgi / 3.3 python / 2.7.2 PHP / 5.4.33RC1 In addition, I have the mod_rewrite and ssl modules in httpd.conf, and open_ssl is enabled in php.ini my .htaccess: ifModule mod_rewrite. C & gt; & Lt; IfModule mod_negotiation.c & gt; Option -multi view & lt; / IfModule & gt; # Redirection rear slash RewriteEngine on ... RewriteRule ^ (. *) / $ / $ 1 [L, R = 301] # Handle Front Controller ... RewriteCond% {REQUEST_FILENAME}! -d RewriteCond% {REQUEST_FILENAME}! -f RewriteRule ^ Index.php [L] I have installed a similar environment on my...

excel - Calling a sub to another worksheet -

I go through each worksheet and check for the flag. If the flag is raised, I want to run another sub to it, flag check works, but the other sub which is said to be run on the main sheet. sub update () Worksheet for each section in the active workbook. Worksheets (ws.Cells (1, 5) = 1) Then call update2 ( Ws) ends if the next ending sub-update2 (worksheet as the worksheet) ws.clear & lt; ---- & Sub Subsection how do i get it ? Text "itemprop =" text "> You either need to use a public variable (usually not recommended) or send the necessary logic to those necessary processes where they are necessary. Sub Update 2 (worksheet as Worksheet) Call Thes (WS) and Sub SubSys (version as worksheet) ws.cells (1,6) = "Hello" end sub

How to create this slightly complicated XML Drawable in Android? -

Image
How can I prepare this in an XML resource file? I have tried to use a layer-list preparation, but I'm having problems with arrow processing scaling. Is there any easy way? & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Layer-list xmlns: android = "http://schemas.android.com/apk/res/android" & gt; & Lt; Items & gt; & Lt; Size Android: shape = "oval" & gt; & Lt; Solid Android: Color = "@color / excet_blue" /> & Lt; Size Android: width = "@ dimen / circle_thermostat_diameter_large" Android: height = "@ dimen / circle_thermostat_diameter_large" /> & Lt; / Size & gt; & Lt; / Item & gt; & Lt; Items & gt; & Lt; Bitmap android: src = "@drawable / arrow_up" Android: gravity = "center" /> & Lt; / Item & gt; & Lt ;! - ... - & gt; & Lt; / Layer-list & gt; Try it: Increases...

javascript - jquery .unbind and .bind not working -

I need to bind and close based on the click of a button. What happens first here: & lt; Script type = "text / javascript" & gt; $ (Document) .ready (function () {$ ('.xxMenu & gt; li'). Bind ('mouseover', OpenSub menu); [... etc] & lt; / script & gt; This functions some drop-down menu functions. In the next script, if I put one of the following, then works fine to split the above and thus disables the menu When a search button is clicked: .xxMenu> li '); unbind (); This is the way I'm notified, Do not work to open it Unbind ('mouseover', openSubMenu); Now, after that in the script, If I do not bring any of the following back, then it splits again, that is, for the first time (when someone clicks the button to cancel the search). This is the complete script in this case: & lt; script type = "text / javascript" & gt; $ (document) .ready (function () {$ (close .img '). Bind ('...

Change source data for multiple Excel pivot tables but not using cache -

I have to answer hundreds of questions from a single source data, which is a 85MB file (approximately 300k lines). I have created a pivot table to answer questions, but to make it all manageable in a separate file from source data. My problem is that after I set up a group of pivot tables, I notice that I need to create another column in the source data (a filter's group data), which is basically the category The effect is used in the pivot table, it happens even when I use the named range for source data. Because I have many haze arrays and the source data is huge, I do not want to use the pivot table cache. On the way to change the source data range, I have seen that all the methods depend on the cache. Is there any way to do this without a cache or turn it off using the cache? I am using Excel 2010. A PivotTable should be made on the top of PivotCatch. You can not separate both of them and still have a PivotTable Can you add your filter fields at the end of your d...

html - Nested Sass accessing -

I'm new to CSS and Assassins. I'm not sure how to change the appearance of my page. I am reading Sass Document And I think I want to play with a little Twitter Bootstrap and try it. Sample code: & lt; Div class = "user_nav" & gt; & Lt; Div class = "navbar-wrapper" & gt; & Lt; Div class = "container" & gt; & Lt; Div class = "navbar-header" & gt; & Lt; Button type = "button" class = "navbar-toggle short" data-toggle = "collapse" data-target = ". Navbar-collapse" & gt; & Lt; Span class = "sr-only" & gt; Toggle Navigation & lt; / Span & gt; & Lt; Span class = "icon-bar" & gt; & Lt; / Span & gt; & Lt; Span class = "icon-bar" & gt; & Lt; / Span & gt; & Lt; Span class = "icon-bar" & gt; & Lt; / Span & gt; & Lt; / Button & gt; & Lt; A class = ...

c++ - Get total number of RAM bytes on windows -

I'm trying to get the total number of RAM bytes. I am not sure about the legitimacy of my results. My computer has 8 GB RAM, control panel calls this 8.00GB (7.88 GB usable) . Using the call multiplied by 1000, I get 8388608000 bytes (think kilobytes referencing Windows thinks actually 1000 bytes). When I run the wmic ComputerSystem received TotalPhysicalMemory , I get 8462008320 bytes. When the conference does not honor multiplying the call results from 1024 conferences, I get 8589934592 bytes, which seem to be less likely than the previous results. In the case it matters, I'm using two Important Ballistix Tactical BLT2C4G3D1608ET3LX0CEU per piece advertized as memory module 4GB After the text "itemprop =" lesson "> 1024 times the result of GetPhysicallyInstalledSystemMemory was the answer I was looking for. This is the total number of RAM bytes installed on the system.

php - If I use GET with a Front Controller, does this mean I must use GET for all forms? -

I have a front controller class I in that class I have the function of parsing a URL: public event parseURL (if {isset ($ _ receive ['url'])) {return $ url = explosion ('/', filter_var (rtrim ($ _ ['url'], ' / '), FILTER_SANITIZE_URL)); }} This is based on a rewriting (I imported anyway in IIS): Option -Multiviews RewriteEngine at RewriteBase / RewriteCond% , {} REQUEST_FILENAME! -d RewriteCond% {REQUEST_FILENAME}! -f RewriteRule ^ (. +) $ Index.php? Url = $ 1 [QSA, L] Now it means all of my forms is needed to use GET? & lt; Form action = "/ controller / action" method = "GET" & gt; Does not everything go through the front controller, even my CRUD? / Administrator / Action / ID , for example. If it means that I am using IIS. There is no hidden information for me to put, remove, etc. I am not currently using AJX. No, your form can still use the mail. I recommend that you use forms Do not use GET w...

How do I use a polymorphic many-to-many relationship in Laravel 4.1? -

As an example of this question, let me use TV shows, movies, and actors. Each TV show and movie has many artists and each actor is in one or more TV shows and / or movies. If I established a polymorphous multiple-to-many relationship between them, it seems that I have all of my TV shows and separately for all of my film, but despite all the googling I can come up with one Actor can do the query, I have not met an actor's TV show and / or a way to query for the union of all of the movie in a collection. Is not this useful to many polycentric relationships? If it turns out that it is actually possible, then perhaps I will add notes to the table and model setup to achieve it because I'm not able to work it yet. If this is not possible, can you help me understand this kind of relationship because I do not understand it clearly. I feel that without this question, I do not get anything to use two very many relationships. I'm not sure that this will solve your question,...

php - Intervention Image Class not returning any exif data - Laravel 4 -

Laravel 4 and working with image upload using the interference image. It uploads okay, but there are problems with it orientation. An auto-functional function is (-> Orient ()); But that does not work, so seeing the docs I tried to read the exif data to see what was happening. I used it in my opinion: image $ data = image :: make ('upload / coverimages / IMG_1126.JPG') - & gt; Exif ('model'); Print $ data; But it does not return anything, because nothing is shown. Any thoughts? EDIT: The image is taken from DSLR and has just been dragged into the folder. There is no uploading / resizing etc, so it will get extra data. Has tried another method (-> width) and gives it a value so that I can know that the functions are working. From the documentation: Note: PHP should be compiled with --enable-exif Windows users should have MBString Extension enabled.

python - bulk retrieve in CouchDB? -

I recently started thinking about CouchDB to store a large list of manipulative dikts manipulation in Python is. In my case, about 20 elements of the big means. I found that this method is very quick to push my entire list into an HTTP call. It takes about 3 seconds, which is perfect for my case. I also need to get the full contents of this database and store it in the list of dicts (in a separate script). Unfortunately, this is an upside operation. Unfortunately, I have found the only way to do this # db A cache. The database is opened after the server () call mylist = list () in db for the id: mylist.append (db [id]) This takes 10 minutes because each of the loops Call for element. What is the equivalent of update Should I contact the retrieval part in a different, more efficient way? The easiest way to get each document is by _all_docs To issue a request for and pass include_docs = true . _all_docs will get the original details (_id, modification) of a...

How to convert javascript variable into php variable? -

I am new to programming and am trying to create a program that will register a selected location in my database. I want to convert the js variable to $ phpvar php variable. Please click me $ ('(b) (function () {var str = [], item; $ .each ($ (' # place li. '+ Settings SITSSS + 'A'), function (index, value) {items = $ (this) .attr ('title'); str.push (item);}); & lt ;? Include php "accounts / config.php "; $ Phpvar = '" + str + "' mysql_query (" Insert in sample values) ('$ Phpvar.' '')); // echo $ phpvar;; & gt;;})}) ; As the previous speaker has already been explained, you need to think in the context of client-side. Running code and server side row Code Whenever you want to share a state between those two parts of your application, you need some communication mechanism. Client -> Server You need to make an HTTP request for this. This can be either a post or a AJAX call, only take a lo...

sql - What is the best solution to save big amount files receiving everyday? -

In my application, I get at least 1000 files per day from different emails. Pentaho I keep them in a folder What is the best solution to save these files: Storage in the folder in my hard disk or save to the table (sql)? Thanks As long as you benefit from additional features given by SQL database Do not plan to take it, I advise you to drive them hard, and do not forget the importance of backing up your files.

coreos - What's the semantics of ETCD_PEER_KEY_FILE in cloud-config -

According to the In an etcd example can be multiple colleagues I have a parameter ETCD_PEER_KEY_FILE = / Path / to / peers.key can be configured. If I interpret this parameter according to its name, then I can add a peer (or more pear_s_) private key to that file. What is the rationale behind it? Can anyone explain that this parameter actually means (no documents found). Understand documentation - cert-file = & lt ; Path & gt ;: Certificate used for SSL / TLS connection etc. - Peer-cert-file = & lt; Path & gt:: Certificate used for SSL / TLS connections between peers will be used for listening to the peer address as well as sending requests to other colleagues.

javascript - Running a function after a set amount of time -

I have a registration form, and I want to check the availability of the username submitted by dynamically Ajeaksa . So far, I have created an input field with an OnKeyUp event, which is reg_un_check (); calls the function name, the current setting is the problem, which works fine, function am runs every key stroke I want to "delay" of some kind between keystrokes and function calls, so the user is typing Finish and save some bandwidth. I tried to use the SetTimeout () but it only delays the time between AJAX requests. I have made it yet: Input Field: & lt; Input type = "text" value = "username" id = "reg_un" onclick = "Reg_un_in ()" onblur = "reg_un_out ()" onkeyup = "reg_un_check ()" & gt; & Lt; Div class = "alert" id = "reg_un_alert" & gt; & Lt; / Div & gt; // div that pops out if the UN is not valid & lt; Div class = "reg_unc" id = "reg_un...

sql - "Invalid use of Null" in Access Query -

I have two pass-identical databases (the second is a copy of the first, and then modified with a different company / product information) . There is an old report that never worked out right, I had to decide. I am working on it on a database (A), but second (B) suppresses the "invalid" error. The report query is generated by another query, which basically captures the order information and customer information. From there, due to inquiries in the question, these orders have been given that how long they were sent before, and returned the balance. The error message comes from the following code segment: round (sum (iif (date ()) [[shahdat] is null), [line total] + (CLNG ([line total] * [Freight] [100] / 100) + [Freight Charge] - NG ([Total Payments]), 0)), 2) AS current entered If the tap is changed to something else Given, query normally executes if I try and present any "variable is zero" code, then it throws error Tried, but the following, but to no av...

c# - Add to a List where some elements are already present -

I have a list in which some elements already exist and before trying to add before. I retrieve the machine name and type, and then use the name of the machine to collect information on the machine. Here my object is: public string hostname; Public string master type; Public string oswers; Emerged public cDriveFreeSpace; Public string sqlversion; Public string; Public string adobeVersion; Public overall RAM; Public string processor details; Public string physical processor; Public string logiccore processor; Public emerging memories; Public listing & lt; SystemTools.LogicalDriveInfo & gt; Drive = new list & lt; SystemTools.LogicalDriveInfo & gt; (); Public string OSArchitecture; Public string DotNetVersion; First of all I would like hostname and soft type: list & lt; Machines & gt; Results = New list & lt; Machines & gt; (); Foreach (DataRable.Rows in DataRow dr) {result.Add (new machines ((dr.IsNull ("HostName")? "": Dr...

javascript - Modifying array with asycronus data -

I have a very curious problem, I'm sure nobody in the world has come to know. Let's keep the simple thing. OK here we go. So I have a simple array of objects. For now, 5 objects are called. {Id: 1, data: 'stuff'}, {id: 2, data: 'stuff'}, {id: 3, data: 'stuff'}, {id: 4, data: 'stuff'}, {id : 5, data: 'stuff'}] Then what do I do 3 Ajax requests that all come back, obviously, and are different times What I want to do is update this ARD based on ID. For example, I send 3 AJAX requests and get new data for object 1, 2 and 4. I have to update the data property in the related objects in the array. I'm using Array.splice to update. What I know is happening several times, because the data comes at different times, these things are not updated correctly. I think this is because what makes a wedding, actually removes the object from the array, and then later incorporates the new array again. It appears that there are instances where the...

java - Graphics2D - Text is HUGE in scaled coordinate space -

The first "Foo" is normal, but the second one is so big that I can only see the basis of "F". Font-size is default. BufferedImage image = new BufferedImage (500, 500, BufferedImage.TYPE_INT_RGB); Graphics2D g2 = image.createGraphics (); Size oval = new oval 2D Double (0, 1.0, 1.0, 1.0); G2.setPaint (Color.RED); G2.drawString ("foo", 100, 100); G2.scale (500.0 f / height, 500.0 f / height); G2.drawString ("foo", 1, 1); Changing the font size will not help because it only allows to measure the size and size of int which is 0.02 . I need to draw text in the scaled space, because I am portraying the grid of nodes and I want to scale the coordinates for the number of nodes in each dimension. In this way I do not need to make complicated calculations. I need text to label edges. Update: I am able to get the text every time I want to draw text: save the transformation, translate it to the desired location in the scaled space, unsal...

javascript - Duplicate Marker Error in Leaflet -

How do you handle markers in sheet maps? My question is, when I place a marker on the map and place a different marker on the map, the first markers always come in or mix with another image. Here is my code var note = document.getElementById ('note'); Var datepick = document.getElementById ('Demo 1'); Var Timepick = document.getElementById ('Timepick'); LayerPoly.On ('click', function (e) {var marker b = new L. marker (E.latange, {icon: icon3}); marker B.DindPop ("homecad" date and date; : "+ Datepick.value +" & lt; / br & gt; Time: "+ timepick.value +" & lt; / br & gt; Address: "+ note.value +" ") addTo (map); map .addlayer (markerB); Closing 2 (Marker B) Is there something wrong with the click event, I just want to have no other marker with the marker? Any help TYIA!

linker - GCC: Section names containing the / character -

Answer this question: It feels great one. However, trying to use it, I see that the name of the section gets smaller when faced with a slash (/) character. __File____ contains the path to the file, and thus the / character linker drops everything while creating the name of a section like: #define SEC_TEXT __attribute __ ((section (". Mytext.bl / ah.c")) Unsigned four SEC_TEXT poll (zero) I end with this section name Happens: [8] .mytext.bl PROGBITS 00000000 000120 00003D 00 0 1 If I use your answer, then Using __ line __ and __ file __ : #define __S) #s #define _S (s) __S (S ) #defi Ne SECTION __FILE__ "." _S (__ LINE__) #define SEC_MYTEXT __attribute __ ((section (". Mytext." Section)) Unsigned four SEC_MYTEXT poll (zero) I get this: [8]. Mytext PROGRITS 00000000 000120 00003 D 00 0 1 But you can see from preprocessor output that I should give a section name with file and line: Unsigned four __tystem __ ((Section (...

hoisting - JavaScript multiple alert promt -

I have read about javascript function hoisitng. But in this case, I did not understand how anonymous functions are being hoisted var myObj = {name: 'MyName', dob: 10, office: 'MyOffice', myFun: function () {Warning ("Anonymous Job"); }, ShowItem: function () {warning ("name:" + this.name + "office:" + this.office); }}; Warning (myObj.showItem ()); If I run the code, two warning message indicates. Displays one name, office and other undefined. That's because two alerts are being said. The first is in the showItem function in its var; Second is a warning warning of (myObj.shwItem ()); Try: myObj.showItem (); In this case only the alert will be called from within your defined year.

java - Issue with Threading -

I like the program to use thread to run two loops at a time in your program I want to be able to Although I am not sure how to use threads and I have to face errors, I do not know anything. I will post the code, but I will ignore most of these, it is some hollow rock which I want to do to clean all this thread. I'm getting the error "not override the summary" and this highlights "class game runable" section. This code is: implements the public class game Runnable {@Override Public Zero Run (int Time) {try {time = 1; While (time & lt; = 10) {Thread.sleep (10); System.out.print (time); Time ++; } Four clear = (four) (12); System.out.print (clear); System.out.println ("You've Ended Time! Game Over!"); System.exit (0); } Hold (Exception e) {}} throws public static zero principal (string algos []) exception {System.out.println ("Welcome to pseudo-where is, look at low calorie l-characters"); Thread.Sleep (500); System.out.println (...

html - Getting rid of padding at the bottom of bootstrap navbar -

I can not seem to get rid of the pesky white space between the title of my page and my bootstrap navbar. Example: Main CSS: .navbar-default {background-color: # 000000; Border-color: # 1a1a1a; } .navbar-default.navbar-brand {color: #ffffff; } .navbar-default .navbar-brand: hover, .navbar-default.navbar-brand: focus {color: #ffffff; } .navbar-default.navbar-lesson {color: #ffffff; } .navbar-default.navbar-nav & gt; Le & gt; A {color: #ffffff; } .navbar-default.navbar-nav & gt; Le & gt; A: hover, .navbar-default.navbar-nav> Le & gt; A: Focus {color: #ffffff; } .navbar-default.navbar-nav & gt; . Active & gt; A, .navbar-default.navbar-nav> . Active & gt; A: hover, .navbar-default.navbar-nav> . Active & gt; A: Focus {color: #ffffff; Background color: # 1a1a1a; } .navbar-default.navbar-nav & gt; .open & gt; A, .navbar-default.navbar-nav> .open & gt; A: hover, .navbar-default.navbar-nav> .open & gt; A: Focus {color:...