Posts

Showing posts from February, 2010

html - I have a empty space I can't remove -

I can not find any relevant CSS padding, margins, etc., so this is an empty space. The main page contains a middle bar (citations), when sub-pages are removed, still leaves an empty space. The elements given below are placed in relatively few columns but they are moving forward. Home page http://teime.comeze.com/ sub page example: http://teime.comeze.com/pestcontrol.html Contextual CSS: . Container {width: 1030px; Margin: 0 auto; Z-index: 2; } .header {} .content {z-index: 3; Margin: 1px; Padding-top: 1px; Padding-right: 0; Padding-down: 1px; Padding-left: 0; } # Apiiv5 {condition: complete; Width: 9 42 pixels; Height: 322px; Z-index: 1; Clean both; } .column1 {height: 700px; Width: 490px; Swim left; Margin-left: 25px; Status: Relative; Padding-top: 17px; } .column2 {altitude: 700px; Width: 480px; Swim left; Margin-left: 10px; Status: Relative; Padding-top: 20px; Border: None; } .form {font-family: kreon; Line-height: Normal; Height: 363px; Width: 293px; / * [Disa...

dart - Error formatting doubles -

यह कथन: नया NumberFormat ( "##")। प्रारूप (12.33) इस त्रुटि को फेंकता है: "क्लास 'डबल' में कोई इंस्टॉलेशन विधि नहीं है & amp; " क्या यह एक बग है या क्या मैं कुछ गलत कर रहा हूं? यह शायद ज्ञात मुद्दा है: मुझे लगता है कि आपको इसके बारे में चिंता करने की ज़रूरत नहीं है, इसे शीघ्र ही तय किया जाना चाहिए।

javascript - Listen for click on div, but not when any of its children are clicked -

I am trying to hide the div and its children when the div gets clicked, but not when any event To any of its children; Like, swipe, tap or click. jQuery that hides Div on the click is simple: $ ("# tabs"). Click (function () {$ (this). FadeOut ();}); But I have found that when these children are clicked or swiped, the div flashes. How can I get lost due to these incidents on my children, but it's only allowed to click fade for myself? Check that the element was clicked to force the same element: $ ("# tab"). Click (function (e) {if (e.target == this) $ (this). FadeOut ();});

flex - How to check %USERNAME% using actionscript -

My project I am working is a Flex internal website that is also logged when trying to access from a remote location Could. I am trying to display the user's name of the local logged in user, when they reach the site locally, I have tried to use the original process to access the command line, but work with the web application It is unavailable while doing so. How can I do this but any thoughts? We do something where I work. Unfortunately, it does not use the frontend but requests backend process only I suggest only through VPN if I miss it correctly In fact, on my PHP backend, I allow Windows authentication And then I use the result of that com object call to get data about the current user. Then I send that data back to my Flex Frontend, Web or AIR and display the user and limit access to different parts of the app.

import - Format a csv file with a macro -

I have one. To select only some of the areas Csv file that I exported from our accounting software ultimate goal records by adding an Access 2010 database that data "to import some" My problem is that I Sisivi file table Some types of device are required to format those areas (define DataTips) so that I can import CCV in the "new" framework, Any existing tables, without any error Our accounting software permits to export specific areas from its datafile, but it is a hassle process and the customer service department is likely to present many opportunities for errors. I need to make this "stupid-proof" possible! Use a query to CSV import data directly into your Access tables. A query makes it easy to select subsets of available CSV fields. And the query to enter a query may include functions to change the CSV values ​​for compatibility with the destination area data types. tblFromCSV in INSTECT (FK_ID, CD, [TIMESTAMP], ts_as_datetime) SELECT...

Building RabbitMQ-C on Windows using MinGW -

The more the title says. I am trying to make Rabbit MQA under Windows using Mingad without any success. Looking at those people asking me to use it, I suspect that I am making a mistake, but I do not know what it is. I'm on Win7-64 and I'm removing the repo, making a build directory in it, and running semicrow-g "minigable makefile". what seems to be working, and then cmake --build what function throws a bunch of redemption errors Does anyone know that I am shaking here? Just for a good idea, a small sample of errors: Linking C Shared Library librabbitmq.1.dll CMakeFiles \ rabbitmq.dir / objects.a (amqp_api. C.obj): amqp_api.c :( rdata + 0x3c) :. `Multi iple definition amqp_empty_array 'CMakeFiles \ rabbitmq.dir / objects.a (amqp_framing.c.obj): amqp_framing.c :( BSS + 0x0):. The previously mentioned CMakeFiles \ rabbitmq.dir / objects.a (amqp_api.c.obj): amqp_api.c :( rdata + 0x44) :. Multipal definition of `amqp_empty_table 'CMakeFiles \...

sqlite - Insert only if id doesn't exist -

