Posts

Showing posts from February, 2011

wordpress need more custom text containers on template but how -

Works great therefore I have created a template for a page. But how do I add more text areas to the page? When I edit the page, I have a large text area (in the backend) where I can edit the text. It's awesome but I need more. I would like to be able to put the containers around the template to restrict the editor to just replace the text on the page and not edit the text inside many HTML in the editor. Like & lt; Html & gt; & Lt; Top & gt; & Lt; Body & gt; & Lt; Div & gt; Container1 & lt; / Div & gt; Some other HTML & lt; Div & gt; Container 2 & lt; / Div & gt; And so on ... You probably want If you want to use a plugin: If you want to do your own roll: And here's a nice tutorial that will make it Wrap:

How to convert Text to Image in Cocoa Objective-C -

I am looking for a way to convert a text of coca into an image. Everything does not describe an image converting text into text into text. Simply put, I want to take a word (such as "Kevin") and convert it into a bitmap image and save it as a JPEG. People who answer are awesome, thanks for doing this to three different and equally valid ways (yes I have tested them) .... very good, I think I You can answer all right. Edit: I forgot the question and assumed you want coco-touch code (I Except it is left) This is one way of using the Cortex in cocoa (as another poster says there are ways): {NSString * string = @ "Kevin"; CGFloat fontSize = 12.0f; // Create a string with string and font information CTFontRef font = CTFontCreateWithName (CFRCR ("Helvetica Lite"), fontSize, Zero); NSDictionary * attributes = [Object Endase with NSDictionary dictionary: (id) font, kCTFontAttributeName, zero]; NSAttributedString * as = [[NSAttributedString alloc] i...

java - Session inside Model in play framework -

I have in my model package model; Import *; Import.data.validation Import. *; Import.db.jpa. *; Import Libs *; Import com.google.gson.JsonObject; Import javax.preistence *; Import java.util. *; Import play.mvc *; Public class user model {increases the public static zero facebookOAuthCallback (JsonObject data) {string email = data. Get ("email"). GetAsString (); Println (email); If (email! = Null) {session session = new session (); Session.put ("user", user.email); }}} When this action operation is poor, then it can not be resolved in the session type whether I am doing wrong: ( Thank you in advance Have you not tried putting this code into your model Instead of putting it into its controller, the session is a controller concept, and I do not think it is a good idea by mixing it with your model.

- Where Developers Learn, Share, & Build Careers

I need my entities in the first environment of the EF 4.3 code when they were last updated. Is this possible? If so, how to get the last shuffle in the unit category of the following property: [timestamp] Public byte [] roversan; Set; } I have to take the time to update the method in this very unit category. A datetime property was updated to in your model or (whatever). updated the public date time {received; Set; } Then in your code, I think you can set it to a update () (or something similar) updated = date time.Now, In this way, the update method is called on a line every time, to execute the updated property method Will be set at the right time.

- Where Developers Learn, Share, & Build Careers

I have several km files, with only 1 path created in each. In which direction can I get the coordinates and how can I change them in an array with each set of coordinates placed within my array? For example: [[lat1, long1], [lat2, long2] [lat3, long3]] I like javascript, but I can also php. Example km: http://98.214.131.200/ route / test .kml can be used as a stand-alone parser (although it is not particularly well tested in that mode). If you want polyline, you probably want a polyis branch instead of a trunk. The array of coordinates is not enough in the format you requested; Playstained [] [Core] [Core: float, lng: float, alt: float] If you have a "path" in each of your km lists, maybe the array will be: [0]. [0]. Linestring [0]. CoreDeNet and it is also available as google.maps.Polyline object. Your example here is km L, if you press the page with the debugger, then you can see the coordinate array.

- Where Developers Learn, Share, & Build Careers

All, I am trying to use an existing open-source project (we A) As a library, Project A comes with its own Library Project (B) inside my app. The project is a compilation and runs just fine; However, when I try to use A in my A (I have examined 'Library' within A and added A in my A) I get many errors, "No resource identifier was found for the attribute 'X'in package ... "These special properties exist within B. I also checked that they were added to R in A, and in fact, they were. My question: Why does not my app know that these resources are present? I have searched everything and found in a similar situation like me: But I do not think any of my resources is the same . I am using Eclipse with ADT v20.0 I appreciate any help! EDIT: If this is useful, then I'm trying to use OpenSource app AnySoftKeyboard (ASK) I have tried to create a new project and add ASK as a library Have tried - no dice. EDIT2: A part of asking a library is neces...

javascript - MVC : How do I decode code to JS that was encoded in c# using JavaScriptSerializer -

I use the System.Web.Script.Serialization library to encode elements from C #. How can I interpret it from the JS function? For example: JavaScriptSerializer js = new JavaScriptSerializer (); String model string = js Cyrilize (model); and want to do JS: var element = decode ('@ ModelString'); You have to use jQuery. var _Model = $ parseJSON (ModelString); Then you can use it: _Model.Name; _Model.Address; // etc ... I hope you want it ...

PHP to JSON format -

मैं JSON प्रारूप प्राप्त कर रहा हूं: {"test": [{" Key1 ":" value1 "}, {" key2 ":" value2 "}]} लेकिन इसके बजाय इस प्रारूप को प्राप्त करना संभव है? {"Test1": {"key1": "value1", "key2": "value2"}} मेरा php कोड यह है: $ कुंजी = $ पंक्ति [1]; $ मूल्य = $ पंक्ति [2]; $ Posts [] = सरणी ($ कुंजी = & gt; $ मान); $ प्रतिक्रिया ['तार'] = $ पद; फ़िलिट ($ आउट, json_Encode ($ प्रतिक्रिया)) मैं घंटों के लिए इस पर फंस गया हूं, कृपया कोई मदद करें! अग्रिम धन्यवाद! आप चाहते हैं $ posts [$ key ] = $ मान; समस्या यह है कि स्ट्रिंग कुंजी के साथ PHP सरणियों को JSON शब्दों में ऑब्जेक्ट हैं।

php - Remember forms value in cookies to later finish -

I have a form, and after completing different forms of customer I want to navigate through this website It is possible to return, and return to the form and keep them filled. I thought about keeping cookies in a browser's client, other ways that you could recommend? About the code, here is the JavaScript part o, I really do not know to handle the server-side part, but I would like to use a class to define cookies. I'm new to the point, so if you can tell me in the right direction, then I fieldsToSave = ['nome', 'sobrenome', 'endereco', 'codigopostal', 'localidade ',' Telemovel ',' e-mail ',' codigopostal2 ',' localidade2 ',' endereco2 ',' n ',' entidade ',' codigopostal3 ',' localidade3 ',' endereco3 ',' nserie '' model ']; Function ajaxext () {var params = []; (Var i = 0; i & lt; fieldsToSave.length; i ++) for {var da = required...

php - Can i put my own functions in UserRepository if i implement from interface -

मैं सिम्फनी डॉक्स से इसका अनुसरण कर रहा हूं class UserRepository EntityRepository को लागू करता है UserProviderInterface {सार्वजनिक फ़ंक्शन loadUserByUsername ($ username) { अब मेरे प्रश्न, अगर मुझे अपने कोड जैसे retrievePassowrd () प्राप्त करना है तो मैं घोषित करते हैं कि रिपॉजिटरी में या मुझे एक नया इंटरफ़ेस बनाने की आवश्यकता है और फिर उस इंटरटस से userRepo का विस्तार करें आप रिपॉजिटरी में अपना काम कर सकते हैं।

javascript - fadeOut "disabled" by a seemingly benign line of CSS (jquery bug?) -

This is the following: Now I have a CSS It looks like a good place to resume (right) it in the line. (Right) This is the line of CSS: .States-fullscreen .main-slides image dice-free {location: complete; Top: 0; Left: 0; Width: 100%; Z-index: 350} (BTW, it comes from "move": so it seems very reasonable.) Pseudo code applies to : & lt; Div .status-fullscreen & gt; & Lt; Div Main-slides & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; Img .display-full / & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; Img .display-full / & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; Img .display-full / & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt; & Lt; / Div & gt; When the line of CSS is in the game and I am working in the list .go (index), then fade () stopped working as expected, this is it Does not work at all. Feedin works even though the period is c...

- Where Developers Learn, Share, & Build Careers

We have got a CWD on which it has many controls (CBT, CEDT, CITETIC etc.) and want to find it One way to allow the user to zoom in and out is that the controls are large / small, as well as changing the size for the control, the text labels (such as button text) are required in the control. I was watching Sejesi Setaimamoda in the CZoomView documented on the web at MM_ISOTROPIC, but it seems that in fact only is useful on any ondroid method because since it is implemented when applying the drawing code There is TODO in CZoomView. Because they are Microsoft controls, we are letting them attract themselves. Is this also possible? It seems that I should be able to adjust the context of the device, to think that the device is different from the logical unit scale, but how can I get control over it? int previousMode = pDC-> SetMapMode (MM_ISOTROPIC); Previous variant = pdc-> Set windowo (100,100); Previous series EXT = pDC- & gt; SetVivounceAxt (M_JUMM, M_JUMM); thou...

c++ - Get a pointer to STL container an iterator is referencing? -

उदाहरण के लिए, निम्नलिखित संभव है: std :: सेट & lt; int & gt; रों; Std :: सेट & lt; int & gt; :: iterator = s.begin (); मुझे आश्चर्य है कि विपरीत संभव है, कहते हैं, std :: सेट & lt; int & gt; * pSet = it- & gt; ** getContainer ** (); // कुछ इस तरह से ... नहीं, कोई पोर्टेबल तरीका नहीं है यह। एक इरेटरेटर का कंटेनर का भी कोई संदर्भ नहीं हो सकता है उदाहरण के लिए, एक कार्यान्वयन T * को iterator के रूप में दोनों std :: arrays & lt; T, N & gt; और std के लिए इस्तेमाल कर सकते हैं :: वेक्टर & lt; T & gt; , क्योंकि दोनों अपने तत्वों को सरणियों के रूप में संग्रहीत करते हैं। इसके अलावा, इटेरेटर्स कंटेनर की तुलना में अधिक सामान्य हैं, और सभी इटरेटर कंटेनरों में इंगित नहीं करते (उदाहरण के लिए, इनपुट और आउटपुट इटरेटर जो स्ट्रीम पर पढ़ते हैं और लिखते हैं)।

windows - Importing maltego module in python -

I am trying to import the PyMaltego module and am receiving an import error. I have already installed the module from CMD with this command: c: \ document \ maltego> c: \ Python 32 \ python setup.py install However, when I try to import the module, I get a message: & gt; File "C: / User / Loveturd / Document / Python Content / test.py", in line 3, in & gt; & Lt; Module & gt; & Gt; Import Maltago File "C: \ Python 32 \ lib \ site-packages \ maltego \ __ init__.py", in line 5, in & gt; & Lt; Module & gt; & Gt; Import import from unit import * Import: no unit designated module any suggestions ?? There is nothing on the project Maltago site which indicates that Python 3.2 is compatible. This error does not occur if you use python2.7. You can only use the package with python3.2 if they mention that they are python3 compatible.

- Where Developers Learn, Share, & Build Careers

How can I do this in C ++ Interface activator {zero action perfender ( ); } JButton.addActionListener (New Executioner) {Zero ActionPerfed () {Something}}); So far I know this, class ActionListener {Public: Virtual ~ ActionListener () {} Virtual Zero Action Methodology () = 0; } What can I do next ... Any such keywords will also help to implement this kind of implementation. C ++ is not really an unknown class as you find in Java The general thing is simply declaring a subclass The interface is obtained from the class. The closest you find in an example of an unknown class of Java: Category: Public ActionList {Public: Virtual Zero Action Perf. () {// Something}} Listener; Thing.addActionListener (listener);

- Where Developers Learn, Share, & Build Careers

In order to be able to use NHibernate with the progress / openage database on ODBC, I have created a custom bid SELECT TOP? SomeColumn to SomeTable where SomeColumn =?; P0 = 100, p1 = 'test' The progress / open database does not support it, so I would like to make some changes to the bid for which the statement does not use the parameter Forcing the amount of columns in SELECT TOP - SELECT TOP 100 SomeColumn table where someColumn = ?; P0 = 'test' Is this possible? By the way, I am using NHibernate v. Looking at 3.3.1 I I would say that you have a false You must override the supportVariableLimit property to return. /// & lt; Summary & gt; /// What parameters can be used for a statement for a limit? /// & lt; / Summary & gt; Public override supports Bull VarianableLimit {get {return false; Unfortunately, NHibernate Linq does not use the SupportsVariableLimit property. It always tries to use the parameters. With a source cod...

java - Spring AOP - why do i need aspectjweaver? -

I have written a very simple aspect with Spring AOP, it works, but I have some problems that are actually going on Are there. I do not understand why I have to add aspects? The Spring AOP document clearly states that unless I just use Spring-AOP, I do not need the ASTJ compiler or weaver: AOP Runtime still pure spring AOP , And there is no dependency on the AspectJ compiler or weaver. My configuration looks like this: & lt; Aop: aspectj-autoproxy / & gt; Check @ Aspect @ Service Public Class RemoteInvocation {@ prior ("execution (* at.test.mypackage. *. * (..))" public void test () {System.out.println ("test") ; } ... I also tried XML configuration, however nothing changed. Maybe I'll let it go, but I really want to understand why the aspect-weaver is used? If I do not add dependency in Maven, then I get java.lang.ClassNotFoundException: org.aspectj.weaver.reflect.ReflectionWorld $ ReflectionWorldException Spring AOP implementation...

javascript - jQuery keydown event: Value coming delayed -

I have the following issues: I have found an event listener on the input field. The value of the input field must be valid on every important event. The problem is that the value assigned to Event-Goal is delayed: You have an empty input field and type a letter: $ ('Form.registration') keydown (function (e) {var $ el = $ (e.target); if ($ el.val () == "") {$ el.closest ("div. Control-group "). AddClass (" Error ");} console.log ($ el.val ()); // This log" ""}); You type in the second letter $ ('form.registration'). KeyDown (function (e) {Var $ el = $ (e.target); if ($ el.val () == "") {$ el.closest ("div.control-group"). AddClass ("Error ");} Console.log ($ El.val ()); // it logs the first letter (for example:" a ")}); Div> I recommend that you use keyup instead instead it will stop your program from running intensively when the user presses the k...

objective c - ios CLLocationManager won't get location second time -

मेरे पास getLocation विधि है जो मेरे CLLocationManager कोड> startUpdatingLocation । मुझे उपयोगकर्ता का स्थान प्राप्त होने के बाद, मैं stopUpdatingLocation को कॉल करता हूं। बाद में, जब उपयोगकर्ता प्रेस रीफ्रेश करता है, तो मैं एक विधि reloadData को कॉल करता हूं getLocation कॉल करता हूं, इसलिए मैं उपयोगकर्ता का नवीनतम स्थान प्राप्त कर सकता हूं। हालांकि, यह कभी भी locationManager को कॉल नहीं करता है: didUpdateToLocation: fromLocation विधि .. इसलिए मुझे उपयोगकर्ता का नवीनतम स्थान कभी नहीं मिला। क्या समस्या हो सकती है? - (शून्य) getLocation {self.locationManager = [[CLLocationManager alloc] init]; Self.locationManager.desiredAccuracy = kCLLocationAccuracy उत्तम; Self.locationManager.delegate = self; [Self.locationManager स्टार्टअपडेटिंग स्थान]; } - (शून्य) स्थान प्रबंधक: (CLLocationManager *) मैनेजर ने अपडेटटोलाकेशन: (CLLocation *) नया स्थान से स्थान: (CLLocation *) पुराना स्थान {यदि (पुराना स्थान! = शून्य) {// सुनिश्चित करें कि दूसरे लेटलैंग वैल्यू तक प्रतीक्षा करें ...

- Where Developers Learn, Share, & Build Careers

Image
I am facing a very strange behavior of redgate which prevents me from reducing the changes made in the database (I'm using Git). I can click on "Get the latest" and can not get errors, everything works, but when I get an error without any description (please see the screenshot). I'm asking for help because I do not know what is wrong thanks in advance!

java - Sending JSON in GET Rest resource - curl and code have separate behavior -

I will start with: I am doing very wrong. And this is what I am doing. I have created a REST resource for some searches and I expect a JSON data in the parameters: @GET @ path ("/ device") @products (MediaTipp.APPLICATION_JSON) @Consume (MediaType.IPILICN_JSON) Public Response Search Communication (String Search jsonstring) {String Message = New Search Services (). Search (SearchSensString); Return Mill Response (message); // Checks the message for any error and sends back the feedback} // the end of the searchcontent () / I should not have written: @Consumes Because it is a GET resource and it does not consume anything but my problem is the way to send JSON data to the Java code (GET resource) . I tried curl order which is capable of sending JSON data to this resource, but in no way is a Java code. I tried to follow the curl order to send JSON data to: curl -x gate-h "content-type: application / jason" -d '{"Keyword": "hell...

unit testing - Junit: changing sequence of test running -

I have a big disturbance with 100 tests in one class and "test project (...) they have a random sequence And I think that in some particular order - from the beginning to the end, I wrote the same sequence, it is not a problem in eclipse because eclipse does just that, how to do it Any help would be appreciated. Editing (due to the answer): the logs of the log A test order is required for the person. They are free. / div> If your tests are in a particular order If you need to run in, then there is something wrong with your design. Second is a test. See this before searching for solutions. Check this

c# - Convert Json Data into a noraml string in metro application? -

I have received a Metro application in which I am calling a service which displays output in JSN format. Output data for my service is shown: {"Assigned": "8", "Assigneur name": "James", "Expected end date": "\ / date ( "Rtrtrtrtrtrtr", "entityity": "q0000621", "unit type": "deal", "parameter": "yes", "status": "open", "description": " ":" Junk ":" user ":" 1 "} {/"> "Junk" I want to convert the data to normal string format so that I Do you mean Public class data source: INotifyPropertyChanged {public string assigned {received; set;} ... Public Bull SysGenerated {get; set;} Public string UserID {get; set;} Public image data (string jsonContent) {// Use reflection to create square}} or string data = string Concept (JSN content); ?

javascript - cocos2dJs multiline label -

Do you know that there is a way to create multiline text in cocos2d-js in new version 0.2? I am trying to do some things but nobody does the work Thank you very much! This is supported in cocos2d-html5, see: Github repo: Site:

sql - Oracle update field A or field B depending on input parameter -

I can choose which fields in my table are updated by the stored procedure based on the value of the input parameters has gone. If the input field is equal to 'draft', then it should update id_draft , otherwise it should update id . Is this possible? This is one of my failed attempts which can explain what I want to do: Create or change process SP_test (input_field VARCHAR defaults NULL) Issue of the IS BEGIN update table set when input_field = 'draft' then the id_draft ELSE id = 'X' You can not use the CASE statement to change the query structure itself, it only gives first, this is a function. You must have either > id_draft ELSE id END ) in value if the input_field = 'draft' Code> id field or id_draft field. It is like doing this ... Update your Tables STT case when 'abc' = 'draft' then 123 ELSE 789 END = 'x' Instead, you have to enter the CAS statement from the right hand side ... Update...

android - ETC1 texture support on Samsung Galaxy ACE GT-S5830 -

I have this Samsung Galaxy ACE GT-S 5830 Android phone, which is an Adreno-200 GPU. I think it is possible to support Etc. (Ericsson Compression Format). But feel like it could not load them. However the gl.glGetString (GL10.GL_EXTENSIONS) function is GL_OES_compressed_ETC1_RGB8_texture extension. but android.opengl.ETC1Util.isETC1Supported () false returns ??? it's so weird. I have converted my files into .pkm format. In this way I am loading the texture, but I see that the white screen that shows the texture does not load. : is the inputstream = _context.getAssets (). Open ("etc / hands_tex.pkm"); Gl.glActiveTexture (GL10.GL_TEXTURE0); // Gl.glBindTexture (GL10.GL_TEXTURE_2D, glTtextureId) for texture loading texture unit; {ETC1Ttexture etc1tex = ETC1Util.createTestructure (try); Bytebuff BB = etc 1X.tex.getData (); Gl.glCompressedTexImage2D (GL10.GL_TEXTURE_2D, level, ETC1.ETC1_RGB8_OES, etc1tex.getWidth (), etc1tex.getHeight (), 0, bb.capacity (), bb); ...

- Where Developers Learn, Share, & Build Careers

I have an IBAction command in the iPad app for the first time When it starts to start like What code can I use to do this? Thanks! Just call your firstViewController's viewDidLoad method to call your method This method will call on automatically start Happy Coding by using [self METHODNAME: nil] :)

image - Symfony sfThumbnail Plugin with 5 Simultaneous Uploads -

I have a product form that users can upload 5 images at once. Everything is working fine with it but I am trying to implement the sfThumbnail plugin so that it can create a thumbnail of each image at the same time. The code below works for Picture 1 but does not do the pictures 2, 3, 4, and 5. I have tried to mess with the code and I can not get it to work with each file individually, it just takes uploaded file for example 2 and it has the same name as 1 picture are given. So when I run it, I end up with 5 uploaded photos, but only 1 thumbnail with the file name of the first picture I tried duplicating code 5 times and every photo Tried to customize it but I got the same result. If there is a more efficient way of doing this, please show me it is only available from the plug-in document. Thanks if ($ this- & gt; modified ()) {$ uploadDir = sfConfig :: find ('sf_upload_dir'); $ Thumbnail = new sfThumbnail (150, 150); $ Thumbnail- & gt; LoadFile (. $ UploadDir...

- Where Developers Learn, Share, & Build Careers

Below is a snippet of my jQuery where I'm trying to grab a dropdown and pick an inline width style from it. My problem is that, to get not on Safari II, a newWidth is 225. targetSelect r_select So I can do that for example, why would I return a different width than Safari Firefox? // Select the current selection box target = Select ($); NewWidth = parseInt (targetSelect.css ('width')); My Markup: & lt; Select name = "r_select" id = "r_select" style = "width: 225px; height: 50px; float: left;" & gt; & Lt; Options & gt; Mikelson & lt; / Options & gt; & Lt; Options & gt; Montgomerie & lt; / Options & gt; & Lt; Options & gt; Watson & lt; / Options & gt; & Lt; Options & gt; Casey & lt; / Options & gt; & Lt; / Select & gt; I should add, that I do not have the same problem with this dropdown: & lt; Id = "r_select_overlay" class = "...

javascript - loop and grab href links info -

& lt; p वर्ग = "पृष्ठ" id = "datapage" & gt; & Lt; strong & gt; 1 & lt; / strong & gt; & Lt; एक वर्ग = "पग-कूर" href = "ब्लाहब्ला; पृष्ठ_नाम = 2" & gt; 2 & lt; / a & gt; & Lt; एक क्लास = "पेग-कर्र" href = "ब्लॉब्लै; पेज_नाम = 3" & gt; 3 & lt; / a & gt; ... पृष्ठ संख्या 10 से ऊपर & lt; एक वर्ग = "पग-अगला" href = "ब्लाहब्ला; पृष्ठ_नाम = 2" & gt; & Lt; strong & gt; अगले & amp; nbsp; »& lt; / strong & gt; & Lt; / a & gt; & Lt; / p & gt; मैं संख्याओं की संख्या प्राप्त करने के लिए href class = "pag-curr" लूप करना चाहता हूं और उनकी सापेक्ष href जानकारी प्राप्त करना चाहते हैं (जैसे.ब्लॉब्ला; पृष्ठ_नाम = 2 .. आदि) , मैं इसे जावास्क्रिप्ट या jquery के साथ कैसे प्राप्त कर सकता हूं? $ ("। ") .each (फ़ंक्शन () {var hrf = $ (this) .attr (" href ");});

c++ - Certificate error open ssl C -

I am using openssl in C to confirm the certificate. Can I leave the signed certificate error in any way? I am getting this error for all those sites who have invalid / cancellation / mismatched URL certificates and I am unable to locate any other errors. and I use the function SSL_CTX_load_verify_locations (ctx, 0, CA_LIST)) to load the CAIILIS. What exactly does it do? An Authenticated certificate comes in the certificate chain, when the root or self-signed certificate is present In the certificate list sent by Peer, however, it has not been loaded in your Trust Store. SSL_CTX_load_verify_locations (ctx, 0, CA_LIST)) will try to load CA in the path mentioned in CA_LIST. Function prototype int SSL_CTX_load_verify_locations (SSL_CTX * ctx, const char * CAfile, const char * CApath); The OpenSSL Help Page says: "If the caption is not faucet, then it indicates the directory containing the CA certificate in the PAM format. Each file contains a CA If there is more ...

android - Not able to find Application Class in new setup for couple of project in JellyBeans and new eclipse -

I was already eclipse with the Android plugin and ICS. Sometimes I had to face problems after updating the new version of ADT plugin. So to work with JellyBeans (4.1), I downloaded and installed the new Android on separate folders in ProgrammingFodder and New Eclipse (Juno Classic Version: 4.2.0) in separate folders. After configuring both of them had used the same workspace for the new eclipse which I was using for the old eclipse, now my two projects have an external jar which is not working in this eclipse. Even though I created a new project from Civis but still it is not working. And even after the crateing project in the new eclipse, if I came to the old eclipse I would not be able to run it. This is showing the following exception: The problem is that it is not able to find my application class and it says that the application class can not be started because it has not got it but it is already defined in the manifest file. Other small example projects do not have their own ...

Set vim updatetime for a specific file type -

I want to modify updatetime for vim for files with specific extensions. I have tried to complete the following code by adding the following code to my ~ / .vimrc : Autocommed bufferide, buffanfile * .t set uptaid time = 60000 This does not seem to work when I open a file with the .t extension and : set ut? I see the default updatetime = 4000 . 'updatetime' setting is a global setting, it means different Do not assume why you want a different price for different buffers? You can work with AutoComed on it, as you have tried, however, BufRead, BufNewFile event will only happen if a buffer is loaded; This setting will not update as you switch buffers, the correct method is to define two autocmds on BufEnter ; To reset a normal one setting, and (after that, it has been executed after the first time!) That matches your file pattern and organizes the settings: Autocmd BufEnter * set updatetime = 4000 Autocomedged buffent * .tet set uptime = 60000

c++ - Why can't operator!= do the conversion? -

मेरे पास त्रुटि के साथ कोड है: (Visual Studio त्रुटि:) त्रुटि 5 त्रुटि C2678: बाइनरी '! =': कोई ऑपरेटर नहीं मिला जो एक बाएं हाथ के ऑपरेंड प्रकार '`नोड' (या कोई स्वीकार्य रूपांतरण नहीं है) टेम्पलेट & lt; class सी, कक्षा टी & gt; सी खोज 2 (सी पहले, सी पिछले, टी सी) {// जबकि (पहले! = अंतिम & amp;; पहला! = सी) {++ पहले; } पहले लौटना; } संरचना नोड {नोड (इंट ए, नोड * ख): वाल (ए), अगला (बी) {}; इंट वैल; नोड * अगला; }; टेम्पलेट & lt; कक्षा T & gt; Struct नोड_ड्रोप {T * ptr; नोड_वापर (टी * पी = 0): पीटीआर (पी) {} नोड & amp; ऑपरेटर * () कॉन्स्ट {रिटर्न * पीटीआर}} नोड * ऑपरेटर- & gt; () कॉन्स्ट {रिटर्न पीटीआर}} नोड_वापर & amp; ऑपरेटर ++ () {ptr = ptr- & gt; अगला; वापसी * ​​यह;} नोड_वापर ऑपरेटर ++ (इंट) {नोड_वापर टीएमपी = * यह; ++ * इस; रिटर्न टीएमपी;} बूल ऑपरेटर == (कॉन्स्ट न्यूड_वापर & amp; i) const {रिटर्न ptr == i.ptr;} bool ऑपरेटर! = (कंसल्ट नोड_वापर & amp; i) const {return ptr! = I.ptr;}}; बूल ऑपरेटर == (कॉन्स्ट नोड एंड न...

java - How to wait for list of `Future`s created using different `ExecutorServices` -

OK, so I know that the first answer / comment here is "using a executable service Use and use invokeAll ". That's why I have a list of thread pools ( Executives Services ) and this is a good reason (which I will not bother with people). What I need to do is use callable on each thread pool submit (no problem). Now I have a collection of future examples, each created on a different executable service , and I want to wait for them to complete ( Be able to provide more Is there an existing class that will do this ( wrap the list of future frequencies and allow the wait until everything is done )? If not, appreciate the tips on a skilled mechanism For each, with the expiration of received was thinking of calling, but the total time passed for each call has to be calculated. I have seen this post but instead of wrapping their list, the future is spread out. Per Louis's comment, which I was looking for This will make me wait for everyon...

clone - Unable to create accurate copy of a Kinetic.js stage / layer -

I am trying to create a change in history rather than a history of history, I have chosen to save the whole thing. This becomes problematic because every copy of the object updates happens with the original object. Kinetic.Node.clone The method looks like the right thing for me, but it is not what I expect to do. Pseudocode: var history = function () {var h = this; H.history = []; H.pointer = -1; H.save = function () {h.history = h.history.slice (0, h.pointer); H.history.push (im.Stage.createCopy ()); H.movePointer (1); }; H.movePointer = function (diff) {h.pointer + = diff; (H pointer & lt; 0 & amp; amp; (h. Pointer = 0)); (H pointer> = h.history.length & amp; amp; (h.pointer = h.history.length-1)); Returns H. Pointer; }; H.render = function () {im.Stage = h.history [h.pointer] .createCopy (); Im.Stage.draw (); }; H.undo = function () {h.movePointer (-1); H.render (); }; H.redo = function () {h.movePointer (1); H.render (); }; }; How can I make an exact...

- Where Developers Learn, Share, & Build Careers

For my code, I receive an unread message from the exchange, processing something based on that message, and Then respond to the message I did with the results of the processing. The problem I have is that when I try to answer the email, I get an error when I answer. message. () Or SendAndSave (): Response message: Current ChangeKey is required for this operation Below is the code that I'm running that this error Is triggering: public invalid answerToEmail (email message _mail message, string _reply) {string serviceManager = emailServerAddress = ConfigurationSettings.AppSettings ["serviceManagerEmail"]. Trim (); Feedback message response message = _emailMessage.CreateReply (true); ResponseMessage.BodyPrefix = _reply; String change = _emailMessage.Id.ChangeKey; If (! ServiceManager.Equals ("")) {responseMessage.CcRecipients.Add (new email address (service manager)); } ResponseMessage.Send (); } I am able to check the price via the _MailMessage ch...

- Where Developers Learn, Share, & Build Careers

I have a button that is inside a repeated view inside an NScLuplayview. I can tie the title of a button to one of the properties in my model class, but I want to wire one of the selectors of my model class to the button selector. Obviously, the button must send a message to the model object related to the related collection view item. I managed to tie the target for the button, but how to set the selector? If possible, I want to do this in the interface builder ... I understand it in IB A selector is a text box that specifies the path text box where I bind to the target. I do not know why I did not see it. I spent nearly an hour to solve this issue.

javascript - Backbone view to re-render if any other view gets rendered -

I have a tooltip view, when one element is fun with any class .tooltip Takes the content of that element to the data-tooltip and displays it in the tooltip. I force incidents for TooltipView in the initial function but the problem is that if any other view is dynamically created or re-rendered tooltip view does not know about it var tooltip view = backbone.View Extension ({L: '# tooltip-container', start: function () {$ ('. Tooltip'). ('Mouseover', function () {....}}} I know that when I sing, I can manually trigger the event from each scene, but is it far from tooltip view to do this? I wanted to re-submit the TooltipView only To do and then listen to any view to listen. Perhaps the engagement of events at high DOM level will work for you: initialize: function () {$ ('body'). ('Mouseover', '.tooltip' Function) {....}} Do not forget to share it later

php - Most Efficient Way to Delete Nested Array Element -

कहो मेरे पास निम्न है: Array ([0] = & gt; Array [आईडी] = & gt; 1 [आइटम] = & gt; पहला आइटम) [1] = & gt; ऐरे ([आईडी] = & gt; 3 [आइटम] = & gt; दूसरा आइटम) [2] = & gt; ऐरे ([id ] = & Gt; 5 [आइटम] = & gt; तीसरा आइटम)) मैं आइटम को id = 5 से हटाना चाहता हूं। मुझे पता है कि मैं सरणी और अनसेट, लेकिन मैं एक अधिक प्रत्यक्ष / कुशल समाधान की उम्मीद कर रहा हूं। यदि आप नहीं कर सकते आईडी को बाह्य सरणी की चाबियाँ बनाने (फिर आप बस unset ($ arr [5]) का उपयोग कर सकते हैं; ), सरणी पर पाशन करना वास्तव में डीजी का तरीका है। foreach ($ कुंजी $ $ कुंजी = & gt; $ value) {if ($ value ['id'] === 5) {unset ($ arr [$ key]); टूटना; }} एक और विकल्प का उपयोग होगा - यह कम कुशल है, क्योंकि यह एक नया सरणी बनाता है: $ arr = array_filter ($ arr, function ( $ मान) {वापसी $ मान ['आईडी']! == 5;});

- Where Developers Learn, Share, & Build Careers

In a WPF project, what type of class is the main class of the main word class? Because of what I am asking for, because in Project Design Base on MVVM, I see some functions that the main windows Can be controlled by Xaml.cs or its code has been applied to the app class instead. Thank you. The main window is usually StartupUri in App.xaml You can remove StartupUri in App.xaml and override OnStartup such as App.xaml.cs safe override zero start (startup eventsErgus E) {var mainWindow = new main window (); Main window DataContact = & lt; Your Datacontex & gt; MainWindow.Show (); }

java - Boolean in a method not returning correctly (array formal paramater) -

I am trying to create a CE-lo program in simple, simple Java. I'm just learning. However, when I get my immediate w (I have simplified it for testing) it just always loses, I can not know why it also shows the correct figures, but when it compares it it fails . public class ceeLo {public static zero main (string [] args) {scanner scan = new scanner (System.in); Int [] die = new int [3]; Integer answer; Boolean roll = true; Boolean quiffed; Boolean Immediate W; Boolean Immediate L; Do {System.out.println ("Roll Dice?"); Answer = scan.nextInt (); If (answer == 0) roll = wrong; Else {int i; (I = 0; i & lt; die.length; i ++) for {die [i] = rollin (); Println (diceTxt (die [i])); } Clifed = (Eligible (Die)); System.out.println ("Qualified =" + Qualified); InstantW = (easy (dead)); System.out.println ("instant win =" + instant w); }} While (roll); } // Generate Random Numbers for Roll Stable Constants Roll Roll () {Random Rand = New Random (); Int...

- Where Developers Learn, Share, & Build Careers

I am trying to create a CE-lo program in simple, simple Java. I'm just learning. However, when I get my immediate w (I have simplified it for testing) it just always loses, I can not know why it also shows the correct figures, but when it compares it it fails . public class ceeLo {public static zero main (string [] args) {scanner scan = new scanner (System.in); Int [] die = new int [3]; Integer answer; Boolean roll = true; Boolean quiffed; Boolean Immediate W; Boolean Immediate L; Do {System.out.println ("Roll Dice?"); Answer = scan.nextInt (); If (answer == 0) roll = wrong; Else {int i; (I = 0; i & lt; die.length; i ++) for {die [i] = rollin (); Println (diceTxt (die [i])); } Clifed = (Eligible (Die)); System.out.println ("Qualified =" + Qualified); InstantW = (easy (dead)); System.out.println ("instant win =" + instant w); }} While (roll); } // Generate Random Numbers for Roll Stable Constants Roll Roll () {Random Rand = New Random (); Int...

java - Can not convert attribut "type" in xml string to json string by Restlet StringRepresentation class -

My XML string contains a "Type" attribute, for example: After converting, I came to know that everything is fine, besides the specialty "type" which is not in the result of the JSSN string. I know that "type" is a special name in many cases. Is there any configuration in the restlate, can I set the string repetition class to "type" as the normal attribute name? Answer this is the solution that you have set the Internet enabled (incorrect) in XMLSerializer. XMLSerializer filtered the attribute "type", not string presentation. Here's the code: XMLSerializer serializer = new XMLSerializer (); Serializer.setTypeHintsEnabled (false); Results = New String Repection (serializer.read (xml) .toString (), MediaType .APPLICATION_JSON, Language.ALL, CharacterSAT.UTF_8);

in Ruby, how to extract a key from the Hash having the value -

I thought I'm Ruby huge when I wrote this: # this hash Hash = {'Portugal' = & gt; 1, 'France' = & gt; 2, 'USA' = & gt; 3} # country_id input comes from country_name =. (Hash .select {| k, v | v == country_id.to_i} .first || []). First This is to be removed in the right way, the country's name and if the country is not found then it does not fail. I am completely happy with it. Although my tutor says that according to readability it can be customized, length and performance! What can be more clear / sharp than this? Please give advice OK, it seems that your tutor is right :) You can do this: hash.invert [country_id.to_i] # will work on all editions Or, as suggested by @littlecegian hash (country_id.to_i) will work on # 1.9 or, as is done by @steenslag Recommended hash.index (country_id.to_i) will work on # 1.8 and 1.9, with a warning on 1.9 with / past> full example: hash = {'Portugal' = ...

- Where Developers Learn, Share, & Build Careers

I do not understand why I'm getting the error message when trying to update a recipe This is my output of rack routes Recipes GET / craps (.: Format) recipes # index post / repections (.: Format) recipes # create new_recipe / recipes / new (.: Format) Recipes # New Edit_Please / Receive / Edit / Edit Content (.: Format) Recipes Edit Recipe / Crazy / :( (.: Format) Recipes # Show PUT / Repipes /: ((:: format) Recipes # Update DELETE /recipes/:id(.:format) Recipes #Foot Root / public_pages # Index My Controller looks like this def edit @ recipes = acupuncture.fund (param [: id]) end DEF update @recipe = recipe.find (Params [: id]) If @ recipe.update_attributes (Param [: recipe]) redirect_to recipes_path, notice = & gt; "Successfully updated recipe" and render: verb = & gt; edit R 'End End and my link to edit the post & lt;% = link_to "edit method", edit_recipe_path (@recipe )% & Gt; is a complete error (this is when the ...

php - How to display multiple images on random? -

I have this script that I use to display random images with hyperlinks. Can anyone tell me how can I customize it to display 5 random images at a time, preferably without repeating the same image twice? & lt; Script language = "JavaScript" & gt; & Lt ;! - / * Random Image Link Script - Javascript Kit (http://www.javascriptkit.com) More than 200 free javascript! Updated: 00/04/25 * / function random_imglink () {var myimages = new Array () // Specify random images below. [3] = "Data / Advertising / Advertising 1 Page" Myimages [4] = "Data / Advertisement / Advertising 3 Pages" [3] = "Data / Advertisement / ad2.png" myimages [4] = "Data / Advertisement / Ad4.png "myimages [5] =" data / ad / ad5.png "// different imagelinks = new Array () imagelinks specified link below [1] =" http: //www.javascriptkit.com " [2] = "http://www.netscape.com" Fictional Indication [3] = "http://www.microsoft...

c# - How to detect real-time change of text files? -

I have asked to write a small PC device to read log files using C # or Java. The log files will be in .txt format. An application is running and writing a log, and I want my device to open the logs at the same time and automatically refresh when a new line is written on the log file. My challenge is, how do I identify log file changes, so that my device has the ability to display real time? This is a common question, but the pseudo code will be highly appreciated! You can use FileSystemWatcher class () However be careful, If you try to open the file, while the other process is writing the file, then you will probably be denied Access.

javascript - separating output integers to two values -

var वर्तमान पृष्ठ = "www.javascript.com/dun/1.70 80"; Var url = getMeasurementsFromUrl (वर्तमान पृष्ठ) दस्तावेज़.लिखित (यूआरएल); फ़ंक्शन getMeasurementsFromUrl (url) {var urlMeasurmentString = url.substring (url.lastIndexOf ('/ डन /') + 5); UrlMeasurmentString = urlMeasurmentString.replace ("abcdefghijklmnopqrstuvwxyz", ""); UrlMeasurmentString = urlMeasurmentString.replace (",", "।"); UrlMeasurmentString = urlMeasurmentString.replace ("/", "।"); UrlMeasurmentString = urlMeasurmentString.replace ("-", "।"); UrlMeasurmentString = urlMeasurmentString.replace (",", "।"); UrlMeasurmentString = urlMeasurmentString.replace ("/", "।"); UrlMeasurmentString = urlMeasurmentString.replace ("-", "।"); वापसी urlMeasurmentString; } â ???? मुझे आउटपुट को विभाजित करने की आवश्यकता है जो कि '1.70 80' से दो व्यक्तिगत पूर्णांक v...

eclipse - "starting Tomcat server 7 at localhost has encountered a prob" -

In your eclipse, trying to configure Tomcat but "Port 8080 is essential for localhost by the Tomcat v7.0 server that is already in use. The server may already be running in another process, or a system process You may need to stop the other process or change the port number (numbers) to start this server. " I tried to set the tramaterate several times but by killing this error, do I need to do anything in my eclipse? View server in the double-click on Tomcat and select the HTTP port ports to something else. Navigate to Server in the Package Explorer and go to connector port inside server.xml file .

java - Reusing test implementations in JUnit 4? -

मेरे पास एक इंटरफ़ेस है, जैसे: सार्वजनिक इंटरफ़ेस थिंग {फ्रॉब रेसल्ट फ्रोब (फ्रोबइनपुट) ; } और उस अंतरफलक के कई कार्यान्वयन (जैसे सामान्य टाइपिंग , ImmutableThing , AsyncThing ) कि मैं हूं परीक्षण करने की कोशिश कर रहा है। मेरे कई परीक्षण विधियां वास्तव में यह सुनिश्चित करने के लिए हैं कि इंटरफ़ेस सही ढंग से लागू किया गया है, और इस प्रकार प्रत्येक थिंग कार्यान्वयन में दोहराया गया है ज्यूनिट 3 में इसका एक आम समाधान एक आधार वर्ग (विस्तार TestCase ) होता है जिसे प्रत्येक कार्यान्वयन वर्ग द्वारा उप-क्लास किया जाता है। लेकिन क्या यह ज्युनिट 4 के लिए सही दृष्टिकोण है? वरीयता के आरोही क्रम में (मेरा मानना ​​है) संभावित विकल्प: दोहराया टेस्ट पेस्ट करें तरीकों। बिल्कुल सूख नहीं है, लेकिन मुझे लगता है कि उत्पादन कोड में होने की तुलना में परीक्षणों में कम चिंता की बात होगी। विधियों के साथ एक अमूर्त वर्ग बनाएं, और प्रत्येक कार्यान्वयन टेस्ट क्लास के लिए इसे उप-वर्ग (आम तौर पर ज्यूनेट 3 परीक्षणों के साथ देखा गया है - क्या यह अभी भी एक अच्छा तरीका है कि यूजिट 4 में जाना है...

android ndk - Dealing with OpenGL ES 2.0 driver bugs -

I am currently Android running a 3D C ++ game from IOS via NDK. Rendering is done with GLES2 when I finish typing all platform specific stuff and playing the game for the first time, I saw the rendering of bugs - sometimes only parts of geometry will be presented, sometimes Large triangles will flick through the screen, and so on ... I tested it on Galaxy Nexus 4.1.2. glGetError () did not return anything Additionally, the game has run well on all iOS devices. I started to suspect a driver bug and after hunting for several hours I realized that the problem was the use of VAO ( GL_OES_vertex_array_object ), the same renderer worked fine without VAOs and VAOs Produced crap with. I found this apart, I saw the same report and a staff member confirmed that this is actually a driver bug. All this started to think about me - how can I handle cases of confirmed driver bugs? Blacklisting specific devices and driver modifications, and not using the VAO on these devices. I do no...

regex - What regular expression can verify the format of this type of string? -

I have to verify that a string is in a certain format ... here are the rules. May contain a colon and / or dot. Both colon and dot are optional If any colon and / or point is specified then there should be at least one letter if both are specified Li> Only 0 or 1 colon and 0 or 1 dot is allowed Any string means more than one Unicode characters except colon and dot (colon And dot characters are not allowed as part of AnyString ). Example: Maybe ... AnyString: AnyString.AnyString AnyString: AnyString AnyString.AnyString AnyString can not be ... AnyString: .oststring AnyString.AnyString: AnyString AnyString: AnyString: any string Any string I have tried too many combinations and I am not enough just to get it on regular expressions. Thanks in advance OK, it looks like this: This definitely starts with one or more non- This optionally contains one or more colon after the non-colon or dot characters This is a dot after alternatively ...

c - What is the difference between static const and const? -

संभव डुप्लिकेट: स्थिर const और const के बीच अंतर क्या है? उदाहरण के लिए: स्थिर const int = 5; Const int i = 5; क्या उनके बीच कोई अंतर है? आप दूसरे पर एक का उपयोग कब करेंगे? अंतर लिंक है। // फ़ाइल गुंजाइश पर स्थिर const int = 5; // आंतरिक लिंकेज सीआर int i = 5; // बाह्य संबंध यदि i ऑब्जेक्ट अनुवाद यूनिट के बाहर प्रयोग नहीं किया जाता है, जहां इसे परिभाषित किया गया है, तो आपको इसे स्थिर स्पेसिफायर। इससे संकलक को (संभावित रूप से) अधिक अनुकूलन करने में सक्षम बनाता है और पाठक को सूचित करता है कि ऑब्जेक्ट को इसके अनुवाद इकाई के बाहर प्रयोग नहीं किया जाता है।

Work in R with very large data set -

I am working with a very large data set which I am downloading from Oracle data base. There are approximately 21 million rows and 15 columns in the data frame. My OS is Windows XP (32-bit), I have 2 GB RAM. I can not upgrade my RAM or my OS (it's working before I take a decent PC before it will take months before ). Library (RODBC) sqlQuery (Channel1, "Select * from table 1", stringsfactor = falls) I already have "vector from here" Can not allocate XMB to "I got stuck with. I got a suggestion about using the ff package. I would like to know if someone familiar with the FF package can tell me that this will help in my case. Do you know another way to get around the memory problem? Will 64-bit solution help? Thanks for your suggestions. If you are working with package FF and have your data in SQL, you can easily Bring them in the FF package, see the documentation for example when using ROracle In my experience, the FF is fully compatible wi...

Sitecore - What are the pitfalls of storing content in the renderings field -

I want to know if someone has experience using parameter fields to store in site content. If so, what are the flaws? In some cases, it seems like a lucrative idea because you can add subtle outlets to a page several times without creating a child's items and setting one's data source to each one of these children. Item .... but there are some disadvantages of inserting content in the rendering field: This solution is not localizable because the reading field is shared, so no good for multi-language Sites To edit the content (using the content editor) you will need to switch to the presentation tab, click on the details, select the celebration and then render Edit the parameters with a bit cumbersome. Is there any more serious consequence of adopting this approach? There is no way to enable the field for page editor. You can complete it easily by using Page Edit R and setting up a data source template and data source location on your sublayout. I wil...

powershell - Getting Date from a file on a remote FTP Server -

एक फ़ाइल प्राप्त करने के लिए, विधि इस तरह दिखती है: $ ftprequest.Method = [System.Net.WebRequestMethods + Ftp] :: DownloadFile तो, मैं नीचे सी # कोड के बराबर होने के लिए विधि को बदलने की कोशिश कर रहा हूं: अनुरोध। विधि = System.Net.WebRequestMethods.Ftp.GetDateTimestamp; मैं powershell में GetDateTimestamp उपयोग कर सकते हैं कैसे मैं अभी तक किसी भी भाग्य के बिना निम्नलिखित रूपों की कोशिश की है: $ ftprequest। विधि = [System.Net.WebRequestMethods + Ftp.GetDateTimestamp] $ ftprequest.Method = [System.Net.WebRequestMethods + एफ़टीपी + GetDateTimestamp] $ ftprequest.Method = [System.Net.WebRequestMethods.Ftp.GetDateTimestamp] $ ftprequest.Method = [System.Net.WebRequestMethods.Ftp + GetDateTimestamp] बोनस प्रश्न: क्या है: पहला कोड उदाहरण मतलब क्या है? धन्यवाद! यह काम करने लगता है: $ ftprequest.method = [System.Net .WebRequestMethods + एफ़टीपी] :: GetDateTimestamp :: साझा पहुंच के लिए है / स्थिर सदस्यों, जो GetDateTimeStamp है।

c++ - Using boost::ref to indicate intention in coding conventions -

When a function takes a non-conference riff as a logic, it can make a hard-to-read code Because on the calling site it is not clear what input can be changed for example, for example zero function (int input, int * output) instead of those pointers applied Have to lead some code conferences; Int input = 1, output = 0; Funk (input, and output); instead of zero function (int input, int and output); Int input = 1, output = 0; Funk (input, output); Personally, I hate using the pointers because I need to check the null. It is surprising to me that to promote: Riff (or CT + :: 11 for std :: ref) can be used to indicate intent: Void func (int input, int & amp;; output); Int input = 1, output = 0; Funk (input, boost :: ref (output)); This will be used as the company coding conference. My question is, is there any reason why it would not be a good idea? This is not a bad idea, but it's not really implemented (as Piorranez notes). It is effectively just a com...

windows - Access 2010 on shared server compile troubles -

I have an Access 2012 application that works just fine until my equivalent in the city tries to run it . We share a server when I compile it, then it can not run it. When he compiles it, the roles are reversed, he can run it, but I can not. The entry version is the same, what do I not understand here? defining faulty system First of all, You should check that the machines are likely to be the source of the problem to you or your colleague. If you have separated a special machine where the problem arises, then it can be a good thing to completely uninstall and restore the office; Shared Databases When you call Shared Server , then I hope that you are not running your Access database from a shared network folder, But instead it is divided into backend databases (which includes the data and located in the shared network folder) and a front-end database (which includes forms and reports and runs on each user's machine). If you are allowing users to run the .accde ...

- Where Developers Learn, Share, & Build Careers

When I try to run a php code working on my local host instead of a web server, Getting the error. WARNING: mysqli :: mysqli () [mysqli.mysqli]: [2002] Connection refused Any ideas how the MySQL username , DB, and password to work from my local machine? I'm using OS X Mountain Lion and Apache. Thank you! Itemprop = "text"> Unless you have the default password root to connect to the local host If not, then something like this will happen: connect_errno) {echo "failed to connect to MySQL: (" MySqli-> Connect_errno. ")". $ Mysqli- & gt; Connect_error; } Echo $ mysqli-> Host_info "\ N"; $ Mysqli = new mysqli ("127.0.0.1", "user", "password", "database", 3306); If ($ mysqli-> connect_errno) {echo "failed to connect to MySQL: (" MySqli-> Connect_errno. ")". $ Mysqli- & gt; Connect_error; } Echo $ mysqli-> Host_info "\ N"; ? & Gt;...

batch file - Deployment script - Not sure where to start -

Trying to deploy an application on a remote Linux server automatically from your Windows machine. I am trying to find an acceptable method to do this. Script is required: Copy some files from my machine to server (Python code files, javascript, HTML files, etc ...) Restart the SSH and Dev Server applications in the remote Linux server I'm not sure that I should use a windows batch file for it, a script that is putty, or Something else I do not know In the right direction a poke greatly appreciated Will go! How about? You have set up PUB authentication and can only file the SCP.

jsf 2 - Primefaces: selecting rows from nested DataTables -

I am using Primefaces 3.4 and Groovy. I created the object part and the attachment : square section {attachment selectedAttachment from the list & lt; Attachment & gt; Attachment = [] AttachmentDataModel getAttachmentModel ()} class attachment {string fileName string filetype string description} {new attachmentDataModel (return)} My idea is to have DataTables like: & lt; P: DataTable value = "# {mybean.parts}" var = "part" provided = "# {mybean.attachmentsFound}" & gt; & Lt; P: column & gt; & Lt; P: DataTable var = "attachment" selectionMode = "single" value = "# {part.attachmentModel}" selection = "# {part.selectedAttachment}" & gt; & Lt; P: column headerText = "file name" & gt; # {Attachment.fileName} & lt; / P: column & gt; & Lt; P: column headerText = "file description" style = "width: 200px" & gt; # {Attachment....