Posts

Showing posts from April, 2010

visual studio 2008 - SSIS connection issues -

I run SSIS package from my local machine is a problem which is causing the connection problem because I receive this error message. [Html] Execute SQL function] Error: The connection failed to receive "xxxxx" The connection can not be configured properly or you may not have the right permissions on this connection. ' I have always run and run the SSIS package on the remote server. For some reason, now I get an error message' Error message reference is not correct ... 'error message. I should restore Visual Studio 2008 and that should solve the problem most, but there is a lot of permission to do this so etc. In the meantime I try to execute the packet by mapping the package to my PC from my local machine I am here. My computer's Windows login id ' ABC \\ \ / strong>' while the remote server log ID is like ' ABC / HA-SK ' ABC SK is not an authorized user on a remote desktop or SQL server. I'm only able to execute files that d...

python - Django KeyError at /name/ in Django Form -

I'm trying to get the name and surname value and print the HTML. This is my code: import from django.shortcuts import from django.shortcuts import. Import from import from Django.http import from HTTP Email Email. Import the model from renginiai.forms import Vartotojas VartotojasForm def name (request): If request.method == 'GET': form = VartotojasForm (request.GET) name = form.data ['name'] surname = form.data [ Submit 'return' (request, 'vartotojas (' format ': form,' name ': name,' surname ': surname}) Other: form = vartosages form () submission of return (request, vatotoseas-form 1 9 ', {' form ': form}) Vartotojas-form.html gt; Top & gt; ; & Gt; Title & gt; Names & lt; / title & gt; & lt; / head & gt; & lt; body & gt; & lt; h1 & gt; Names & lt; / h1 & gt; & Lt ; Form action = "sumbit" Method = "get" & gt; Table & gt; ...

Grails 2.3.5 generate-all doesn't exist but it's in the documentation -

Should this work or it has been removed? The commands given here are unsuccessful: grails create-app my_new_app cd my_new_app grails generated - all my_new_app.book Result script 'Generated All' not found, do you mean: .5 1) Create filter 2) Create Controller 3) CreateIntegrationTest 4) Install Template 5) CreateApp_ & gt; Please select or leave the quote to leave: This document is according to grails -version Grails Version: 2.3.5 You need to run grails compile First generated-all , because the scaffolding is now in a plug-in

tfs - Change URL for build process templates (TF215097) -

I'm getting an issue that makes me work on a TFS2013 installation. Build I made it very basic (default template) When I started constructing one, it fails immediately with TF215097: An error arises when creating a build for the definition of construction \ Telematics \ development This HTML A group of which is after. Our firewall page is telling me that I do not have access to this resource. I can not draw .xaml templates due to TFS construction firewall restrictions. From the server, I realized that the server name is used in the URL, (like this is the one that uses TFS) ... Http: // TheServerName: 8080 / TFS / HercProjectCollection / _apis / resource / container / 1 itemPath = BuildProcessTemplates% 2FTfvcTemplate% 2FTfvcTemplate.12.xaml I get a firewall error but if I Use Local Host ... http: // localhost: 8080 / TFS / HercProjectCollection / _apis / resource / container / 1 itemPath = BuildProcessTemplates% 2FTfvcTemplate% 2FTfvcTemplate.12.xaml It's...

python - Get only those elements of array that match all elements of test array? -

