Posts

Showing posts from May, 2015

c++ - A Comprehensive Color List For OpenGL With Associated Names -

In OpenGL programming, you can define the top color by using the glColor3f function; It is usually implemented by defining the float value between 0.0f and 1.0f so glColor3f (1.0f, 0.0f, 0.0f) red will be very basic. I was thinking that someone could link me with some documents that show every single order of colors with names (or just an extensive list). It would be easier to remember that glColor3f (0.98f, 0.625f, 0.12f); "Pumpkin Orange" makes it. I found this relic fantastic: I want something like this, but very big. Try and you want the right numbers.

python - Regular Expression Processing HTML -

मुझे सभी HTML टैग (जैसे & lt; p & gt; , & lt ; Img & gt; , आदि।) एक वेब पेज स्रोत कोड में है, लेकिन मैं & lt; br & gt; और & lt; br / & gt; रखना चाहते हैं। मैंने कोशिश की है: re.sub (r '& lt; [^ & gt;] +? & Gt;', u '', html, flags = re.I) यह केवल पहला लक्ष्य प्राप्त करता है, लेकिन यह & lt; br & gt; या & lt; br / & gt; नहीं रख सकता है। r '& lt; [^ & gt; br] +? & Gt;' या तो लक्ष्य को प्राप्त नहीं करेगा। सही नियमित अभिव्यक्ति क्या है? & lt; ((?! \ Bbr \ b)।) *? & Gt; यह आपके मामले के लिए काम करना चाहिए। नकारात्मक नजरिए सुनिश्चित करेगा & lt; br & gt; नहीं चुना गया है। संपादित करें: & lt; (?: (?! \ Bbr \ /? (? = & Gt;))।) *? & Gt; यह कोशिश करें अगर आपके पास ऐसी बेतुका बातें हैं & lt; a href = "http: //host.domain.tld/br" & gt; डेमो देखें।

mysql - SQL JOIN for three tables -

मेरे पास तीन तालिकाओं हैं tbl_Service 1) sId 2) नाम tbl_quatItem 1) iId 2) quat_ID 3) ser_Id tbl_quat 1) qId 2) तारीख 3) नाम मैंने कोशिश की है निम्न कथन चुनें s। *, Q * tbl_service s से, tbl_quatItem q जहां q.quatID = 1001 और s.sId नहीं q.qutID में अब मैं tbl_Service से डेटा प्राप्त करना चाहता हूं जो tbl_quatItem में नहीं हैं और quat_Id = qID चुनें tbl_Service से * जहां sId नहीं में (tbl_quat_ID से ser_Id चुनें जहां quat_Id! = & Lt; qid & gt;) मुझे आशा है कि ऐप्लिकेशन साइड से QID पार किया जाता है .. आपको स्ट्रिंग को उचित मूल्य के पास करने के लिए संलग्न करना है

PHP session not destroying or unsetting -

