Posts

Showing posts from August, 2010

jquery - Bootstrap Navbar not collapsing on mobile or tablet -

I have not broken problems with my bootstrap. I'm not sure why this is not working Hope I can be thankful for any help. I'm a newbie so please be gentle. & lt; Nav class = "navbar navbar-default navbar-fixed-top" role = "navigation" & gt; & Lt; Div class = "container" & gt; & Lt ;! - Brand and toggle are grouped for better mobile display - & gt; & Lt; Div class = "navbar-header page-scroll" & gt; & Lt; Button type = "button" class = "navbar-toggle" data-toggle = "collapse" data-target = "#bs-example-navbar-fall-1" & gt; & Lt; Span class = "sr-only" & gt; Toggle Navigation & lt; / Span & gt; & Lt; Span class = "icon-bar" & gt; & Lt; / Span & gt; & Lt; Span class = "icon-bar" & gt; & Lt; / Span & gt; & Lt; Span class = "icon-bar" & gt; & Lt; / Span & gt...

Creating a database table (MySQL) -

I am trying to create a database script that contains the SQL code for the following steps, and execute each step recipe in Strong> fooddb . The recipe table should contain the following objects for the column: ID (auto increment), title, instructions (only one string), numbers, and total time ( in minutes) Edit 3 - 11/4/2014 - 15:32 ... I might have come to know this, I am not very sure, though: create table recipes (RapidID Ent Null Auto_Intermement, 'Respananam' Varkar (300), 'Recipe Type' varchar (100), "Instructions" text, Nonoff Serving Rick Null, T Tltaim Inminits Int tap (Reepiaiaidiaidi)) of the primary; Insert in the prescription values ​​(0, 'ResponseName', 'Recipes Type', 'Instructions', 0, 0); * Choose from the recipe; Is there anything that might be wrong in this ??? You should take a look at the mysql manual to learn how to create databases / tables: / P> There are ways to create tables. ...

Native C++ dll in one solution with C# project -

I have a source file written in C ++, execution of some simulations, I create a user interface in C # Want to How can I get both C ++ and C # in a single visual studio solution? What I've done so far I had created a .NET C # project and solution, and then as a native project DLL library. I have marked the C # project as "depends" on the C ++ dell I've imported using the dllexport instructions and DllImport . Everything compiled properly, but when I execute the application, dll was not found: Unable to load DLL 'xxxx.dll': The specified module was not found. It is no wonder that DLL is not found, because this application is run from its output directory and output directories are different for C # and C ++ projects. I do not want to write a clear path in my form like ".. .. \ debug \ xxxxx.dll". Is there a general way to structure a DLL solution and C # app can call C # APP native DLL? If you know that after deployment your C ++ ...

angularjs - $observe an object attribute of a directive -

There is a separate scope of my instruction and it receives an object from an attached controller as an attachment. App Directional ('Description', function () {return {restricted: 'e', ​​radius: {device: '= device', ...}, templateUrl: '/ details .html ', link: function scope, element, attrs) {attrs. $ Inspection ('device', function (value) {...});}};}); and in HTML: & lt; Details Tool = 'ctrlAlias.device' ... & gt; I have read somewhere that if I want to check the change in the attribute, then I have to use the $ Inspection function. However, in most instances, I had only seen the use of $ inspection on primitive values ​​ I wonder if I can convert $ to device , device.exist (a boolean) and attrs. Use device.id (a string) in $ ?

java - Libgdx - loading asset -

LwjglGraphics: Created 3.2+ core profile references. This is experimental! # # A critical error has been discovered from the Java Runtime Environment PC = 0x00007f7860b7ba70, PID = 14,137, TID = 140153724787840 # # # SIGSEGV (0xb) in JRE version: OpenJDK Runtime Environment (7.0_65-B32) ( 1.7 build. 0_65-B32) # Java VM: OpenJDK 64-bit server VM (24.65-B04 mixed mode Linux amd64 compressed Oops) # Derivative: IcedTea 2.5.3 # Distribution: Ubuntu 14.04 LTS, package 7u71-2.5.3 -0ubuntu0.14.04.1 # Problematic frame: # c [libc.so.6 + 0x98a70] # # The main dump failed to write. Core dump has been disabled, try to enable core dumping: "ulimit -c unlimited" Java is saved ## after any error report file is started with more information as follows: # / home / Jf / WorkspacelibGDX / desktop / hs_err_pid14137.log # There is a problem loading a property for the Libgdx Java project, it's a little while (no asset, just black screen) Runs for, then the program is closing When I co...

javascript - Calling an Android function from AngularJS controller -

I have a problem for which I need some help. I'm trying to call the Android function in my frontend using an angle controller, but I can not get it to work. Main Activity: @ Override Protected Zero (Bundle Saved Instantstate) {Super.New (Saved Instantstate); SetContentView (R.layout.activity_main); MWebView = (webview) Find VibibIID (RIDA activism_man_viewview); MWebView.setWebViewClient (new CustomWebViewClient ()); WebSites webSettings = mWebView.getSettings (); WebSettings.setJavaScriptEnabled (true); MWebView.addJavascriptInterface (new AngularGenfinder (this), "Android"); MWebView.loadUrl ("http://192.168.70.101:3000/"); } AngularJSInterface: public class AngularJSInterface {reference mContext; Angular jsinterface (reference c) {amcenttex = c; } Fond of public zeroes (string toast) {toast. Make Text (MCTXTist, Toast, Toast. LNNGHHORT). Show (); } } Angular Controller: Angular Module ('app'). Controller ('Complaint', Fun...

java - WebView not working again after close -