ठीक है, इसलिए हमारे पास एक टेबल सेटअप के साथ एक फोनगैप ऐप है tblTest (actualid INTEGER प्राथमिक कुंजी, आईडी INTEGER, नाम पाठ) वास्तविक डिवाइस के लिए एक अद्वितीय आईडी है और आईडी एक सर्वर साइड डाटाबेस में बनाए रखा है। हमारे डोमेन में डुप्लिकेट रिकॉर्ड्स लौटने वाले मुद्दों के साथ समस्याएं थीं और जब तक हम तय कर रहे हैं कि मैं अपने एसक्यूएल में कुछ जोड़ना चाहता हूं जो डुप्लिकेट को जोड़ने से रोकेगा (बुरे डेटा को ठीक करना एक दर्द है)। हमारा वर्तमान यदि आप डेटाबेस से दो बार चलाते हैं, तो INSTERT में tblTest (id, name) VALUES (101, 'BOB') जैसा दिख रहा है आईडी | नाम 1 | 101 | बॉब 2 | 101 | बॉब और इसके लिए मैं क्या चाहता हूं actualid | आईडी | नाम 1 | 101 | बॉब सम्मिलित करें या बदलें मुझे एक actualid 2 उदाहरण में और किसी भी उदाहरण को मैंने पाया है जहां खंड की तरह सेटअप किया गया था > काम नहीं करता क्योंकि कोई डेटा अभी तक तालिका में नहीं है (जब तक कि मैं ' एक नौसिखिया गलती कर रहा हूँ, मैं एसक्लाइट या सामान्य एसक्यूएल पर बहुत अच्छा नहीं हूं...

applescript - FileDialog in Word 2011 VBA -

I'm hoping for a discretionary inquiry I'm using Word Add-in for Word (Virtual Word for Word 2010 I am optimizing, especially, at this point, in Word 2011. I am aware of many differences, but one is that I am not able to find much documentation but the obvious reduction of FileDialog is the closest I have to answer I have come here: where the author uses application.GetOpenFilename to make that method fun for Word It does not appear, though (the focus of that site is Excel). How does a file and folder picker use the dialog that FileDialog provides? I'm not familiar with Applescript, in fact, but I have had to learn something to come around the issues related to the 2011 Funky file management issues (Dir, FileCopy, etc.). Therefore, if this is the answer, then the code in Applescript might look like any kind of feeling would be greatly appreciated (I know more or less about how to translate it into VBA). I believe you have to use Apple to make a little better on t...

core data - TabBar Segue when selecting row in table view controller -

I already have a set set in my table view controller for pressing an eagle button Now when I add the user to the object But if I choose to, then I need another Segu. My code looks like this: - (zero) Prepare ForSegue: (UIStoryboardSegue *) Sender Sender: (ID) Sender {if ([segue.identifier isqualToString: @ "Add Vehicle Segun "]) {NSLog (@" AddViewController's RootviewController Settings "); AddViewController * addViewController = segue.destinationViewController; AddViewController.delegate = self; AddViewController.managedObjectContext = self.managedObjectContext; } I think if I have to add another bar after tab bar Segue, but do not know how to do it. Apart from this, the tab bar view is just to show two tabs, so I do not believe that I will prepare the Segew with reference to the main data. If you want the next view controller If you do not want to value or do any tasks that need to be done before performing segue but only display the tab b...

awk - Extract time and source ip address from pcap file -

I have a PAPT trace file and I want to remove time and source IP addresses from packets. I am using tcpdump and awk here is a sample of the file 02: 00: 00.001814 IP 61.31.228.1.80 & gt; 0.106.173.16.19999: Flag [S], Seac 4049606604, ACC 4044405336, 512 wins, length 0 02: 00: 00.005787 IP 61.31.228.1.80 & gt; 0.4.173.19.13923: Flag [S], Seek 3812128115, AK 3811406374, 512 wins, length 0 02: 00: 00.005799 IP 74.54.182.242.80 & gt; 0.176.229.61.43527: Flags [S], SAC 61247722, AK 352633207, WIN 65535, OPTION [MSC 1460, NOP, NOP, SAPOK], length 0 Then I applied the CSV To remove time and source IP address in the file, awk: 02: 00: 00.001814,0.106.173.16.199 99: 02: 00: 00.005787,0.4.173.19.13923: 02: 00: 00.005799,0.176.229.61.43527: I am only interested in the last bit of time and I am getting rid of "" at the end of the source IP ". Div class = "post-text" itemprop = "text"> Try this: awk -F '[:.] ...

c# - How to dynamically assign lambda<expression> to expression -

I am trying to create dynamic expressions and assign lambda to it. As a result, I got an exception: System.Agentment exception: 'Test.ItsTrue' expression type 'System.Linq.Expressions.Expression`1 [Test.ItsTrue]' to use for assignment Can not be done. what is wrong? Public Representative Bull's Trade (); Public category sample {public expression & lt; Its true & gt; Get it {true} Set; }} [Test class] public class mystage {[testimation] public zero testprotectorshipwith expression of delegate () {expression & lt; Its true & gt; ItsTrue = () = & gt; truth; // This time works on compiling new samples (). ItsTrue = itsTrue; // This ad runtime var new_ = Expression.New (typeof (sample)) does not work; Var result = expression. Assin (expression. Property (new_, typef (specimen) .getProperties () [0]), its true); }} Expression. Assigning the second argument of For the value represented by expression you are currently trying effectivel...

registration forms and foreign keys in Rails -

OK, I have something clear here, but here goes: I created a user I made a user_goals model with four goals I created a user_goal_id field in the user table. In my user registration form, I want to present a collection_select of four possible goals, and when a user is created, then the user enters the ID to the selected target in the table. I do not understand how to do this. Specifically, I can not understand how to write the selected ID for the user_goal_id field in the user table. EDIT: Do I need to make user-controlled controller, or can I just put the controller argument in users_controller? Please ask the exact question, it is very common to give parts of your code and ask for something exact, If you do not really understand what you are asking, then those who try to answer you will not understand. Please refer to the Rail Guide, a good chapter on the ActiveRecord relationship (which is wrapping the foreign key) and some teototals once you understan...

coding style - Correct way of writing parentheses in Ruby methods? -

What is the "acceptable" or "correct" way of writing brackets in Ruby mode? Like: puts doc.instance_of? (Self.class.superclass.class) Or: puts the doctor. An example? (Self.class.superclass.class) Or: puts doc.instance_of? (Self.class.superclass.class) Or: puts doc.instance_of? (Self.class.superclass.class) 2 and 3 are incorrect (@MyestoShort See the comment). Between 1 and 4, just pick a style guide and stick with it. Compatibility The most important thing is that I am satisfied with the recommendation of 1 and it looks individually clear: Here is an example of 2 breaking with a method Which takes an alternate second argument: def f (x, y = 1) x + y end f (1,2) # 3f (1) # 2f (1, 2 ) # Syntax error f (1), 2 # 3!

twist - sahi and table operations -

For a given table, I want to go down Total number rows Repeated by line and column . ; & Lt; Table & gt; & Lt; Thead & gt; & Lt; TR & gt; & Lt; Th id = "hawkMessageCodeTable: j_idt49" class = "ui-state-default" & gt; & Lt; Div class = "ui-dt-c" & gt; & Lt; Period & gt; Code & lt; / Span & gt; & Lt; / Div & gt; & Lt; / Th & gt; & Lt; Th id = "hawkMessageCodeTable: j_idt51" class = "ui-state-default" & gt; & Lt; Div class = "ui-dt-c" & gt; & Lt; Period & gt; The message's & lt; / Span & gt; & Lt; / Div & gt; & Lt; / Th & gt; & Lt; / TR & gt; & Lt; / Thead & gt; & Lt; Tbody id = "hawkMessageCodeTable_data" class = "ui-datatable-data ui-widget-content" & gt; & Lt; Tr data-ri = "0" class = "ui-widget-content ui-datatable-even" ...

c++ - (DirectX 11) Dynamic Vertex/Index Buffers implementation with constant scene content changes -

For the first time (with me) delving into un-managed DirectX 11 and there is an issue, though, on forums Frequently I still leave the questions with me. I am developing as an app in which objects are added to the scenes over time. On each render loop, I want to collect all corners in the scene and they should reuse a single top and index buffer for performance and best practice. My question is in relation to the use of dynamic vertical and index buffers when visual content changes, so I can not fully understand their correct usage. Vertex Buffer Descriptration. Usage = D3D11_USAGE_DYNAMIC; Vertex buffer decryption. Binduflags = D3D11_BIIBSFTEXBUFFER; Vertex bufferDelication CPUAvailability Flags = D3D11_CPU_ACCESS_WRITE; Summit Buffer Descriptration Mixflag = 0; Vertex buffer description Structure biastrade = 0; Will I make a buffer when the scene starts and should anyway update their contents in every frame? If so, what should be the size of the byte size in buffer details...

Recursively redirecting in Rails 3 Routes -

We are updating our large web app and getting rid of our URL synonyms system. For example, although we only use a model for 'advertiser', but it is kept for 'merchants' and 'vendors' using synonyms. Thus, / merchants / 1 and / vendor / 1 advertisers use the same exact controller and verb. Now we do not need this functionality, but we provide users with the appropriate place (i.e. the proper controller functions) for the old URL. So far I've tried: 1) Reading - This leads me to try the following suggestions 2) match / merchants '= & Gt; Redirect ('/ Advertiser') - This did not work at all, although the syntax looks correct. 3) Moving on resources (it produces one TON of routes and can cause insecurity): ADVERTISER_SYNONOYMS = ['affiliates',' vendors '] ADVERTISER_SYNONYMS.each | A | Resources: Advertiser ,: Path = & gt; A, as: = & gt; : Advertiser Resources: Members receive other members: Test Match: Gene...

CSS form layout with jQuery Validation errors -

I have a form that I've styled with CSS so that the text box can be set correctly. I am using the form I am running on a layout issue when I submit the form due to the errors caused by verification. My CSS is as follows: #form p label {padding-top: 5px; Display area; Width: 100px; Swim left; } I know that float: left; is causing the problem. I'm looking for errors to appear next to each text box without changing the layout. There is class .errors for jQuery validation errors. I have made one to recreate my problem. Your CSS for label element all Labels elements, so this form is over-riding the label elements used by the plugin to display errors. Just adding this CSS only label elements are used by the plugin back to default values ​​ any of your other labels element without affecting #form p label.error {float: none; Display: Inline; } Demo: Edit : My answer Resolve your question, but if you want to take advantage of jQuery, you ...

ios - Where is NSLineSeparatorCharacter defined? -

I'm searching googling, grepping and high and low, but can not find the answer iOS ? NSLineSeparatorCharacter NSNewLineCharacter NSParagraphSeparatorCharacter To get the definition of these constants, which header file do I need to include? Those constants are defined in NSText.h which is for OS X, not iOS. So you can not use those constants in iOS. NSLAN Separator Carrier is defined as: 0x2028 forms of NSNewLineCharacter Is defined as: 0x000a NSParagraphSeparatorCharacter is defined as: 0x2029

html - Cordova - Windows Phone 8, camera.getPicture + view image in tag? -

I do not know how to solve externally received images (AKA through camera / photo library) & lt; Img src = "/// myAppFolder / photoTaken.jpg" /> I resolved local-storage through the window and did it on another platform (Android + iPhone) .requestFileSystem (); And connects to the correct folder path (which gives much more loyal than the window phone - it only gives a relative path) and it works, although I am unsure what to do with the Windows Phone solution in this case . Using Cordova 2.5.0 Ah! I went through a lot of silly, several hours, after posting ended, I found a solution to my problem :) I was using toURI () when I was toURL () After solving, all got cured!

java - Does Jetty require JDK if you are not using JSP -

Assume that your application is not compiling anything and does not use JSP pages, does JT get only JRE's OK to use, or is there something else needed to run on JDK? You can use JRE, even for JSP compilation because JSP support Eclipse compiler has been created for Java (ECJ).

Why are type synonyms necessary to define extractors for patten matching Java classes in Scala? -

यदि कोई मौजूदा जावा वर्ग pkg.Test, पैकेज pkg; सार्वजनिक कक्षा परीक्षण {सार्वजनिक int v; सार्वजनिक परीक्षा (इंट v) {this.v = v; }} एक स्काला साथी ऑब्जेक्ट को परिभाषित करके एक एक्स्ट्रेक्टर बनाने का प्रयास पैकेज pkg ऑब्जेक्ट टेस्ट {def unapply (t: टेस्ट): विकल्प [Int ] = कुछ (टी वी)} त्रुटि उत्पन्न करती है "टेस्ट पहले ही ऑब्जेक्ट टेस्ट के रूप में परिभाषित है"। हालांकि, अगर कोई नया पैकेज में जावा क्लास के लिए समानार्थता बनता है तो सबकुछ काम करता है पैकेज pkg पैकेज ऑब्जेक्ट मैटकर्स {टाइप करें test = pkg.Test} और नए पैकेज में संबंधित ऑब्जेक्ट को परिभाषित करें पैकेज pkg.matchers वस्तु परीक्षण {def unapply (t: टेस्ट): विकल्प [इंट] = कुछ (टीवी)} अब दोनों पैटर्न और मूल वर्ग के सभी सदस्य नए पैकेज से उपलब्ध हैं import pkg.matchers._ ऑब्जेक्ट मुख्य {डीईफ़ मुख्य (args: Array [स्ट्रिंग]) {val t = नया टेस्ट (1) टी मैच {केस टेस्ट (वी) = & gt; Println (v)} println (t.v)}} यह अजीब लगता है कि एक प्रकार का पर्याय जोड़कर यह काम करने देता है एक नए पैकेज का उपय...

switch statement - Erlang: case..of construct for function call return? -

कोड द्वारा उत्पन्न त्रुटियां हैं 2 & gt; एक्स = "2" "2" 3 & gt; case_: मुख्य (एक्स)। मुख्य 50 प्रेषक 50 ** अपवाद त्रुटि: फंक्शन के मामले में खराब तर्क: case_: प्रेषक / 1 (case_.erl, पंक्ति 14) call_: main / 1 (case_.erl, line 6) से कॉल में 4 & gt; Z = 2. 2 5 & gt; case_: मुख्य (जेड)। ** अपवाद त्रुटि: फ़ंक्शन IO में खराब तर्क: प्रारूप / 3 को IO कहा जाता है: format (& lt; 0.25.0 & gt ;, "मुख्य ~ पी ~ एन", 2) से case_: main / 1 (case_.erl, लाइन 5) 6 & gt; पहली कोशिश पर मैंने एक स्ट्रिंग पास करने की कोशिश की जो एक पूर्णांक को पार करने की दूसरी कोशिश की तुलना में इसे बहुत आगे कर दिया। मुझे यकीन नहीं है कि यह काम क्यों नहीं करता है फ़ंक्शन कॉल प्रेषक (इनपुट) को {डेटा} से रिसीवर () फ़ंक्शन कॉल वापस कर देना चाहिए। मुझे निश्चित रूप से कार्यक्रम के संदेश का हिस्सा होने की आवश्यकता है क्योंकि मैं एक लूप लिखने की कोशिश कर रहा हूं जो संदेश लेता है, उनका मूल्यांकन करता है और परिणाम देता है; लेकिन हो सकता है कि मामला ... क...

web - How to work on a website without a domain? -

I have an idea and I would like to start making a website. How can I create a phpbb type based platform and in fact Can I develop / develop a domain before buying it and hosting it? I'm talking about viewing it in my browser on my local network, like it will be seen that it was a real website. Sorry if this question is confusing, but I have very little experience with web hosting. Yes there is only one thing that does a domain name is the "digit" of the server where your site Hosted on You can install a functional web server locally by the same hosting environment (for example, a MySQL database running with or similar PHP Apache server). You can download a number of packages that already include the necessary software for a local server. In the case of PHP-based web hosting, such as closing packages or unfortunately, you will set up a server very soon, which you can see from a local host. You can also use your computer to simulate browsing with the "real...

multithreading - Threading in Android. NO idea what to do. SUPER confused -

I've been using Java only for a few weeks, and I do not know what's going on. I am creating a canvas, and I have pasted this code with a powerful, but it has a bunch of errors, which I am sure can only be because I do not know exactly How to Set Up Code The tutorial is for those who already know how to thread, and I'm lost. I do not know how to fix errors i.e .:: postInvalidate () "is not a way" or something else, although it is built in an Android functions. .. with set dot draws and others. I'm super confused and I do not know how to fix these errors package com.example.routedrawingtest; Import Android.graphics. Canvas; Import android.view.SurfaceHolder; Class PanelTrade Expands Thread {Private SurfhillHoldServe Holder; Private drawingpanel_panel; Private boolean _run = false; Public panelread (Surffolder surfaceholder, drawing panel panel) {_surfaceHolder = surfaceHolder; _panel = panel; } Public Zero Setting (boolean run) {// Allow us to sto...

cocoa - How to print a NSString from a DTrace script -

It is asking the same thing, but when I try to do: Typedef long ptr_t; ObjC $ target: NSWindow: -setTitle: entry {printf ( "% 30% 10s% x% x% x \ n", probemod, probefunc, arg0, ARG1, ARG2); This- & gt; Str = * (ptr_t *) duplicate (arg2 + 2 * sizeof (ptr_t), size (ptr_t)); Printf ("string ADR =% p \ n", this-> str); Printf ("string val =% s \ n", copinist (it-> str)); } It was not working. Arg2 should be aware of NSString. I got it: NSWindow -setTitle: 100685240 7fff92d82f73 7fff78a6eb80 string addr = 7fff8e7e83b9 string val = window dtrace: enable probe ID error 5 (ID 35,737: objc9434: NSWindow: -setTitle :: Entry ): DIF invalid address (0x6c007400690074) offset 24 you can handle NSString of MacRoman or ASCII encoding - basically need complex (to worry any about the Encoding from DTrace Attitude) Your question is really the same or not, depends on the internal representation or an NSString is similar to a CFStringRef I do not ...

if statement - What is the correct way to use the bash if else && || shortcut? -

I have come across some weird behavior (is not mutually weird, but I do not understand it). > I have to write something if / to the statements, using the statement of the shorthand syntax: [[1-1 points]] & amp; Amp; Echo "true" || Returns the output of the code given above: true Now the above code works really well. But it does not make the next code: [[1-IQ1]] & amp; Amp; InfMsg "True" || InfMsg "false" infMsg is just a function giving output given by the above code: true false I just want to say it 'true'. What is the way I & amp; Amp; Amp; || Does the syntax handle the exit code for tasks? I doubt that your exit code for 'infMsg' is 0 (success). If we break the first piece of code: [[1-IQ1]] & amp; Amp; Echo "true" || What's happening: [[1-EMBA 1]] & amp; There is a higher priority than and to = (more info [here] The first part of the code is "true...

database - MySQL Syntax errors -

बनाओ टेबल ग्राहक (custID INT नहीं नल एयूटीएएनसीसीसीमेंट, कस्टम नाम VARCHAR (255) नल, कस्टम अकादर्ड VARCHAR (255) नल, कंसट्रेंट pk_Customer प्राथमिक कुंजी (custID)), मुझे यह एक डेटाबेस के हिस्से के रूप में स्थापित है, फिर भी जब भी मैं .sql फ़ाइल को चलाने की कोशिश करता हूं जो यह है इसमें शामिल है, मुझे निम्न त्रुटि मिलती है: त्रुटि 1064 (42000): आपके SQL सिंटैक्स में एक त्रुटि है; निकटतम 'CREATE TABLE ग्राहक (कस्ट आईडी INT नहीं नल एयूटीएएनसीसीआरमेंट, कस्टम नाम VARCHAR (' लाइन 8 पर ') का उपयोग करने के लिए सही सिंटैक्स के लिए आपके MySQL सर्वर संस्करण से संबंधित मैन्युअल की जांच करें जो गलत है धन्यवाद अंत से बनाएँ तालिका कथन निकालें बनाओ ग्राहक ग्राहक (custID INT नहीं नल एटीओएन्क्र्रेमेंट, कस्टम नाम VARCHAR (255) नहीं, कस्टम अकादर्ड VARCHAR (255) नल, कॉन्ट्रैक्ट pk_Customer प्राथमिक कुंजी (custID)) या इसके बजाय कामा का प्रयोग करें: बनाओ टेबल ग्राहक (सीटीआईडी ​​INT नहीं नल एयूटीएएनसीसीसीमेंट, कस्टम नाम VARCHAR (255) नल, कस्टम अकादर्ड VARCHAR (255) नल, क...

how to do when I am alert that github is behind 1 commit -

I am using guthub on various PCs. Clone the same repository, I modified the code and made changes in a PC. But when I open another PC, I warn that I am behind 1 commitment. How to process this problem? You need to update the local GIT repository on other PCs. Possibly you have already done this: git fetch to remove the latest changes now with your remote Local branch needs to be merged: git merge root / master (or the branch whose names are behind)

jQuery - .not() isn't working with .text() -

I have a dropdown that looks like this: & lt; Choose Name = "cc_dropdown [0]" id = "CC-Dropdown-0" & gt; & Lt; Option value = "" & gt; Choose a card & lt; / Option & gt; & Lt; Option value = "0" & ​​gt; ********** 1111 & lt; / Options & gt; & Lt; Option value = "1" selected = "selected" & gt; ********** 0005 & lt; / Options & gt; & Lt; Option value = "- 1" & gt; A new card & lt; / Options & gt; & Lt; / Select & gt; I have a div that looks like this: & lt; Div id = "select-cc-dropdown-0" & gt; & Lt; Div class = "selectbox" tabindex = "0" & ​​gt; & Lt; Div class = "sbcontent" & gt; ********** 0005 & lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; I need to get a collection of all the options in the dropdown whose text does not match t...

html - Dealing with javascript in Bootstrap -

I am trying to work on "popover" for bootstrap. I believe my code is correct, but I'm not sure about the javascript part. What's included inside my head below - Importing Javascript - and what looks like my tag Thanks for the help! & lt; Script src = "http://code.jquery.com/jquery-latest.js" & gt; & Lt; / Script & gt; & Lt; Script src = "js / bootstrap.js" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; Script src = "js / jsforfinal.js" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; Script src = "https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" & gt; & Lt; / Script & gt; and inside my JFForFinal.js $ ("a [rel = popover]"). Popover ('show'); My tag looks like this inside my body tag: & lt; A href = "#" rel = "popover" data-placement = "true...

html - How to overlay a play button over a video thumbnail image? -

I have got some image thumbnail images. Is there any way I use CSS (the class name in my play icon is overlays) While keeping the playback icon above the thumbnail image in the thumb center (the name of the item image in my thumbnail images)? & lt; Div class = "itemlieft" & gt; & Lt; Div class = "clipping" & gt; & Lt; One class = "imaging" href = "/ video / id8" title = "galaxy" & gt; & Lt; Img class = "ItemImage" src = "/ images / video 8.jpg" alt = "video 8" /> & Lt; Img class = "overlay icon" src = "/ images / 1.png" alt = "" /> & Lt; / A & gt; & Lt; One square = "periodinfoine" onmouseover = "exhibit 2 (this);" Onmouseout = "hideDuration2 (this);" Href = "/ video / id 1234" & gt; & Lt; Span class = "text" & gt; 51: 57 & lt; / Span & gt; & Lt; / A ...

sql - Rows being multiplied by number of results -

सेलेक्ट s.SR_Service_RecID - में 1 परिणाम होगा, p.Description- में 8 परिणाम होंगे, टी नोट्स - एसआरआई सेवा से 5 परिणाम होंगे, पीईआरआरआई सेवा_आरसीआईडी ​​= s.SR_Service_RecID = s.SR_Service_RecID को छोड़ने के लिए टाइम एसएआरआई सेवा _आरसीआईडी ​​= s.SR_Service_RecID इस क्वेरी से गुणा कुल पंक्तियों की संख्या के लिए टी। नोट्स द्वारा विवरण। प्रत्येक p.Description प्रत्येक व्यक्तिगत t.notes के विरुद्ध 5 बार प्रदर्शित कर रहा है। परिणाम सेट: SR_RecID विवरण नोट्स 12345 उत्पाद 1 नोट 1 12345 उत्पाद 1 नोट 2 12345 उत्पाद 1 नोट 3 12345 उत्पाद 1 नोट 4 12345 उत्पाद 1 नोट 5 12345 उत्पाद 2 नोट 1 12345 उत्पाद 2 नोट 2 12345 उत्पाद 2 नोट 3 12345 उत्पाद 2 नोट 4 12345 उत्पाद 2 नोट 5 आदि .. मुझे यकीन है कि कैसे इस एक को हल करने के लिए ... किसी भी मदद की सराहना की जाएगी। [संपादित करें]: के रूप में परिणाम सही हैं कि आप इसे सही दिखाने के लिए एक एसएसआरएस रिपोर्ट में कैसे डाल सकते हैं परिणाम की मात्रा के रूप में यह सभी डुप्लिकेट पंक्तियों को प्रदर्शित करेगा? SR_RecID 12345 विवरण उत्पाद 1 उत्पाद 2 ...

sql - how to fetch all data from one table in mysql? -

मेरे पास mysql डेटाबेस में टेबल हैं a_ad_display आईडी | एडआईडी | a_mediatype आईडी | मीडियाआईडी 1 | एनीमेशन 2 | वीडियो 3 | छवि a_advertise advId | MediatypeId | | संगठन आईआईडी अब मैं क्या चाहता हूं कि एड-आइडी के सभी रिकॉर्डों को एडआईडी की गणना के साथ मिलना है जो संगठन के साथ पंजीकृत है = "कुछ विशेष आईडी" तालिका में विज्ञापन और समूह को उनके मीडिया प्रकार। मैंने इसे निम्नलिखित क्वेरी के साथ हासिल किया है .... SELECT COUNT (a.advertiseId) कुल के रूप में, m.medianame FROM a_mediatype के रूप में मी JOIN a_advertise एक पर as.mediaTypeId = m.mediaId एक विज्ञापन पर ad.advId = a.advertiseId के रूप में जोड़ें, जहां a.organizationId में (चयन टी। संगठन की स्थापना से संगठन के रूप में एटीएस जॉइन संगठन के रूप में टी पर। पीआरटीईपीथ की तरह CONCAT (p.treePath , '%') जहां p.organizationId = '37423') ग्रुप द्वारा एम.मीडियामा लेकिन मेरी आउटपुट इस तरह आता है medianame | गिनती एनीमेशन | 92 छवियां | 103 इसलिए इसका मतलब है कि एडीएडी में किसी विशेष ...

twitter - Newtonsoft.Json Dependency issue -

मेरा प्रोजेक्ट Newtonsoft.json V4.5 का उपयोग करता है। अब मेरे पास प्रोजेक्ट में ट्विटर ओअथ को एकीकृत करने की आवश्यकता है। मैंने एकीकरण के लिए Tweetsharp.dll का उपयोग करने का निर्णय लिया है। Newtonsoft.Json के निर्भरता संघर्ष के एक मुद्दे के साथ मिल गया है कि Tweetsharp के लिए Newtonsoft.json 3.5 की आवश्यकता है। मुद्दा यह है कि मैं अपने नये संस्करण के न्यूटॉन्सफ्ट। जेसन से मेरी परियोजना से प्रतिस्थापित नहीं कर सकता क्योंकि यह अन्य विशेषताओं को प्रभावित करता है कृपया इस समस्या को हल करने में मेरी मदद करें। सर्वर त्रुटि '/' अनुप्रयोग में फाइल या असेंबली 'लोड नहीं कर सका' न्यूटॉन्सफ्ट। जेसन, संस्करण = 3.5.0.0, संस्कृति = तटस्थ, पब्लिककेय टोकन = 30 एडी 4 एफ 6 बी 2 ए 6 ए 'या इसके निर्भरता में से एक स्थित विधानसभा की स्पष्ट परिभाषा विधानसभा संदर्भ से मेल नहीं खाती है। (HRESULT से अपवाद: 0x80131040) विवरण: वर्तमान वेब अनुरोध के निष्पादन के दौरान एक अनियंत्रित अपवाद उत्पन्न हुआ। कृपया त्रुटि के बारे में अधिक जानकारी के लिए स्टैक ट्रेस की समीक्षा करें और कोड में ...

hadoop - use SequenceFile class write file -

I use the follow code to write some data in the sequencefile format file. When the program runs a little longer, I was paused in the program via the red button on the eclipse console. However, when I check the data file on the HDFS, the sequence file size is zero. And also see the file 'can not use the hadoop fs -text filename' command. When I use the sequencefile. Reader has already read the file that I created, I complete the 'exception in the thread' main "java.io.EOFException" exception. In this case, how to do? My development environment on Eclipse 3.7 (on Windows 7) Private string uri = "hdfs: //172.20.11.60: 9000" ; Private string filePath = "/ user / thupp / input /"; personal string filename = "sequence -01.seq"; public index Author Author; Private Static Int Cnt = 0; Private Zero Init (try {config conf = new configuration}; {FileSystem fs = FileSystem.get (URI.create (uri), conf); Author = Sequence File Generato...

Default Android Time zone List -

Image
I was thinking that I could get the default code anywhere for the time zone selection list for Android version 2.3.3 Am I string [] id = timezone.getAvfid (); For (int i = 0; i = 0? "+": "-"; Waiting time zone return = string format ("(UTC% s% 02d:% 02d)% s", sign, hour, minute, field); println (timeZonePretty); ///////////// //////////////////////////////////////////////// /// ListView listitems = (ListView) findViewById (R.id.list); ArrayAdapter & lt; string & gt; adapter = new ArrayEptter & lt; string & gt; (this, Android. R. Late Simple_L_Listime, ID); Listitems.setAdapter (adapter); } Document for the time zone. To set the time zone The sample code for the settings is US Time Zone // Calendar Category Calendar = Calendar. Create an Object Object First; // Now set the date using the dateformat class SimpleDateFormat sdf = new SimpleDateFormat ("dd-MMM-yyyy hh: mm: ss z");); // Set periodically at the...

java - error in parsing json inside an AsynTask in Android -

मेरे पास AsynTask है और json को पुनः प्राप्त करने का प्रयास करते हुए और पार्स यह, लेकिन मुझे यह त्रुटि मिलती है: 03-21 11: 38: 07.033: ई / एंड्रॉइड रेंटमैन (8439): फालतू अपवाद: मुख्य 03-21 11: 38: 07.033: ई / एंड्रॉइड रेंटाइम (8439): java.lang.NullPointerException 03-21 नवम्बर: 38: ०७.०३३: ई / AndroidRuntime (8439): org.json.JSONTokener.nextCleanInternal (JSONTokener.java:116) में 03-21 नवम्बर: 38: ०७.०३३: ई / AndroidRuntime (8439): 38:: ०७.०३३: ई / AndroidRuntime (8439): org.json.JSONTokener.nextValue (JSONTokener.java:94) 03-21 नवम्बर पर। org.json.JSONObject पर & LT; init & gt; (JSONObject .java: 154) 03-21 11: 38: 07.033: ई / एंड्रॉइड रेंटाइम (8439): at org.json.JSONObject। & Lt; init & gt; (JSONObject.java:171) 03-21 11: 38: 07.033: ई / AndroidRuntime (8439): 38:: ०७.०३३: ई / AndroidRuntime (8439): Dic.proj.pkg.notifService.parse_if_update (notifService.java:191) 03-21 नवम्बर में Dic.proj.pkg.notifService $ 1 $ 1 $ 1 पर। OnPostExecute (notifService.java:1...

facebook - How to hide a pre-built app tab from a fanpage temporarily during development -

I'm thinking of hiding a fashion tab to see what's happening during tab development with a published fanpage, Does it appear only for the page administrator? I know that you can do this for a custom built app (sandbox setting), but here I do not refer to a custom built app, but prebuilt apps like static HTML. To edit the tabs it seems that they need to be added to the page so that they can edit. This is a problem while customizing the Facebook tab, because you do not want your fans to see their progress content until it is ready to be published. Whoever has experience with this? You can show it only when an administrator is logged in to check the session. I can not help you because there is a lot of information you can use ..

spring - Converting Object to Class object -

In my Spring MVC project I'm using Hibernate, using the criteria API Group I and order by clause I'm implementing Query successfully executed DB and also brings results, but an array of object - The criteria API Criteria criteria = session.createCriteria (DashboardSubindicatorSubmission's code .class, "DashboardSubindicatorSubmission") .setProjection (Projections.projectionList () .add (Projections.sum ( "InputValue"). as ( "InputValue")) Kadd (ProjectionskgroupProperty ( "FkAccademicYearId")) Kadd (estimated .groupProperty ( "fkAssessmentPlanID")) .add (Projections.groupProperty ( "fkSubindicatorID")) .add (Projections.groupProperty ( "InputTitle"))) .addOrder (Order.asc ( "fkAccademicYearId")) .addOrder ( Order .asc ("fkAssessmentPlanID"). Theodor (o Order .asc ("Inputtail")); & Lt; DashboardSubindicatorSubmission & gt; DashboardSubandicatorSubmissionList =...

android - stopping a service using stopself() -

I have written a service that listens to some callback and receives viscid and then passes through the VCard service ( This class was defined in the Android Contacts app and I am using it). Now when I stop VCardService, I want to stop this service. I know that we can check whether a service is still running or not. But I need to know the calling service only after service. not otherwise. I'm not sure what you really want, but if you want to stop the service Public class extends the MyPersonalService service {@Override Creates on Public Zero () () Suppose that you are downloading some files, so when you download your file, Prevent yourself like this: this.stopSelf (); } The Calling StopSL () method will stop the service, you do not have to stop it yourself, you should know where and when stopSelf () method will stop.

SAS datetime formatting as POSIX -

I should format the SAS in a POSIX format datetimes. In the following "2009-11-25 14:44:56" how can I show milliseconds? proc format; Picture POSIX other = '% 0Y-% 0m-% 0d% 0H:% 0M:% 0S' (datatype = datetime); Run; Data testing; Mydatetime = '25nov2009 14: 44: 56.300 DD; Format newdt POSIX.; Newdt = mydatetime; Mydatetime = newdt =; Run; Edit: I'm not taking any method to format data format to YYYY-MM-DD HH: M: SS.sss (ISO8601) Find it in less than 1 minute E8601DT23.3 should show its values, additional " T "separator; SAS requires that if you are putting on the value of a character, you can easily remove "T"; If you are trying to use a formatted numeric value, then I think you have to be with it. data testing; Mydatetime = '25nov2009 14: 44: 56.356 DD; Format newdt E8601DT23.3; Newdt = mydatetime; Mydatetime = newdt =; Run; SAS guide on ISO8601: EDIT: SAS-L has arrived at (). If you have 9.3, then it should w...

wicketstuff - Customised Error Message for default DateValidator in Wicket -

I am using DateValidator class to validate the date entered by the user. I'm getting a general error message for this, but I can customize the error message without creating a separate validator class. "itemprop =" text "> Yes, for example if you have the following type of page. MyPage.html & lt; Wicket: Pages & gt; & Lt; Form wicket: id = "form" & gt; & Lt; Input type = "text" wicket: id = "start date" /> & Lt; Input type = "text" wk: id = "end date" /> & Lt; / Form & gt; & Lt; / Wicket: p. & Gt; Then you add your Java class properties MyPage.properties which next to the file name to add the following entries. MyPage.properties form.startDate.DateValidator.minimum = & lt; Messages for the minimum STARTDATE & gt; Form.startDate.DateValidator.maximum = & lt; Messages for maximum start-up & gt; Form.endDate.DateValidator.minimum...

javascript - youtube iframe api not working in firefox with backbone -

So I am trying to implement the YouTube API in the backbone code. I see the API one and try to run everything from there It does a great job in Chrome but is running in Firefox, to trigger an event that triggers It seems when the YouTube API is not loading. If it is related to the related context, then this warning will run in Chrome, but not in Firefox. Has anyone seen anyone like this before? Use the spinebone 0.9 and the YouTube iframe API Live example: Related code App.Views. 'You' 'Wmode': 'transparent', 'original': 'http: //www.youtube.com', 'capableJP': 1, 'autoplay': 0, 'control': 1, 'iv_load_policy': 3, 'Shinfu ', 0:' Relay ': 0,' AcceptableSluscreen ': 1,' Permission Spontaneous': 'Yes'}}, Start: Function (Option) {// Force Itubeplay Event To run this password. ('Youtubeplay', this.play, this); // To stop this method, compel youtubestop.bi...

Does embedding c++ code in python make your python application faster? -

Using ctypes, boost.python, etc. to embed C ++ code in Python makes your Python application faster Are you Suppose I am making an application in pygtk and I need some functions that should be fast, so if I use c ++ for some functions in my application then is it beneficial Will happen? And what are the other options to make Python code fast? Important parts of your code in C ++ can be an option to do it effectively First of all, you have to understand where the obstacles are. The best way to do this is to write everything in pure Python first, and then profile. Another option may be to use. Finally, if you think that the obstacle is numeric computations, then have a look. It is worth noting that, if, for example, it has been found that your code is I / O-bound, then none of the above options will be of great help.

database - PLS-00201 Error when running stored procedure in Oracle -

I recently moved to the oracle database for one of my projects I used to select several rows from the database Created The following is my process or choose Open p_cursor * from branch_info * to open the form of Practical Test (p_cursor OUT SYS_REFCURSOR); End test; When I execute this process, I found the following error: * Error in line 1: ORA-066: Line 1, column 7: PLS-00201: Identifier 'SAURAV.TEST' should be declared ORA-06550: Line 1, Column 7: PL / SQL: Statement ignored I have Searching and the same question but error line has been found Edit: Misspint Test with text Help any person solve this problem The problem is with the test of the keyword create or test the process (p_cursor OUT sys_refcursor) Open p_cursor for selection as * from Branch_info; End Test; and performed by the variable RC refraction; Exec test (: RC); Print rc; Ora-0650: Line 1, Column 7: PLS -0201: Identifier 'Test' should be declared ORA-0650: Line 1, Colu...

objective c - Understanding CoreData using relationship -

Image
मुझे CoreData और रिश्ते का उपयोग कर एक गलतफहमी हो रही है। मुझे अपने एसक्यूएल के समय (लंबे समय से पहले) से क्या याद है ... मुझे प्रत्येक तालिकाओं में जोड़ना होगा और आईडी जो प्रविष्टि होगी तालिकाओं के बीच संबंध बनाते हैं। मेरे टेबल मेरे कोर में कैसे दिखते हैं, इसका अवलोकन नीचे (संस्थाओं)। Epro_Sheet मेरा मुख्य तालिका है, दूसरों को उस से संबंधित होना है। मुझे क्या करना है: उपयोगकर्ता भरता है एक यूआईवीआईयूआईयूटी-विन्यासकर्ता ( EPro_CompanyViewController ) पर फ़ील्ड जिसके पास उसकी स्वयं की इकाई EPro_Company तब जब वह अगली प्रेस करता है - जो EPro_Sheet बनाता है , वेतन वृद्धि आईडीशीट और अन्य प्रविष्टियां भरें - इसके अलावा EPro_Company EPro_CompanyViewController के फ़ील्ड पाठ से भर जाता है। फिर उपयोगकर्ता EPro_DaFroidViewController , उसके बाद जब वह आगे दबाएं तो वह इकाई भरेंगी EPro_DaFroid वर्तमान EPro_Sheet की वर्तमान आईडी प्राप्त करें और उसे EPro_DaFroid पर सेट करें ... आदि .. वहाँ एक UIViewController (इतिहास) होगा जो उपयोगकर्ता को किसी विशिष्ट दिनां...

itunesconnect - Can I create a new version of my app while an earlier version is "Waiting for Review"? -

I have version 1.0 of the iOS app that I submitted to Apple. I uploaded it to connect iTunes and it has been marked as "Waiting for review". I had to make a minor change, so I have a new version 1.0.1, which I would like to upload the queue for approval in the past when I want to make an update, then I will be able to install iTunes You can click on "add version" under the versions on the Connect page, but this option is not for any reason. Do I have to wait till I make my change and upload it, can my app be approved (or rejected)? Or, is there a way to avoid this, so that I can reduce the time before hitting my definitive edition store? Yes, you can upload new binary, only you need to know that This will restart the review for a complete review. Go to app details in iTunes then connect to 'binary details' and you should see 'Reject binary' button in the top right corner. After you dismiss the binary, you will be able to upload a new o...

css - error adding xml-style sheet to an SVG object inside javascript -

I get an error when I add this line of code to my JavaScript file, Parse error : Syntax error, unexpected T_STRING var data = "& lt ;? xml-stylesheet type = 'text / css' href = 'css / main.css'? & Gt;" + "& Lt; svg xmlns = 'http: //www.w3.org/2000/svg' width = '800' height = '800' & gt;" + "& lt; foreign object width = '100%' Height = '100%' & gt; "+" & lt; div xmlns = 'http: //www.w3.org/1999/xhtml'> " + $ ("#mainbody"). HTML () + "& lt; / div & gt; & lt; / foreign object & gt; & lt; / svg & gt;"; When I delete this part: "xml-stylesheet type = 'text / css' href =' css / main CSS '? & Gt; However, I have the same line in the second file, but there is no problem What could be the problem? This is a PHP error, do you have & lt;? or ? & Gt; Sequences n...