Posts

Showing posts from February, 2012

linux - LibreOffice Math Subscript ? Bug -

लिनक्स पर libreoffice का उपयोग करते समय आप टाइप नहीं कर सकते V सब गणित के संपादक में और वास्तव में अंदर आ जाते हैं। जगह में एक प्रश्न चिह्न है जैसे मैंने टाइप किया है V उप? कैसे हल करें? "इन" उप के बाद "" फ़ंक्शन बुलाए जाने

How do I declare a Chef file resource whose contents depend on cookbook files? -

I need to deploy a file fileC which is a combination of two other files fileA and fileB . In my current setup, the three files are in the cookbook, which has been declared a cookbook file resource. But it is unnecessary that I would like to announce the big file as the function of two other people. When I needed the fileC before, I found the file resource's content to be "almost done" by destroying IO.read (file1) + IO.read (file2) as . But as soon as the recipe is deployed to a node, because fileA and fileB are not present at the compilation time. I tried to use the information of Ruby objects where the cookbook can be deployed. But the more I saw, the more I believed that my chef / ruby ​​is possible with the level of knowledge. The resource provider gap looks very broad. I would like to avoid the solution of the cat fileA fileB> fileC type for the following reason: In the future, I will need to reduce nodes which require nodes from C That i...

Ruby on Rails - Import CSV file -

I am following this tutorial but doing something wrong because I get a silly error when I make my own I'm trying to object Undefined Continuous Quanta Contents Controller :: False I can read the file without problems, but this error is giving me a headache! Any help would be appreciated! The method of importing into my controller (cuenta_contable_controller.rb) looks like this; Class quantacontributions controller & lt; ApplicationController .... DRF Upload (Parameters) logger.info "** File Loaded ***" infile = params [: file] .read n, errs = 0, [] @archivo = [] SV.prese ( Infilay). Line | N + = 1 # SKIP: Header i.e. The first row or empty line next if n == 1 or row.join.blank? Cuenta_contable = CuentaContable.build_from_csv (line) if cuenta_contable.valid? Cuenta_contable.save @archivo & lt; & Lt; Row and forgets & lt; & Lt; End of line end logger.info flash [: success] = "Las Quant's Contrables Fireon Corps." Response_to do |...

cookies - How to save previous filter settings for report using SQL Server Reporting Services -

I have a report running on the SQL Server Reporting Services that is provided in the browser. There are several report parameters in this: Is there any way to save the values ​​of standards for the next run? For example, I parameter "result from date", some time ago, view the report, then set off the browser and then open it again - this will be the value of the parameter that was set in my previous session . Is this possible? Look at the little gem. From the article: ... a method to increase the reporting services to report them ... Remember the parameter selection so that they can run the report next time They re-select the same parameters to meet.

- Where Developers Learn, Share, & Build Careers

The UI of my web app is mostly built with excellent knockout.js. This is showing some layout errors in IE8 under IE7 compatibility mode. I've tried to add a meta tag to force the benchmark mode: & lt; Meta http-equiv = "X-UA-Compatible" content = "IE = edge" /> However, in IE 9 under IE 9 compatibility view (which I believe to be) That some users will be set) This causes an error when knockout bindings it: DOM exception: INVALID_CHARACTER_ERR (5) I get lots of reference to this error on the net Got it - the way DOM elements have been created - but obviously I'm not controlling it, is a knockout. To render all current and future versions of IE, to render in standard mode, there is a strong and minimal way to do the Hummy method, which makes Knockout.js DOM Is also compatible with? Apart from this, any knockout.What can be expanded on what JS is doing here, which does not like IE9? thanks a lot. Update: I have separated at least one ...

- Where Developers Learn, Share, & Build Careers

मेरे पास इस तरह एक डेटा फ्रेम है: Expt एक ए ए 2 ए 3 रीप्लिकेट बी 1 बी 2 बी 3 सी 1 सी 2 सी 3 सी 4 मैं प्रत्येक प्रयोग के लिए प्रतिकृति की संख्या वापस करना चाहता हूं। इस तरह: Expt #Reps A 3 B 3 C 4 यह सुपर आसान हो गया है, लेकिन मैंने कुछ चीजों की कोशिश की है ddply (df, expt, .fun = max (replicate)) कोई भाग्य नहीं के साथ कृपया मदद करें। एक और आसान तरीका: सारांश (df [ , 1]) #where df आपका डेटा फ्रेम है और आप पहले कॉलम की गणना चाहते हैं ("एक्स्प्ट") नोट: पहला कॉलम एक फ़ैक्टर है और यह किसी भी कॉलम पर लागू होता है जो कि फैक्टर है

- Where Developers Learn, Share, & Build Careers

I have 2 radio buttons inside a radio group right now they are standing vertical I tried to put them in a horizontal container , But it did not mess up. Can there be a radio group button for the line horizontally? pre & lt; LinearLayout xmlns: Android = "http://schemas.android.com/apk/res/android" Android: layout_width = "fill_parent" Android: layout_height = "wrap_content" Android: orientation = "horizontal" & gt; & Lt; RadioGroup Android: id = "@ + id / radioSex" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" & gt; & Lt; Android: layout = "wrap_content" android: text = "chat_content" android: text = "chat" & Lt; Android: layout_height = "wrap_content" android: text = "players" Android: check = "true" /> & Lt; / RadioGroup & gt; & Lt; Android: text = "home" Android: ...

How to generate exponentially increasing range in Python -

I want to test the execution of some code that uses a fast moving value. That is, because it is added in numbers as an additional number, increments 10 times. This is how I am doing this way but it looks a bit disappointing. Suggestions for improvement without introducing non-standard libraries? numbers_symmetry = 100 increments = 100 numbers_relegance = 1000000000 while numbers_ size & lt; Number_time: T = time.time () test (number_size) taken_t = time.time () -t print number_size, test, taken_t increment = 10 ** (lane (straw (number_size)) - 1) number_size + = increments To create the same number as your code:

javascript - How to use Blueimp jQuery file uploader with PHP? -