मेरे पास index.php में लॉगिन की जाँच के लिए यह निम्नलिखित PHP कोड है & lt; ? Php session_start (); $ Con = mysqli_connect ("***", "***", "***", "***"); $ Fbid_check = $ _ सत्र [ 'loginid_session']; $ Fbphoto_session = $ _ सत्र [ 'loginphoto_session']; $ Fbname_sql = mysqli_query ($ con, "चुनें fb_name से uni_users WHERE fb_id = '$ fbid_check'"); $ Name_fetch = mysqli_fetch_array ($ fbname_sql, MYSQLI_ASSOC); $ Fbname_session = $ name_fetch [ 'fb_name']; If (isset ($ fbname_session)) {हैडर ("स्थान: http://www.uniwink.com/landing/profile.php"); } Mysqli_close ($ con); ? & Gt; यह लॉगइन के लिए चेक करता है और प्रोफ़ाइल.फिप पर रीडायरेक्ट करता है जिसमें प्रवेश के लिए जाँच करने के लिए हैडर में निम्नलिखित PHP कोड होता है & lt; php $ con = Mysqli_connect ("****", "****", "****", "****"); session_start (); $ Fbid_check = $ _ सत्र [ 'login...

c# - Access to the path is denied while using FileUploadControl -

I am trying to save an uploaded file: string SaveLocation = Server.MapPath (@ "~ \ data"); FileUploadControl.SaveAs (SaveLocation); I've given the full control permission for the following code to save both solutions and targets: Network Service IIS_IUSRS ASP.NET / Markin IUSR I received the & lt; Identity impersonate is determined = "False" /> in web.config . I tried all of the above methods but still are not able to reach the path: Error: Path is denied I know what I have to do to reach the path. requires a full filename, not only the directory you passed. string SaveLocation = Server.MapPath (@ "~ \ data \ somefile.png"); FileUploadControl.SaveAs (SaveLocation); Every time you upload a file, make sure to change the file path, or the file will be overwritten.

sql - This server supports version 611 and earlier. a downgrade path is not supported -

To install which SQL Server 2005 Express (which contains the service pack) This server supports version 611 and earlier. The downgrade path is not supported None Your server supports DB version 611 , Which means this is SQL Server 2005 you are trying to restore or attach new version DB (we do not know, because you want to cut the message, which was important information). 612: SQL Server 2005 SP2. You must install a SQL Server 655: SQL Server 2008 661: 612: SQL Server 2005 SP2. 661: SQL Server 2008 R2 706: SQL Server 2012

sql server - SQL stored procedure inserting duplicate OrderNumber -

I searched the Internet for the day, no effort, maybe I do not want to ask properly. I have a SQL table like this: to create table items (id int identity (1,1), order number varchar (7), item name varchar ( Then I have to create a stored procedure to put items on demand, new ORDERNUMBER : Process spx_insertItems @insertNewOrderNr bit, @orderNumber varchar (7), @item name varchar (255), @n count on start count as int; If the announcement of (@insertNewOrderNr = 1) declaration @newNr = start (dbo.fun_getNewOrderNr Selection ()), enter values ​​(@newNr, @itemName, @count) in item (ORDERNUMBER, ITEMNAME calculation) @newNr in another item Enter the starting start date (ORDERNUMBER, ITEMNAME, count) values ​​(@orderNumber, @itemName, @count), SCOPE_IDENTITY () end-end new ORDERNUMBER in the end A user-defined function is returning to the code>: create function dbo.fun_getNewOrderNr () Return as varchar (7) / * This function works well * / @ Output varchar (7) Setti...

windows - Is it necessary to use unique WIX product ID for all product versions if upgrade not supported -

We have a product that uses the WIX installer and only our support team has demonstrated the installation routine. There are two steps in the only way used for the upgrade application: Delete the previous version of the installed app. We have a list of all product GUIDs by which we can remove all possible versions (MSIXAC / X GUID) Install the latest one Upgrade, Repair Or older versions of the installation will never be used for this product (this is impossible because the deployment is done by the script). Is it necessary to make product ID unique for all upgrades, if we do not use the upgrade functionality, or is it possible to place the same product and upgrade ID? From the documentation of: This ID should be different for different versions and languages. Therefore, you should generally set id = "*" in the product element, so that you are unique to each installer package. I can not think of a reason because you want this ID to be for different ve...

javascript - Cannot save a remote image with node.js and request -

I want to save an image with node.js. So far I have this simple code: var request = required ('request'); Var FS = Requirement ('FS'); Request ('http://upload.wikimedia.org/wikipedia/commons/8/8c/JPEG_example_JPG_RIP_025.jpg', function (error, feedback, body) {// more logic determines whether the image will be desired or Not saved fs.writeFile ('downloaded.jpg', body, function () {});}) But this does not work Image always gets corrupted. I think this is an encoding error but how can I decide. var request = required ('request'), FS = requirement ('FS') , URL = 'http://upload.wikimedia.org/wikipedia/commons/8/8c/JPEG_example_JPG_RIP_025.jpg'; Request (url, {encoding: 'binary'}, function (error, feedback, body) {fs.writeFile ('downloaded .jpg', body, 'binary', function (mistake) {});});

How can I use a service account to get the email of a user in a Google Apps domain, without already knowing an email from that domain? -

I am trying to use a service account to access data from a domain that is my app Google Apps Marketplace is installed) But to get the list of users or the list of admins for any domain, it is necessary to call the Google Admin SDK API That you know the email address of a user in the domain. http transport http transport = new net HTTPS transport (); Jacksonfactor jasonfactor = new jacksonfactor (); GoogleCredential credentials = new GoogleCredential.Builder () .setTransport (httpTransport) .setJsonFactory (jsonFactory) .setServiceAccountId (SERVICE_ACCOUNT_EMAIL) .setServiceAccountScopes (DirectoryScopes.ADMIN_DIRECTORY_USERS) .setServiceAccountUser (USEREMAIL) .setServiceAccountPrivateKeyFromP12File (new java.io.File (SERVICE_ACCOUNT_PKCS12_FILE_PATH)). Construction (); Directory Service = New Directory. Builder (httpTransport, jsonfactory, null) .setHttpRequestInitializer (Credential) .build (); Directory.Users.List Request = service.users () .list (). SetDomain (domain); ...

how to write this in a for loop in R? -

मैंने यह लिखा है pp1 & lt; -table (sip $ newSS4_1 [sip $ newSS4_1 == 1], एसआईपी $ एचएस 1 सी 1 [sip $ newSS4_1 == 1]) पीपी 1 = राउंड (प्रोपटेबल (पीपी 1, 1), अंक = 3) पीपी 1 मेरे पास 30 व्हेरिएबल्स करने के लिए। उदाहरण के लिए: pp2 & lt; -table (sip $ newSS4_2 [sip $ newSS4_2 == 1], एसआईपी $ एचएस 1 सी 1 [sip $ newSS4_2 == 1]) पीपी 2 = राउंड (प्रोपटेबल ( Pp2,1), अंकों = 3) पीपी 2 और pp3 ... pp30 इतने पर। newSS4_1 ... newSS4_30 पहले से ही डेटाफ्रेम में है। यह कैसे एक लूप में लिखना है? धन्यवाद। ऐसा लगता है कि आप चीजों को अपने लिए कठिन बना रहे हैं। इसके बजाय विभिन्न नामों के साथ 30 चर बनाने की, क्यों एक सूची का उपयोग नहीं करें? स्तंभ नामों का उपयोग करने के बजाय, कॉलम संख्याओं का उपयोग क्यों नहीं करें? पीपी & lt; - सूची () colnums & lt; - grep (नाम (एसआईपी) , "NewSS4_") # मानते हैं कि वे (1:30 में) के लिए क्रमबद्ध हैं (सीएनएटी & lt; - colnums [i] पीपी [[i]] & lt; - टेबल (एसआईपी [, सीएन] [एसआईपी [, सीएन] == i], एसआईपी $ ...

python - Pymongo search geo on line -

There is a collection with my geographic coordinates. I use commands in this way to find objects in the circle collection.find ({"loc": {"$ inside": {"$ center": [[49.236484,28.472172], 10]}}}) But do I need to find the object on the road (line)? how can I do this? And please tell me that my order will search right. Thank you. Why not use $ polygon to essentially create a thick line? collection.find ({'loc': {'$ inside': {'$ polygon': [[linestart_x, linestart_y], [linestart_x + jiggle, linestart_y + jiggle], [lineend_x , Lineend_y] [Lineend_x + jiggle, lineend_y + jiggle]]}}}) You have to experiment to find a proper number of 'jiggle'. Enjoy!

pointers - C++ difference between address -

I have the following structure for a node in a link list. struct node {difference information; Approval * Next; }; I have declared P as an indicator in a structure (node) and have started it. node * p = new node; I do not understand the difference between p and and p , they are 2 addresses but they do not Should the same address? cout & lt; & Lt; P & lt; & Lt; "" & Lt; & Lt; & Amp; P; See this slightly differently: Structure node {int information; Node * next; }; Node n; // node only node * p = & amp; N; // p is a "node pointer" (node ​​*) /. Its value (node) keeps node address ** PP = & amp; P; // PP is an indicator of "node pointer" (node ​​**) // / value of it (node ​​*) p Does it clean a bit?

javascript - JQuery apply css stored in variable -

I have a div that needs to be styled using CSS styles stored in a variable. Such as: var styles = 'font-weight', 'bold' '$' ('div'). CSS (style); & lt; Script src = "https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" & Gt; & Lt; / Script & gt; & Lt; Div & gt; The Div Be Towled & lt; / Div & gt; It shows what I have to do, but it will not work. Someone has any ideas. Thank you. Try, var styles = {'font-weight ':' Bold '}; $ ('Div'). CSS (style); Passing the .css () function to string argument. And it is not a valid signature supported with .css () a style value var styles = {'font-weight': 'bold'}; $ ('Div') CSS (style); & lt; Script src = "https: / /ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> & Lt; Div & gt; The Div Be Towled & lt; / Div & g...

How do I extract a TAR to a different destination directory -

On server A, I have created a tar file (backup.tar.gz) of the entire website / www On Server B, I want to put those files in / public_html but do not include the top-level directory Of course, tar - Thank you!

Print the value in Hash of Hash for two different keys in Perl -

नीचे पर्ल में हैश है: मेरे% hash = ('episode1' = & Gt; {'जब' = & gt; '08 .13.97 ',' एयरडेट '= & gt; '08 .13.97', 'एपिसोडेनम्बर ='> '101', 'id' = & gt; '103511', 'title' = & Gt; कार्टमन एक गुदा जांच हो जाता है ',' उपलब्ध '= & gt;' सच '},' एपिसोड 2 '= & gt; {' जब '= & gt; '08 .20.97', 'एयरडेट' = & gt; '08 .20 97 ',' एपिसोडेम्बर '= & gt;' 102 ',' id '= & gt;' 1035156 ',' title '= & gt;' वजन प्राप्त 4000 ',' उपलब्ध '= & gt;' सच '}); मैं दोनों एपिसोड के "आईडी" को मुद्रित करना चाहता हूं, लेकिन नीचे कोड काम नहीं कर रहा है: foreach मेरी $ कुंजी 1 (कुंजी% हैश) {Foreach मेरी $ कुंजी 2 (चाबी% {$ हैश {$ key1}}) {प्रिंट "$ हैश {$ key1} {$ key2} {आईडी} \ n"; }} कृपया मदद करें। इसे आज़माएं: foreach मेरी...

once-only lisp macro, yet another implementation -

I am trying to learn Lissep from Peter Sebel's book "Practical Common Lisp". In, this time I came in the only macro. At the bottom of that page, an implementation is given. I already tried to apply my own macro for the same purpose, but there was a bug in it as it has been said. This time I have made another alternative implementation, hopefully I would like to know that my implementation is correct from time to time due to bug fixing. (defmacro my-once-only (and the rest of the argument) and the rest of the body) (but (gensym (collect for X in xx for loop (gensym))) ( ) (Loose for X in gensyms for x) (Assemble in AGR (G, X)), Gather (loop for X in Argus (x, G) (x) (Gensym))) () , `, (, X, g))),),),) @),),),), / former>

angularjs data structure not work in the view -

How to repeat markakas and how to model elements in this modelos ... plnkr.co/ Edit / aFYv2ynwbwvwWbotU0iJ? P = Preview --- File app.js Is this structure wrong? Please helme --- You forget some closing " s in your example Besides, your JSON foam was not correct. I think you want something like this.

excel - How to link an image to the header -

I have an Excel sheet where I am using an image in the header. From this I already know how to add or link pictures in an Excel sheet as size . Now I have to do something similar to the headers, where I can link an image in the workbook instead of saving the image header (because I have a lot of images that make the size of the file larger) . Code: sheet.page suite. Leftfire Filename You have to set the property of filename _____ header image The property you want to use in the path of the image.

html - Divs are overlapping, how to fix? CSS -

I want to position two divs under each other, which are below each other. Div 1 div 2 -------- | | | | | | | | ---- ---- What is happening with my code so far is that they overlap like this: - - - || || || || ----- This is my code so far: @ media screen and (minimum-width: 40rem) and (max-width: 60rem) {# div1 {status: absolute; Left: 0 pixels; } # Div2 {status: absolute; Correct: 0 pixels; }} As you can see that I want to put div # div2 on the right, while the other one is on the left side, apart from this, I should do this when the browser window 40 and 60 The width of the RAM is between the width. But they overlap with my code, I want them to be kept side by side smoothly. It would be nice if I could get some help. please try the following: @ media screen and (minimum -Width: 40rem) and (max-width: 60rem) {# div1 {float: left; Width: 200px; / * Change this value to your needs * /} # div2 {float: right; Width: 200px; / * Change this value to your nee...

node.js - Send Email with attachment using aws-sdk(Amazon SES) using nodejs -

Hello, I'm trying to send an email with an attachment & gt;" + err, err.stack); // An error occurred console.log ("data & Gt; & gt; & gt; "+ JSON.stringify (data)); // successful response}); But I'm getting error UnexpectedParameter: found in unexpected key params.RawMessage * UnexpectedParameter 'From:' In the unlikely key 'to' params.RawMessage * UnexpectedParameter found: unexpected key 'date' params.RawMessage * found UnexpectedParameter: unexpected key 'theme' params.RawMessage * found UnexpectedParameter: unexpected key found in the accepted 'language' params.RawMessage * UnexpectedParameter: unexpected key 'content-language' Found in params.RawMessage * In UnexpectedParameter: Unexpected Goods Minister 'Content-Type' params.RawMessage * found UnexpectedParameter: found in unexpected key Sbdsmuchcy 'params.RawMessage * found UnexpectedParameter: unexpected key content-t...

jquery ajax submit form to php -

I have just started trying to learn jquery but I need some help. I have found a form that I am trying to submit, it should be simple, but some are messing me up I'm using Chrome's console to see what's going on , And functions.php is not requested. Apart from this, instead of a post request, a request is appearing in the request console. I have included jquery in the file's head. Cold someone tells me what I'm doing is wrong here? I have tried many other examples which I have successfully successful on the forum. html: & lt; Form name = "myPage_form" id = "myPage_form" & gt; & Lt; Enter "auto integer" on the input id = "myPage_location" type = "text" size = "50" placeholder = "" location = "server" />. & Lt; Input type = "text" id = "myPage" "name =" myPAGE_city "/> & Lt; Input type = "text" id = "...

openssl - How can I find the code which caused the Heartbleed Bug before the fix was made? -

I can get an open source code for t1_lib.c, but is there any place where the old code is stored? I need to do a project where I show the class what may happen if this limit has not been investigated, but I am not sure how much was added to the file to solve the problem. I am taking advanced data protection class, and this project was entrusted to me. Thanks! Gitub is committed which fixes the bug, both of "the first" and "the latter" of the code Shows Tells how to explain few pages, if you are not familiar with it.

puppet - Vagrant heira_config error on vagrant up -

I am trying to confuse the box with config files created by puphpet - that works fine on my Yosemite 10.10 The MacBook Air has been for a few weeks - but after reloading the configuration to add the second vhost to Apache, I get the following error when I'm going passionately ==> default: Puppet Establishing Needs == & gt; Default: / tmp / vagrant-shell: Line 54: / usr / bin / gem: No such file or directory: == & gt; Default: Finish installing puppet requirements == & gt; Default: Installing paveting 3.4.3 ==> Default: / tmp / vagrant-shell: line 58: / usr / bin / gem: No such file or directory ==> Default: Install Muppet 3.4.3 == & gt; Default: Running Pravator: Puppet ... ==> Default: The puppet is running with the site.pp ... == & gt; Default: stdin: is not a tty ==> Default: Options could not be parsed: Invalid option: - The hiera_config SSH command responded with a non-zero exit status. Vagrantr believes that it means that the command ...

java - All my objects change in my arraylist -

I am adding a new object (class) to ArrayList , but when I try Receive variables from objects in my ArrayList , variables are the same in all my classes. I have added a new object, so I hope it will add a new object, okay? This is my code for loop. Print says that every variable in the object [i] has the same number. Arrielist Treats; Array list branch list; Boolean clicked; Zero setup () {size (1024, 768, P3); Click = pane; Triadots = new arrives (); BranchList = new Arrayist (); Tree dot.ed (new tidad (width / 2, height / 2)); } Zero draw () {if (click) AddTreeDot (); If (tree dots.) (1) {for (int i = 0; i & lt; tridotes.syge () -1; i ++) {int temp_lock = 0; Treated Index 1 = (Tredot) Tridots.Tet (I); Treadt Index 2 = (Tridot) Tridutes. Gat (I + 1); Print (index1.xLoc (temp_loc) + ""); Print (i + ""); Print (index2.xLoc (temp_loc) + ""); Print (i + ""); StrokeWeight (2); Stroke (# 09FF00); Line (index1.xLoc (temp_loc), index 1. y...

gruntjs - Specify SASS variable on compile with Grunt-Contrib-Sass -

Before compiling with Grant-Ferry-SAS, is it possible to specify a variable in SASS from GreatFile.JS? For example, if the full path is required in the CSS, then the path based on dev build or deploy build Grantfile can be defined by. For people familiar to, it will be at least equal to 'SASASS' ' Modified Wars . Example Grunfile ... sass: {deploy: {vars: {absolute: "http://www.example.com/"}}, Dev: {Wars: {full: "/ local_path/"}}} ​​... example SASS .element {background-image: url ("# {Absolute} image.jpg"); } I understand grunts work only on saus preprocessor. There is nothing more than this that you can not pass the variable for the actual SASS from the gruntfile and expect that it should work. You can potentially use a compass to set a function that creates an environment variable and depending on that value you can create a SASS mix that changes the path based on that environment. As shown in this reply. You can t...

javascript - node program not exiting -

I am new to node. Js. Trying to create a HTTP request using the GET method through the node, prints "print reply: 302" and keeps going out without leaving the code according to the code it needs to get out of the node. Unable to understand the reason for the wait of the node without exiting the program. var options = {host: 'www.google.com', port: 80, path: '/ index html'}; At ('error', function (e) {console.log ("goto error:" + E.message);}); By default, the preventable stream in a paused state in node v0.10 + So if you have feedback data, then you have to remove the response to the process of naturally going out: http.get (options, function (to stop data loss) Res) {console.log ("Got response:" + Res.statusCode); // This forces behaves streams 1 and 'data' emits events which we / Received the, to effectively drain the stream ... res.resume ();}) (the 'error' function) {Console.log ( "error was:...

ionic framework - How to conditionally set selected property in AngularJS -

मेरे पास एक ऐसा फ़ील्ड है: & lt; ng-init = "एक्सचेंज ओपन = विजेट.content.exchange [0]" एनजी-मॉडल = "एक्सचेंज ऑप्शन" एनजी-ऑप्शंस = "एक्सचेंज ऑप्शन। टाइटली एक्सचेंज के लिए ओपन में विजेट। कॉन्टेंट। एक्सचेंज" एनजी-चेंज = "आंतरिक लिंक्स (एक्सचेंज ऑप्शन। यूआरएल)" & gt; & Lt; / चयन & gt; जैसा कि आप देखते हैं, अभी मैं हमेशा पहला विकल्प चुनता हूं लेकिन वास्तव में "एक्सचेंजों" में "चयनित" फ़ील्ड है, जो एक बूलियन है, जो सही पर सेट होता है यदि वह विकल्प चयनित होना चाहिए। आप ऐसा कैसे करेंगे? अग्रिम धन्यवाद! आप एक्सचेंजों को छानने के द्वारा चयनित विनिमय विकल्प को वापस करने के लिए एक विधि लिख सकते हैं। / P> & lt; चुनें ng-init = "exchangeOption = getSelectedExchange ()" एनजी-मॉडल = "एक्सचेंजऑप्शन" एनजी-विकल्प = "एक्सचेंज ऑप्शन डॉइटली एक्सचेंज ओपन चेंज" widget.content.exchange "एनजी-परिवर्तन = "आंतरिक लिंक्च (एक्सचेंज ऑप्शन.रिल)" & gt; & Lt; / चयन...

seo - Meteor Spiderable with phantomjs doesn't show yield content -

METER SEO guide in following this article: I have installed SpiderBall (Meteor Spinebol Joint) Apt-get install phantomjs, make sure that all my publications have a return. I am working with Meteor 1.0.0 and iron-router 1.0.0. Whenever I open a local host? _ Escaped_fragment_ = I get static content generated by phantomjs (not errors), but content inside {{> yield}} is not included. If I try to load any data directly into the layout, it also reads it. How can I make the contents included in the readable {{> yielding}} for spiders? Any help is appreciated. I solved it by using the Iron Router version 0.9.4, but I still can not The latest iron router and lt; Fix with version 1.0.0 = 1.0.0

vb.net - custom error page endless loop in asp.net -

Pure with ASP.NET in Visual Studio. I am trying to apply a custom error page to use this code - & lt; CustomErrors mode = "RemoteOnly" defaultRedirect = "~ / ErrorPages / errorPage.aspx" & gt; & Lt; Error status code = "404" redirect = "~ / ErrorPages / NotFound.aspx" /> & Lt; / CustomErrors & gt; And I created error pages. I am also global. Found on the Essex page - Sub application_Error (as an object, in the form of ByVal and EventArgs) new multi-functions functions as sent mail classes (Dim Dimjre) like SystemException = Server.GetLastError ( ). GetBaseException () Dim errorContent string = error message code mailClass.sendMail (errorContent, "user error information", "mail address", "nothing") end sub I I get the error message in my mail -> Now it is my problem: when I am killing an error, for example bad URL type and redirect can not be redirected to error page, a In t...

python - Finding the last values before a specific value in numpy/pandas -

I have a panda series, and I want to find the last index / status (or boolean mask) Appears before other specific values. Example given: df = pd.DataFrame ({'x': np.random.randint (10, 1000000)}) I have to find all the locations of 0 which are the last to be 9 before. If my array [9, 0, 3, 0, 1, 9, 4, 9, 0, 0, 9, 4, 0] in position 3 and 9 only void for me Interested to note that in this I am not worried that what happened with the last 0 in position 12. I do not like to keep it in the set set, but this is not important. My current method is: df ['last'] = np.nan df.loc [df.x == 0, 'last'] = 0.0 Df.loc [df.x == 9, 'final'] = 1.0 df.last.fillna (method = 'bfill', inplace = true) df.loc [df.x == 0, 'last'] = np .nan df.last.fillna (method = 'bfill Df.loc [df.x! = 0,' last '] = 0.0 Is there any way a faster or more Is abbreviated? Optimization, very easily, answers to the AJCR: / P> S = pd.Series (...

javascript - SignalR unable to send -

It seems that I have to reconnect to your server, reconnected and has disconnected the client properly events Side Can connect to my server as: $ Connection.hub.reconnecting (function () {tryingToReconnect = true; NotifyReconnect ();}); $ .connection.hub.reconnected (function () {tryingToReconnect = false;}); $ .connection.hub.disconnected (function () {if (tryingToReconnect) {NotifyReconnect ();}}); $ .connection.hub.start () Done (function () {console.log (chat.state); console.log ( 'now connect, connection id =' + chat.id); success = true; chat. Server. ( "Test");}) failed . (Function () {warning ("failed to connect.");}); For me these messages, send body {} now connected, connection id = undefined I get Unwanted error: Signal R: The data can be sent before the connection should start. Call. Before start () Send () is set strange because it seems that connection and I get the following message in the console: SignalR.Transports.Tr...

android - Retrofit: How to resolve requests duplications -

After Recently I started to develop using retrofit and could immediately note that it is in such a way Does not offer some important features - retries, authentication handling, priority and more. I managed to apply priority and retry myself, but there was a difficult problem to solve. I want to manage requests before the "Grip" network, they are coming in the Quebec queue to avoid the same request again and again. Users can sometimes drag 5 times to refresh once again and I do not want to open 5 similar requests. The identical request is easy to check - the same domain with the same parameter This is my implementation: // Thread pool's thread factory, we use it to indicate the priority of the thread Thread Factor ThreadFactor = New ThreadFaster () {@ Override Jan Thread Newtread (Runnabal R) {Thread T = New Thread (R); T.setPriority (threadPriority); Return T; }}; MQueue = new linking blocking Qualify & lt; Runnabel & gt; (); MExecuter = New Threa...

oracle - ORA-29532: Java call terminated by uncaught Java exception: java.lang.IllegalThreadStateException: process hasn't exited -

I am performing an archived procedure to perform some night maintenance on a database. Oracle is 11.2.0.3.0. RMAN is used to make daily backups in this process, backup ends but I get an error: ORA-29532: Java exception without Java exception Terminated by: java.lang.IllegalThreadStateException: The process is not finished For this reason the backup enters a loop state and to restart the stored procedure. This process runs many other machines without any problems. I have checked the Oracle Trace logs, but there have been no errors registered. What could be the reason? please assist.

redirect - Redirection with nginx -

Using this tutorial, I am trying to redirect the website of my name to IP: 8080, after that I Can I enter a name after setup? I'm getting a redirection loop ... is there any other service to redirect? There were many problems with NGNX I want to redirect a tomcat7 application by name, which uses IP: to execute 8080. It also does not help me: This webpage is not available on the link: Keep words in mind 'redirection'! = 'Enough' you redirect to a publicly accessible accessory through 301 or 302, while you can not access a backend directly on the proxy. The minimum configuration for the proxy is name.com/<whatever&gt request is: server

c++ - constexpr std::array with static_assert -

#include & lt; iostream & gt; # शामिल करें & lt; सरणी & gt; Int main (int argc, char ** argv) {constexpr const std :: array और lt; int, 2 & gt; Arr {{0, 1}}; Constexpr const int arr2 [] = {0, 1}; Static_assert (arr [0] == arr2 [0], "asdf"); Static_assert (एआरईआर [1] == एआर 2 [1], "asdfasdf"); वापसी 0; } जब जीसीसी 4.8.2 और 4.9.1 का उपयोग करके जी ++ test.cpp --std = c का उपयोग किया गया हो ++ 11 , संकलन सफल होता है क्लैंग 3.4 और 3.5 का उपयोग करके clang ++ test.cpp --std = c ++ 11 के साथ संकलित किया गया है, हालांकि, संकलन विफल रहता है: test.cpp: 8: 16: त्रुटि: static_assert अभिव्यक्ति एक अभिन्न स्थिर अभिव्यक्ति नहीं है static_assert (arr [0] == arr2 [0], "asdf"); ^ ~~~~~~~~~~~~~~~~ test.cpp: 8: 16: नोट: गैर-स्थिरता फ़ंक्शन 'ऑपरेटर []' का निरंतर अभिव्यक्ति में उपयोग नहीं किया जा सकता तो मेरा सवाल है, जो संकलक सी ++ 11 के अनुपालन के अर्थ में "सही" है? और, अगर झूठ सही है, तो क्यों std :: array का ऑ...

caching - Reflection in Java: How do I create objects of different types with the same name? -

I am writing an auto-grader for my students code. Each student class is called the same thing (selection), they are all in the same folder I have tried: I am trying to figure out how the object To reset, know that when I make a new one, it actually uses a new one. Removing the original class, and compiling it again Write another class that I compile every time (testFile1.java compiles and testFile2.java calls, which actually creates each select object ). The problem is that the Java class caches the object of the class, so every time I run it, it uses the first selection class instead of the newly compiled one is. My question is: how can I reset Java to get rid of caching of a class in Java so that when I compile the same file with the same file, it actually Will you use the new object type? / P> I recommend that you put them in different folders, or in the temporary folder if you have them Are processing at the pawr. If you want to load a new version of the cl...

ios - tapping on another uitextfield does not close the keyboard -

I have several videotides on one view and in this mehtod: - (void ) TextFieldDidEndEditing: (UITextField *) textField I'm calling: [textField resignFirstResponder]; But it does not hide the keyboard while switching between UTTFFLIDS, I want to close it because some UITDEFLIDS open other views. I have examined all the incidents I have seen this answer here but it does not help: If you want to close the keyboard by killing specific textfield, tag that textfield and apply its representative method: - (BOOL) textFieldShouldBeginEditing: (UITextField *) textField {if (textField. Tag == 1} {end.editing {self.view: yes]; no return; } And return yes; }

html - Problems with getenv("QUERY_STRING") in C language -

I am a new member of this community, but it has been for a long time to solve my problems here, but Today it is time for me to express myself. I can not do any more now: P is okay, I have to do this: write an HTML form which will give me a name, surname, username, password and email, and then click on a button Submit with I would like to write a CGI with C language which welcomes the user's name and password and displays an HTML page with a welcome message. Otherwise it will display a sign-in page and the new user is stored in the XML file, from which I had already done DTD. Now my problem is (I think) that the CGI file is bad or I have bad settings. The HTML form is: I have now written in CGI: #include & lt; Stdio.h & gt; # Include & lt; Stdlib.h & gt; Zero main () {four * data, noam [50], cognomen [50]; Data = getenv ("QUERY_STRING"); // me // nome = "value" & amp; Cognome = "value" & amp; User name = "valu...

TeamCity NuGet Pack - Include Release Notes in Command Line -

Image
TeamCity Pack NuGet Build चरण का उपयोग करते समय, पृष्ठ के निचले भाग में एक छोटा बॉक्स है जो आपको अतिरिक्त निर्दिष्ट करने के लिए अनुमति देता है कमांड लाइन तर्क मुझे आश्चर्य है, क्या वीसीएस लॉग को कमांड लाइन के माध्यम से न्यूगैट रिलीज़ नोट्स पर धक्का लाया जा सकता है? या, क्या वीसीएस कमिट संदेश को शामिल करने के लिए टीमगेट को न्यूगेट पैकेज रिलीज नोट्स को अपडेट करने का एक और तरीका है? कमांडलाइन का उपयोग करके नहीं। मैं जीआईटी से मेरे रिलीज नोट्स उत्पन्न करने के लिए उपयोग करता हूं आप उस पैकेज को चलाने से पहले NuGet पैकेज को पैक कर सकते हैं और इसे पैकेज के लिए रीडमी फ़ाइल के रूप में शामिल कर सकते हैं या उत्पन्न फ़ाइल से NuSpec में उन अपडेटों के बीच में एक और कदम बना सकते हैं।

github - How do I upload an image file in my GIT Repository using browser? -

Hello I'm new to Geethub I want to upload a JPG file to my GIT store . Is it possible to use a brass? how ? If not, is it possible to use this command line? how? git [imageFileName] git push guit push # if you have a remote repository, not local It is possible to use a browser, but you should be more specific - do you mean internet browser? Or some GUI on GII?

android - How do I use OAuth 2.0 to send Gmail from Indy? -

The following code successfully sends e-mails through Google's Gmail servers, but only Google Accounts security settings are "less secure apps " The code below (originally from Remy Levy) does not include OH 2.0, which is necessary if you do not have to make difficult decisions to reduce your security with your users. Ask to allow your application to succeed I can add to the Oath 2.0 Scope of setting satisfy Google's high safety standards? Work Solution: function TTabbedwithNavigationForm.SendEmailNow (FromStr, ToStr, Subject, MessageBody, Host: string; Port: Integer; Username, Pass: String): Boolean; Remy Lebeau with SSL via Gmail Host // Get started with SMTP /// results: = False; Try IdMessage1: = zero; IdSSLIOHandlerSocketOpenSSL1: = Zero; IdSMTP1: = Zero; Try // Setup Mail Message Idmessage1: = TIdMessage.Create (Zero); IdMessage1.From.Address: = FromStr; Change the IDMessage1.Recipients.EmailAddresses: = ToStr in //// League Email; IdMessage1 Subject:...

c# - The client and server cannot communicate, because they do not possess a common algorithm -

I have a problem with the C # patrease gateway The codes given below were working fine until I believe That SSL3 was discontinued due to poodle exploitation. We got the following message after running the code below. The remote server has forced the connection to close. After doing some research on this problem, we have determined that because our IIS Server 7.5 was still configured to use SSL3, we missed the C # SSL3, which will stop the forced transaction connection. Removed SSL3 from server. Following is the following error: Customers and servers can not communicate, because they do not have a common algorithm. I guess there are additional SSL algorithms that we need to install on the server that SSL 3 has been removed. Our IT staffs claim that TLS 1.1 and TLS 1.2 are working and ASP.net should now default to those people. But I think there should still be something else which we need to install on the server, I have no knowledge of the SSL algorithm, so I do not know wher...

c# - Select single item from each group in multiple groups -

I have a list of specific class items (especially IEnumerable): Internal class MyItem {Public MyItem (Date Time Timestamp, String Code) {Timestamp = Timestamp; Code = code; } Public DateTime Timestamp {get; Private set; } Public string code {get; Private set; }} Within this list, there will be many items with the same code. Each will have a timestamp, which can be unique or not. I am trying to retrieve a dictionary of mitimum ( dictionary & lt; string, MyItem & gt; ), where the key is the code related to the item. public dictionary & lt; String, Myitime & gt; Looking at this signature, how do I get MyItem with a timestamp of most time, but after that > Latest AlgaeamTimstamp for each code ? For example, the following is given for input: IEnumerable If the latest acceptmimestamp is 1/3/2014, the result will only include the following items: Timestamp | Code ---------------- 1/3/2014 | 1 1/2/2014 | 2 I only list Latest AlpTimeTem...

c# - How to use Fluent API to map foreign key -

Image
I am trying to use ModelBuilder to map foreign keys to my database I need to post an ID in JobTESPM_EmployeeId instead of JOBTESPMId. I am using it as a guide, but I do not know that the examples are similar to my setup. public class jobs {[Key] [Database GeneratedAttivate (Database Generation. Non)] Public Int64? JOBDE {Get; Set; } Public int? Job (number); Set; } Public String JobName {get; Set; } Public int? Get a Job ID; Set; } Public int? Customer Emporium PMIID {Received; Set; } Public virtual client employee employee employee employee {MM; Set; } Public int? Customer ImperiumID {Receive; Set; } Public Virtual Customer Employee Employee Employee Employee {Receive; Set; } Public int? The right set of customer employee bureaucracy; } Public virtual customer employee employee employee employee (receipt); Set; } Public int? Receive Customer Employee Employee Warranty ID { Set; } Receive the Public Virtual Customer Employee Employee Customer Employee Warranty; Set; } Public int...

Multidimensional Array in Liberty Basic -

I am programming to learn a newbie and the book I am using is using Liberty Basic The book gives an example of the code given below for two-dimensional array. i = 1 to 2 j = 1 to 3 for slow hunting $ (2, 3) "do you want to hurt?"; Enemy $ hunting $ (i, j) = enemy $ next next next signal me "you want to extract array type of item x space, such as 1:"; X prompt "type y location array array item that you want to print, such as 1:"; Y print victim $ (X, Y) + "is most hurtable." But when I run this example using Liberty Basic v4.04, I get a syntax error on this line of code: Duck hunting $ (2, 3) Any help would be greatly appreciated. I got it Answer: From 1 = 2 to j = 1 to 3 for slow hunting $ (2, 3) "Who do you want to hurt?" ; Enemy $ hunting $ (i, j) = enemy $ next next next signal me "you want to extract array type of item x space, such as 1:"; X prompt "type y location array array item that you wan...

javascript - Html table with fixed columns -

Image
I am trying to decide the first 3 columns of my table so they can be shown horizontally while scrolling. But they need to be moved while scrolling vertically What do I need to do by creating an Excel table: I have tried .headcol {position: absolute; Width: 5em; Left: 0; Top: Auto; Border-right: 0 px none black; Border-top-width: 3px; Margin top: -3px; with the right scrollbar's jquery scrollTop so I move the top value of the yellow cells. The current problem is that when I fill the HTML table, yellow cells are also shown from the database, although they are full. See the next image: This problem Any way to fix You can use the JQUERY scroll function and move that column Which you want to "freeze" You also have to set the Z-index so that the column remains above the others. In your CSS: .frezedCell {z-index: 1000; Status: Relative; } In your page: $ (document) .ready (function () {$ ("DivTableParts"). Scroll (function () {Var ...

Browserify includes my module multiple times -

मेरे पास निम्न मॉड्यूल संरचना है: ख A पर निर्भर करता है सी B और A दोनों पर निर्भर करता है ए, बी, सी में से प्रत्येक अलग गिटब रिपॉजिटरी हैं, और npm_modules में npm इंस्टॉल के द्वारा लोड किए जाते हैं। क्या किसी ने इसे देखा है, या इसके लिए काम करने के उपाय पर विचार किया है? धन्यवाद!

css - Bootstrap 3: Centering and pinning footers -

Here's the full code. As you can see, there are three different sections in the footer: 4 columns of the link a & Lt; Hour / & gt; A copyright notice Link to Privacy Policy and Terms of Service I want to: Footer Center (as you can see, this loop is slightly a bit right now) and my attempt does not do anything through center-block As you can see, the footer is pushed directly under the jambotron, I want it to be a "sticky" footer, such as It is always pinned underneath the viewable screen, even if there is not much content on the page (for example, only one jambotron). I have this viscosity to position: absolute; The definition can be changed by adding the .footer rule to: .footer {color: rgb (176,205,249); Background: RGB (12,66,144); Border-top: solid 5px RGB (176,205,249); Status: Completed; Bottom: 0; Width: 100%; Height: 60px; } But when I do this, the foster exits the container and the browser shows horizontal scrollbar ...

php - Paypal UpdateRecurringPaymentsProfile returning internal error -

I am trying to update a paypal recurring payment profile with NPP. I want to change the amount of payment. The request I am sending is: METHOD = Updating Payment Profiles & amp; Version = 86 and pwd = 14048 9 2100 and user =XXX@YYY.com& Signature = ASEEEEEEECCCCCCCC & amp; Profile ID = I-8N1W7089GB47 & amp; Note = test & amp; Zodiac = 105 This request has failed in the following message [TIMESTAMP] = & gt; 2014% 2d11% 2d04t19% 3a13% 3a05z [croolithad] = & gt; 5c6026b1dedec [ACK] = & gt; Failure [L_ERRORCODE0] = & gt; 10001 [L_SHORTMESSAGE0] = & gt; Internal Error [L_LONGMESSAGE0] = & gt; Timeout processing request The profile was used using Express checkout and CreateRecurringPaymentsProfile API as I have given instructions I surf the internet a lot but someone The solution is not found. Nobody can help me with this. Thanks Monjur In your update request, you can specify the parameter name instead of 'AMT' Adju...

PHP Search for a string in remote webpage -

I am trying to write a script with PHP where it opens a text file / Urls.txt and check each domain for a specific word I'm really new to PHP. Example: See the word "hello" in the following domains list: Domain1.LTD Domain2.LTD Domain3.LTD and simply domain name + valid / invalid print. & lt ;? PHP $ link = "http: //yahoo.com"; // How to loop each line to read a file $ linkcontents = file_get_contents ($ link); $ Needle = "hello"; If (SRPO ($ link content, $ needle) == incorrect) {echo "valid"; } Else {echo "invalid"; }? & Gt; First Because of security file_get_contents () This would be a true strip example: // If your last code would be (stops ($ linkcontents, $ Needle!) == false) {// See! == echo "valid"; // needle found} and {echo "invalid"; // needle not found} You can use some regexp instead of strows for more complex crawling.

eclipse - Android new android application project logcat errors -

I just create a new Android application using Eclipse. When I run the project it shows errors in the logcrack I am not come I understand that I need a beginners help? Do not use the wearable API (Api 20 4.4W) Always use the API 19 4.4. Bcoz Android is a completely different platform that is compatible with the app's wearable (u can use the target SDK or can compile SDK for 20), but not for wearable.

html - Is there a way to make divs the height of the line -

Image
I have several divs on the same line. I have the width of the divi but there is no clear height They derive their height from the amount of text they are involved in Divs, there is a lot more text than another, but I would like them all the same height. For example, in Bella, I would prefer Box 1, 2, 3 and 5 without adding any additional elements or using hard-coded height height like box 4 and work it back on IE8. Is this possible? Maybe something like this: Altitude: Line-height; / * I know this is not a real asset * / Change the display: From inline block to Display: Table-cell : And if you need to be fiddle with the distance between cells, then you Apply them to the container and border-spacing:

android - How to tell autoconf about broken cross HOST functions? -

I am trying to exceed an autotools enabled package for an unusual embedded system with very incomplete libc. (If it is relevant: the package is CPython 3.4.2 and the command line is opened on "embedded system" Android 4.4.) AFAIK is not a way that configure is running On my build machine it can be determined which work is broken on the host. (You can compile and compile the exam programs on the Configure Build Machine, but it has no access to running the program on the host.) So, for example, the function was declared host in host Is & lt; Wchar.h & gt; Defined in the header and host's libc, but the implementation is incorrect. For this package, there is a file with configure a Config.h one mac macro HAS_WCSFTIME , which is Configure assumes that the host has a wcsftime () and otherwise is undef'd and if the source code of the package is correctly deadfade, if wcsftime () is unavailable, then use strftime () instead, with the proper c...

java - Programmatically setting two TextView side-by-side in LinearLayout -

Image
So, I'm going through strings and boolean again via hashmap I'm keeping a TextView on LinearLayout. It's all good, whatever I have to do, is the textView of every string textview of the Boolean value Right . any idea? This is what I am looking for ... Linear Liaison PlanLayout = (Vertical Layout) Find VVBID (R.D. Planlayout); (Map. Entry & lt; string, boolean & gt; entry: plans.entrySet ()) {string key = entry.getKey (); Boolean value = entry.getValue (); TextView keyTV = new text view (this); KeyTV.setText (key + "|"); // here is where I want to set the textview of the boolean to the right of the key TV plan. Layout. Adwew (key tv); } Updated using the spell-aware Linear layout plan layout = (linear timepiece) Find VVBID ( R.D. Planlayout); (Map. Entry & lt; string, boolean & gt; entry: plans.entrySet ()) {string key = entry.getKey (); Boolean value = entry.getValue (); TextView keyTV = new text view (this); SpannableString SS...

python - how to convert pandas dataframe to json to use in django template -

मैं dataframe से json बनाने का प्रयास कर रहा हूं response_data = [{"x_axis" : 30, "y_axis": 30, "त्रिज्या": 20, "रंग": "हरा"}, {"x_axis": 70, "y_axis": 70, "त्रिज्या": 20, "रंग": "हरा" }, {"X_axis": 110, "y_axis": 100, "त्रिज्या": 20, "रंग": "नीला"}] परिणाम = एचटीपीआरपीएसपैक्स (json.dumps (response_data), content_type = 'application / json') सामग्री प्रकार: आवेदन / जेसन [{"रंग": "हरा", "y_axis": 30, "X_axis": 30, "त्रिज्या": 20}, {"रंग": "हरा", "y_axis": 70, "एक्स_एक्सिस": 70, "त्रिज्या": 20}, {"रंग": "नीला" "Y_axis": 100, "x_axis": 110, "radius": 20}] जो बिल्कुल वैसा ही प्रारूप है जिसे मैं चाहता हूं, लेकिन अगर मैं इसे डेटाफ्रेम से ऐसा कुछ करने का प्रयास करता हूं : d ...

Matlab regression returns beta coffecient not right? -

I am trying to caclulate beta coffees with regression using something like regastat. My matlab code likes: % get the stock = sysm, now, 'd') y = difference (CLS)% index such as S & P 500 symIdx = '^ GSPC' [ O, H, L, CLI] = YahooGetData (SIM, Prior, now 'D) x = difference (CLI) mdl = regstats (x, y) My beta coffee maker is always 1 And return 0, no matter what stock I use. Is there any such reason? Do you think I am doing something wrong? I get similar results using polyfi. I thanks stupid big , I changed it with: retIdx, o, h, l, cli] = yahugetadata (symIdx, priords, now, 'd')

c# - How I can pass data from a database to a "select tag" in ASP.NET? -

I'm new to ASP.NET, and I can set the data from select to Trying Area ID_Area | ID_Formula | Nombre Now my code ASPX & asp: content runat = "server" ContentPlaceHolderID = "ContentPlaceHolder1" & gt; & Lt; Div class = "container" & gt; & Lt; Div class = "row" & gt; & Lt; Div class = "col-md-6" & gt; & Lt; Div class = "form-group" & gt; & Lt; Label & gt; Nambre de Region & lt; / Labels & gt; & Lt; ASP: Text Box Runat = "Server" id = "Region" CssClass = "Form-Control" Required = "True" & gt; & Lt; / Asp: text box & gt; & Lt; / Div & gt; & Lt; Div class = "form-group" & gt; & Lt; Label & gt; Formula Essaciada & lt; / Labels & gt; & Lt; Select ID = "selection1" run = "server" name = "d1" & gt; & Lt; / Select ...

angularjs - ng-click inside cell template does not trigger function in controller -

I've created a plunker here: When I click in the U-Grid cell Nothing happens after seeing what I expect that the test function is performed and a warning text is shown with 'test', but that is not the case. What's going wrong here? Ui-grid 3.0 The latest release html cell template: HTML & lt; Div ng-click = "test ()" ng switch = ". Row.entity [row.grid.columns.indexOf (col)] isPeriod" & gt; & Lt; Div ng-switch-when = "true" & gt; & Lt; Tabset & gt; & Lt; Tab & gt; & Lt; Tab-title & gt; & Lt; I class = "glyphicon glyphicon-book" & gt; & Lt; / I & gt; & Lt; / Tab-heading & gt; Term ID: {{row.entity [row.grid.columns.indexOf (col)]. Id}} & lt; / Tab & gt; & Lt; Select the tab = "Alert (in)" & gt; & Lt; Tab-title & gt; & Lt; I class = "glyphin glyphine-bell" & gt; & Lt; / I & gt; & Lt; / Tab-...

wordpress - How to hide or block the WooCommerce generated pages? -

When activating WooCommerce, the plugin generates some pages responsible for the output of the store's functionality. All is well, except I have some opportunities where a person removes this page from the customer or on his behalf. They look like empty pages. Is there no way I can stop this, by hiding them from the customer (shop manager role) or blocking further versions? This is the solution that will automatically collect the ID of pages generated by Woocommerce. The plugin creates four pages (shop, cart, checkout, my account) on the installation, and saves the IDs of those pages in that code under the wp_options table. Options are: woocommerce_shop_page_id woocommerce_cart_page_id woocommerce_checkout_page_id woocommerce_myaccount_page_id for example, collects IDs action (before that runs the actual query is executed) within automatically if Wartm Users are not a admin is not WC will be unable to recover the generated pages. The second part i...

angular ui router - AngularJs get template name from dynamic templateurl -

मेरे पास निम्न मार्ग परिभाषा है: ......... ('/: टेम्पलेटफ़ाइल', {templateUrl: फ़ंक्शन (परम) {वापसी 'दृश्य /' + param.templateFile + '.html'}}) .......... कोड का अगला टुकड़ा मार्ग को सुनता है बदल रहा है। यदि उपयोगकर्ता को प्रमाणित नहीं किया गया है और अगले पृष्ठ / टेम्पलेट जिस पर वह नेविगेट करना चाहता है तो लॉग इन पेज नहीं है, तो उपयोगकर्ता को लॉगिन पेज पर पुनः निर्देशित किया जाता है। सबकुछ ठीक इसके अलावा कि अगला के बजाय फ़ंक्शन (परम) {वापसी 'दृश्य /' param.templateFile + '.html' उदाहरण के लिए। चेतावनी (next.templateUrl) प्रदर्शित करेगा फ़ंक्शन (परम) {वापसी 'दृश्य /' + param.templateFile + '। Html' । कोई भी विचार कैसे मैं गतिशील टेम्पलेट का उपयोग करते समय अगले टेम्पललल प्राप्त कर सकता हूं? खैर templateUrl वास्तव में एक फ़ंक्शन है जिसे आप फ़ंक्शन के रूप में उपयोग करने का प्रयास कर सकते हैं। यदि आप इसे मार्ग पैरामीटर के साथ बुलाते हैं तो उसे एक टेम्पलेट URL वापस करना चाहिए: app.run (फ़ंक्शन ($ रूटस्स्...

r - store rows of a data.frame are equal to top.20. in frequens from column as factor i.e names -

data.fr (d1.csv) looks like this: Weight 23 170 60 Judo 33 193 125 Athletics Let me introduce a new data like D2 with the top 20. Frame will be created name (top 20. source) [1] "athletics" "swimming" "football" "rowing" ... and Use it to use match () or % in% subset () such as D1 with subset = game %% names (top .20.sports) I have tried many things, I'm new on this and I'm missing something ... d2 returns a hole list, like d2 and lt ; - d1 [d1 $ Sport% name matches match me "NA" d2 (9038 rows are the right bud where the data is?) I sleep Was that I have 10,384 rows -10384 24 221 110 Basketball - basketball in the final. Number of lines in the row is not the number of rows: nrow (d2) [1] 800 9 Dim (D2) [1] 800 9 4