I am trying to instantiate many GeFrames with WebVisse, it will work until the first web After this, at least one webview is still alive and JFRM (with everything else) is not settled. After some investigation, it seems that after shutting down all WebVia JFrame, Platform.runLater () now next JFrame with immediate WebFiewPanel. The following is the simplified code: public class WebViewPanel {Private JFXPanel jfxPanel; Private webview view; Private web engine webengine; Private Jepynel Panel; Public WebViewPanel (JPanel Panel) {this.panel = Panel; Panel.setVisible (true); CreateScene (); } Private void createScene () {Platform.runLater (New Runnabal) {@Override Public Zero Run (Run) {// Runnable now goes after JFrames jfxPanel = new JFXPanel () with all WebFiewPanels; View = new WebView (); WebEngine = Vih. Gatienjin (); JeffPennell.Setsen (new view (see)); Panel.ed (jfxpanel); JFXPanel.Set (right);}}); }} So, what should I do to solve this problem? This happens becau...

design patterns - VB.Net clone hierarchy where parent has reference to child and vice versa -> circular reference -

यह स्थिति है: कक्षा ए उपकरण बच्चे) सार्वजनिक समारोह क्लोन () वस्तु के रूप में Iloneable.Clone रिटर्न के साथ एक नई ए के साथ। {बच्चों। = बच्चे। चुनें (समारोह (सी) DirectCast (c.Clone (), बाल)) ToList ()} समाप्ति समारोह कक्षाएं कक्षा बच्चे के कार्यान्वयन के रूप में आईसीएलओनेबल पब्लिक प्रॉपर्टी जनरेट एक जन समारोह क्लोन () के रूप में ऑब्जेक्ट इलैप्लिकेशंस आईसीएलओनेबल। क्लोन रिटर्न न्यू चाइल्ड विथ {। मुख पृष्ठ = डायरेक्ट सीस्ट (पेरेंट.क्लोन (ए)} एंड फंक्शन एंड क्लास वास्तविक वस्तु अधिक जटिल है, जिसमें कई स्तर हैं। मुझे यकीन नहीं है कि यह कैसे हल करना है, क्योंकि जब भी आप क्लोन को माता-पिता ए वर्ग पर कॉल करते हैं, तो आप एक परिपत्र संदर्भ से समाप्त हो जाएंगे। मैं इस स्थिति से कैसे बच सकता हूं? क्या मुझे अपना खुद का क्लोन फ़ंक्शन बनाकर एक पैरामीटर के साथ पास करना चाहिए? सबसे सरल उपाय यह है कि बाल वर्ग माता-पिता सम्पत्ति को बिल्कुल क्लोन न करें। जब एक बाल क्लोन ही होता है, तो यह या तो माता-पिता संपत्ति को छोड़ सकता है, या बस इसे रिक्त छोड़ सकता है। उदाहरण के लिए: ...

Use Shell script to retrieve max number of users' activity in a file -

Recording, example to send email records to different users while viewing a / var / log / messages file as to: 20140912 Chris sendingemails_id00012jjdi3x 20140912 Chris sendingemails_id00012jjdiji 20140912 Allen sendingemails_id00012jwciscl 20,140,914 Chris sendingemails_id00012jjdiji 20,140,915 Linda sendingemails_id042555jwciscl 20,140,915 Chris sendingemails_id00012jjdiji 20,140,916 sendingemails_id005hhbxxsscl Allen 20140917 Chris sendingemails_id2221d2rwaaiji 20,140,917 Linda sendingemails_id00012baseeqcl 20,140,918 Chris sendingemails_id45677tehhwaaiji Now, I User sends requires most emails to retrieve can I do this? Thanks a lot. It should help: cat / var / log / Message | Grep "sendemails_" | | Awk '{print $ 2}' | | Sort | Uniq -c Or to get the username exactly: cat / var / log / messaes | Grep "sendemails_" | | Awk '{print $ 2}' | | Sort | UNIK-C | Sort-R | Head-1 Awk '{print $ 2}' '

javascript - Finding clicked item from a span using jquery -

I have to follow HTML, for example I'm trying to find the item I clicked on: For example: O / P should be in that way. I wrote it like this, but what I am not getting is needed. It sends all the text back to $ (' Emotion-less .text '). ('Click', function (e) {var str = $ ('. Sense-text .text'). 'Span'). Text (); Alert (str);}); This is the HTML code I am trying to make. After this I have written the above code, but I am getting the complete text, but only I did not find the item that I clicked & lt; Div class = "emotion-less" & gt; & Lt; Div class = "wrapper" & gt; & Lt; Div class = "key" & gt; & Lt; / Div & gt; & Lt; Div class = "text" style = "cursor: indicator;" & Gt; & Quot; Div class = "tag alerts-success" & gt; & Lt; A href = "#" class = "close" data-rejected = "alert" & gt; × & lt; / A ...

css3 - css: z-index works unexpectably -

When you move the mouse cursor over the camera cursor, I get a picture of lunch. I span in which the image is Z-index is 1000, tables have z-index 1, but the images are shown below the table. Please can you help me? What's going wrong? All your tables have z-index 1, so they are at the same level and determine the source order Which tables will be found on top of the other if they ever overlap. You can have a better z-index in pictures, but they are included in your table. Z-indexes are not global, they are applied to a "stacking context" every time you create an element (and some other CSS properties, like opacity or in your case) in a z - If the pointer adds, this element makes it a stacking reference for its children.

installer - Show finish page if user click cancel on license page NSIS -

Image
I have two license pages and on the second license page, if the user chooses to not install 3rd party app, then This will be shown End of page So far, I use the MUI_CUSTOMFUNCTION_ABORT user access to go to the finished page. But the problem is that when the user clicks the Skip button (this is actually a cancel button and I leave it), this license will be created on the page and the install button will be placed on the next button ( Image 1 -> Image 2 -> Image 3). I know that this happens because I call abort in onUserAbort . If I do not call abort , then the window will close automatically when click Skip user. Do you have any idea how straight the step is to end the page? (Image 1 -> Image 3, without Image 2) ! Insert MUI_PAGE_WELCOME page custom checkHWSPECJenate METIMIMATE dialog! Insert MUI PAGE_LICENSE "$ {SOURCEFOLDER} \ license1.txt"! Define MUI_DIRECTORYPAGE_VERIFYONLEAVE! Insert MUI_PAGE_DIRECTORY! Insertmacro MUI_PAGE_STARTMENU application...

python - Reply to Message Skype4Py -

I did not find any tutorials or easy-to-understand snippets to do this easy task. I have one way on OnMessageStatus which gets the message every time I get it. The signature is onmessstastus (message, status): where the message is an object of the following type: I can not figure out how to answer in a single chat / group chat You can chat with ChatMessage.Chat and call its method Please. Simple callback will do the following: def OnMessageStatus (msg, status): if the condition == recover Skype4Py.cms: msg.Chat.SendMessage ("n / a" )

javascript - Mouseenter + Click event with only one tap on WP8.1 -

I'm trying to fix my dropdown menu for IE10 / 11 on WP8.1. I have a drop down menu that activates the submenu on the mouseenter or onclick, plus the onclick function check, if the submenu is already visible - the redirect to the destination (the href is in the original menu). PC: Mouse Center - I see submenu, if I click on the guardian - I was redirected. IOS: First click on the menu - Shows submenu, second click - Redirect. WP: Click execute both events first! MouseTenter - So it shows submenu and then onclick - so it redirects me poorly. How can I fix this? I tried: 1. Touch-verb: none; 2. Set a timer between 2 events, but it's big enough! 300-500 ms, so I can not always use it This code thanks the timer, I added a check on the IEMobile browser to fix quick clicks on the PC. But this is bad, how can it be improved? $ ('.sidesliderparent'). Click (function (e) {var path = $ (this). Child ('a'). Attr ('href'); var subid = $ (this) .a...

php - how to display loop elements with in a given time interval? -

For example, it is possible in PHP to display any loop over time : - I would like to display 1 after 5 minutes, it will display 2 Any help would be great. Thank you in advance. cron job sample #! / Usr / bin / env php & lt ;? Php # This file can say, '/usr/local/bin/run.php' // code "was run from this cron" echo After that, a entry in the cron Add: * * * * * / usr / bin / php -f /usr/local/bin/run.php & amp; Gt; / Dev / null source:

c# - Varchar[HH:MM] SUM in DataGridView -

Image
I have a cell Datagridview in which the varchar values ​​are with the HH: MM format, when I make a sum of these values I need to use the function Private Zero CalcTime {string span = dataGridView1.Columns ["Horas"]. ToString (); Double seconds = 0; Secs = datagrid view 1. RAVE .STAT & LETTEDATED DATA CERTIFICATE & gt; (). Asymmetrical () .Sum (x => TimSpace purse ((x.Cells ["Horas"]. Value.ToString ())). TotalSeconds; String somat = ""; Double Segundosec = Second; Somat = string.Format ("{0:00}: {1:00}", Segundosac / 3600, (Segundosec / 60)% 60, Segundosecz% 60); } If the values ​​are like 01:00 or 03:00 then this is fine, but if I had values ​​like 01:30 yoga does not work. As shown below: How do I work it right Can i Regards The problem is that the sum of seconds will be 20400 and when you divide by 3600, you get '5.666666 and Because your variable is a double and you're using the format {0:00} , the valu...

java - Launching existing Activity on Notification click -

There is a countdown timer created on one piece. If the countdown timer is running, then the user can navigate inside the app or go outside of the app. Whenever the user goes outside the countdown timer, there should be a notification at the top. If the user clicks on notification, then they should be directed to the CountTownTimer piece and the timer's correct number should be shown below. Opens the code activity below, in which a counterdown timer has been created. But it launches a new example of that activity. Is there any way to get an old example of the same activity so that I can start the activity again from the previous situation? {Notification. Builder Note = New Notification. Builder (getActivity ()); Noti.setContentTitle ("Kick Counter"). SetSmallIcon (R.drawable.mom_ic_launcher) .setAutoCancel (true); Intent notification intent = new intent (getActivity (), kick-quatactivity.class); NotificationIntent.addFlags (Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT); P...

php - Yii session resetting on redirect -

I have the following code to identify a session for language_id or session if $ $ _GET varaiable has been passed Set init (); The address of the private function (language) if (isset ($ _GET ['language_code']) & amp; down ($ _GET ['language_code'])) {$ language = Language :: model () - & gt; Find (array ('condition' = & gt; 'Iso_code =: iso_code', 'params' => array (': iso_code' = & gt; $ _GET ['language_code']),)); If ($ language! = Null) {Yii: app () -> session ['language_id'] = $ language-> Id; $ This- & gt; Redirect (Yii :: app () - & gt; Request & gt; urlReferrer); } And {$ this- & gt; Redirect (Yii :: app () - & gt; request- & gt; url referrer); }} And {$ currentLang = (isset (Yii: app () -> session ['language_id']))? Yii :: app () - & gt; Session ['language_id']: 1; If (Language :: model () - & gt; find (array ('condition' =...

Storing numerical value from a binary file into an array- C++ -

I am trying to read numerical data from a binary file with double values ​​and store it in an array named My Array I am When I print my Arya, nothing is being shown, like my arrow has never been filled. Any help is appreciated. int main () {int file_len; Infinite Infile; Infile.open ("mybinfile.bin", iOS :: binary | iOS :: In); If (Infile.is_open ()) {cout & lt; & Lt; "Error opening file." & Lt; & Lt; Endl; } And {const int file_len = 100; Std :: vector & lt; Four & gt; MyVect; MyVect.resize (file_len); Int i = 0; Infile.read ((Four *) (& Temp), Size (four)); MyVect [i] = temporary; While (Infile.eof ()) {myVect [i] = temp; I ++; Infile.read ((Four *) (& Temp), Size (four)); } For (int i = 0; i & lt; 100; i ++) {cout & lt; & Lt; I & lt; & Lt; ":" & Lt; & Lt; MyVect [i] & lt; & Lt; Endl;}} infile.close (); Return 0; } here infile.read (( Char *) and Maya, File_Len * size (do...

c++ - MPI_Bcast hanging -

I followed the example and added some code for the test, but when I added the new code, some strange results emerged. The results are shown below: it is hanging here and was not able to move forward. [0]: Before BCC, the buff is 777 [1]: Before the BCC, the bluff is 32767 [0]: After the BCC, the buff is 777 from two point of view Weird: When the code (code = Whey buffer [1] is not before bcast. Here is the code: #include & lt; Mpi.h & gt; # Include & lt; Stdio.h & gt; # Include & lt; Stdlib.h & gt; # Include & lt; Unistd.h & gt; Int main (int argc, char ** argv) {int rank; Int buf; Const int root = 0; MPI_Init (& amp; argc, & argv); MPI_Comm_rank (MPI_COMM_WORLD, and Rank); If (rank == root) {buf = 777; } Printf ("[% d]: Before BCC, buf% d \ n", rank, buff); // added for new (i int = 0; i & lt; 2; i ++) {if (rank == i) {if (i == 1) MPI_Bcast (& amp; buf, 1, MPI_INT, rank) , MPI_COMM_WORLD); }} / / * Ever...

TFS Build Template 2013 Nuget Restore is done before building all solution -

I have seen that with TFS Build Template 2013, NOOG is a new activity to restore solutions. Can anyone tell me why this is done before making all the solutions before the creation of a personal solution? The result of this is that if a solution publishes their own packages and other solutions (later made up in the process), the build breaks down depending on the package. This is a good practice. I would recommend that you separate the second solution into a separate build. Discrete construction then prepares and publishes your newgate package. It does not make any sense to combine this ...

php - Codeigniter in subdomain issue -

मेरे पास वेब सर्वर उपनिर्देशिका में एक CodeIgniter उदाहरण है, www / CI मेरा www / CI / application / config / config.php फ़ाइल इनके साथ कॉन्फ़िगर है: $ config ['base_url'] = 'http: //CI.example .com / '; मेरे पास एक उपडोमेन ' CI.example.com ' है जो उस सीआई निर्देशिका पर इंगित करता है। मेरा www / CI / .htaccess फ़ाइल इन सूचकांकों में 'index.php' स्ट्रिंग को हटाने के लिए सिर्फ मानक है: RewriteBase / RewriteCond $ RewriteEngine पर $ 1! ^ (इंडेक्स \ .php | assets | robots \ .txt | favicon \ .ico) रीव्रैटकॉन्ड% {REQUEST_FILENAME}! -f रिव्रैटकॉन्ड% {REQUEST_FILENAME}! -डी रिक्राइटआर्यूल ^ (। *) $ Index.php? / $ 1 [एल] मेरे सीआई एप के अंदर हर यूआरएल जड़ एक को छोड़कर ठीक काम कर रहा है: 'CI.example.com' जब मैं इस एक का उपयोग करने की कोशिश करता हूं, www / .htaccess (ऊपरी, मुख्य डोमेन) में निर्देश लागू होते हैं और यह एक अवांछित व्यवहार में परिणाम होता है ... क्या आप इस मुद्दे के साथ मदद? अग्रिम धन्यवाद। क्या आप पुनः लिख सकते ...

java - Modify Listener on Text Field -

I've added the modified listener to the text field, when I try to open the dialog, then the revised listener event is active UserNameDialog dialog = New UserNameDialog (PlatformUI.getWorkbench (). GetActiveWorkbenchWindow (). GetShell (), True) ; Dialog.init ("", userSession.hasAdminRights (), false, true, false, ""); Dialog.open (); If (dialog.getReturnCode () == Window CANCEL) {return; } Dialog class Public class UserNameDialog TitleAreaDialog {Private text txtUsername; @ Override Protected Control Bundiologue (composite parent) {setMessage ("enter user information and press OK"); SetTitle ("user information"); Composite region = (holistic) super.Credidiologia (guardian); Composite Container = New Composite (Area, SWT.NONE); Container.Settleout (new grid layout (2, wrong)); Container.SettleHand Data (new grid data (SWT.FILL, SWT.FILL, true, true, 1, 1)); Label lblUserName = new label (container, SWT.NONE); LblUserName.setTe...

php - stop html from database affecting other elements on web page -

मेरे पास एक MySQL तालिका में डेटा है एक सरल SQL क्वेरी का चयन करके PHP वेब पृष्ठ डाटाबेस से इसकी एचटीएमएल फॉर्मेटिंग के साथ सही तरीके से काम करना और डेटा को प्रदर्शित करना। इसकी वजह से, वेब पेज पर अन्य HTML तत्वों को प्रभावित करने के कारण एचटीएमएल डाटाबेस , मैं अब भी कैसे अपने एचटीएमएल स्वरूपण के साथ डेटाबेस डेटा गूंज कर सकता हूँ लेकिन इसे अन्य कठिन कोडित तत्वों की शैलियों को बदलना बंद कर सकता हूं? हम यहां सभी परिस्थितियों को नहीं जानते हैं, लेकिन ये एक ऐसा कारण है कि आपको एक डाटाबेस में एचटीएमएल रखने से बचने का प्रयास करना चाहिए। आपके पास मूल रूप से तीन चार विकल्प यहां दिए गए हैं: अपने डेटाबेस तर्क को रिफैक्टर करें, केवल डेटा संग्रहीत करें और HTML पर-उड़ता उत्पन्न करें। उपयोग करें एक टिप्पणी में सुझाव दिए गए फ़्रेम (मौजूदा शैलियों को नहीं हटाएंगे, लेकिन आपके पृष्ठ पर अन्य HTML को प्रभावित करने से रोकता है)। कुछ प्रकार के HTML / DOM पार्सिंग लाइब्रेरी का उपयोग करें और सभी को हटाने का प्रयास करें शैली से संबंधित एचटीएमएल गुण। अगर आपको केवल पाठ सामग्री...

c# - Update multiple mysql columns using parametarized update command -

In my application, I want to update the multiple MySQL columns using the UPDATE command. I tried it with the following code, but I know that it is really unsafe because it is how a query with parameters to update SQL injection led to the attacks, but I do not know that multiple MySQL column to write I This is my code: string constring = string.Format ("datasource = '{0}'; port = '{1}'; database = '{2 } '; Username = Claimproof; password = xxxxxxxxxxxxxxxx; Connect timeout; 180; Mand timeout = 180 ", Srhwarplebl. Text, Porto. Text, Databesmanabl. Text); String query = '+ this.loannumbertextbox.Text.Trim () +', pool = '' + this.loanpooltextbox.Text.Trim () + '', disblid = '' + This "update claimloans loannumber = set". disbidtextbox.Text.Trim () + '', class = '' + this.categorytxtbox.Text.Trim () + '', subcacategory = '' + this.subcategorytxtbox.Text.Trim () + ''...

batch file - printing sequential numbers in a preset position -

I am trying to write a simple program that will print page numbers between two numbers, a specified status In the bottom right or the top center I have tried all those methods which I can think of, but if I have set the page to print at a higher value than the last, then the program will write only the file Only one number Has been canceled. Here is the coding till now. Some help would be greatly appreciated as I have written programs more than 30 years ago, I am more than a little disturbing. To print the sequential number at a specific point on the eShow of REM pages. In the lower right or top center, start the REM from a given number (A) and closing with the given number (B) CLS ECHO SET / PA = [promptstring] ECO Enter the number of first page to print SET / PB = [prompt-string] REM requires coding, i.e. the CLS ECO echo echo echo printing page to identify the position of the right or top center to print. Nbr of ECHO% could be cut a% page number ECHO% B% of ECHO's L ECHO%...

javascript - How can I implement the lodash _.remove function in modern browsers? -

मेरे पास यह कोड है जो मेडाश का उपयोग करता है: _.remove (this.home.modal .data.subTopics, फ़ंक्शन (वर्तमान ऑब्जेक्ट) {return currentObject.subTopicId === सबटेोपिकटोडेलीट;}); क्या कोई मुझे सलाह दे सकता है कि मैं कैसे बिना किसी आधुनिक ब्राउज़र फ़ंक्शन का इस्तेमाल कर सकता हूं? ध्यान दें कि इसे निकालने के उत्पादन के लिए ठीक होगा अन्य वैरिएबल में जाएं। आप Array # filter () का उपयोग कर सकते हैं और फ़िल्टर खंड अस्वीकार: this.home.modal.data.subTopics.filter (फ़ंक्शन (वर्तमान ओब्जेक्ट) {return currentObject.subTopicId! == subTopicToDelete;}); यह एक सरणी वापस करेगा जहां उप-टैक्सीआईडी ​​ समान नहीं है subTopicToDelete । यह तब तक आपके लिए है जब इसे किसी वैरिएबल या जहां कहीं भी बचाया जाए। या, अगर आप इसे से बाहर एक विधि बनाना चाहते हैं, तो आप ऐसा कर सकते हैं: फ़ंक्शन निकालने (सरणी, फिल्टर पद्धति) {रिटर्न सरणी.फिल्टर (फ़ंक्शन () {वापसी! FilterMethod.apply (यह, तर्क);}); }

c# - Real world application using RSA encryption for licensing -

For the past several days, I've been reading a lot of posts about RSA encryption. I have learned a lot but unfortunately this is new to me because now I am deep in new information and am trying to solve everything. Here for some background I have read / write articles, I am ready to make my own solution (in a particular order). ,,,, and. It was a long way away I really have an unstable understanding on this process which takes me to my next step ... the process Seeing that I found both of these posts to use RSA for licensing which was my end game, Link 1 had a codeproduction which I downloaded and was useful. I was thinking of a separate licensing plan (definitely open for suggestions) I have many plugins / widget things that increase web sites. Was going to publish the public key. The plugin will then be a "phone home" with the public key and my server will take the public key and match it and will provide an "authorization" token for a peri...

datetime - MySQL SELECT Month from a particular year -

हां मैंने दस्तावेज़ पढ़ा है मेरे पास निम्न प्रश्न हैं: SELECT * से db.table WHERE event_type = 3 और (YEAR (event_time) = 2014 और माह (event_time) = 10) यह अक्टूबर 2014 से सभी रिकॉर्ड देता है। ग्रेट । केवल पूछना चाहता था, (YEAR (event_time) = 2014 और महीना (event_time) = 10) लिखने के लिए, वहाँ एक छोटा, बेहतर या संकाय तरीका है? क्या यह किसी भी वर्ष में एक विशिष्ट महीने निकालने का "पारंपरिक" तरीका है? यहां सीखना। यदि आपके पास event_time कॉलम पर कोई अनुक्रमणिका है, तो YEAR और MONTH (या बहुत ज्यादा किसी भी फ़ंक्शन) का उपयोग करके सूचकांक पूरी तरह से क्वेरी को अनुकूलित करने के लिए उपयोग किया जा रहा है ऐसा कुछ सबसे तेज होगा; मैं यह निर्धारित करने के लिए छोड़ दूँगा कि क्या यह सबसे अच्छा है: SELECT * FROM से db.table WHERE event_type = 3 और event_time & gt; = '2014-10-01' और event_time & lt; '2014-11-01' यह आपको अक्टूबर 2014 में सबकुछ देगा, और यह पूरी तरह से अनुकूलन योग्य है।

node.js - sailsjs routes for both generated and defined -

I am trying to get the full list of API methods available from my service. This mainly indicates that we are exposing the API call through all the controllers I know that I can self-surrender to sails.config.routes object to get the list of defined routes. Although there is not an easy way to get a list of blueprint routes that is automatically generated for you. Now one idea is that I can adopt a specific pattern with 3 different types of blueprint (action, comfort, and shortcut). It is a bad idea for this simple fact that this structure is in its infancy and to change things, I trust a method to achieve this list on the basis of actually defined, and if it does change So my code should focus on it automatically. So I opened in Pal and sealed under cover is dependent on expressing all the routing. On lines 35 I initialize.js lines found this bit of code. // Express Server var app = sails.hooks.http.app = express (); I then discovered how others use API Express. So I wa...

internationalization - Is there a library that adds xliff support to Spring i18n MessageSource? -

Supports Spring Reloadable Resource BandessSource Properties (Key = Values) format, and I think that no library supporting the XLIF format can be found. Is there any library that adds XLIFF support to Spring (which works with Thiamelph)? Google is a closed soya scene, but that is that we are currently using, and are not sure that soya spring works well with the web Thank you, Jason

symfony - Data decorating and Symfony2 -

The abstract question is "Data Decorator" bundle for Symfony2? For example: Float - decimals formatting, monetary data requires monetary formatting Integer - formatting - 1'000'000 versus 1.000.000 date, time etc I know that Symfony1 was having some kind of alert but templates which would be exactly as it would It was not right, though, and other problems arose. Nobody knows what is there? Or what would be the "right" way to solve this problem? Your question also stands unclear and the answer can be considered primarily opinion-based, but you Know what the basic PHP functions are asking for you, okay? Float, integer formatting: Date / time formatting: Twig is also about what you are asking for Uses the equivalent function: and filter. This will be the right standard - and although I do not really have any experience with Symfony1, I have no issue to use only these two functions to use a double Symfony2 project. That is to get...

angularjs - Angular + Bootstrap Accordion, Browser Back button action and opening the corresponding item -

मैंने बूटस्ट्रैप एडिशन (3 *। *। *) का उपयोग करके कोनेल जेएस ( 1.2। *) । यहां मैंने एउड्रियन में प्रत्येक आइटम पर क्लिक करते समय टेम्पलेट लोड करने के लिए यूआई-राउटर का उपयोग किया है त्रुटि: [$ compile: nonassign] अभिव्यक्ति '$ state.includes (' ग्राहक ' ) 'निर्देशन के साथ इस्तेमाल किया' accordionGroup 'गैर असाइनय है! मुझे नीचे पंक्ति में त्रुटि मिल रही है मैंने जब भी उपयोगकर्ता क्लिक ब्राउज़र बैक बटन को संबंधित आइटम खोलने के लिए निम्नलिखित शर्त की जांच की है। मैं यह कैसे तय कर सकता हूं? खुले = "$ state.includes ('ग्राहक')" इसके अलावा, मैंने ऊपर की स्थिति की जांच की है प्रत्येक आइटम में 2 बार एक खुले के लिए है प्रत्येक आइटम के दाहिने कोने में glyphicon को बदलने के लिए एक और मैं इस लंबी जांच के लिए कोड को कैसे कम कर सकता हूं? मैं उपरोक्त मुद्दे को स्वयं को देखने में ठीक करना चाहता हूं मैं नियंत्रक से इसे ठीक नहीं करना चाहता। यहाँ एक मैंने सक्रिय वर्ग को ng-init वर्किंग ng-init = "customersAccordionActive...

ios - 'Int' is not identical to 'String' - Swift -

In this function I'm trying to get data from Uaidet drink and have it to subtract 5. For example, if UIDatePicker said 7:15 AM it would be subtracted from hour and at 2:15. The revised code would give where I own label does not work on the line, the error says 'int' 'string' is not the same work to address the original version where it works Whatever date I put in the date selector, the user chose this date, then 7:15 AM shows it appears at 7:15 pm without decreasing anything. Hook had dates with the storyboard picture @Iboutlet weak Wardetdet Picture: Uaidit picture! Without .toInt () original code event handler (this: UIDatePicker) {var timeFormatter = NSDateFormatter () timeFormatter.timeStyle = NSDateFormatterStyle.ShortStyle bridesmaid strDate = timeFormatter.stringFromDate (theDatePicker.date) hoursLeftLabel.text = strDate} Revised code function handler (this: UIDatePicker) {var timeFormatter = NSDateFormatter () timeFormatter.time...

windows - How to deal with plaintext keys using CNG? -

मेरे पास पूर्वनिर्धारित सादा टेक्स्ट कुंजी का एक सेट है जो मैं सममित एन्क्रिप्शन / डिक्रिप्शन के लिए उपयोग करता हूं। इन चाबियों को एक पीसी से जुड़े हार्डवेयर उपकरणों के साथ एन्क्रिप्टेड संचार के लिए उपयोग किया जाता है। मैं इन कुंजियों को सुरक्षित रूप से संग्रहीत करने के लिए सीएनजी कुंजी स्टोरेज प्रदाता का उपयोग करना चाहूंगा एन्क्रिप्शन और डिक्रिप्शन सीएनजी के बाहर किया जाना चाहिए। मुझे केवल एक सुरक्षित स्थान की आवश्यकता है जहां मेरी पूर्वनिर्धारित सादा पाठ कुंजी को स्टोर करने के लिए और कहाँ से प्राप्त करना है पिछले दिनों मैंने सीएनजी फ़ंक्शन के संदर्भ का अध्ययन किया लेकिन सीएनजी कुंजी कंटेनर में नाम से पहचान की गई एक सादा-सममित सममित कुंजी को आयात / निर्यात करने का कोई रास्ता नहीं मिला। मुझे पता है कि क्रिप्टोएपीआई आयात / निर्यात करने के लिए कार्य प्रदान करता है सत्र कुंजियाँ लेकिन यह पुराना एपीआई निरंतर (सत्र) कुंजियों को प्रदान नहीं करता है और किसी कुंजी कंटेनर के भीतर नामों की कुंजी को चुनने / पहचानने का कोई तरीका नहीं है। किसी भी मदद की अत्यधिक सराहना की जाती है अग्रिम धन्य...

oracle - SQL Error adding constraint to table, ORA-01652 - unable to extend temp segment -

I have found this table with millions of rows which I load through the attachment Have done / P> Now I am going to turn the barriers back on, I get the following: Error 0323: 23: 00: 53,065 [SQL] [Main]: Error in executing SQL: : Add table summary data Obligation table_pack primary key (A, B, C, D, E, F) java.sql.SQLException: ORA-30032: Suspended (resumable) statement has expired ORA-01652: Unable to extend template section 128 by tempps MY_TEMP_TABLESPAC E Is there any best practices to avoid this? I am adding some more data files, but why would it also be a problem? The error is related to the temporary tablespace, not the data tablespace table and / Or the primary key, you need to increase the size of MY_TEMP_TABLESPACE , so there is enough space to compare, as @Lamak has indicated. If you do not know a lot of bow, then you will need it as a DQQ you can turn on AUTOEXTEND , and if it is already (temp, data, For table space!), Then check MAXSIZE s...

python - How to NOT load whole file into memory during upload -

The script below is being used to upload an upload file to a directory, but I need to address two issues. One is that how can I save the entire file from loading in memory and how to set the maximum size for the second upload file? Is it possible to continuously read the file and what is the dump to read it in the file until the upload is complete? The function seems to load the entire file in the memory. In the tutorial, they have indicated that bottle import bottles, requests, runs, feedback, Path, default_app, static_file app = to .read () bottle () @route ('/ upload', method = 'post') def Upload_file ():. Try function_name = sys._getframe () f_code.co_name: upload = request.files.get ("upload_file") if not uploaded: return to another "nothing to upload": #Get file_name and extension file_name, Ext = os.path.splitext (upload.filename) if in ('.exe', '.msi', '.py') eXT: Return "File extension is not allowed....

Using subquery with mysql error -

O people are new to mysql and I try code from to without using a table I am> with a subquiry in Mysql. I choose the two table from to choose from * (select selectable example (somename) v My table structure Make table table (id INT not zero, name VARCHAR (20) No zero, no age not INT, address sheet (25), pay decimal (18, 2), primary key )); Enter the customers (ID, name, age, address, salary) values ​​(1, 'F', 2,3,5); I know that this is a stupid idea ... but I just want to know that it can be done by selecting subquarium without using the table name. Thanx in advance ..

java - Selenium Webdriver - how to click a value in a Wijmo combobox? -

I'm unable to find out how it looks like the use of VISCO combobox input tag I have tried to use .sendkeys () and new select () . Even if I use .sendKeys () , I can determine the value of Cambodia but this is not a value to 'click' is. I should be able to be able to do this. iDriver.findElement (By.id ("aircraft")) .seendKeys (aRegistrationCode); I also tried to use it, but it does not work either: New selection (iDriver.findElement (By.id ("Plane")) .selectByVisibleText ("REG000"); @looksch - Here's the snippet of the html source: & lt; Wij-combobox style = "height: 28px; width: 240px;" Id = "plane" data-source = "aircraft" select = "onRegCodeChange" drop-down-alt = "150" drop-down-width = "200" & gt; & Lt; Data & gt; & Lt; Label bind = "code" & gt; & Lt; / Label & gt; & Lt; Value bind = "id" & ...

scripting - Why is bash only appending first element to array -

After I am trying to read a list of files from stdin, with each file delimited from a new line but I see that only the first element is being added to the list. I saw it entering only two stars and then q can anyone explain why? files = () ["$ input" while reading the input! = "Q"]; Files + = ("$ input") read inputs for f in $ files; Echo "is the list of files:" echo "$ f" echo #prints 1 "is the length of files" $ {# files} ", even if 2 + are recorded Actually your files + = ("$ input") expression is adding element to your array but You are not running it correctly Your last loop should be: for "$ {files [@]}"; Resonant "element is: $ f" done test (thanks to @fedorqui) $ one + = (1) $ one + = ("Hello") $ A + = (3) in "$ {a [@}}" for $ i; Echo "$ I"; 1 Halo 3

php - Image from database provider not shown, it works on localhost -

I have created a website in PHP with MySQL database. The website works perfectly on my localhost, but when I upload it to the provider server the image is not visible. When I check the database on the provider server, then I think the image file is stored, so this is not an issue, besides this I am losing thank you very much already! The code on the PHP page is displaying the image: ObjectImage.php code in the document: Whatever you do in your code is very dangerous. Your query has SQL-injection when you use mesakuli Use the prepared statement This is not the best way to store images in a blob area. There may be several problems in it Check your database encoding that everything is UTF-8. If you receive some errors, then check your logs. It is possible that you have an error before header command. This causes an error because you get an output before the header is sent and the image is not showing the last chance that you have more directory entries and you...

Can't find online documentation for log4j version 1.2 -

log4j is a link for documentation on wiki, but it is broken. The wiki is here: The log4j 2 was probably presented. Does anyone know where this document is now? Edit: I can find Google and Log4j2 documentation I want to find the document for log4j version 1.2 Here it is: (And for the main page)

java - Android savedInstanceState return always null -

I have Fragment A and Fragmentab, I am in a freaktab when I go back to Fragment A, give me the last value Need to load, but my saved instenstate always returns empty: Expands the public stable square placeholder fragment {Private Boolean active = false; Override public null at @SaveInstanceState (bundle outstate) {super.onSaveInstanceState (outstate); OutState.putBoolean ("active", active); } @ Override Crate on Public Zero (Bundle Saved Instantstate) {Super.Nought (Saved Instantstate); } @ Override Public Empty on Activity Crateed (Bundle Saved Instantstate) {Super. On-activity creativity (saved instenstate); If (saved instenestate! = Blank) {active = savedInstanceState.getBoolean ("active"); If (ativa == true) {toast. Make text (getActivity), "True", toast. LNNGHHORT). Show (); } And {toast} MakeActivity (), "false", toast .LENGTH_SHORT). Show (); }}} Use: I) addToBackStack ("Back") (committed). Bundle saved Instantstate ...

visual studio - The command x prepare --platform Android --configuration Debug --projectDir . --projectName y exited with code 8 -

Image
I am trying to start developing an app with multi-device-hybrid app for visual studio. Error 4 command "" C: \ Users \ userName \ AppData \ roaming \ npm \ node_modules \ vs- Mda \ vs-cli "Ready - Platform Android - Configuration Debug - Project Dear - Project Name" Name "- Language" N-US "" Exit Code 8. Error 2 executed command 'ant', make sure that you have the key installed and added to your path. Error 3C: \ user \ userName.cordova \ lib \ android \ cordova \ 3.5.0 \ bin \ create.bat: Command failed with failed code 8 What did I do All questions about this argument were successfully without Added ADT_HOME value C: \ Program Files (x86 JAVA_HOME Strong Added C: \ Program Files (x86) \ Java \ jdk1.7.0_71 Recommended Path System Variables according to the question bld Android SD Updated Android API from Manager (I have 8, 10 and 16 to 21) I do not know I have VisualStudio 2013 Ultimate Windows 7 S...

OpenCV Python cv2.BackgroundSubtractor parameters -

Image
Overview It does not affect the results of the algorithm change parametes of BackgroundSubtractorMOG is. I'm Python: 2.7.6 | Anaconda 2.1.0 (64-bit) OpenCV: '2.4.10' OS: Windows 7 x 64 The default criteria for algorithm are as follows: Reproductive Problem First, create two parameters with different parameters; bg1 = cv2.BackgroundSubtractorMOG () bg2 = cv2.BackgroundSubtractorMOG (history = 3, nmixtures = 5, backgroundRatio = 0.0001) 2 "VideoCaptrue ago "The objects: cap = cv2.VideoCapture ( 'video.mp4') cap2 = cv2.VideoCapture ( 'different_video.mp4') Test a frame from the first capturing object: frame = cap.read () [1] # get both background foreground masks subtractors: fg1 = bg1.apply (frame) Fg2 = bg2.apply (frame) # both results and Show the difference between the two: cv2.imshow ('window name', np hstack (fg1, fg2, fg1-fg2))) cv2.waitKey (30) After running that block of code for a few frames, the wind...

php - How to execute prepared statement in CodeIgniter -

I have the following statement that I can execute in MySQL: set @sql = Zero; Select group_concat (``, name, '`') as' DISTINCT'MAX (IF (name = '', name, '', name, zero)) @sql check from Contact_Types; Setting @sql = concat ('select c.First_Name,', @sql, 'Contact left c.contact_id = cct.contact_Id at Contacts_Contact_Types to join CCT. C from c.contact_Id contact_Types cct.Contact_Type_Id = ct.Contact_Type_Id group But left to join whistle '); Make the statement from @sql; Conclusion statement; DEALLOCATE Ready Statement; This prepared statement allows me to dynamically retrieve the "contact type" associated with a contact. How can I execute this prepared statement in CodeIgniter and get results? I can not find any mention of this in the CI document I get a SQL syntax error when trying to execute by following the following:. $ this-> Db - & gt; Question ("Prepare Statement from @sql; Execute the stateme...

angularjs - Go to grandparent state with ui-router -

ui-router के साथ मैं $ state.go ('^') का उपयोग कर सकता हूं इसे पूर्ण पथ निर्दिष्ट करने के बावजूद पैरेंट राज्य पर जाने के लिए क्या दादा-दादी के लिए जाने के लिए समान तरीके हैं (मेरे माता-पिता की स्थिति अमूर्त है)? में मैं केवल माता-पिता के लिए ^ देख सकता हूं, लेकिन शायद किसी के पास इस के लिए अच्छा समाधान हो सकता है? / P> आप grandparent स्थिति में $ state.go के साथ संक्रमण कर सकते हैं ('^। ^')

kubernetes - with Google Container Engine, how to create a cluster with more than 3 nodes? -

If I start a cluster like this: gcloud container clusters --zone = $ Zone creates $ CLUSTER_NAME I get three workers nodes How do I create a cluster with more? It is possible to create a different number using worker nodes when you create a cluster, - num-nodes option: create gcloud container clusters --zone = $ ZONE $ CLUSTER_NAME --nom-nodes = 5

count number of occurences in list python -

इस सवाल का पहले से ही एक उत्तर है: 13 उत्तर मेरे पास एक सेट है जिसमें एक सूची में मौजूद सभी संभव मूल्य मुझे क्या चाहिए यह जानने के लिए कि सूची में प्रत्येक मूल्य कितना मौजूद है। तो, मेरे पास: set_a = ("a", "b", "c", "d") lst = ["a", "b "," सी "," सी "] मुझे क्या चाहिए: एक 1 बी 1 सी 2 आप यहाँ समाधान देखेंगे: उदाहरण के लिए आप ऐसा कर सकते हैं: [1, 2, 3, 4, 1, 4, 1]। गणना (1)

Why does MySQL ignore null values when looking for not equal? -

I am not doing something strange in MySQL and I would like to see how it behaves like this and there Is there a way to change it? Scenario I have an Inodb table with the following column id, name, type , where type is empty - now , I can say that I have 10 records where they have type = "test" and 100 records with type IS NULL and 20 records where type = "standard" if I I run this query from SELECT * accounts where the type & lt; & Gt; "Test" This query will only show me 20 records that have type = "standard" and it ignores 100 records which have zero values. To work on this I have to do something like SELECT * accounts where IFNULL (type, "") & lt; & Gt; "Test" OR from the Select account where (type> "test" or type is IS NULL) Zero value means "aka no value" and it has no meaning & lt;> "test" This is probably a required behavior, but ...

java - WebDriver PhantomJS Unable to find element, but works fine with Firefox -

I have been ringing my head in the wall for a long time, so I thought I would ask "experts" why down Code will not work with PhantmJs (entering password), but works fine with Firefox. The most upsetting thing is that a field entry (username) is successful, but no one else will work. Page load is fine and I've included a test code to verify other components. Has been properly loaded. Look at the code below: import java.io.File; Import org.openqa.selenium *; Import org.openqa.selenium.firefox.FirefoxDriver; Import org.openqa.selenium.phantomjs.PhantomJSDriver; Public class login {public static zero main (string [] args) {WebDriver driver; Boolean verbose = false; // Change it to the right to test with Firefox string fontpath = "../phantomjs-1.9.8-linux-i686/bin/phantomjs"; String url = "https://www.britishairways.com/travel/redeem/execclub/_gf/en_us"; If (verbose) {driver = new firefox driver (); } Other {file file = new file (phantom); String U...

Swig C++ to Java UnsatisfiedLinkError -

I change C ++ in Java using swig I use G ++ to create and compile DLL big sigh -c ++ -java -package preprocessor Point.i g ++ -c -std = c ++ 11 point.cpp Point_wrap.cxx -ie:. \ ProgramFiles \ JDK \ included -ie: \ ProgramFiles \ JDK \ included \ Win32 G ++ Shared Room Point_wrap.o Point.o -o point.dll I do not have any errors While compiling and creating dll, when I generate the Java file and DLL on my project, I have an unbalanced link when I create a new object, it appears when I use Windows 8.1 x86 on the x64 version Everything works fine Exception in formula "AWT-EventQueue-0" java.lang.UnsatisfiedLinkErro R:. Preprocessor.PointClassJNI.new_Point__SWIG_0 () preprocessor.PointClassJNI.new_Point__SWIG_0 on J. (Native Method) preprocessor.Point & lt;. Init & gt; (Point.java:78) GUI.FileWorker.fileParser (at FileWorker.java45) GUI.MainWindow $ 2.actionPerformed at (MainWindow.java:139) This is what is Generates swig and where the error occurs when I ma...

python - Problems with pygame -

So I've recently installed the Pygmem extension for Python, but I'm having some difficulty working on this. I'm using Python version 2.7.8, and I've tried to get the version 2.7 32 bit, from the Episode. I also tried to download pygame.org site and pygame-1.9.2a0.win32-py2.7.msi. I used a code that got online to test me out of PG, but when I try to run the program, whatever comes up is a black window with the pagim icon at the top. If I try and crash anywhere with a click or a program with a "Program Not Responding" window. Can anyone tell me what is wrong or can I try? I tried to run the code and telling me the error message: typeError: super () takes at least 1 argument (0 given) So my conclusion is that the guy in the video is using Python3.x because because I () I do not mistakenly think 3.x does not require any logic I do not know that you have received this error message but you can at least try my solution There are logic requirements i...

python - django framework can't see new model online -

I have to make some changes to the website created with the Django Framework (version 1.6). The problem I have is that I can not move the amendment to make offline on the online server. I can see the new page, the database has been modified, but the new category created in the administration website is not showing, thus I can not fill the fields with new information. Create a new model in models.py, Import the model into admin.py, / Li> Execute the command: to reload the file . Everything is working fine in the offline version. I know that to do this! I added the code in the admin.py file (I've added the "paragraph" section): active.models import from x, z, y, j, paragraph Category ArticleAdmin (admin.ModelAdmin): Order = ["title"] list_display = ('title',) search_fields = ['title'] admin.site.register (Article, article)> Resolve There was no problem with it, just to see the new section of the user in which I...

data mining - What kind of PCA is performed by the PCA widget -

I think the PCA widget was focused and / or generalized PCA. I did not find any of the same options in the widget. Does anyone know the answer and if you plan to add these options? Thank you very much, the best regard is, Yes, the 'PCA' widget Standardizes both centers and data.

sql - LEFT OUTER JOIN causing violation of unique key constraint -

I have two databases for two companies running the same software, thus DB structure is similar. Windows Server 2003, MS SQL Saver 2005 I am trying to establish a list of items and copy the associated tables from the SERSEEET. There are a total of 11 tables, I am using the same format for the script which is 11 for everyone to work. Three of them are failing The example below is one of three: - dbo.ITEM_MEASURE 5 SET IDENTITY_INSERT DESTINATION.dbo. ITEM_MEASURE at INSERT DESTINATION.dbo. Select ITEM_MEASURE (ITEM_MEASURE_ID, MEAS_TYPE, ITEMNO, MEAS_CODE, SELLPRIC, MARKUP, S_PERC_DOC, MIN_AMOUNT, COSTPERSP, COST, COST_LOW, COST_HIGH, WEIGHT_MEAS, WEIGHT, SIZE_MEAS, height, width, height, VOLUME_MEAS, section, LAST_COST) s_ITEM_MEASURE_ID, S.MEAS_TYPE, s.ITEMNO, s.MEAS_CODE, s.SELLPRIC, s.MARKUP, s.S_PERC_DOC, s.MIN_AMOUNT, s.COSTPERSP, '0', '0', '0', s.WEIGHT_MEAS, s WE Ight, s.SIZE_MEAS, s.LENGTH, s.BREADTH, s.HEIGHT, s.VOLUME_MEAS, s.VOLUME, ...