I'm trying to apply the bluepp jQuery file uploader and it's a disappointing time to work in my PHP-based site Used to be . My main problem is with AJAX What do I want to do after uploading, It redirects (let's say) abc.php . After uploading (earlier redirecting page), I want to save the filename to the MySQL database. I know how to handle the database with PHP, but I do not know how I can not put my PHP code. / P> For the first problem I think that I main.js $ (function () {'strict experiment'; // initialize JQuery File upload widget: $ ('# fileupload') Enable iframe cross-domain access via the Fileupload (); // redirect option: $ ('# fileupload'). Fileupload ('option', 'redirect', Window Location.href.replace (/ \ / [^ \ /] * $ /, '/cors/result.html?%s')) // Load existing files: $ ('# fileupload'). (Function () {var that = this; $ .getJSON (this.action, function) {if (result and amp; result.le...

perl - Using my() changes XML::Bare behavior drastically -

When I run this Perl script: #! / Bin / perl XML:: bare; $ Ob = new XML :: berre (text = & gt; 'lt; xml & gt; name & gt; bob & lt; / name & gt; & lt; / xml & gt;'); For $ I (key% {$ ob-> {xml}}) {print "key: $ i \ n";} I did not get any output. However, If I put $ ob inside my () : then #! / Bin / perl using XML :: Bare; Mine ($ Ob) = new XML :: berre (text => gt; 'gt; & lt; xml & gt; & lt; name & gt; Bob & lt; / name & gt; & lt; / xml & gt; ); For $ I (key% {$ ob-> {xml}}) {print "key: $ i \ n";} I get this output: key: _z key: _i key: xml key: _pos why my () changes this behavior so intensely , Especially at the top level, where should there be no effect of my () ? First of all, you should always start your Perl scripts use strict; Use warnings; This will inspire you to declare all your variables with my , which captures many typo and simple mista...

- Where Developers Learn, Share, & Build Careers

I know mysql_fetch_assoc which puts all data in one array from one line. Is there anything parallel to insert any data into an array? Such as the list of Title IDs and you may find everything you're looking for You can group all values ​​with commas using one line, you can use GROUP_CONCAT and then explosions () . PHP will create an array like this (after executing the query): $ col_array = explosion (',' $ line ['kernel']);

math - Implementing function trees in C# -

Imagine that you have a number of nodes that can be either operator nodes ( Unary or binary operators), or terminal nodes (static). I have just started putting a finger on the keyboard and I have a small snag I have a node interface, operator: node , BinaryOperator: Operator , UnaryOperator: operator and created Terminal: node build. And here I am with my problem. Can I now create a separate square for each closest function? Do I have a SinOperator: UnaryOperator and CosApterator: aun ary operator and AddOperator: BinaryOperator and so on? Alternatively, I can leave it only on binary and unit operators and pass it in a representative which evaluates the evaluation of the node, depending on the value of its hair nodes. var sinOperator = New UnaryOperator (childNode, Representative) {return mathematics.sine (childNode.GetValue ());}); But then there really is nothing that can be prevented from inserting all kinds of crazy stuff from the reporter, complet...

- Where Developers Learn, Share, & Build Careers

I have a simple cocaine test, to see that, upon entering the illegal identification, the user will return to the registration page Is sent. / P> My last step looks like this: then / ^ I should be at the registration page $ / current_path.should == new_user_registration_path end However, when one submits a form and it comes back with errors, they actually end up with "/ user", and not "/ users / sign_up" I am assuming this because the users / users of the registration method methods / users but the symbol for testing for me / users Should protect it does not, because it was an indicator of the presence of users, that I do not want an error page. Is there a better way to test form errors in the rail? You should check that the page on which the user ends is in the error text of cucumber examinations Test as if you were manually testing: url will not be checked after form submission, but you will see in page content to understand whether submissio...

- Where Developers Learn, Share, & Build Careers

Image
In Eclipse CDT, I have several build configurations. I want to create them all at once. They can be made in parallel or serial, it does not matter, there is no dependency. What I see is a one-click build that will compile all the build configurations with the same action. In the preferences dialog (in "Window" menu on Windows, and on "Eclipse" on OS X) ), In C / C + + subtitle - & gt; Create a sub-tree, there is an option to choose "Create all configurations in each project" See the screen shot:

php - Regular expression to find all A tags which do not contain tag IMG inside it? -

मेरे पास एक HTML कोड है: & lt; a href = "/ in-bai -viet - Choang-n20120711033726647.chn "लक्ष्य =" _ रिक्त "& gt; में & lt; आईएमजी src =" / छवियाँ / प्रिंटर पेज "alt =" बीएआई viết n "y में" / & gt; & Lt; / a & gt; & Lt; एक लक्ष्य = "_ रिक्त" rel = "nofollow" href = "http://ttvn.vn/" & gt; थियेंम लाम - टीटीवीएन & lt; / a & gt; & Lt; a href = "/ tinh-yeu-hon-nhan / 20120709102954599 / चे-लैंग- .chn" title = "'abc'" & gt; एबीसीडी & lt; / a & gt; मुझे उस सभी टैग को हटाने की जरूरत है जिसमें आईगग टैग शामिल नहीं है। मैं इस नियमित अभिव्यक्ति का उपयोग कर रहा हूं: preg_replace ('/ & lt; a (। *) [^ Img] (। *) & Lt; \ / a & gt; / सी', '', $ स्ट्रिंग); मैंने भी ^ (?!। + & Lt; img। +) & Lt; a href = \ "? \ '?। + \"? \'? & Gt; । & Lt; / a & gt; $ लेकिन असफल। ...

ruby on rails - heroku/cli.rb:30:in `start': undefined method `error_with_failure' -