How do I get only elements of the array that match all the elements of the test array? For example, If I have: & gt; & Gt; & Gt; Np & gt; & Gt; & Gt; Arr = np.array ([[0, 0, 1], [1, 0, 1], [1, 0, 1]]) gt; & Gt; & Gt; Arr == [0,0,1] array ([[True, True], [false, true], [false, true, true]], dtype = bool arr == [0,0,1] 0 You must check the status of the row using a axis argument: & gt; & Gt; & Gt; All (axis = 1) array ([right, wrong, wrong], dtype = bool] if you Index wants: >> Np.where ((arr == np.array ([0,0,1]). All (axis = 1) ) (Array ([0]),) We do not want to stop calling from np.all to np.reduce You can also fast (faster): >> np.array ([0,0,1])> & gt; & gt; & Gt; Dt = np.dtype ((np.void, arr.dtype.itemsize * arr.shape [1])) >>> (ARR Scene (DT) == B..Weu ( New form (-1) array ([true, false, false], dtype = bool) some time: arr = Np.r Andom.randint (0,2, (1E2,3...

perl - Can't load a DBI.so for module DBI -

ą¤²ोą¤” ą¤Øą¤¹ीं ą¤•िą¤Æा ą¤œा ą¤øą¤•ą¤¤ा '/3rd_party/perl/Linux/perl5.12.3_64/lib/site_perl/5.12.3/x86_64 ą¤®ॉą¤”्ą¤Æूą¤² ą¤”ीą¤¬ीą¤†ą¤ˆ ą¤•े ą¤²िą¤ -LINux / auto / DBI / DBI.so '/3rd_party/perl/Linux/perl5.12.3_64/lib/site_perl/5.12.3/x86_64-linux/auto/DBI/DBI.so: ą¤…ą¤Ŗą¤°िą¤­ाą¤·िą¤¤ ą¤Ŗ्ą¤°ą¤¤ीą¤•: PL_tainting at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm ą¤²ाą¤‡ą¤Ø 230. ą¤Ŗą¤° /3rd_party/perl/Linux/perl5.12.3_64/lib/site_perl/5.12.3/x86_64- Linux / DBI.pm ą¤°ेą¤–ा 268 BEGIN ą¤µिą¤«ą¤² - /3rd_party/perl/Linux/perl5.12.3_64/lib/site_perl/5.12.3/x86_64-linux/DBI.pm ą¤°ेą¤–ा 268 ą¤Ŗą¤° ą¤øंą¤•ą¤²ą¤Ø ą¤•ो ą¤Øिą¤°ą¤ø्ą¤¤ ą¤•ą¤° ą¤¦िą¤Æा ą¤—ą¤Æा। ą¤øंą¤•ą¤²ą¤Ø ą¤•ी ą¤†ą¤µą¤¶्ą¤Æą¤•ą¤¤ा ą¤®ें ą¤µिą¤«ą¤² - ą¤ˆ ą¤²ाą¤‡ą¤Ø 1। ą¤…ą¤øą¤«ą¤² - ą¤øंą¤•ą¤²ą¤Ø ą¤•ो- e ą¤²ाą¤‡ą¤Ø 1 ą¤Ŗą¤° ą¤Øिą¤°ą¤ø्ą¤¤ ą¤•िą¤Æा ą¤—ą¤Æा। ą¤†ą¤Ŗ ą¤•ोą¤¶िą¤¶ ą¤•ą¤° ą¤°ą¤¹े ą¤¹ैं ą¤ą¤• ą¤…ą¤²ą¤— perl ą¤•े ą¤øाą¤„ ą¤ą¤• perl ą¤¦्ą¤µाą¤°ा ą¤ø्ą¤„ाą¤Ŗिą¤¤ ą¤”ीą¤¬ीą¤†ą¤ˆ ą¤•ा ą¤‰ą¤Ŗą¤Æोą¤— ą¤•ą¤°ें। ą¤†ą¤Ŗ ą¤‰ą¤ø ą¤Ŗą¤°िą¤ø्ą¤„िą¤¤ि ą¤®ें ą¤•ैą¤øे ą¤Ŗ्ą¤°ाą¤Ŗ्ą¤¤ ą¤¹ुą¤ ą¤¹ैं, ą¤œą¤¹ां ą¤Ŗą¤°्ą¤² ą¤­ी ą¤‰ą¤¤ą¤Øी ą¤¦ूą¤° ą¤•ी ą¤„ीं ą¤ą¤• ą¤°ą¤¹ą¤ø्ą¤Æ। ą¤•्ą¤Æा ą¤†ą¤Ŗ ą¤ą¤øे ą¤Ŗą¤„ ą¤œोą¤”़ą¤¤े ą¤¹ैं ą¤œिą¤Ø्ą¤¹ें ą¤†ą¤Ŗą¤•ो @INC ą¤Øą¤¹ीं ą¤•ą¤°ą¤Øा ą¤šाą¤¹िą¤? ą¤‡ą¤øे ą¤ ीą¤• ą¤•ą¤°ą¤•े ą¤¶ुą¤°ू ą¤•ą¤°ें, ą¤«िą¤° ą¤†ą¤Ŗ ą¤…ą¤Ŗą¤Øी ą¤ø्ą¤•्ą¤°िą¤Ŗ्ą¤Ÿ ą¤Øिą¤·्ą¤Ŗाą¤¦िą¤¤ ą¤•ą¤°ą¤Øे ą¤•े ą¤²िą¤ ą¤‰ą¤Ŗą¤Æोą¤— ą¤•ą¤° ą¤°ą¤¹े ą¤Ŗą¤°्ą¤² ą¤•े ą¤øंą¤ø्ą¤•ą¤°ą¤£ ą¤•ा ą¤‰ą¤Ŗą¤Æोą¤— ą¤•ą¤°ą¤•...

html - how to output sql query results from a jsp webpage to a .RTF file? -

I am trying to output my SQL query results to a .rtt file in my JSP file. When I made my statement in my JSP, I can load the results through Apache Tomcat from my search, but I can not find it in the .rtf file to do this. It only produces the quotation statement below, not its results. & lt; Sql: query data source = "$ {bookdB}" var = "result" & gt; Choose from company *; & Lt; / SQL: Query & gt; It may be that if I print the results first and then load them in .rtf, then it will work. Anyone have any ideas, any help would be appreciated, thanks . JSP for R.T.F. Rename means that it is no longer a JSP file and it will not run as a server server. In addition, an RTF file is more than a text file anyway, it has a fixed format. You have to create servlet instead of JSP, and you should use a library which creates these types of files, like you and the mime type of different file formats to the content type of the response object Need to k...

python - rpy2 import is not working -

When I try to import rpy2, I get an error. Here is the code and error & gt; & Gt; & Gt; Import Traceback (Most Recent Call Final): File "C: \ PF \ WinPython-64bit-3.3.3.3 \ python-3.3.3.amd64 \ lib \ site-packages \ IPython \ core \ interactiveshell.py", line 2828 In the file, "ipython-input-148-c258a0f70d44" gt; Row 1, & lt; modules & gt; Import pandas.rpy.common file in runcode ajl (code_obj, self.user_global_ns, self.user_ns) file " C: \ PF \ WinPython-64bit-3.3.3.3 \ python-3.3.3.amd64 \ lib \ site-packages \ pandas \ rpy \ common.py ", line 14, in & lt; modules & gt; Rpy2.robjects .packages Import Import Import Import: A module name 'rpy2' What could be the problem? I Python Version 3.3.3 and PANDAS Version 0.13.1 Edit Tried to install rpy2 separately I get an error using python setup.py install which is not the module popen3 in OS . Running the site of Christophe Gohalke properly insta...

javascript - Bootstrap PopConfirm popovers don't show above a <div> where overflow:hidden -

Image
I am using Bootstrap 3.1.1 and to provide confirmation before submitting a form. When a regular bootstrap popover is and gt; Inside a , a button is called, where CSS is set to overflow: hidden , it is properly set to & lt; Div & gt; It was said from within: But, when a popconverter popover is & lt; Div & gt; Inside a , a button is called, where CSS overflow: hidden; this & lt; Div & gt; is not shown properly above, where it was called: () Is there a way for popcopher popover to appear above all other elements, even if & lt; Div & gt; from which it is set to overflow is called: hidden With the question: I got the solution. I added a "container" parameter to the latest version. Please use the latest version available in github.

python - Error in Popen when using subprocess.py in windows -

ą¤Ÿ्ą¤°ेą¤øą¤¬ैą¤• (ą¤øą¤¬ą¤øे ą¤¹ाą¤² ą¤¹ी ą¤®ें ą¤•ॉą¤² ą¤…ंą¤¤िą¤®): ą¤«़ाą¤‡ą¤² "ą¤ø्ą¤•्ą¤°िą¤Ŗ्ą¤Ÿ / oic_flow_tests.py", ą¤Ŗंą¤•्ą¤¤ि 232, & lt; ą¤®ॉą¤”्ą¤Æूą¤² & gt; ą¤«़ाą¤‡ą¤² "ą¤øी: \ python27 \ lib \ subprocess.py", ą¤Ŗंą¤•्ą¤¤ि 709, __init__ errread, errrite ą¤®ें) ą¤«़ाą¤‡ą¤² "ą¤øी: (ą¤Ŗीą¤”ीą¤ą¤ø) \ Python27 \ lib \ subprocess.py ", ą¤Ŗंą¤•्ą¤¤ि 957, _execute_child startupinfo ą¤®ें) WindowsError: [ą¤¤्ą¤°ुą¤Ÿि 2] ą¤²ेą¤«़ीą¤° ą¤ø्ą¤Ŗिą¤øिą¤¶िą¤ą¤µ ą¤ą¤Ÿ्ą¤µ्ą¤µ्ą¤µą¤µेą¤¬ą¤² (ą¤«्ą¤°ांą¤øीą¤øी ą¤¤्ą¤°ुą¤Ÿि ą¤•ा ą¤…ą¤°्ą¤„ ą¤¹ै" ą¤«़ाą¤‡ą¤² ą¤Øą¤¹ीं ą¤®िą¤²ी ") ą¤®ैंą¤Øे shell = True ą¤®ें Popen ą¤œोą¤”़ą¤•ą¤° ą¤‡ą¤øे ą¤ ीą¤• ą¤•ą¤°ą¤Øे ą¤•ी ą¤•ोą¤¶िą¤¶ ą¤•ी ą¤¹ै, ą¤²ेą¤•िą¤Ø ą¤«िą¤° ą¤ą¤• ą¤”ą¤° ą¤¤्ą¤°ुą¤Ÿि ą¤¦िą¤–ाą¤ˆ ą¤¦ेą¤¤ी ą¤¹ै: ą¤®ाą¤Ø ą¤¤्ą¤°ुą¤Ÿि: ą¤•ोą¤ˆ JSON ą¤‘ą¤¬्ą¤œेą¤•्ą¤Ÿ ą¤•ो ą¤”ीą¤•ोą¤” ą¤Øą¤¹ीं ą¤•िą¤Æा ą¤œा ą¤øą¤•ą¤¤ा " " ./ % S.py "% args.server ą¤•ोą¤ˆ ą¤«़ाą¤‡ą¤² ą¤Øą¤¹ीं ą¤¹ै। ą¤•्ą¤Æा ą¤¹ै args.server ą¤†ą¤Ŗą¤•ो ą¤•्ą¤Æों ą¤²ą¤—ą¤¤ा ą¤¹ै ą¤«ाą¤‡ą¤² ą¤†ą¤Ŗą¤•ी ą¤µą¤°्ą¤¤ą¤®ाą¤Ø ą¤Øिą¤°्ą¤¦ेą¤¶िą¤•ा ą¤®ें ą¤¹ै? ą¤†ą¤Ŗ ./ ą¤•ो ą¤›ोą¤”़ ą¤øą¤•ą¤¤े ą¤¹ैं - ą¤Æą¤¹ ą¤•ुą¤› ą¤­ी ą¤Øą¤¹ीं ą¤•ą¤°ą¤¤ा ą¤¹ै।

swing - Java Custom Font Distortion -

I am writing an application that contains a .ttf file for GUI fonts. Loading a font is not a problem Is, however, when the deriveFont () method is being used to edit the font, it seems that the font can be distorted (such as not on the same line, by letters Vanishing parts, scubaing, ..). Why is this? is there any way? To load the code in the code: InputStream = getClass (). GetResourceAsStream ("/ fonts / lg.ttf"); Graphics Environment Ge = Graphics Environment. GateLocal Graphics Environment (); League gothic = font.createfont (font is TRUETYPE_FONT,); Ge.registerFont (leagueGothic); and then deriveFont () label.setFont (league gothic.devfonts (font.plain, scale (50 , 'X')); Scale (int, four) There is only one way to change the proportional size of the application window, it is a Int . deriveFont () , Method scale (int, char) "This returns a int ." This should probably return a float size parameter is required.

asp.net mvc - MVC - filterContext.ExceptionHandled -

Is filterContext.ExceptionHandled property always set to true by MVC or is it set to true by user code only? If that's the case then why does this happen? filterContext.ExceptionHandled is set to true when an exception is by an action method By default HandleErrorAttribute has been added to the FilterConfig class which is registered in Application_Start () . When an exception occurs, the OnException method is called in the HandleErrorAttribute class. OnException method in , response before removing existing one. The HTTP response body, ExceptionHandled will be set to correct using the Clear () property. Below is the default built-in method: Public Virtual Zero OnxSation (Exception Consultant Filter Contracts) {if (filterContext == null) {New Logic (NullException) ("Filter Contex "); } If (filterContext.IsChildAction) {return; } If (filterContext.ExceptionHandled ||! FilterContact ..httptex.ISISISISIISISERERAnited) {Return; } Exception excep...

netlogo - How can I increase speed up simulation of my least-cost path model -

Image
Using the network extension, the following code creates the least number between two polygons (made up of several patches): to calculate -LCP [id-polygon-1 id-polygon-2] Let's [path] path-cost -1; ;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;; ;;;;;;;;;;;;; ;; Define polygonal edges [playlabel! Ask with id = polygon-1] [Ask for neighbor [playbel = id-polygon-1] [Ask nodes - set here [color red]] [pabel! = ID-Polygon-2] [Ask Neighbors [Platel = ID-Polygon-2] [Ask nodes - here [red color]]; ;;;;;;;;;;;;;;; 2 ;;;;;;;;;;;; ;;; ;; Ask at least cost nodes with [color = red] with the [[id-polygon = id-polygon-1] nudge-patch of anterior type, [node-on-polygon-1] [id-polygon = Node-polygon-2] [node-on-polygon-2] Ask node-on-polygon-1 [cost nw: weighted-distance-node-on-polygon-2 "with fibroid type = id-polygon-2] Link-Cost "if path-cost = -1 or cost & lt; Route-cost [routing cost set path nw: weighted-path-to-node-on-polygon-2 "link-cost"]]]] ;;;;;;;;;;;;;;;;;; ;;;;;;;;;; ;;...

user interface - AlertDialog error using Marmalade IwNUI -

I am developing a UI app and with CAlertDialogPtr with IwNUI The system is getting an error that I can not understand, I have tried to add other libraries and systems and it is still not being used. The error is: IwAssert failure (GX, 1339). Message: The source of the alert name was not found (Type CIwUIElement) Callstack: CIwResManager :: GetResNamed Please send me help / feedback, I need to solve it. I have some code here : class AppPorBen {// Public attribute CAlertDialogPtr home_aTest; // This comes from my main method: home_aTest = CreateAlertDialog (cttributes (). Set ("name", "alertology"). Set ("title", "s3eNUIAlertDialog"). Set ("Message", "Quiere Set ("Message", Scrollposition.m_Y). Set ("Positive Button Caption", "Yes"). Set ("Negative Button", "No"). Set ("Newlbruton Caption "," may be "); // This handler uses the warning dialogue hom...

Parsing nested json data in Android -

ą¤®ेą¤°े ą¤Ŗाą¤ø ą¤Æą¤¹ json ą¤¹ै {"where": "{}", "expiry "": 1451606400, "ą¤”ेą¤Ÿा": {"ą¤šेą¤¤ाą¤µą¤Øी": "ą¤…ą¤²ą¤°्ą¤Ÿ-ą¤øंą¤¦ेą¤¶", "ą¤Øाą¤®": ["ą¤œॉą¤Ø", "ą¤Ŗॉą¤²", "ą¤«्ą¤°ैंą¤•", "ą¤¬िą¤²"], "ą¤ą¤•्ą¤¶ą¤Ø": "com.fidelizacion.UPDATE_STATUS" } } ą¤”ą¤° ą¤®ेą¤°े ą¤ंą¤”्ą¤°ॉą¤‡ą¤” ą¤ą¤Ŗ ą¤®ें ą¤®ैंą¤Øे ą¤œेą¤øą¤Ø ą¤”ेą¤Ÿा ą¤•ो ą¤‡ą¤ø ą¤¤ą¤°ą¤¹ ą¤Ŗाą¤°्ą¤ø ą¤•िą¤Æा ą¤¹ै: ą¤ø्ą¤Ÿ्ą¤°िंą¤— ą¤ą¤•्ą¤¶ą¤Ø = ą¤†ंą¤¤। ą¤—ेą¤Ÿ ą¤ą¤•्ą¤¶ą¤Ø ( ); ą¤ø्ą¤Ÿ्ą¤°िंą¤— ą¤šैą¤Øą¤² = ą¤†ंą¤¤ .getExtras ()। GetString ("com.parse.Channel"); JSONObject json = ą¤Øą¤Æा JSONObject (intent.getExtras ()। GetString ("com.parse.Data")); ą¤‡ą¤Ÿą¤°ेą¤Ÿą¤° ą¤†ą¤ˆą¤†ą¤°ą¤†ą¤° = ą¤œेą¤øą¤Ø। ą¤•िą¤”्ą¤ø (); ą¤œą¤¬ą¤•ि (ą¤†ą¤ˆą¤†ą¤°ą¤ą¤šą¤ą¤šą¤†ą¤øैą¤•्ą¤ø्ą¤Ÿ ()) {ą¤ø्ą¤Ÿ्ą¤°िंą¤— ą¤•ुंą¤œी = (ą¤ø्ą¤Ÿ्ą¤°िंą¤—) ą¤†ą¤ˆą¤†ą¤°ą¤ंą¤”। (); ą¤²ॉą¤— ą¤”ी। (ą¤Ÿैą¤—, "..." + ą¤•ुंą¤œी + "= & gt;" + json.getString (ą¤•ुंą¤œी)); } ą¤”ą¤° ą¤²ॉą¤— ą¤Ŗ्ą¤°ą¤¦ą¤°्ą¤¶ą¤Ø ą¤•ाą¤°्ą¤°ą¤µाą¤ˆ = & gt; Com.fidelizacion.UPDATE_STATUS ą¤šेą¤¤ाą¤µą¤Øी = & gt; Alert_message names = & gt; ["ą¤œॉą¤Ø", "ą¤Ŗॉą¤²", "ą¤«्ą¤°ैंą¤•", "ą¤¬िą¤²"] ...

Python, converting png to gif using ImageMagick -

I am using Python 2.7.6, I had a problem converting some PNG files into GIF (an animation To create) os.system ("Convert-dated 1-Digiage background + page" + str (output_dir) + "/*.png -loop 0" + str (output_dir) + "/ Animation GIF") This was the error on which I have Parametre non welde - 1 Enough to go Without error, this is only an estimate, but ... If there is an empty space or quote in output_dir or other special characters, to avoid or quote you Nothing is doing, so your command line will look something like this: Convert - Day 1-digest background + page ~ / My image / *. Png -loop 0 ~ / My Photos / Animation.gif There may be a completely valid argument for sending ~ / my for input, and Pictures / *. PNG is to solve a full bank Additional relative path that converts is ready to deal with additional inputs, but then you have to ~ / My , which is not valid because it has something similar to the input, and some additio...

kendo ui - How do I make a edit button in a template for a grid in KendoUI? -

My basic question is how do I create a button in the template that will turn on the editing mode in Kandogrid? I have the following types of templates: & lt; Script id = "serviceGridRowTemplate" type = "text / x-kendo-template" & gt; & Lt; TR & gt; & Lt; Td> & Lt; Span data-bind = "text: sequence" & gt; & Lt; / Span & gt; & Lt; / Td> & Lt; Td> & Lt; Span data-bind = "text: service" & gt; & Lt; / Span & gt; & Lt; / Td> & Lt; Td> & Lt; Input data-role = "datepicker" data-bind = "expressdate: se_data" /> & Lt; / Td> @ * & Lt; Td> & Lt; Span data-bind = "xpressdate: from_date" data-date format = "mm / dd / yyyy" & gt; & Lt; / Span & gt; & Lt; / Td> * @ & Lt; TD & gt; & Lt; Span data-bind = "expressdate: to_adet" data-date format = "mm / dd / yay" ...

linux - Using grep to find difference between two big wordlists -

I have a 78k lines .txt file with the British words and a 5k lines .txt file with the most common British words . I want to solve the most common words from the big list so that I do not have a new list as a general list. I solved my problem in some other case, but I really want to know what I'm doing with it because it does not work. I have tried the following: // To ensure that they are cut-cut-d- "F" 78kfile.txt | TAC | TAC & gt; 78kfile.txt Cut-D "" -f1 5kfile.txt | TAC | TAC & gt; 5kfile.txt grep -xivf 5kfile.txt 78kfile.txt & gt; Pure / But this process apparently gives me two empty files. I If I already run the grapes without cuts, then I get the words I know That's both files. I have also tried: sort 78kfile.txt & gt; 78kfile-sorted.txt sort 5kfile.txt & gt; 5kfile-sorted.txt comm-3 78kfile-sorted.txt 5kfile-sorted.txt // No luck either If any person wants to try for themselves, then two lessons Files: brit-...

certificate - Jmeter proxy server error "Illegal option: -ext" -

I am trying to use JMTor to test my company's website. I was using JMeter 2.9 and Firefox, and it was working fine. However, some parts of the website should be tested with chrome, so I switched for some reason, JMeter 2.9 does not record interaction with my company's website, so I decided to upgrade to 2.11. I created an HTTP (S) test script recorder and changed the proxy settings of Chrome to fit. When I tried to start the proxy server, I encountered this error: Login to the recording proxy details The script could not be created: Command: 'Keytool -genkeypair -alias: root_ca: -dname "CN = _DO_NOT_INSTALL As long as your certificate (JMeter root CA), OU = username is: & lt; MY_USERNAME & gt ;, C = America" ​​-keyalg RSA -keystore proxyserer.jks -storepass {modified} -keypass {Revised} -validity 7 -ext BC: C failed, code: 1 invalid option: -text keytool -help I invalid vic Try googling P's: -ext and nothing. I typed the keytool -help i...

javascript - Reload image if Content-Type in header is text/html -

I have an image generator which sometimes fails and sends an error in text / html, while the situation is currently 200 is. If there is no content type of image / JPG, what is the best way to reload the image from the same url? Should I contact it with curl headers in a different php file and if this image Is not it / JPG or is it possible to do javascript / jquery on client side? To capture exception, you should correct the image generator script and try again at least Return status 500 instead

sql - MySQL: Select all records where it matches multiple IDs -

This is based on the question that was answered. I have an apartment you need to export relational record CSV file displays a list of employees that match the two skills exports for each skill requires separate line for example: Empid NAME SKILLNAME LEVEL 1 Fred Flintstone PHP basics 1 Fred Flintstone JQuery advanced 3 Steve Jobs PHP original 3 Steve Jobs JQuery Advanced here table / record and a modified culture Rann's last answer: I've tried some changes but no luck. Thank you a deputy to find employees with more than 2 skills The query is required, and then you list the details of those skills only in the list by including the Emp_skills table. SEPT Emp_SKills. * As add Emp_Skills (SELECT COUNT (*) skills, Emp_ID Emp_ID strong skills by Emp_Skills Group & gt; 1) as Emp_SKills.Emp_ID by mult.Emp_ID = Emp_Skills.Emp_ID order multi

javascript - Manually bootstrapping AngularJS from Cordova deviceready event -

I am using Cordova 3.3.1-0.4.2 and Kanji 1.2.13 I need once I organize the 'Cordova' device startup, to manually configure the bootstrap. I'm testing with Cordoba Run Android on Nexus 5, but I'm behaving like this on an iPhone. In order to make the problem easier, this JS is going on in the global document area. & lt; / Body & gt; The scripts are being loaded before the tag. This works: angular.bootstrap (document. GetElementById ("app"), ["MyApp"]); This does not work: function init () {angular.bootstrap (document.getElementById ("app"), ["MyApp"] ); } Document.addEventListener ('deviceready', function) (init ();}, true); However, if I add the alert ("init") to the init method that shows that I am running as well (angular) and alerts ( Document.getElementById ("app")) show that they exist. I do not understand why, why has been given, init () is being called, it ...

javascript - typeerror: 'undefined' is not a function even when using jQuery.noConflict -

I continue TypeError for the Handlebars.compile () call. I tried to add jQuery.noConflict () to various places suggested in some other positions, but luck did not. TypeError: 'undefined' is not a function (evaluation 'Handlebars.compile (' test ')') The code is: $ ('. Location-typeahead'). Typeahead ({name: 'states', displayKey:' value ', source: states (), templates: {header:' & lt; h4 class = "location-typeahead-header" & gt; title & lt; / h4 & Gt; 'Suggestion: Handlebars.compile (' test ')}}); If I remove that entire "suggestion" template parameter, then my JS works fine. You have included the runtime version of Handlebars. If you want to compile the client side template, you must include the full version. Alternatively, you can pre-compile your template - then you only need runtime.

Why Tooltwist Controller deletes or overwrite files in destination server? -

When I use Tooltwist Controller to deploy my application, then the files on the destination server are stored on the configuration files Eliminate or overwrite, do you want to change t? Is there any way to stop this? Yes, there is a way to prevent this. To do this, you need to save the files or folders that you do not want to overwrite, for the .fip-destination file found in the ~ / server / folder The property needs to be updated security . This is the default value: security = mysql /.*, tomcat / work /., Tomcat / log /., Protected /., Tomcat / con / tomcat -users.xml Sample custom value: protect = mysql /.*, tomcat / work /., Tomcat / log / / , Badge / lib /.*, badge / support /.*, badge / bin /.*, badge / conf /.*, badge / webapps / elbhc. *, Badge / webapps / ttsvr / web-INF /.*, protected /.*

html - How to get enter key to submit form in JavaScript -

Before you say that there is an answer here, I tried a couple and did not do any work, for example For this one: Now I have a low password website to protect this password, which can be accessed only by logging in to password page, now I submit if I wrongly passwords When a message box will appear, though I'll reload the page slightly Know HTML: & lt; Table border = "" 1 "cellpacing =" 0 "cellpadding =" 0 "BG Rangor =" #FFFFBD "> gt; & lt; tr & gt; & lt; td width =" 100% "> strong input type = " Button "value =" submit "onClick =" submitentry (); "& gt; & lt; / center & gt; & lt; / div & gt; & lt; / form & gt; ; & Lt; / td> gt; & lt; / tr & gt; & lt; / table & gt; j : function max (which) {return (pass [math.Sil (+) + (3 and 15)]. 0, 1))}} test of function (input) {temp = Numletter.indexOf (input) va...

sql server - How do I convert an sql script into an executable .sql file? -

Image
My manager asked me to compile a set of SQL scripts, I used some of those scripts to update the new record (Used in some SSMS and SSIS), to create tables and scripts that I use to add foreign keys to the Dies table in the fact table. They asked me to do this ... can you send me the SQL script to create the initial environment please put it in an executable .sql file. I have not done this before and what tools should I use? SSMS? This SSIS? Or Notepad? I am using SQL Server, I have tools SSMS and BIDS SSMS, type a SQL statement and save. This will create a txt document with an .sql extension Depending on your file association, open the SSMS and load this file, it will extract the file. To create an initial environment , to send a SQL script, there is no such thing that you have to prepare; We do not know anything about your environment. I have created SQL scripts, in which there are several steps to help me run repetitive tasks. Run it once and my work is done, but I h...

php - Trying to use HTML DOM parser to get main image on Amazon page -

I'm trying to use HTML DOM Parser to get an image source of the "main" product image, regardless of product The page parser is pointing to. On each page it seems that the ID is "Landing Image" on that image. You might think this should do the trick: $ end-hour [$ i] [2] = $ html- & gt; Search ('IMG [ID = "Landing Image"]', 0) - & gt; Src; But there is no such luck. I also tried foreach ($ html-> find ('img') as $ E) if (strops ($ E, 'landing) Image ')! == incorrect) {$ last end [$ i] [2] = $ e- & gt; Src; } I have noticed that the image source is usually SE 300 or SX 300, so I did this: foreach ($ html-> search ('Img') as $ E) if (strokes ($ E, 'Sx 300')! == incorrect) {$ endarray [$ i] [2] = $ e- & gt; Src; } And if (StraPau ($ E, 'SY300')! == Incorrect) {$ end time [$ i] [2] = $ e- & gt; Src; } Unfortunately, some image source links do not have this, e...

Can't join into a cluster on marklogic -

I am working with the marklogic database and I tried to create a cluster. I have a development key that OS is similar to all nodes (7 x 64 wins.) When you try to add a node to the cluster, you must type the host name or IP address for some reason For when I type the host name, MarkLogic sometimes finds the node, but it does not make any difference, because with the IP, the connection is successful. The main problem occurs when the trick releases process. In the end when the mechanical cluster tries to transfer configuration information to a new host, the process never ends and the message "No data received" appears in the web browser. I know that this message does not mean that the process fails, because when I change the host name for example, only one message is displayed. Therefore, when I check the summary in the first node, the second node appears, so the node is added to the "cluster, but I am not able to start the admin interface and always use the oth...

php - Variable keeps being mistaken for a boolean when it should be an object -

I keep an issue where one of my variables, $ xml, is living incorrectly for boolean when it The object must return. I tried to change the $ xml $ data ... thinking it was a naming problem. I have also tried to isolate the str () function, but it is being recognized as string - which is correct. I have also tried to use gettype (simplexml_load_string (str ()), which also gives a bull. Please tell me what I can do wrong: function str () {if (file_exists (__dir__./../ '. $ ClientXML)) {file_get_contents (__DIR__.' /../ '$ ClientXML);} and {Return file_gate_content (__DIR__. '/../xml-skeleton.xml');}} $ xml = simplexml_load_string (str ()); Echo is' XML: Gettype ($ xml); simplexml_load_string goes wrong if I can not parse the TS XML string. You can check the error from: & lt; php libxml_use_internal_errors (true); $ Sxe = simplexml_load_string ("& lt ;? Xml version = '1.0' & gt; & lt; broken & Gt; & lt; xm...

ios - UITableViewCell subclass layout messed up in autoLayout-disabled Storyboard -

Image
I created a table view with the use of a "" Autolayout with prototype cells in a storyboard "unchecked in Xcode 5 is. to add cells Uaitibl Viksel Sbvelas, primarily Aibiotlets and inside there is no code. the result is a jumble layout I tried to change autoresizing masks with no luck even trying. If I apply an empty layoutSubviews So it justifies. Any thoughts about what is happening? Despite this being unchecked? Edit: more information ... @ interface settings Difolttebl Drishykel: UITableViewCell @property (nonatomic, weak) IBOutlet UILabel * label; @ property (Nonatomik, weak) Aibiolet UIImageView * imageView; @ property (Nonatomik , Weak) IBotlet UIUVE * Backgroundview; @end @implementation SettingDefaultTableViewCell - (zero) layoutUsers { // Mpteepi implementation to fix odd layout bug} @end storyboard with Autolayout disabled: the result when Leautswuwug is not used up: / P> Edit 2: The cell is automatically set to get au...

html - Cicles on PHP/SQL using Submit: Is it possible? -

And thanks for taking your time to read it. I explain it as detailed as possible. Background I'm only using PHP + SQL, because I'm not allowed to use any other technology , Like JQuery and so, that's why I really can not use any other option. I am using a set of bullets and choose to use them on HTML option for a form, and then submit them on the same page so that I can see those options I can use it. One of those options is "Selection", where you can select many areas (i.e. if I take 3, then there will be 3 sets of "first name" and "last name". / P> Problem I need to use all of those fields within the same file's file, so I get all the INSERTS of data I can use one cycle for this. My problem is, I am not able to do this. With the value of the set number, then create an array of all the data and, as soon as possible, insert them as a circle. The code used for the information submitted is th One is $ i = 1; $ L...

Does google get my data if I am using Google Maps? -

Sorry to be a novice on this if I'm using the Google Maps API for overlay addresses on Maps Does this mean that the data I will be accessible to use for Google? Is there any way to dismiss this issue anyway? I'm overlapping mortgages on a Google map from a customer, although I do not want to share the data, it's confidential with Google! Any help would be greatly appreciated Since they are your location on the map , They apparently know where you are. Whether you believe that their map privacy policy is your decision:

In KDE Konsole, vim mapping F1-F5 does not work -

Image
ą¤®ाą¤Øą¤šिą¤¤्ą¤° F1-F5 ą¤µिą¤«ą¤² ą¤¹ो ą¤œाą¤ą¤—ा, ą¤œą¤¬ą¤•ि ą¤Øą¤•्ą¤¶ा F6-F12 ą¤ ीą¤• ą¤¹ै। ą¤µą¤¹ी ą¤Øą¤•्ą¤¶ा ą¤—ुą¤Æेą¤Ø ą¤®ें ą¤•ाą¤® ą¤•ą¤° ą¤øą¤•ą¤¤ा ą¤¹ै। ą¤‡ą¤øą¤²िą¤ ą¤Æą¤¹ ą¤•ॉą¤Ø्ą¤øेą¤ø ą¤•े ą¤øाą¤„ ą¤øą¤®ą¤ø्ą¤Æा ą¤¹ोą¤Øी ą¤šाą¤¹िą¤। ą¤•ैą¤øे ą¤øे ą¤Øिą¤Ŗą¤Ÿą¤Øे ą¤•े ą¤²िą¤? ą¤•ुą¤¬ंą¤Ÿू: 13.04 ą¤•ंą¤øोą¤²: 2.11.3 ą¤µिą¤®: 7.4। 5 KDE: 4.11.3 ą¤Æą¤¦ि ą¤†ą¤Ŗ ą¤øेą¤Ÿिंą¤—्ą¤ø - & gt; ą¤µą¤°्ą¤¤ą¤®ाą¤Ø ą¤Ŗ्ą¤°ोą¤«़ाą¤‡ą¤² ą¤øंą¤Ŗाą¤¦िą¤¤ ą¤•ą¤°ें - & gt; ą¤•ीą¤¬ोą¤°्ą¤” , ą¤†ą¤Ŗ ą¤Øिą¤®्ą¤Øाą¤Øुą¤øाą¤° ą¤¬ाą¤‡ंą¤”िंą¤— ą¤•ा ą¤šą¤Æą¤Ø ą¤•ą¤° ą¤øą¤•ą¤¤े ą¤¹ैं:

How To test the exit status, and do something in Makefile -

I'm trying to do this ... and it looks like my makefile . PHONY: Run Shell: = / bin / tcsh Runs: md5sum -c md; \ $ /?> But I get this error. if: badly created number. Make: *** [Run] Error 1 Am I doing right? Or is there a better way to do this in the makefile? In fact, you should never do anything, to write the makefile rules csh (or tcsh ) Write a rule using the POSIX shell: . PHONY: Runs scored: md5sum -c md; \ [$$]? -E 0 0]; Then \ echo "PASS"; \ F \ "fail" echo; \ Fi

javascript - multiple module error in angularjs -

var myapp = angular.module ('myapp', ['ngRoute', 'ui.bootstrap']) ; Var myapp = angular.module ('myapp', ['ą¤…ą¤Øंą¤¤-ą¤ø्ą¤•्ą¤°ॉą¤²']); ą¤®ैं ą¤…ą¤Øंą¤¤-ą¤ø्ą¤•्ą¤°ॉą¤² ą¤•ा ą¤‰ą¤Ŗą¤Æोą¤— ą¤•ą¤°ą¤Øा ą¤šाą¤¹ą¤¤ा ą¤¹ूं, ą¤²ेą¤•िą¤Ø ą¤ą¤øा ą¤²ą¤—ą¤¤ा ą¤¹ै ą¤•ि ą¤®ैं ą¤‡ą¤øे ą¤—ą¤²ą¤¤ ą¤¤ą¤°ीą¤•े ą¤øे ą¤•ą¤° ą¤°ą¤¹ा ą¤¹ूं। ą¤®ॉą¤”्ą¤Æूą¤² ą¤•ो ą¤•ैą¤øे ą¤¶ाą¤®िą¤² ą¤•ą¤°ें? ą¤ą¤• ą¤Øą¤Æा ą¤®ॉą¤”्ą¤Æूą¤² ą¤˜ोą¤·िą¤¤ ą¤•ą¤°ą¤Øे ą¤•ी ą¤¬ą¤œाą¤Æ ą¤‡ą¤øे ą¤®ूą¤² ą¤øूą¤šी ą¤®ें ą¤œोą¤”़ें var myapp = angular.module ('myapp', ['ngRoute', 'ui.bootstrap', 'ą¤…ą¤Øंą¤¤-ą¤ø्ą¤•्ą¤°ोą¤²']);

c# - Error: Oracle ora-01732 data manipulation operation not legal on this view -

ą¤®ेą¤°े ą¤Ŗाą¤ø ą¤‡ą¤ø ą¤¤ą¤°ą¤¹ ą¤ą¤• ą¤¦ृą¤¶्ą¤Æ ą¤•े ą¤²िą¤ ą¤ą¤• ą¤øą¤®्ą¤®िą¤²िą¤¤ ą¤•्ą¤µेą¤°ी ą¤¹ै: Vbilling003 ą¤®ें ą¤Ŗ्ą¤°ą¤µिą¤·्ą¤Ÿ ą¤•ą¤°ें (ą¤°िą¤•ो, ą¤‡ą¤Øą¤Øो, ą¤ą¤”ą¤µाą¤®ाą¤‰ंą¤Ÿ, ą¤Ŗ्ą¤°ॉą¤•ोą¤”, ą¤°िą¤•ą¤®ą¤Ÿ, ą¤•ą¤°्ą¤•ोą¤”, ą¤Ŗ्ą¤²ाą¤Øą¤ø्ą¤•, ą¤•्ą¤Æूą¤øैą¤”, ą¤°ीą¤•ą¤”ेą¤Ÿ, ą¤øą¤°्ą¤Ÿिą¤‡ą¤Ŗ, ą¤øą¤°्ą¤µिą¤œ ą¤—्ą¤°ुą¤Ŗ, ą¤Ŗेą¤”ą¤Ÿाą¤‡ą¤Ŗ, ą¤Æूą¤œ़ą¤°िą¤”, ą¤øą¤°्ą¤Ÿिą¤Ŗेą¤•्ą¤ø, ą¤†ą¤‰ą¤Ÿą¤øेą¤Ÿ्ą¤øą¤•ी, ą¤Æूą¤œ़ą¤°ą¤‡ą¤øą¤•ी) ą¤®ाą¤Ø ('ą¤ą¤®ą¤†ą¤°ą¤†ą¤ˆą¤ą¤Øą¤œी 1140200718', 'ą¤†ą¤ˆ 131200916' , 'ą¤µाą¤‡ą¤®ैą¤•्ą¤øą¤•ोą¤° (ą¤•ॉą¤°्ą¤Ŗोą¤°ेą¤Ÿ) (01/12/2013 - 31/12/2013)', 'ą¤µाą¤‡ą¤®ैą¤•्ą¤øą¤•ोą¤°', 130, 'ą¤Æूą¤ą¤øą¤”ी', 201110140 9363013071, '000 9 2', '20140214', 'ą¤”ą¤¬्ą¤²ूą¤ą¤®ą¤ą¤ą¤ą¤”ीą¤', 'ą¤”ą¤¬्ą¤²्ą¤Æूą¤†ą¤ˆą¤ą¤®ą¤ą¤ą¤•्ą¤øą¤ą¤•्ą¤ø 001', 1 , 'Soscthuthuhan', 2008100710542865027, 2008092612192119003,2013103103260590019) ą¤²ेą¤•िą¤Ø ą¤œą¤¬ ą¤®ैं ą¤‡ą¤øे ą¤šą¤²ाą¤¤ा ą¤¹ूं, ą¤¤ो ą¤®ुą¤े ą¤¤्ą¤°ुą¤Ÿि ą¤®िą¤²ą¤¤ी ą¤¹ै: ą¤‘ą¤°ेą¤•ą¤² ą¤†ą¤°ा-01732 ą¤”ेą¤Ÿा ą¤¹ेą¤°ą¤«ेą¤° ą¤‘ą¤Ŗą¤°ेą¤¶ą¤Ø ą¤‡ą¤ø ą¤¦ृą¤¶्ą¤Æ ą¤Ŗą¤° ą¤•ाą¤Øूą¤Øी ą¤Øą¤¹ीं ą¤®ैं ą¤‡ą¤ø ą¤¤्ą¤°ुą¤Ÿि ą¤•ो ą¤•ैą¤øे ą¤¹ą¤² ą¤•ą¤° ą¤øą¤•ą¤¤ा ą¤¹ूं? ą¤†ą¤Ŗ ą¤¤ाą¤²िą¤•ाą¤“ं ą¤®ें ą¤†ą¤® ą¤¤ौą¤° ą¤Ŗą¤° ą¤”ाą¤²ें। ą¤•ेą¤µą¤² ą¤øाą¤§ाą¤°ą¤£ ą¤¦ृą¤¶्ą¤Æ ą¤†ą¤µेą¤·ą¤£ ą¤•ो ą¤ø्ą¤µीą¤•ाą¤° ą¤•ą¤°ą¤Øे ą¤®ें ą¤øą¤•्ą¤·ą¤® ą¤¹ैं। ą¤Æą¤¦ि ą¤•िą¤øी ą¤¦ृą¤¶्ą¤Æ ą¤®ें ą¤…ą¤­िą¤µ्ą¤Æą¤•्ą¤¤ि ą¤Æा ą¤«़ंą¤•्ą¤¶ą¤Ø ą¤¹ोą¤¤े ą¤¹ैं, ą¤¤ो ą¤ą¤• ą¤øे ą¤…ą¤§िą¤• ą¤¤ाą¤²िą¤•ा ą¤øे ą¤Ŗ्ą¤°ाą¤Ŗ्ą¤¤ ą¤¹ोą¤¤ा ą¤¹ै, ą¤¦ृą¤¶्ą¤Æ ą¤¬ą¤Øाą¤Øे ą¤•े ą¤²िą¤ ą¤ą¤• ą¤œोą¤”़ा ą¤œा...

php - Create an event listener page or link on wordpress -

How to create an Event Listener Page or Link to WordPress where it listens with push notification I am new to WordPress and I I do not know where to start from. Thank you I was recently searching for the same thing. And the following page has told me in the right direction: Most of you create and execute a function that checks the request and tamper it on some investigation basis. In the example they are investigating a query tag (but you can essentially check anything) the author advises to apply more investigation because the end point can easily be misbehaved (Probably checking who is asking or there are some secret values ​​in the request). However, the link told me in the right direction so that I thought I would pass it.

java - Lack of optional methods/operations of an implemented interface causing errors -

** Not sure if this is clear, but I am writing Java I I'm trying to complete an assignment for a class, for which I want to ListIterator & lt; String & gt; I need to implement the interface I do not want to implement the deletion () , add () , or set () , Which are alternative methods for the interface. But now it has been implemented, Eclipse is telling me the errors that I need to implement those methods. Does anyone know why this is or how can I solve it? Thank you in advance for your assistance. They are not really optional. You have to provide some sort of implementation, but it is common to provide an implementation which throws an exception: Generating a zero () { New unsupported operation exception (); } In some situations it may also be appropriate to provide a "Nothing" implementation: Remove public zeros () {/ / Can not remove ...} If you do any of these, it is a good idea to document that you have done it. If you have an...

c# - navigate after code on button click -

I'm wondering is performed on a bit and after some code a button of a shell that I another Click Navigate to the page? Here's what I have private void saveButton_Click (object sender, RoutedEventArgs e) {try {address = bitCoinAddress.Text; Create a MyIsolatedStorage.CreateDirectory ("Contact") called the // location directory; // (, FileMode.Create, myIsolatedStorage) New IsolatedStorageFileStream ( "Contact \\ me.txt") locationData create directories WriteFile = new StreamWriter called location.txt within the file; WriteFile.WriteLine (address); WriteFile.Close (); Navigation service Navigate (new Uri ("/ Contacts.xaml", Uricund.Relative)); } Hold (exception b) {message box. Show ("Error saving bittoon address"); Console.light line ("an error occurred:" + b); } Most certainly, the problem is in this line: myIsolatedStorage.CreateDirectory ("Contact"); Because you can not guarantee button_click event ...

java - How does tomcat jdbc pool cache the query results? -

"itemprop =" text " I have encountered such an issue, the badge JDBC has collaboration pool with hibernate cache query results, but I hibernate Cash is banned. But when I switch to the JDBC Pool DBCP, the problem disappears. That's why I do not cache query results in the badge JDBC pool, but I have not found any documents on this issue. Can anyone tell me how to close the queue cache in the JDBC pool? This badge runs in JDBC-7.0.47 and there is a configuration below . & Lt; Beam id = "data source" class = "org.apache.tomcat.jdbc.pool.DataSource" delete-method = "off" & gt; & Lt; Property Name = "driverClassName" value = "com.mysql.jdbc.Driver" /> & Lt; Property name = "url" value = "JDBC: mysql: //192.168.1.104: 3306 / uip_test_1 useUnicode = true & amp; characterEncoding = UTF8 & amp; amp; zeroDateTimeBehavior = convertToNull" /> & Lt; Property Name = ...

Ruby: Escaping String Characters -

After understanding that my examination failed, I would like to retain the idea of ​​using single-citations only when I'm not interpoling anything. In this case, however, due to this, my examination fails. To use double-quotes, what is a way to avoid string '1 \ n, 2,3' without changing all your tests? My code is as follows: Tip: Before describing '#add' (: each) Do @calc = StringCalculator.new end reference 'when given a delimiter' should it support new lines (@ccalc.add ('1 \ n2,3')). Eq (6) End End Ending Calc.rb: class stringCollector attr_reader: Numbers begin def (numbers = '') @numbers = numbers enddef added (expression) @ numbers.concat (expression) @ numbers.gsub! (/ \ N /, ',') @ numbers.empty? ? 0: results end df results @ numbers.split (','). Map (and: to_i) .readuce (: +) End End Good, if If you want to avoid using actually , actually double quotes, you can add a literal newline cha...

android - How to hide dependent Edittextpreferences when a Checkboxpreference is checked? -

Text after " I rely on an CheckBoxPreference and two EditTextPreferences Checkbox Launch (All are defined in an xml file and all three together PreferenceScreen ) My question is: How to Hide and Reappear the two EditTextPreferences when users unchecks and check respectively Checkbox designation Currently I just enable / disable Gives them the Android: Dependency to them. To do this, the solution will be appreciated in Java or xml . :) I do not know any way to do this through XML, which is always my favorite choice But this Java solution should work. CheckboxProfrence chkPref = (CheckboxPreference) Search Convention ("myCheckPref"); Edit EditTextPreferenceFix1 = (EditTextPreference) (reference "myEditCheckPref"); Edit priority groupTeckPoint = meet (editProf 1); ChkPref.setOnPreferenceChangeListener (New OnPreferenceChangeListener) {Public Boolean onPreferenceChange (preferred preferred, object value) {if (value) editT...

java - Why isnt my for loop of objects printing out? -

I think printing atString's method of at least every subclass is fine, but due to some reason its anything Do not be anything that is being printed 1 meter 1 inch 1 feet 1 yard 401.336 meters 15839 inches 1319 feet 43 9 yards Code The length of public abstract classes is functional comparative & lt; Length & gt; {Public string toString () {return.getClass ()} + ":" + getLength () + "" + getUnit (); } Public static zero main (string [] args) {ArrayList & lt; Length & gt; Lo = New Arrestist & lt; Length & gt; (); = Null scanner; Try {In = new scanner (New file ("src / length / data.txt")); } Hold (FileNotFoundException exception) {new runtime expiration ("Failed to open data"); } // More parts of this assignment require more code, while (in.hasNextDouble ()) {double value = in.nextDouble (); String unit = in.next (); Length = length = faucet; If (unit angle ("m")) {length = new meter (value); Lo.a...

php - How to manage CodeIgniter project code in a big project -

I have some personal doubts about CodeIgniter project management. As a developer I have more than 1 year experience in CodeIgniter. But now I am working on a project (e-commerce) which is working under me completely and I am a single developer Confusion about building a library or model! When the model / library passes through the variable, the function is sent through the parameter or the class object variable of that model / library setting !! Such general disclaimer - my suggestion to use libraries to interact with third parties - Creating credit card transactions, shipping etc. Apart from separation, another reason is that there will often be PHP libraries for these services that you want to integrate. otherwise use the model normal and then start the refactor so the models are very specific. Try using folders to help organize and explicitly exclude responsibilities. The model displaying different performance products vs e-commerce work should be different than the m...

c++ - map::erase: difference between erase by key or by iterator? -

If I want to remove an element from a map (and I probably do not care about return value other than error Checking), there are two ways I can: Erase by key or delete by value: #include & lt; Iostream & gt; # Include & lt; Map & gt; using namespace std; Zero printmap (const std :: map & lt; int, double & gt; & amp; m) {for (auto kv: m) {std :: cout & lt; & Lt; '{& Lt; & Lt; Kv.first & lt; & Lt; "," & Lt; & Lt; KV.Second & lt; & Lt; '}'; } Std :: cout & lt; & Lt; '\ N'; } Int main () {std :: cout & lt; & Lt; "Erase by the Eater: \ n"; Std :: map & lt; Int, double> M1 = {{1, 1.1}, {2, 2.2}, {3, 3.3}}; PrintMap (m1); M1.erase (m1.find (2)); PrintMap (m1); Std :: cout & lt; & Lt; "Delete key: \ n"; Std :: map & lt; Int, double> M2 = {{1, 1.1}, {2, 2.2}, {3, 3.3}}; PrintMap (m2); M2.erase (2); PrintMap (m2); Return 0; } Ou...

c# - Export div content to pdf format -

Image
To export it in a PSD format, use it using the following content exchppp I am using feedback. Content type = "app / pdf"; Response.AddHeader ("content-type", "attachment; filename = panel.pdf"); Response.Cache.SetCacheability (HttpCacheability.NoCache); Stringwright SW = new stringwriter (); HtmlTextWriter hw = new HtmlTextWriter (sw); Panel1.RenderControl (hw); Stringreader sr = new string reader (sw.ToString ()); // document pdfDoc = new document (pages A4, 10F, 10F, 100F, 0F); Document pdfDoc = new document (new rectangle (1000f, 1000f)); HTMLWorker htmlparser = new HTMLWorker (pdfDoc); PdfWriter.GetInstance (pdfDoc, Response.OutputStream); PdfDoc.Open (); Htmlparser.Parse (SR); PdfDoc.Close (); Response.Write (pdfDoc); Response.End (); This shows the following error. Could not find a part of the path 'C: \ Program Files \ General Files \ Microsoft Share \ DevServer \ 10.0 \ Images \ logo.png '.' If I hide the logo in Dennis ...

excel - how to add horizontal axis labels to chart using macro -

ą¤®ैंą¤Øे ą¤Øिą¤®्ą¤Øą¤²िą¤–िą¤¤ ą¤®ैą¤•्ą¤°ो ą¤•ा ą¤‰ą¤Ŗą¤Æोą¤— ą¤•ą¤°ą¤•े ą¤ą¤• ą¤šाą¤°्ą¤Ÿ ą¤¬ą¤Øाą¤Æा ą¤¹ै: ActiveSheet.Shapes.AddChart.Select ActiveChart.SetSourceData ą¤ø्ą¤°ोą¤¤: = ą¤¶्ą¤°ेą¤£ी ("'ą¤¶ीą¤Ÿ 1'! $ ą¤ $ 1: $ ą¤ $ 13") ActiveChart.ChartType = xlLine ą¤šाą¤°्ą¤Ÿ ą¤®ें ą¤•्ą¤·ैą¤¤िą¤œ ą¤…ą¤•्ą¤· ą¤²ेą¤¬ą¤² ą¤œोą¤”़ą¤Øे ą¤•े ą¤²िą¤, ą¤•्ą¤Æोंą¤•ि ą¤Æą¤¹ ą¤•ोą¤” ą¤•ेą¤µą¤² ą¤®ेą¤°े ą¤Šą¤°्ą¤§्ą¤µाą¤§ą¤° ą¤ø्ą¤¤ंą¤­ों ą¤•ो ą¤œोą¤”़ą¤¤ा ą¤¹ै। ą¤®ुą¤े ą¤­ी ą¤•्ą¤·ैą¤¤िą¤œ ą¤Ŗंą¤•्ą¤¤िą¤Æों ą¤•ो ą¤‡ą¤Øą¤Ŗुą¤Ÿ ą¤•ą¤°ą¤Øे ą¤•ी ą¤†ą¤µą¤¶्ą¤Æą¤•ą¤¤ा ą¤¹ै। ą¤®ैą¤•्ą¤°ोą¤œ़ ą¤•े ą¤²िą¤ ą¤•ाą¤«ी ą¤Øą¤Æा ą¤¹ै, ą¤•ृą¤Ŗą¤Æा ą¤®ेą¤°ी ą¤®ą¤¦ą¤¦ ą¤•ą¤°ें। ą¤†ą¤Ŗą¤•ो ą¤•्ą¤Æा ą¤šाą¤¹िą¤: ActiveChart.SetElement (msoElementPrimaryCategoryAxisTitleAdjacentToAxis) ActiveChart.Axes (xlCategory, xlPrimary) ą¤ą¤•्ą¤øिą¤øą¤Ÿिą¤Ÿą¤²। ą¤Ŗाą¤  = "ą¤¦ ą¤Ÿिą¤Ÿą¤² ą¤†ą¤ˆą¤µॉंą¤Ÿ" ą¤Æą¤¹ ą¤Ŗą¤¹ą¤²े ą¤šाą¤°्ą¤Ÿ ą¤•ो ą¤ą¤•्ą¤ø ą¤…ą¤•्ą¤· ą¤•ा ą¤¶ीą¤°्ą¤·ą¤• ą¤øेą¤Ÿ ą¤•ą¤°ą¤¤ा ą¤¹ै, ą¤«िą¤° ą¤Ŗाą¤  ą¤øेą¤Ÿ ą¤•ą¤°ą¤¤ा ą¤¹ै।

python - Why do I get a different output from same input using GradientBoostingRegressor of scikit-learn? -

ą¤‰ą¤¦ाą¤¹ą¤°ą¤£ ą¤•े ą¤²िą¤: params = {'n_estimators': 200, "max_depth": 4, 'ą¤Øą¤®ą¤•': 1, 'ą¤øीą¤–ą¤Øे_ą¤°ेą¤”िą¤Ÿ': 0.1} ą¤¬ą¤¢़ाą¤µा = ą¤¦ाą¤—ą¤¦ाą¤¦िą¤²। ą¤—्ą¤°ैą¤”िą¤ą¤Ø्ą¤Ÿą¤¬ॉą¤ø्ą¤Ÿिंą¤— ą¤…ą¤Ŗą¤°ाą¤§ी (** ą¤Ŗैą¤°ाą¤®ीą¤Ÿą¤°) ą¤­ूą¤¤ ą¤¬ोą¤œ़ = ą¤•ą¤²ाą¤•ाą¤°ों ą¤•ी ą¤Ÿुą¤•ą¤”़ी। ą¤—्ą¤°ैą¤”िą¤ą¤Ø्ą¤Ÿą¤¬ॉą¤ø्ą¤Ÿिंą¤—। ą¤…ą¤Ŗą¤°ाą¤§ी (** ą¤Ŗैą¤°ाą¤®ीą¤Ÿą¤°) ... boost.fit (x, y) ghostBoost.fit (x , Y) ... predictionA = boost.predict (ą¤µिą¤¶ेą¤·ą¤¤ाą¤“ं) predictionB = ghostBoost.predict (ą¤µिą¤¶ेą¤·ą¤¤ाą¤“ं) boost ą¤”ą¤° ghostBoost prediction A ą¤•े ą¤¬ą¤°ाą¤¬ą¤° ą¤Øą¤¹ीं ą¤¹ोą¤¤ा ą¤¹ै, ą¤ą¤øा ą¤•्ą¤Æों ą¤¹ो ą¤°ą¤¹ा ą¤¹ै? ą¤¦ोą¤Øों ą¤®ॉą¤”ą¤² ą¤•े ą¤øą¤®ाą¤Ø ą¤®ूą¤²्ą¤Æ ą¤•े ą¤²िą¤ random_state ą¤•ą¤Ø्ą¤ø्ą¤Ÿ्ą¤°ą¤•्ą¤Ÿą¤° ą¤Ŗैą¤°ाą¤®ीą¤Ÿą¤° ą¤«िą¤•्ą¤ø ą¤•ą¤°ą¤Øे ą¤•ी ą¤•ोą¤¶िą¤¶ ą¤•ą¤°ें। ą¤Øिą¤°्ą¤£ą¤Æ ą¤µृą¤•्ą¤· ą¤‡ą¤®ाą¤°ą¤¤ ą¤•ी ą¤Ŗ्ą¤°ą¤•्ą¤°िą¤Æा ą¤Æाą¤¦ृą¤š्ą¤›िą¤• ą¤¹ोą¤¤ी ą¤¹ै ą¤•्ą¤Æोंą¤•ि ą¤Ŗ्ą¤°ą¤¤्ą¤Æेą¤• ą¤Øोą¤” ą¤‰ą¤Ŗą¤²ą¤¬्ą¤§ ą¤øुą¤µिą¤§ाą¤“ं ą¤øे ą¤Æाą¤¦ृą¤š्ą¤›िą¤• (ą¤Ŗ्ą¤°ą¤¤िą¤ø्ą¤„ाą¤Ŗą¤Ø ą¤•े ą¤¬िą¤Øा ą¤Ŗ्ą¤°ą¤¤िą¤ø्ą¤„ाą¤Ŗą¤Ø ą¤•े ą¤øाą¤„) ą¤…ą¤§िą¤•ą¤¤ą¤®_features ą¤Ŗą¤° ą¤µिą¤šाą¤° ą¤•ą¤°ą¤¤ा ą¤¹ै। ą¤øंą¤Ŗाą¤¦िą¤¤ ą¤•ą¤°ें: ą¤øुą¤µिą¤§ा ą¤Øą¤®ूą¤Øा ą¤¬िą¤Øा ą¤Ŗ्ą¤°ą¤¤िą¤ø्ą¤„ाą¤Ŗą¤Ø ą¤•े ą¤•िą¤Æा ą¤œाą¤¤ा ą¤¹ै ą¤œą¤¬ max_features = none (ą¤”िą¤«़ॉą¤²्ą¤Ÿ) ą¤øą¤­ी ą¤µिą¤¶ेą¤·ą¤¤ाą¤“ं ą¤•ा ą¤®ूą¤²्ą¤Æांą¤•ą¤Ø ą¤•िą¤Æा ą¤œाą¤¤ा ą¤¹ै, ą¤«िą¤° ą¤­ी ą¤‰ą¤ø ą¤•्ą¤°ą¤® ą¤•े ą¤Ŗą¤°िą¤µą¤°्ą¤¤ą¤Ø ą¤œो ą¤•ि ą¤…ą¤§िą¤•ą¤¤ą¤®_ą¤ą¤Ŗेą¤„ ą¤Øą¤¹ीं ą¤¹ै ą¤•ोą¤ˆ ą¤­ी ą¤Øą¤¹ीं ą¤¹ो ą¤øą¤•ą¤¤ा ą¤¹ै ą¤²ą¤•्ą¤·्ą¤Æ ą¤šą¤° ą¤®ें ą¤—ैą¤°-ą¤…ą¤Ø...

android - Pull to refresh for StickyGridHeadersGridView -

I am using StickyGridHeadersGridView in my project and I want to add StickyGridHeadersGridView to the bridge to refresh the functionality. Is there any way to do this? You can use the bridge for the refresh library

php - How do I share a folder for a Client Machine -

I am using Linux RedHat on Windows 7 and client on the server, I am in LAN with specific clients Want to share the folder, what should I do? Please help me. It gives an error and it is shared for all machines. Right-click the folder to be shared and click to share it in the Advanced Sharing Options and evryone there Type and apply changes that will be shared to

c# - Index out of range exception while deleting row from GridView -

I'm having an error "The index was out of range. Less than the size of the archive " When attempting to delete the line of the gridview. My aspx.cs code is below: Secure Zero GridView1_RowDeleting (Object Sender, GridViewDeleteEventArgs E) {try {main delete = new main ()} // Ind id = Convert. ToInt32 (GridView1. Rows [e.RowIndex] .sec ["id"]. Value); // string id = gridview 1. Ro [e. Rundex]. Ostring (); SQLcONN.Open (); String Query = "Remove from ShoppingCart * * * Where shoppingcart.v_puja = '" + convert. ToInt32 (GridView1.DataKeys [e.RowIndex] .Value.ToString ()) + "'"; Delete.deleteData (query); Bindgrid (); SQLcONN.Close (); } Hold (Exception preceded by {Console.WriteLine ("{0} was caught exception", prior); }} Maybe DataKeys It should be: string query = "shopping record where shoppingcart.v_puja = '" + convert .toInt32 (e.Item.DataKeys ["nameOfKey"]. Value) tostring ( ...

java - Using methods with "@Named" annotation in its parameters -

I am working with JPA and I have a method / * * * This method becomes the unit with the primary key ID; it uses the HTTP GET method * * @The primary key of the Java Java Java * @ @Returning entity with the primary key ID * / @ApiMethod (name = "getNote") Public note getNote (@ id ("id") string id) {EntityManager mgr = getEntityManager (); Note note = null; Try {note = mf.find (note.class, id); } Finally {mgr.close (); } Return note; } But I'm not sure how to use this method. I have read a lot of tutorials on this but are still confused. I tried to use it like this note newResult = endpoint.getNote (noteID) .execute (); But it gives the null .

Java Program that compiles but doesn't run -

I'm having trouble finding out why the program will not run. The first bit of code is this class that I have created while the second part is a program that uses the built-in class. The original point of the program is a coin toss class and then uses the class several times in the program to play a game. This game involves flipping the coin for Quarter Nickels and Dimes. If the coin is a head then the value of the coin is added to the total and if the tail is nothing then it is added. When the game closes for a total of $ 1.00 or more, if the user is actually $ 1.00, the user wins, the user does not lose. // CONNESS class import java.util.Random; Public square coin {private string sideup; Public zero toss () {random flip = new random (); If (flip.nxit (2) == 0) {string up; Up = "tail"; Up = sideup; } And {string up; Up = "major"; Up = sideup; }} Public string getSideUp () {return sideUp; }} Program that will not: public class CoinToss {public static...

PHP fill the missing values with empty values in an array -

ą¤®ेą¤°े ą¤Ŗाą¤ø ą¤øą¤°ą¤£ी ą¤¹ै array ([0] = & gt; ą¤øą¤°ą¤£ी ([ A] = & gt; r1, [b] = & gt; c1, [c] = & gt; d1,), [1] = & gt; ą¤øą¤°ą¤£ी ([a] = & gt; r1, [b] = & gt; c1, [ ą¤øी] = & gt; ą¤”ी 2,), [2] = & gt; ą¤øą¤°ą¤£ी ([ą¤] = & gt; ą¤†ą¤° 1, [ą¤¬ी] = & gt; ą¤øी 1, [ą¤øी] = & gt; ą¤”ी 3,), [3] = & gt; ą¤øą¤°ą¤£ी ([ą¤] = & gt; ą¤†ą¤° 1, [ą¤¬ी] = & gt; ą¤øी 2, [ą¤øी] = & gt; ą¤”ी 1,), [4] = & gt; ą¤øą¤°ą¤£ी ([ą¤] = & gt; ą¤†ą¤° 1, [ą¤¬ी] = & gt; ą¤øी 2 , [ą¤øी] = & gt; ą¤”ी 3,), [5] = & gt; ą¤øą¤°ą¤£ी ([ą¤] = & gt; ą¤†ą¤° 1, [ą¤¬ी] = & gt; ą¤øी 3, [ą¤øी] = & gt; ą¤”ी 1,)) ą¤µą¤°्ą¤¤ą¤®ाą¤Ø ą¤®ें ą¤®ुą¤े ą¤†ą¤‰ą¤Ÿą¤Ŗुą¤Ÿ ą¤•ी ą¤¤ą¤°ą¤¹ ą¤®िą¤² ą¤°ą¤¹ा ą¤¹ै --------------------------- ---------- | ą¤øी 1, ą¤”ी 1 | ą¤øी 1, ą¤”ी 2 | ą¤øी 1, ą¤”ी 3 | ------------------------------------- | ą¤øी 2, ą¤”ी 2 | ą¤øी 3, ą¤”ी 1 | - | ------------------------------------- | - | - | - | ------------------------------------- ą¤²ेą¤•िą¤Ø ą¤®ैं ą¤‰ą¤¤्ą¤Ŗाą¤¦ą¤Ø ą¤•ी ą¤†ą¤µą¤¶्ą¤Æą¤•ą¤¤ा 3x3 ą¤®ैą¤Ÿ्ą¤°िą¤•्ą¤ø ą¤¦्ą¤µाą¤°ा ą¤Ŗ्ą¤°ą¤¦ą¤°्ą¤¶िą¤¤ ą¤•ी ą¤œाą¤Øी ą¤šाą¤¹िą¤ ------------------------------ ------- | ą¤øी 1, ą¤”ी 1 | ą¤øी 1...

c# - About differing coding styles/guidelines -

Someone came in my head last night, I was wondering why there are still different coding styles among projects. Since the style is something private, I think it would be better to treat it better, why do not we? Is there any technical limitations on this? Let me give you some examples: // code sample 1 random object. . (Where item => item.color == color.rud). Country (); // Code sample 2 random objects. Colour. Where (item => item color == color red). Count (); // Code sample 3 random objects. Colors.Count (item => item color == color rood); // Code sample 4 if (criteria) {// do stuff} and {} // sample sample 5 if (criteria) {// do stuff} and {} code sample 1 And 2 technically do the same (if I'm not mistaken) On the other hand, code samples 2 and 3 are different, they do something differently under the hood, but give similar results. For this, the code can not be rewritten in Example 1, yet it is possible to format it. Code samples 4 and 5, I think you have se...

mysql - Formatting SHOW ENGINE INNODB STATUS outputs when “\n” are embedded as Text -

I am referring to I have an output through this command: mysql -e "Show Engine Inorodb Status" -U-P Database & gt; Mydumpfile.txt However, I'm using instead of a real new line using any editor (low, VIM, KRITET). How do I substitute with sed, awk or any other tool in shell? You can use the following syntax of sed. sed -i -e 's | \\ n | \ N | G 'mydumpfile.txt If you want direct output directly from mysql, use the --table option in the mysql command. mysql --table -e "Show engine insodub status" -u -p database & gt; Mydumpfile.txt

python - How can I use rapportive.py in django -

I am using my dragon project in Django. I am getting an error to enter text with import logging from imports import docopt import docopt from Python-requests.org # Pylint From: disable = C0103 logger = logging.gatlogger (__name__) logger.Setelval (logging .info) # pylint: enabled = C0103 STATUS_URL = 'https://rapportive.com/login_status? User_email = {0} 'URL =' https://profiles.rapportive.com/contacts/email/{0} '# pylint: disabled = R0903 class profile (object): Profile object printing to collect profile profiles " "" Def __init__ (self, person): if person: self name = person.gate ('name') self.jobinfo = [(occupation.get ('job_title'), occupation.get ('company')) For the possession of the person. Gate ('business', [])] self subscribe. [[Membership.get (' site_name '), membership.jet (' profile_val ')) for membership to person. (' Member Ya ', [])] self.success = person.get (' success...

javascript - Search bar in navbar doesn't look the same in Google Chrome and Firefox -

I have the following code for my search bar in nebber. It looks well in Firefox but the search bar on Google Chrome Spreads and goes down navigation. How can I fix this? & quot; Div class = "navbar navbar-inverse navbar-fixed-top" & gt; & Lt; Div class = "navbar-inner" & gt; & Lt; Div class = "container" & gt; & Lt; A href = "#" class = "navbar-brand" & gt; SIG Inventory System & lt; / A & gt; & Lt; Div class = "navbar-header" & gt; & Lt; Button type = 'button' class = "navbar-toggle" data-toggle = "collapse" data-target = ". NavHeaderCollapse" & 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; ...