I was wrestling with the SS key and uploaded a new one, then I started it properly So it shows me on the landing page We are sorry, but something went wrong I found in the stack overflow that It may be that I have not run yet > myoku rake db: migrate (which does not say any standard documents!) But when I Think that I run it: user Computername & gt; / Usr / bin / heroku: 28 From the "startup": Heroku :: helpers: modules (nomethodError) in / .Haroku / client / lib / heroku / cli.rb: 30: For this file the code looks like 'error_with_failure' it: def self.start (* args) if $ stdin.isatty $ stdin.sync = true end if $ stdout .isatty $ stdout.sync = true end command = args.shift rescue "rescue" haroka :: command. Load Heroock :: Commander Arne (Command, Argus) rescue interrupt `static economy echo 'error (" command canceled ") = rescue => Error if Heroko :: Helpers Terror_fail failure I have seen Some have come...

Remote User's hostname + App Engine Python -

इसी प्रकार: रिमोट-एडीडी - रिमोट यूजर के आईपी एड्रेस। self.request.remote_addr इसके बजाय, क्या दूरस्थ उपयोगकर्ता के होस्टनाम को प्राप्त करने का कोई तरीका है? आधिकारिक दस्तावेज के अनुसार, रिमोट प्राप्त करने का विकल्प नहीं है, ऐसा लगता है कि ऐसा कुछ ऐसा ही हो सकता है, self.request.hostname उपयोगकर्ता का होस्टनाम मैं मेजबाननाम + आईपी के संयोजन के साथ एक मशीन की विशिष्ट रूप से पहचान करने की कोशिश कर रहा हूं, क्योंकि कुछ उपयोगकर्ता इंटरनेट गेटवे साझा कर सकते हैं, इस प्रकार ऐसा एक ही आईपी पता संभव है और इससे आईपी पता नहीं होगा पर्याप्त अद्वितीय। इस पर कोई सलाह? या कम से कम, क्या किसी अज्ञात पहचान वाली मशीन की विशिष्ट रूप से पहचान करने के लिए वैकल्पिक तरीका सुझा सकता है? टी यह HTTP पर संभव है लगता है आम तौर पर, इस प्रयोजन के लिए कुकीज का उपयोग किया जाता है।

java - Is it (or not) encouraged to use inner class in Android development? -

I have read in a book that using an internal class will make the app bigger (many internal internal square per-kilometer), But is there any concern about the performance? I looked at internal classes used in Google's sample code, but in general, are or are encouraged to use internal organs in Android? Thank you! 1 When you want to apply the interface method more than 1 time and more than 1 way in the same class. 2. Anonymous class is the best way to build reward handlers. 3. Using top level orbits (i.e. stable internal orbit) will be mild, because it is like an external class, which does not have any underlying reference to an external class. The non-static inner square will be a bit overhead, because it holds the underlying context for the outer orbit. Example: Example: Public Class Outside { Int x = 10; Class internal {int x = 5; Public Zero () {System.out.println ("Inner X:" + this.x); // Ink Class System.outprintln ("Inner X:" + E...

Using preexisting/system translations with gettext? -

I am writing a small program (javascript, but I do not think so) and it The only string that needs to be translated is 'Minimum', 'Maximize', 'Restore', 'Close' etc. They should be translated anywhere, is not it? Since I right-click the window's system title bar, I get a menu with these very options (I'm using Linux). Is there any way, I can use these previously translated translations to do them again (which translates to complete a few of the happy translators to volunteer for some time Looking for a group)? Is it a matter of finding the right gettext domain? At this time I am setting it up at this time (this is in JavaScript but it is actually irrelevant to the question): const Gettext = importorts.gettext.domain ('foobar-gettext - Domain'); Const _ = Gettext.gettext; OK, so on more reflection, I realized that I know that How to use the existing translation in the gatetext asdf , just do const Gettext = imports.gett...

- Where Developers Learn, Share, & Build Careers

I'm trying to create a UIButton that has an image in it, gradually changing the alpha level and gradually blur Seeing Loading ... Currently I am doing this but it does nothing .... - (zero) loopdaleop {while ( MyCount & lt; 1000) {[UIView Animated Width: 3.0 Delay: 0.0F Option: UIViewAnimationCurveEaseOut Animation: ^ {iconButton.alpha = 0.0; } Closing: ^ (BOOL Finish) {if (Ended) {NSLog (@ "Animated"); }}]; [UIView Animation: 3.0 Delay: 0.0f Option: UIViewAnimationCurveEaseOut Animation: ^ {iconButton.alpha = 1.0; } Closing: ^ (BOOL Finish) {if (Ended) {NSLog (@ "Animated"); }}]; MyCount ++; }} This method is called by the ViewedLoad method, I know very crude, but my best effort, if you know it How can I achieve it? It will be highly appreciated. viewDidLoad in your button layer: CABasicAnimation * pulseAnimation = [CABasicAnimation Animation WithKeyPath: @ "transform.scale"]; PulseAnimation.duration = .5; Pulse animation. ...

serial port - making call from gsm modem in C# -

I want to call GSM modem using C # I've written the following code, but I'm unable to call. Please tell me what the mistake is also tell me how to handle the response to the code from the modem so that I can display the message like "Call connecting" or "Can not connect". Private Zero Button 1_Click (Object Sender, EventsErgus E) {Serial Port PO = New Serial Port (); Po.PortName = "COM3"; Po.BaudRate = int.Parse ("9600"); Po.DataBits = Convert toInt32 ("8"); Po.Parity = Parity.None; Po Port = stop One; Po.ReadTimeout = int.Parse ("300"); Po.WriteTimeout = int.Parse ("300"); Po.Encoding = Encoding.GetEncoding ("iso-8859-1"); Po.Open (); Po.DtrEnable = true; Po.RtsEnable = true; Po.DataReceived + = New SerialDataReceivedEventHandler (Port_DataReceived); Po.Write ("ATD9030665834;"); } Public Zero Port Data Reassembled (Object Sender, Serial Data ResourceAgent Eg E) {if (e.EventType == ...

jdbc - java mysql connection link failure Connection refused -

When customers connect to their SSQL server, leave exceptions last The packet server was 0 ms before. Sun.reflect.GeneratedConstructorAccessor112.newInstance (unknown source) at sun.reflect.DellegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27) on java.lang.reflect.Constructor.newInstance (Constructor.Java / 1313) at com.mysql.jdbc. on Util.handleNewInstance com.mysql.jdbc.SQLError.createCommunicationsException (Util.java:406) (SQLError.java:1074) on com.mysql.jdbc.ConnectionImpl.createNewIO (ConnectionImpl.java:2103) on com.mysql. Jdbc.ConnectionImpl. & Lt; Init & gt; (ConnectionImpl.java:718) at com.mysql.jdbc.JDBC4Connection & Lt; Init & gt; Sun.reflect.GeneratedConstructorAccessor110.newInstance at (JDBC4Connection.java:46) (unknown source) on the sun. Reflect. Configure Com.mysql.jdbc.Util.handleNewInstance (Util.java:406) java.lang.reflect.Constructor.newInstance (Knstrctorkjawa) 13) on com.mysql on Constructor Setor Inpl...

mysql - What is the equivalent of the mysql_insert_id() function in sqlserver? -

mysql_insert_id () MySQL फ़ंक्शन sqlserver के बराबर क्या है? निम्नलिखित पर एक नज़र डालें

How to publish directly on facebook or on twitter using Sharekit in IOS -

I have used sharekit to publish my Facebook project on Facebook and Twitter. But each time I share on Facebook or Twitter, a popup is coming and click on it, click on the button will be part of the content. The issue is that I do not want this popup and want to publish directly to Facebook or I got the solution. There is a function in SHKFacebook.m and SHKTwitter.m "Eeto Share" should return and your problem should be resolved. Thanks

Storing XML response from webservice into Rails model -

I am working on VMware vCenter on a custom portal through the VMware Orchestrator API. I am using Sven to ask the SOAP API (Oversight) of Oversstarter and it is to return valid data ... especially an XML that contains all virtual machines. What is the easiest way to capture the answer in the Rail model? The XML structure of the response is below ... & lt; Soapenv: envelope xmlns: soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: xsd = "http://www.w3.org/2001/XMLSchema" xmlns: xsi = "http: / /www.w3.org/2001/XMLSchema-instance "& gt; & Lt; Soapenv: body & gt; & Lt; FindResponse xmlns = "http://webservice.vso.dunes.ch" & gt; & Lt; FindReturn & gt; & Lt; TOTALCOUNT & gt; 4 & lt; / TOTALCOUNT & gt; & Lt; Elements & gt; & Lt; Items & gt; & Lt; Type & gt; VC: VirtualMachine & lt; / Type & gt; & Lt; ID & gt; Vc.demo.local / VM-37 & lt; / Id ...

- Where Developers Learn, Share, & Build Careers

I have a MySQL DB, which should be exported in the CSV file. Google told me about so many examples to do this, but all the examples are for exporting only one table. Can someone help export some data (given below) in a particular way? The album the artist Name Name Title ID artist_id Name There are FK fields in the title, which point to artist name and album name. P> 3 (title) John latest, first song John, work on progress, good song John, California, Oh SF - Luke, Mai songs, a song Luke, my songs, two Songs Luke, Archived Tom, My Works, Second Song - Tom, My Works, III Songs TIA You can create a view and export from there. Expand Mahesh's query: View View View as Visual Editor, name as artist_name, album.name as album_name, title.name AS Title , Titled Artist, Album, Title WHERE artist.id = title.artist_id and album.id = title.album_id; SELECT * FROM 'OUTFILE' example_output.csv 'FIELDS...

listing files from a FTP server directory in groovy -

I want to list all the files under a directory that is on the public FTP server. I tried the following New file ("ftp: //ftp.ex.yyy/a") .eachFile () {file-> Println file.getName () but I get an error URI / sample / getstatus / index class java.io.FileNotFoundException message / user / Any help is appreciated You can not understand an FTP site like your local file. This is the reason why you are getting this exception. Your code is looking at your local file system a little Being google Area after I found a code snippet for you. I will not be able to do not thinking without at least one third party library.

iphone - crop a zoomed image in ImageView inside scrollView -

Image
I already try very much from my side. Finally I need help Thanks Target: 1) How do I crop a zoomed image inside the scrollView? 2) How do I crop the image inside the image. I have an image view inside the scroll. I want a crop image after zoom in, which is displayed inside the scrollview range. I have already created an image, but this is not exactly what I have to do. Here I set the background scroller in my scrollView. And when I show the image inside it, then it is not fit. Then zoom the image inside the scroll view and after the crop image And my code is here: - (zero) viewDidoadload {[Super Viewedload]; CGRect frame 1 = CGRactam (50,50,200,200); CGRect frame2 = CGRactack (50,50,200,200); ImageView1 = [[UIImageView alloc] initWithFrame: frame1]; ImageView1.image = [UIImage imageNamed: @ "back.jpeg"]; ImageView1.backgroundColor = [UIColor Brown Collar]; ImageView1.contentMode = UIViewContentModeScaleAspectFit; Scroll = [[UIScrollView alloc] init...

- Where Developers Learn, Share, & Build Careers

I have a Silverlight 5 app, which uses a WCF service. Proxy Client, which is generated, only Asynchronous Methods (by default, when SL is generated from the client). I want to use Task-based asynchronous pattern (TAP), which is currently within VS2012RC What is the best way to consume async methods from generating client proxy ? (The issue is, that WCF generates proxy generator code which is based on event based on asynchronous pattern (EAP) and not TAP ....) I have found a solution for this Look at the code below: div class = "post-text" itemprop = "text" Public category MyDataListProvider: IMyDataListProvider {Private & lt; ObservableCollection & lt; IMyData & gt; & Gt; MyDataList; Public works & amp; Lt; Overview section & lt; IMDData & gt; & Gt; GetMyData () {Task Complex Sources & lt; OverviewCollection & lt; IMyData & gt; & Gt; TaskCompletionSource = new task end source & lt; Overview sect...

c# 4.0 - How To Get Hierarchy With Linq C# -

I LINQ with C # is stucked in a problem there are three tables in my DB before tbl_ActivitiesMaster (the parent Containing Child Data) table tbl_ActivityMaster (intActivityId int identity (not producing 1,1) nULL, strActivityDesc varchar (max) zero, intActivityUOMId integer, dtDatetime datetime, IsParentActivity integer , IsAlerternateActivity Integer NULL, intPartToId int null, intTaskId int null, intalternetId int null, CONSTRAINT PK_tbl_ActivityMaster Primary key class (PAD_INDEX = close with, STATISTICS_NORECOMPUTE = closed, IGNORE_DUP_KEY = off, ALLOW_ROW_LOCK S = ON, ALLOW_PAGE_LOCKS = current) [primary]) [primary] on second tbl_TendersTaskActivities (intID [int] recognition table tbl_TendersTaskActivities (1,1) nOT nULL, intTaskId [int] zero, intTenderId [int] zero, intProjectWorkGroupId [int] zero, intActivityId [int] zero, ftActivityQty [Flo At] nULL, ftActivityRate [float] NULL, intUomId int null, dtTaskStartDate [datetime] NULL, dtTaskCompletionDate [datetim...

javascript - How to change 'hover' function to 'on' function? -

I have to use the 'on' function instead of 'hover', this is the old code: $ ('.field'). Item_id = $ (this) .attr ('id'); item = $ (this) .parent ('td'); new_name = (old_value = = 'Not translated')? '': Old_man; $ (this) .empty (); var field = "& lt; div id = 'save_button' class = 'btn btn-primary' style = 'float: right' href = '#' & Gt; Save & lt; / div & gt; & lt; form & gt; "+" div style = 'overflow: hidden; padding -right: .5em;' & gt; "+ "& Lt; input id = 'new_value' type = 'textarea' name = 'term' style = 'width: 100%;' value = '" + new_value + "' / / gt; & lt; / div & gt; & Lt; / form & gt; "; $ (this) .html (field);}, function () {$ (this) .empty (); $ (this) .html (old_value);}); And this is the new code: $ ('.field'). ('Hover', ...

database - Create external tables without the EXTERNAL keyword? -

I am using the hive for work when I have created some external tables today, then i Forget about typing the external keyword, and it is like HighWQL: make table year 2008/02/27 (some big areas, area should be begun, 'done by' 'ROE format, formatted areas' defined by the compilation items fixed by the commands of MAP 'Field' / Data / Content / year_2012_main 'entered in the form of' Prepared Field ':' Target '; Then I tried to select count (*) year_2012_main ; , and it worked well. So, just out of curiosity, what is external with or without difference A hive table that is not external is called a managed table. The main difference between an external and managed table in the hive is that when one Ahri is toppled table, its data (not deleted in your case / data / content / Wars_20l2_man), only metadata (number column, type the column, Terminator, etc.) were removed from the hive Metastor. When a managed table is removed, t...

.net - Parsing json in C# without knowing indexes -

I want to parse this piece of JSON with JSON.NET in C #, but I do not know about it How to go in "" "": "967633758", "Classy": "" 302756826 "," Classy ":" 15 "," Instained "," 39, 3033 "," Instrated ":" 11040671 "," Zodiac ": "1", "Pause": 1}, "302756826": {"id": "302756826": "11041143", "zodiac": "1", "pos": 2}, ...}} Full Jason: I should get the element of every "RGIN" child, but I can not make a square for it because the item names are always changing. I tried to use this code, but I always get an exception. / P> dynamic jsObject = JsonConvert.DeserializeObject (jsonString); Console.light line ("position:" + jsObject ["success"]); // This works fine foreach (var i in jsObject ["rgInventory"]) {Console.WriteLine (...

javascript - how to create bar graph in HTML5 for ipad web app -

I'm the original app with the bar for the iPad. I want to convert the app into a web app, I'm making an app. But the problem is how can I create a bar graph for the HTML5 app. There is a document in it or it has been made in the API. Like iOS, we are EasyGraph in this way you I can see basically I am creating the original bar graph using the divs and css

Remove special characters between digits up to a limit using regex -

How can I remove special characters [and] using regex while preserving the square bracket behind the sentence? from 468620188, [2012-07-07 00: 00: 00,07], [thread-20], INFO, BIZ, handler, getzobs, [result] Receiving the broadcast [] To 468620188,2012-07-07 00: 00: 00,057, thread-20, info, biz, handler, Getgebes, [result] Recovering broadcast [] It works with perl RE, using: s /[*[\]](?=.*))// g; This removes any [ or ] character in which the code follows , . If you are not using a pearl, then maybe this will not be useful. Edit: This can work: \ [([^ \ n] *,) Search for , replace with \ 1 . Change all \] ([^ \ n] *,) to search, replace with \ 1 . Change all. Please note that I do not have access to Notepad ++ to check it out; I'm just removing some screen shots from the online search box.

c# - LINQ Getting Unique items from a List within a List -

मेरे पास एक परिभाषा के साथ सूची प्रकार MyObject है: वर्ग MyObject {सार्वजनिक स्ट्रिंग ListName {get; सेट; } सार्वजनिक IEnumerable & lt; अन्य ऑब्जेक्ट & gt; वस्तुसूची {प्राप्त करें; LINQ का उपयोग करके सूची प्रकार MyObject को देखते हुए सभी विशिष्ट प्राप्त करने के लिए मुझे किस अभिव्यक्ति का उपयोग करना चाहिए? OtherObject ? मैं जो करने की योजना बना रहा था वह प्रत्येक MyObject लूप था और अन्य ऑब्जेक्ट को ObjectList संपत्ति से प्राप्त किया गया था, लेकिन तब मुझे सूची में विशिष्ट होना चाहिए। कृपया ध्यान दें कि यदि: MyObject [0]। ओब्जेस्टलिस्ट [0] == 'मद' ए ' और MyObject [1 ] .ऑब्जेक्टसूची [0] == 'मद' ए ' यह अभी भी ItemA का एक उदाहरण वापस करेगा। यह कोड केवल एक प्रतिनिधित्व है ऐसा नहीं है कि मैं अपने ऑब्जेक्ट्स को किस तरह से एक्सेस कर सकता हूं। आप यह केवल तर्क का उपयोग करके प्राप्त कर सकते हैं। सी # के रूप में एक अच्छा कार्यान्वयन है: var set = new HashSet & lt; अन्य ऑब्जेक्ट & gt; (myObjects.SelectMany (मो = & gt;...

- Where Developers Learn, Share, & Build Careers

I have created a crystal report with parameters, but this does not load the value. It only shows the title, I mean column name only. Please check your code and correct me. And I tried to load that report in PDF format, which shows an error like "Load report failed" Please correct me. Protected Zero Button 2_Click (Object Sender, EventArgs E) {Report Document Reports Document = New Report Document (); Reportdocument.Load (Server.MapPath ("CrystalReport.rpt")); Reportdocument.SetDatabaseLogon ("", "", "Arvind", "My ScamDDB"); Report document. Setpermator val ("mrno", textbox 1. text); CrystalReportViewer1.ReportSource = Report Document; } Secure Zero LinkButton1_Click (Object Sender, EventArgs E) {Exportport (); Private Zero Exports () {MemoriStream Ostream; Response.Clear (); reaction. Buffer = true; Report Document Report Document = New Report Document (); Reportdocument.Load (Server.MapPath ("CrystalReor...

c - Scope and lifetime of a variable -

संभव डुप्लिकेट: सी में एक चर के दायरे और जीवनकाल के बीच अंतर क्या है? फ़ंक्शन के अंदर एक ब्लॉक के भीतर घोषित एक चर का दायरा और जीवनकाल क्या है? चलिए कहते हैं कि हमारे पास दो कार्य हैं: void foo () {/ * कुछ सामान * /} शून्य बार () {int local_bar; foo (); फ़ंक्शन बार में वेरिएबल local_bar के दायरे में फ़ंक्शन के अंदर कुछ अधिक सामान * /} करें बार । foo को कॉल करते समय चर अस्थायी रूप से दायरे से बाहर हो जाता है, यानी यह foo के अंदर से उपलब्ध नहीं है हालांकि, चर का जीवनकाल समाप्त नहीं हुआ है, यह केवल तभी खत्म होगा जब फ़ंक्शन बार समाप्त होता है।

Rails custom controller action does not save -

I have custom controller work to activate a new client acount in a webshop. I have a customer.rb model. The model generates a key and sends an activation link to the customer. The link has been sent to customers_controller.rb and to do the following: def activate_customer @customer = customer.find (params [: customer_id]) If @client current ? If @customer.activation_key ============================= Customer Active = correct @ customer Redirect: Cart and otherwise redirect_to: root end else redirect_to: root end end I tried it first without @ customer.save but did not update the record I went. I & # 39; d already @clients. Active = true and it all looks fine. Only one problem is that the record does not update. I also probed the possible attar_accessible problem, but that is not (I attr_accessible is closed to fully check). any idea? Thanx in advance! * Edit: Checked value of @ customer.save , false back ... * edit : Password authentication occurs on ...

html - Multiline string in div using javascript -

मैंने एक मल्टीलाइन स्ट्रिंग बनाई है जैसा कि " var str1 = document.getElementById ( 'Text1'); var str2 = document.getElementById ('text2'); var str = str1.value + "\ n" + str2.value; अब मैं इसे जोड़ना चाहता हूं एक ऐसी डिवाइन की स्ट्रिंग जिसे मैं एक पॉपअप विंडो में निम्नानुसार बनाता हूं: myWindow = window.open ('', 'full_text', 'width = 600, height = 600'); myWindow Document.write ('& lt; div id = "div1" style = "position: absolute; left: 10px; चौड़ाई: 580px; शीर्ष: 30px; ऊंचाई: 550px; अतिप्रवाह: ऑटो;" & gt;' + str + '& lt; / Div & gt; '); लेकिन मुझे div में एक बहु-लाइन स्ट्रिंग नहीं मिली। मैं इस समस्या का कैसे समाधान कर सकता हूं? लाइन ब्रेक इस सीएसएस प्रॉपर्टी के बिना एचटीएमएल में प्रस्तुत नहीं किया गया है: white-space: pre; आप इसे str को बदलने की कोशिश कर सकते हैं: var str = str1.value + "& lt; br / & gt; \ n" + str2 मूल्य;

ms access - Why DLookup returning Empty? -

I have a text box from which I am retrieving the data. They have double the number datatype and field size and the format is fixed. Summary = DLookup ("Summ", "TblPlatej", "ID =" & Form_frmPlatej! Id) Deposit = DLookup ("already returning a true value, the second one always goes down "TBLtage", "ID =" and "Form_Frame Placement!") Why is this happening? Can someone keep me in the right direction? The problem was in the column name. [First deposit] in the space bar between words. summary = DLookup ("Summ", " TblPlatej "," ID = "& amp; Form_frmPlatej! Id) deposit = DLookup (" Submit first "," TblPlatej "," ID = "and Fo Rm_frmPlatej! Id) This is very weird but it works now.

Python - Removing the whitespace before the output -

I am quite new to Python .. I was wondering how to remove whitespace just before the output. Output is Paid Enter height: 5 * *** ***** ******* = ******** * * = is the text slot marked with "White location" I need to remove .. Thanks guys! I hope that I have found what you say here: height = input ("Please enter tree height:") height1 = height trunk = height / (I + 1) * 2) -1) Height = height for -1 / 3 spacewise = str (i ) For category (0, height): print spacebar * (height -1) + "*" * ((i + 1) * 2) for category P (0, trunk): print spacebar * (height 1 -1) + "*" I think the bus (height) and altitude 1 instead of 1 operand -1 seems to be for example It did the trick. If this is not what you want, please just tell me.

java - Triangle in descending output -

क्यों यह उत्पादन 3 के बाद नई लाइन में प्रवेश करता है? जैसे: 9 8 7 6 5 4 3 2 1 किसी भी संख्या में मैं इसे हमेशा 3 के बाद एक नई पंक्ति में प्रवेश करता हूं। जब मेरा इनपुट 9: 9 8 7 6 5 4 3 2 1 0 क्या आप कृपया मुझे स्पष्ट करेंगे कि यह एक नई प्रविष्टि क्यों है 3 के बाद की रेखा? सार्वजनिक वर्ग त्रिकोणविथइनपुट {/ ** * @ परम आर्ग्स * / @SuppressWarnings ("संसाधन") सार्वजनिक स्थिर शून्य मुख्य (स्ट्रिंग [] args) {// TODO Auto- उत्पन्न पद्धति स्टब स्कैनर sc = नया स्कैनर (System.in); System.out.print ("एक संख्या दर्ज करें:"); Int इनपुट = sc.nextInt (); जबकि (इनपुट & gt; = 0) {int c = 1; जबकि (सी & lt; = इनपुट) {int r = 1; जबकि (आर एंड एलटी; = सी) {System.out.print (इनपुट + ""); input--; आर ++; } System.out.println (); c ++; }} } आपके पास भी एक है कई नेस्टेड लूप परीक्षा के कारण आपको एक नई लाइन मिल रही है c & lt; = input ; जब इनपुट 3 तक पहुंच जाता है और c & gt; = 3 , आप एक लाइन ब्रेक करते हैं और c से 1 रीसेट क...

uitableview - Playing Video URL from Table View Selection -

I chose a video to play me, when specific items table scene Akskod using mediaplayer frameworks. I have put my code on the date below but it is uncertain from where to move from here. Especially I am unsure how to add list view items to URLs // ViewController.m // test // #import "ViewController.h" @ synthesis table data for implementation view controller; - (void) {Drishydidlod Talikadeta = [[Ansaararael] Initvithobjekt: @ "bacon", @ "banana", @ "Big", @ "Biliys" zero]; [Super viewedload]; } #pragma mark - TableView data source methods - (NSInteger) Talikadrishy: (UITableView *} - (UITableViewCell *) Talikadrishy: (UITableView *) Table View Selforaatindpath: (NSIndexPath *) Suckankpth {UITableViewCell * cell = nil; cell = [Teblwu DeKewor Re-Eligible CellWithIdentifier: @ "MyCell"]; if (cell == blue) {cell = [[UTitleview alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier: @ "MyCell"];} Cell.text...

java - Implementing clolored free-hand lines with SWING -

Hi! I want to draw free lines in a JFram. I implemented it in a square that enhances the zypnal, its definition looks like this: The public class draw extends JPanel to the MouseMotionListener, MouseListener I added a zero method that was added to the square where I have also been added to the geometry drawn from Draw object. My problem is now: I want to be able to choose the line color from a menu: jmnu color menu = new jmnu (); Janmietime green color = new gemenuitem ("green"); GreenChoice.addActionListener (this); ColorMenu.add (greenChoice); Jenemitis Red Choice = New Genius ("Red"); ColorMenu.add (redChoice); JMURbar bar = new JMUR (); Bar.add (colorMenu); I do not know where to implement this code! Do I have JFrame together with 2 sections, one for drawing and one for my menu? How do I tell the drawing class to interact with my JMManu, e.g. Can I choose a color from the menu? Here it is where I create my line in class Drwa, with the default colo...

php - Keep selected option (form/select) after refresh -

संभव डुप्लिकेट: मेरे पास एक चयन मेनू है, जिसे पेज रिफ्रेश के बाद चयनित विकल्प को रखना चाहिए। यह उदाहरण है: & lt; चुनें आईडी = "फॉर्म_फ्रेम" नाम = "फ्रेम" onchange = "getData (this);" / & gt; & Lt; विकल्प मान = "डेटा 1" चयनित = "चयनित" & gt; डेटा 1 & lt; / विकल्प & gt; & Lt; विकल्प मान = "डेटा 2" & gt; डेटा 2 & lt; / विकल्प & gt; & Lt; / चयन & gt; फ़ंक्शन getData बस उपयोगकर्ता को जानकारी खींच कर। मैं गतिशील सामग्री के लिए Smarty / php का उपयोग कर रहा हूं। सलाह के लिए खुला, धन्यवाद! यह स्थानीय भंडारण के साथ कैसे किया जाता है: $ ( प्रोप ('चयनित', सच है);} ($ ("form_frame ')) {$ (" form_frame ")} {$ (" # form_frame ")। Eq (localstorage.getItem (' form_frame ')) #form_frame ") पर ('परिवर्तन', फ़ंक्शन () {localStorage.setItem ('form_frame', $ ('विकल्प: चयनित', यह) .index ());});}); ...

ios - Invalid context when creating UIImageView -

I have an error when I tried to create a UIImageView look at this code: UIImage * backgroundPanel = [[UIImage imageNamed: @ "loginPanelBackground.png"] resizableImageWithCapInsets: UIEdgeInsetsMake (90, 0, 14, 416)]; Self.connexionBackgroundImgView = [[UIImageView alloc] initWithImage: backgroundPanel]; Self.connexionBackgroundImgView.frame = CGRectMake (0, 0, 416, 39); // This line prevollow involves [self. Insert View Insert: Self. Conference Backgammam Img See UpSubview: self.connexionToCreationCompteView]; This throws this error into the log: : CGContextSetBlendMode: Invalid reference 0x0 & lt CGContextSetAlpha: Invalid reference 0x0 : CGContextSaveGState: Invalid reference 0x0 & lt CGContextClipToRect: Invalid reference 0x0 & lt; Error & gt;: CGContextDrawTiledImage: Invalid Reference 0x0 & lt; Error & gt;: CGContextRestoreGState: Invalid Reference 0x0 & lt; Error & gt;: CGContextGetCTM: Invalid Reference 0x0 & lt; Error...

- Where Developers Learn, Share, & Build Careers

I had to launch more than one checkbox on the same screen which would act like a radio list, I saw some implementation of it, But finally I wrote some of my own. Maybe it will help someone. 1) Create a group class, such as: public class Checkbox field group {Private list & lt; Checkbox presentation & gt; MGroup; Public Checkbox PrefricaSGroup (Primary Manager Manager, String [] key) {mGroup = New Arrestist & lt; Checkbox projection & gt; (Keys.length); For (int i = 0; i & lt; keys; lamps; i ++) {last checkbox presentation cbx = (checkbox presentation) manager.findPreference (key [i]); Cbx.setOnPreferenceClickListener (New OnPreferenceClickListener () {public boolean onPreferenceClick (Priority Priority) {onCheckBoxClick (cbx); Back to True;}}); MGroup.add (cbx); }} Private zero on checkbox, checkbox (new checked) {checkbox checked checked = zero; (Checkbox presentation item: mgut) {if (item! = New check & item checked ()) {old che = item; break; }} I...

- Where Developers Learn, Share, & Build Careers

I am creating a class diagram using the Eclipse Modeling Tool - Papers, the representation classes, attributes, and generalization in XML relationships How can I export the UML diagram in XML format? how can I do this? According to the paperwork website: You will get an example: Diagram Interchange: / P> Export Exima: Because I do not use my own pirutus, about the tutorials I've browsed. There is no indication that how to actually export it is two to two starters You are ...

tsql - SQL Query to Display Count of Total -

I have found a very complex query that connects eight (8) different tables. For this question, however, I simplify it with this type of structure: table table 1 (packet id int, activity int, mpid int , Partno Worker (20)) Insert values ​​in Table 1 (1, 1, 132, 'ABC 123'), (1, 2, 132, 'ABCSERA'), (1, 3, 132, 'def 123'), ( 1, 4, 132, 'Diff 94'), (2, 5, 228, 'xyz123'), (3, 6, 239, 'xyz321'), (3, 7, 239, 'AAAA 000') This type of table creates the following output: | _P_P | _R_ | _Emp_ | _PartNo_ | | _1_ | _1_ | _132_ | _abc123_ | | _1_ | _2_ | _132_ | _abc465_ | | _1_ | _3_ | _132_ | _def123_ | | _1_ | _4_ | _132_ | _def456_ | | _2_ | _5_ | _228_ | _xyz123_ | | _3_ | _6_ | _239_ | _xyz321_ | | _3_ | _7_ | _239_ | _aaa000_ | I kept it a bella here: I was told that they do not really need PacketID or RequestID , but whatever they need is anything that shows how many requests are in the packet and which number of t...

No route matches :action => edit rails 3 -

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 ...

- Where Developers Learn, Share, & Build Careers

I know that a .jax () is a jQuery plugin Calling is not possible, the only way is to write a function in the parent page and this function is called a part of the AJAX request in the function (data) . It works normally, but I'm stuck because my function needs a variable to work properly with loaded content and whichever I am trying to load, the original from the loaded content See my example: This is my job: function doPaginate (maxpage) {jQuery ("# ​​demo5") . Paginate ({count: maxpage}); }a???? This is my jQuery.ajax () request: function loadProfileTab (tab, owner info) {jQuery. Post ("./profile_ajax.php", {task: 'profiletab', v: tab, user_id: ownerinfo}, function (data) {jQuery ("# ​​profile_content_wrapper") .html (data); doPaginate (maxpage) ;}); }a???? Now I'm trying to get the variable maxpage from the PHP loaded content to function doPaginate (maxpage) I have some actions, for example to get the result...

foreground - CSS :hover not working the way I expect -

I have a div that relates to the class. StickyNote and within that div I have & lt; H1 & gt; tag and as the content of stikinote and lt; P & gt; The tag is the same: & lt; Div class = "sticky note" & gt; & Lt; H1 & gt; Drag me & lt; / H1> & Lt; P & gt; This website has been automatically translated. Please, when you are signing on; For this attack and fines and separation and still .. . StickyNote: Hover,. Ski note: focus {-moz-box-shadow: 10px 10px 7px rgba (0,0,0, .7); -WebKit-box-shadow: 10px 10px 7px RGBA (0,0,0, .7); Box-shadow: 10px 10px 7px RGBA (0,0,0, .7); Webkit-Conversion: Scale (1.25); -mose-transform: scale (1.25); -o-results: scale (1.25); Status: Relative; Z-index: 5; } However, when I click on stickyNote div on & lt; H1 & gt; and & lt; P & gt; The foreground is separated in the section, i.e. when i & lt; H1 & gt; , then it will come to the foreground and when I pave on and ,...

css - Telerik Grid table width overflowing parent div -

I have a telephone grid that I am using in an MVC app. The parent divi width is set to a maximum size, and the table is also set to a maximum size, but the table part is being ignored, even when I go to the web developer tool, I can see the width is basically html: & lt; Div id = "main" & gt; & Lt; Div id = "grid" & gt; & Lt; Table ID = "TeleTable" & gt; & Lt; / Table & lt; / Div & gt; & Lt; / Div & gt; CSS: #Main {width: 900px; Margin 0 auto; } # Grid {max-width: 900px; } #telettable {max-width: 900px; Margin 0 pixels; Padding 0 px; } I have also tried width: 100% on the table and increasing the main width, it is of no avail. Thanks for reading my post. After playing around, I thought that many columns are displayed to me, so whatever width I have set, the table could not shrink because it had to display the data. So I cut it from 8 columns to 5, and now it's right.

Is finding code's address in visual studio 2010 c++ using in-line assembly possible? -

Let's say I want to write an inline assembly function in C ++ code that returns its return address. So if I'm returning the function from returning address and I need to go back to X after the function, then I want to return the undress () value back to x. Code for return example (): zero * getAddress () {__asm ​​{pop ebx; // Moving Return Offset to ebx? Pushing ebay; // Stack Status Restoring XXEx, Ex; Mov ax, cs; // ax & lt; - Code section mov ecx, 16; Mul ecx; // Code Segment increased from 16 to eax, ebx; // adding the offset}} The previous code does not work properly, since I press Alt + 8, I can clearly see the address of my code in this function Change is completely different from the price. I have to find my code address in the memory, because I will try and change it, while the code itself is running. If there is any other way to detect my code without using the inline assembly (maybe using Windows API), please let me know. Besides, I'm pretty sur...

- Where Developers Learn, Share, & Build Careers

With MVVM WPF I'm not in a situation where I put the code to make sure that the test Ran across to try to follow. All lines btnReset_Click method UI so I do not know the command if they are visual models but I do not want to also back to put code in my code. I thought about the two options that I thought, but also open to other solutions. public class Main Window {private void btnReset_Click (object sender, RoutedEventArgs e) {DynamicStackPanel.Children.Clear (); Controls.Clear (); TxtUsername.Text = string.Empty; TxtPassword.Text = string.Empty; TxtResponse.Text = string.Empty; CbxTestEnvironment.SelectedValue = string.Empty; CbxOperation.SelectedItem = null; CbxTestEnvironment.SelectedItem = Zero; }} or public class MainViewModel: DependencyObject {public MainViewModel: DependancyObject {public MainViewModel (UtilityMain win) {win.btnReset.Click + = btnReset_Click ; } Private void btnReset_Click (object sender, RoutedEventArgs e) {DynamicStackPanel.Children.Clear ();...

openstreetmap - Street coloring in a map -

I have a database of a city, which is in the name of the road and the average density of a number (1 to 5) Represents people I show it on the map (it does not matter if Google Maps or OSM or whatever), where I give the green color to the green color based on density. Any thoughts? TY! If you are using Google Maps APIv3, making / displaying lines on the map is not a difficult task. The Gmaps3 documentation explicitly explains using it - The argument passes through your road coordinates (an array) which is used to draw a line on the map can go. Apart from this, you can easily change the colors of polylines, for an idea how to accomplish this, you can create an array with some set of colors - color = ]; Line colors [0] = '# 3333ff'; Line colors [1] = '# 8A808'; Line colours [2] = '# B 45F04'; Line colors [3] = '# 18184'; And then depending on the density values, it is advisable to take color from the array while creating polyline Up...

- Where Developers Learn, Share, & Build Careers

When using jquinstein10 with the sliding menu library, in the example project, clicking on the icon button in the action bar To open the sliding menu and then to turn off again when off, after implementing ActionBarSherlock and running it (not throwing any errors), the icon no longer causes the menu to be displayed. So far I have created the slider menu leib Eri has changed Android's expansion as instead expanded Sherlock activity that went recommended in sliding menu read me. I have also changed the following lines in BaseEquity: Basic: // Customize the ActionBox if (Build.VERSION.SDK_INT> = 11) {getActionBar () .setDisplayHomeAsUpEnabled (true); } changed to: // Customize the actionbars getSupportActionBar (). SetDeskleHomeAsUp Disabled (true); It seems that the button press is being registered in the logcat, but it is not doing anything. I have been trying to understand it for some time and just wanted to see if anyone has experienced this issue or both ar...