Posts

Showing posts from August, 2013

bigcartel : Customizing a contact page -

I'm having trouble setting up a custom page on my big card. I want to set up a custom type contact page that people can enter information and send to me, this is a cheap entry form. I thought I could close the HTML code of the contact page and edit it. After doing this I had to face many problems. CAPTCHA did not work on a custom page, but it works fine in previews on the big cartel. If I enter all the information, it will return to the contact page rather than return to the custom page. What can I achieve anyway, am trying to do it completely on the big carlot? There is currently no way to optimize Big Carl Contact form Basic CSS styles - "/" / "> You are better at integrating a custom form solution such as Google Docs or Wufoo, and then completely changes the content of the contact page with the third party form code.

.net - Vb.Net MySQL on Linux with Mono Error -

I have set the mono sequence and mono basic on my machine. I am able to run other vb.net applications on it though, I am trying to run an application about which I did reference. When I run on widows it works fine, but when I try to run it on Linux I get: Exception without verb: System.IO.FileNotFoundException: 'file or assembly Could not load MySql Name of a file from the data, version = 6.8.3.0, culture = neutral, public token = c5687fc88969c44d 'or its dependency:' MySql.Data, version = 6.8.3.0, culture = neutral, publicKeyToken = c5687fc88969c44d 'ASGI.Module1. From ([0x00000]) on Main & lt; File name unknown & gt;: 0 [ERROR] Exception of Fatal: System. IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, version = 6.8.3.0, culture = neutral, publicKeyToken = c5687fc88969c44d' or one of your dependencies. File name: From [0x00000] on 'MySql.Data, version = 6.8.3.0, culture = neutral, publicKeyToken = c5687fc88969c44d'

python - .gif Images background blinks when run via kivyLauncher however runs perfectly fine in windows -

The problem is that I need to show a .gif animated image on a button. It runs fine and expects behavior when running on windows, but when Android runs on the Samsung S3 by Kiwi Launcher, the background of .gif blink. Does anyone know why this is so? Is this a problem with Kiwi Launcher? In addition, if I use pictures in pal of .gif, then it works fine on both windows Android Look at the sample code on .github: I had asked this question before, but in reality it was not known that it is a problem with Kiwi Launcher or .gif file because the image Works on the windows desired? . Update: I'm using Kiwi Launcher which has been updated to work with the latest 1.8.0 and the latest I do not know whether you are using KSI launcher but you can create your own version using the following instructions: Python -k-compiled with Android: ./ distributed sh -m "sqlite3 openssl pyopenssl lxml audiostream cymunk ffmpeg pil pyjnius twisted kivy" then Dist / default,

How to maintain physical branch folders for git as available in TFS? -

We have a great product and has many features, each feature would take too long, so we have a while TFS maintains branches with facilities For example, MAIN / PROJECTMGT EMAILMGT etc .. and once completed, they have been merged back into MAIN, and Each separate development team works on different branches. Clear view of files in different folders Since we need to check and review the branch before merging, we must also look at the struggles of different branches and they have to be resolved clearly. Now we are moving on git, and as I am learning GIT, I am finding it difficult to organize branches, while working on file and folder structure, we do not know that We are in exactly what branch. We have just run a test on GIT, and most of us who work on many branches have become confused and we I was reading about this And I suggested to create several clones to emulate the TFS type physical folder's branches. Can someone guide me how can I do this? I am

c# - Fileupload Regular expression validation fails for certain file name in asp.net -

I am using the fileupload control to upload the file and to validate the filename at the same time I am using the expression. I want to follow the file extension to upload for .doc, .docx, .pdf .Use the following command for the valid filename validationXpress = "[a-zA -Z \\]. * (.doc | .doc | .docx | .docx | .pdf | .pdf) $" & lt; Asp: fileUpload id = "FileUpload1" runat = "server" CssClass = "fileUpload" /> & Lt; Asp: RequiredFieldValidator id = "ValidateF1" runat = "server" error message = "*" CssClass = "row-valid" ControlToValidate = "FileUpload1" & gt; & Lt; / asp: RequiredFieldValidator & gt; & Lt; Asp: RegularExpressionValidator id = "ValidateEx" runat = "server" Validation Execution = "[a-zA-Z \\]. * (.doc | .doc | .docx | .docx | .pdf | .pdf) $" ControlToValidate = "FileUpload1" Validation Group = "Care

javascript - getImageData convert to toDataURL HTML5 -

Is there a way to get image data from getImageData to toDataURL in HTML5? var pixeladata = CTXGetimageData (X - (linewidth / 2), Y - (linewidth / 2), linewidth, linewidth); The position of the mouse pointer on the x and y canvas is, I am creating the drawing app to get image data from the current canvas and put it in a new canvas. Any ideas from that image data I want to create patterns with createPattern ? Please help me You need getImageData to copy a part of canvas 1 on canvas 2 is not. (getImageData is slow) Just create a floating canvas and make a picture of the canvas image in a temporary canvas. Then use the canvas to create a pattern for canvas 2. var pattern = ctx2.createPattern (patterncanvas, 'repeat'); All canvas 1 patterns will be used as this is also easy to do so: var pattern = ctx2.createPattern (canvas 1, 'Repeat'); Example code and demo: var canvas1 = document.getElementById ("canvas1"); Var ctx1 = canvas1

scope - Angularjs synchronize the value in different part but under same module same controller -

How to synchronize $ scope.department in 2 controllers No matter, I enter the value in which input, $ scope The .department can still update the base on the input field. Angulus ver app = angular Module ('app', []); App.controller ('GreetCtrl', function ($ scope) {$ scope.department = "human resources department";}); HTML & lt; Body ng-app = "app" & gt; & Lt; Div class = "show-scope-demo" & gt; & Lt; Div ng-controller = "GreetCtrl" & gt; & Lt; Input type = "text" ng-model = "section" & gt; {{Department}} & lt; / Div & gt; & Lt; Div ng-controller = "GreetCtrl" & gt; & Lt; Input type = "text" ng-model = "section" & gt; {{Department}} & lt; / Div & gt; & Lt; / Div & gt; & Lt; / Body & gt; You can make this happen in angular JS then department will always include the "Human Resource

Linux: How to check if multiple batch files have completed execution or not -

I have set up a dozen batch files (each has a dozen commands in each) to run in parallel by crontab now I want to run another command, but only after completing the execution of all batches. How do i do this The above post gives you an example with the example, Can not exhaust status of any command execution of shell scripts? And then call another script thanks & amp; Best regards, Alok Thaker

javascript - Alert on Specific Text Entered In Input Field -

On my webpage I have two login scripts, paid members for free members and one for one < / P> During registration, the username is provided by serverside with the use of mysql id ... "for members" evachan2014001 "for free members and" evachanfree001 "both mysql database for free and paid subscribers Is different. Do I get alerts (like - Is for the members ... etc ...) If a user enters a word "free" (i.e. the username is present in the "evachanfree001" in the input field) - username input field? < / Div> call onloor textbox for the event (the function calls when the focus changes from the text box Like): & lt; input name = "username" id = "username" onblur = "check ()" & gt; and Similar javascript Write specific function & lt; Script & gt; Function check () {var name = document.getElementById ('username'). Values; If (name.indexOf ('free')> 1) //

send ctrl+a message on python socket -

I am trying to send commands using the Dragon Socket. Let me 'ctrl + a' 'key stroke, first. Usually, I connect using Telnet and type 'ctrl + a' and then enter enter. The 'ctrl + a' was seen as 'A' in the terminal. So I tried to send down the function like sending a dragon to the bottom. S.send ('^ A') but it does not work. It was seen as 'A' on the terminal, but it does not feel like the text. I need to send the real 'ctrl + a' message how can i do this? Please advise. Thank you. s.send ('\ x01') (Python 2); s.send (b '\ x01') (Python 3). Ctrl + A is the control character with numeric value 1.

pie chart - Creating Html report with PieChart in it using C# -

I am working on developing an automation framework to automate a UI. I was trying to add an HTML report when running any testcase and was able to generate an HTML file using the HTMLReportEngine class. But I would like to add a pie chart to the same HTML file, which basically provides for the failure of the observation / testing conditions of the test conditions. I'm not sure if I can use the HTMLReportEngine class, is there any other way to do this? Please tell me if I am not clear. You can check to create reports and graphs (a JavaScript library) using HTML and Javascript . Embedding code is easy and there are rich features to attract charts and articles.

mcollective to manage puppet agents on masterless puppet setup -

After the Using puppet version 3.4.3 The setup is mcollective and puppet. For puppet setup, I am applying the puppet in the 10 minute chron down form (as described in the puppet book 3 cookbook): Apply PUPPETDIR = / home / ec2-user / puppet / usr / bin / puppet - ModelPath $ {PowderPatder} / Module $ {Pipetteer} / Manifestos / Societ.P Where Until Miracle goes, I can successfully get O / P from the bottom two commands (bold): # MCO Chuppe for 1 nodes Fried Summary Statistics: Total Resource: A ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? Minimum: 24.0 Max: 24.0 Out of synchronization resources: a '' '' '' '' '' '' '' '' '' '' '. ? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ???? One ??? ? One ???? One ???? Minimum: 3.0 Max: 3.

sql - table design issue for normalizing multiple catogories sharing similar data -

I'm a little confused in a table design Method 1) I have a phonecard table with the first method I can select all the phone numbers and filter the employee phone number by specifying the type. Method 2) In the second method, I can select all from joining two tables and get employee phone number. I have the same problem with addresses. I have employees, customers, employees and other people know that I have googled and still can not choose which is the right way which is the right way and why others And no other better design for this? Method 1 Employee ID. Name 1 e customer ID. Name 1c phone_book type | Fk_id | Phone E1 123123123 C1451323123 Method 2 employee ID | Name 1 e customer ID. Name 1c staff_phone_book emp_id | Phone 1 1231233434 2 6273343423 customer_phone_book cus_id | Phone 1 5231233434 2 1251233434 Edit: Employees and customers can have multiple phone numbers. And with address details. employee ID | Name | Phone_id 1 E1 Customer ID | Name

How to get the Weekly or 7 days of the Date Range in Crystal Report -

How can I get 7 days or weekly in the formula areas of Crystal Reports? Example: March 01, 2014 to 31 March 2014 Date range: October 1 (March 01 to March 07) Week 2 (March 08 to March 14) Week 3 (March 15) March 21) Week 4 (March 22 to March 28) Week 5 (March 29 to 31 March) Thanks, Custom function RangeWeekSpitter Works within one year Crystal Syntax Function (Datetime Optimizer, Datetime, DTO) // The first day of the local date is the daytime dbagcurrr: = date (year (DFRM), 1, 1); // year (1 to 365 or 366 in a leap year) Local cluster nFrom: = dormant ("y", dFrom); Local cluster NTO: = datelists ("Y", DTO); Local class I ITo local area; Local node nDaysInWeek: = 7; // Number of days in local number local number: nyik: = 0; // counter week local stringVar sResult: = ""; // output string for i: n = n frame nTo step nDaysInWeek (nWeek: = nWeek + 1; iTo: = i + (nDaysInWeek-1); if (i + nDaysInWeek & gt; nTo) then iTo: = nTo ; Generate Out

Get videos from youtube api from channel -

How do I get a video with the duration and views from the YouTube channel? I tried this request: But the reaction does not include the period / view number any thoughts? Thx This data is not available in the snippet area. Instead, call a second API call on channels.list () with the video ID and request the contentDetails and statistics fields in your response. . You can get the documentation on.

Unable to access member of anonymous structure inside union -

I am using a union and using an anonymous structure inside it. I want to know how I can use a member of the structure inside it. Like if I want to access the G variable of the structure using the union variable, how can I do this? Please help :) typingf union {uint8_t All; Struct {uint8_t G: 1; Uint8_t O_B: 1; Uint8_t unused: 1; Uint8_t W1: 1; Uint8_t W2: 1; Uint8_t Y1: 1; Uint8_t Y2: 1; Uint8_t IAQ: 1; }; } _UNION_VARIABLE; I get the compilation error to access the Composition member like below: _UNION_VARIABLE sg_RefreshVar; Sg_RefreshVar.G = Wrong; Error: # 137 Associations "& lt; Unknown & gt;" You need to give it a name Typefeed Association {Uint8_t All; Struct {uint8_t G: 1; Uint8_t O_B: 1; Uint8_t unused: 1; Uint8_t W1: 1; Uint8_t W2: 1; Uint8_t Y1: 1; Uint8_t Y2: 1; Uint8_t IAQ: 1; } Bit_field; } _UNION_VARIABLE; And then you can go _UNION_VARIABLE.bit_field.G;

osx - IntelliJ IDEA unable to find android sdk -

Image
I'm trying to import an IGGDX project which is running OS X 10.9 Intel. While creating my own project it is not an issue which specifies the path of Android SDK in the GDX-Setup, but when someone imports, I keep it: SDK location did not get. Define location with sdk.dir in the local.properties file or with Android / HOME environment variable. I could not find local look Anything from Property file and no one know how to make it, so I set the AndroidHome environment variable with the path of my Android SDK, to add it to my .bash_profile: export ANDROID_HOME = / applications / android-SDK In addition to this, I've added $ ANDROID_HOME: $ ANDROID_HOME / tools: $ ANDROID_HOME / platform-tools in my path, which seems to be overwhelming, but unfortunately. IntelliJ Though none of these is getting, I do it myself I'm guessing adding. Bash_profile is not the right way to do this? Thank you very much! So thanks to the friendly people in the libGDX IRC, local

c++ - QT : cannot call member without object when I have a virtual function -

I'm calling QT since another function my.http: P> virtual string whatday (string) {return "";} my function from the calendar: gregorian.h: whatday (String) and my_whatDayButton_clicked () function from mainwindow.cpp MainWindow :: on_whatDayButton_clicked () {QString whatDayString; String matching; WhatDayString = ui- & gt; Linegate diy-> Text (); String Day = whatDayString.toUtf8 (). ConstData (); GetDay = calendarGregorian :: whatDay (days); } But, when I am compiling .. it shows me this error: Error: member can not call function 'virtual std :: string CalendarGregorian :: whatday (Std :: string) 'without object getDay = calendarGregorian :: whatDay (days); ^ Please .. I need help calendar.h: < / P> Fixed string whatday (string) {return "";} calendarGregorian.h: class CalendarGregorian: Calendar {Public: static int superCalculationFactor = 276485; Int notSoGood; Static strings are formatted using wha

java - unzip files are not in exact format -

I want to open all the folders and different types of files like .xls, .apk, .png etc. But while extracting all files are in their newly removed foder (or folder under folder). But those .xml, .png, .apk files are not in the proper format. When I open an XML file, it shows a pop that the format can be different, and when it opens, the files that all the content is in different formats. PNG files are also not able to open, neither Useful after removing .apk. Why is this happening ?? ** Import java.io.buffferedInputStream; Import java.io.BuffferedOutputStream; Import java.io.file; Import java.io.FileInputStream; Import java.io.phileNotFoundException; Import java.io.FileOutputStream; Import java.io.IOException; Import java.util.zip.ZipEntry; Import java.util.zip.ZipInputStream; Public class UnzipFiles {public static zero main (string A []) {UnzipFiles mfe = new UnzipFiles (); Mfe.unzipFile ("E: / new folder / pics.zip"); } Public Zero UnzipFile (string file path) {FileInp

javascript - drop and resize doesn't seem to works after a first resizing, with jQuery -

good morning dev ': -) If I first press the mouse after recycling, then I Now change the size ... and, after changing the size first, I can not even leave that div ... I use Laravel and jQuery. See I should be able to resize again ... Here the JS code (JSField will show you the whole code): $ ("#creneau" + i + "-" + j). DropperBill ({appendTo: "body", Tolerance: "Pointer", Accept: ".external-event", drop: Function (Event, UI) {var draggableEvent = null; $ (drg) .removeClass ("Clonable") ($ (ui.draggable) .hasClass ("clonal")) {var drg = ui.draggable.clone (); $ (drg) .addClass ("playable"); $ (drgable)); Drg.resizable (Handle: 'E, W', resize: function (event, UI) {$ (this) .empty (); $ (this) .append ($ (this) .position (). Left) ; $ (This) .append ("& lt; div style = \" z-index: 90; display: block; \ "class = \" ui-resizable-handle ui-resizable-e \ "

code snippets - Why does sublime text editor 3 autocomplete when I press return? -

When I press the blue colored auto-complete section highlighted "Enter / Return", then when I If I work in the text then it is written: div> (Element) and if I say "div" A snippet of appears appears, which is quite bothered and useless. Now, I know about snippets ... and how to make them, but I have not created a snippet, which is when I press enter (and I do not know how to do that), but it's just Imagine annoying editing your php and you keep this piece of code: div> ~ Then you enter the hit and appears autocomplete and ... div & gt; ~ Then you hit again ... and div & gt; Kind of annoying right? This is where I am originally I thought that it was a snippet that I made from an accident but it is not so. I've removed all my snippets and this feature is still upset even to some idea what might be it? When I hit the entrance / return, it automatically completes. Is this a feature of sublime text 3? what could it be? This is t

bash - linux architecture environment variable or definition? -

I am creating my RPM files. Now I am writing a bash script that will keep these RPMs in the auto repository structure. : distribution / arch / rpm example: openSUSE13.1 / i586 / product -0.1.0 -0.i586.rpm I have found that in the / etc / os-release file I can get the name of my delivery etc.; But not my architecture, how can I get the architecture of my computer? I know that I can finally parse it by the name RPM (which looks like this: product-0.1.0-0.i586.rpm ) but possibly describing my computer architecture Is there some file that will give me i586 easily? Edit In my production of RPM, there are i586 architectures in their name. I < I> thanks for jord I get this line in the file / usr / lib / rpm / rpmrc : buildarchtranslate: i686: i586 So clearly it is rpmbuild which is my "uname -m" architecture i686 Translates to i586. So theoretically it would be possible to use uname -m and look for a translation in the rpmrc file, but

r - lm models over all possible pairwise combinations of the columns of two matrices -

I am working through a problem in R and got stuck. I searched on various help lists for help but I could not find anything - but if I remember something then I am sorry to have a dummy example of my problem below, I will continue to work on this, but any Help would be greatly appreciated. Thank you in advance for your time. I have the matrix of the response variable: p < -metrix (c (rnorm (120, 1), rnorm (120,1), rnorm (120,1)), 120,3) and two matrices of corporates: g < Metrics (C (Representative (1: 3, each = 40), Representative (3: 1, each = 40), Representative (1: 3, 40)), 120,3) M & lt; -matrix (c (rep (1: 2, 60), representative (2: 1, 60), representative (1: 2, each = 60)), 120,3) For all the combinations of the columns, I want to run these two models of protection matrix G and M: test & lt; - Function (uniq_m, uniq_g, p = p) {full & lt; - lm (p ~ factor ('f' = full, 'n' = null))} Then I tested for a conversation between

html - CSS - how to place an error/hint message to the right of the input box -

I currently have a simple form with a label located above the input box and a signal / error message. & lt; Form id = "registerForm" method = "POST" action = "register_post.php" & gt; & Lt; P class = "form-registerUserName" & gt; & Lt; Label = "registerUserName" & gt; Username & lt; / Label & gt; & Lt; span class = "required" & gt; * & Lt; / Span & gt; & Lt; Input id = "registerUserName" type = "text" size = "24" maximum length = "24" value = "& lt ;? php echo $ _SESSION ['registerUserName'] ;? & gt;" Onkeyup = "validateName ()" onblur = "validateName ()" & gt; & Lt; Label class = "hint" = "registerUserName" & gt; Signal error & lt; / Label & gt; & Lt; / P & gt; & Lt; / Form & gt; What would be the best way (CSS-wise) to place

javascript - Legend in a single line in d3.js -

Image
The following image shows how I want to be like mythological objects in a d3 graph The line should be aligned with. < P> How do I use the above d3.js? I tried several times to solve this problem. I can not put all items in the same line Here you can Just x and y is the property of this story and he worked. var legend = svg.append ("g") .attr ("class", "legend") .attr ("x", w) .attr ("height", 50) .attr ("width", 300) .attr ("transform", "translation (" + (w - 200) + ", -50)"); Used removed y and transform and placed legend on top right corner. ('G'). (Function (D, i) {var g = d3.select (this); g.append ("rect" "(" X ", i * 60) .attr (" y ", 65) .attr (" width " , 10) .attr ("height", 10) style ("fill", color_hash [string (i)] [1]); x and y attribute values ​​changed. G.append (&

php - Date Insertion Issue in Oracle Database and Codeigniter -

I have trouble updating the Oracle DB table with date column. I have tried many solutions but now Also not working I can not insert date into database codeigniter using active record or common query. Column type timestamp. Here are some solutions I can try Please help $ this-> Db- & gt; Set ('AC_START', 'TO_DATE (' 2014-03-4 2:30 ',' yyyy-mm-dd hH: mm ')); $ this-> db- & gt; set (' AC_END ' , 'TO_DATE (' 2014-05-5 2:34 ',' yyyy-mm-dd hh: mm ') "); $ This- & gt; Db- & gt; Putting ('activities'); Here is the error message that I always get Error number: INSERT "LI_PPPA". "Action" ("AC_START", "AC_END") value ('TO_DATE (' 2014-03-4 2:30 ',' yyyy-mm-dd hh: mm '),' TO_DATE ('2014-05-5 2:34 ',' Yyyy-mm-dd hh: mm ')') filename: directory \ program \ system \ database \ db_driver.php Line number: 330

woocommerce - Download file on product page not on checkout page -

I have a solid product (non-virtual) that will be sent to the purchase. However, I want to allow the user to download a sample PDF on the product page even before adding it to the car. At present, I think the download links are only available after checkout etc. And I know that you paste the link in the product details. But it needs to be done manually Instead, how do I use the file upload mechanism on WooCommerce already on different products, and display something like "download file" which First links to uploaded file on 'Upload Products' page? Do I need to work with some things like Advanced-Custom Fields etc? I resolved it manually using the plugin, "Advanced Custom Field" Added the link to show on the product page after having a template file for the product page added with a custom file upload field "product_hires" id. & lt; P & gt; & Lt; a href = "& lt ;? php the_field ('product_hires') ;? &a

Java generics - map of formatters -

इस सवाल का पहले से ही एक उत्तर है: < / P> 2 जवाब ए Formatter & lt; T & gt; जानता है कि स्ट्रिंग में T प्रारूप कैसे करना है: सार्वजनिक इंटरफ़ेस फॉर्मेटर & lt; T & gt; {स्ट्रिंग प्रारूप (अंतिम टी टी); } मुझे फ़ॉर्मेटर्स का मानचित्र करना है, एक पूर्णांक के लिए, एक दिनांक आदि: मानचित्र & lt; कक्षा, फॉर्मेट & gt; formatters; इरादा उपयोग होगा: formatters.put (पूर्णांक। वर्ग, नया फॉर्मेटर & lt; पूर्णांक & gt; () {सार्वजनिक स्ट्रिंग प्रारूप (पूर्णांक i) {रिटर्न i.toString;}}); क्या कुछ मान लागू करने के लिए कि मूल्य-मान वर्ग प्रकार से सहमत होंगे? अगर मैं डाल (पूर्णांक। वर्ग, नया फॉर्मेटर & lt; पूर्णांक & gt; () {...}} यह काम करेगा लेकिन डाल (पूर्णांक। वर्ग, नया फॉर्मेटर & lt; दिनांक & gt; () {...}) नहीं होगा? क्या मैं अब कोशिश कर रहा हूँ उपयोग करने के लिए है? प्रकार के रूप में: मानचित्र & lt; कक्षा & lt;? & Gt ;, Formatter & lt;? & Gt; & gt; formatters; लेकिन तब म

http - Conceptual Rails / nginx -

nginx.conf The file is set up: root / public place ^ ~ / assets / {gzip_static on; Max Finish; Add_header cache-control public; } Location / {proxy_pass @rails_app #defined elsewhere} I get what it is doing: If the request matches the pattern then serve it directly from the root and provide the appropriate headers Add. I do not understand how this request arises. If I send some dynamic URL: / cheese / 1, then NGN will proxy this rail app that will send back a response. Now think that the response does not need an image to track the images in the output (in my installation), therefore nginx should serve it. But how does NGNG work it? I know that a different request has been generated for the image which will match the image location instructions and therefore avoid proxy_pass, but when / where is this request generated? Does the initial rail response tell the browser to make an additional request for the image, or does the train nginx directly for the request?

c# - How to use a proxy in dropnet -

I tried to create a tool with dropnet. Now there is a big problem: we have a proxy in our office How can I use this proxy optometric for every connection? Thox daemon What are you using on DropNet? At the moment a proxy is not supported on Windows Phone or Windows Store app. But in the full .NET client instance there is a property named Property, which is the IWB Proxy Interface I I do not 100% trust how it works As I did not implement that feature, but seeing the code, it may require some work to work because only the property is being used by the manufacturer and the odd one who calls the constructor You can not set it before you run. If you do this, please let me know and I will update the documentation.

C language, readdir and segmentation fault on running -

This code returns a segmentation fault when I try to run it p> Thank you for your advice if you have an idea to search for it to fix. It is necessary that the function should be special in readrep (), opendir () and readdir (), but I do not see anything wrong, thanks for helping Add # & lt; Dirent.h & gt; Sys / types.h & gt; #includes & lt; sys / stat.h & gt; #includes & lt; # Include & lt; Unistd.h & gt; #to & lt include, limits.h & gt; #to & lt include, stdlib.h & gt; #to & lt include, stdio.h & gt; #to & lt include, string.h & gt; #Max 256 Define the file * f; Zero Gorite (four * chimine) {F = FOPAN ("locate.db.tmp", "a +"); Int size = Stellen (chemina); Four straw [max]; Fwrite (& amp; size, sizeof (int), 1, f); Fwrite (str, sizeof (four), size, f); Fclose (f); } Read zero REP (char * str) {struct dirent repStruct; Struct dirent * prepStruct; Structure Stat Statsat; Structure Stat

jquery - Reorder li's by time order of time within the li in JavaScript -

I have some sales data that has been loaded in the UL by ajax with the ID of ajax INSER. Unfortunately, these are not in the order of the time of Lee. How do I create a JavaScript function to sort in the order of time of the time taken in the transit time period? I would prefer it as a function which I can add after each new lease, so it takes all Lee's account in the list and re-locates according to them according to time. & lt; Ul id = "ajaxinner" & gt; & Lt; Li & gt; & Lt; Span class = "transit time" & gt; 10: 13 - & lt; / Span & gt; & Lt; Span class = "transit amount" & gt; £ 444 & lt; / Span & gt; & Lt; Br> & Lt; IMG src = Image / Orange marker .01 "square =" MapMarker "> Span class =" Transit City "> Stoke-on-Trent (Stoke-on-Trent, United Kingdom) 10, 08 - a £ 56 fine & lt; / l & gt; Gt; & lt; br & gt; IMG src = "Picture /

d3.js - how to display bottom data for row chart using dc.js -

I am creating a lineart by using the Dimensional Charting Javascript Library DCJS, which is based on D3 and CrossFilter. I am displaying the top (10) linear data But I am trying to display the bottom line for the (10) data but the bottom graph (10) shows the top (10) data to display. constroowart.width (350). Height (1000). Margins ({top: 20, left: 120, right: 10, bottom: 20}). Transition period (750) .Dimension density. Group (const_total) .renderLabel (true) .gap (1) .title (function (d) {return "";}). Lolasticx (true). Color (d3.scale.category20c ()). Ordering (function (D) {Return D. Value}). Xxis () .tics (3) .tackformat (d3 format ("s");); ConstrowChart.data (function (group) {return group.top (10);}); @LarsKotthoff suggests that if you do not want to create another dimension / group, You can use the last ten entries of the .top (infinite) and then the .splice (-10) array. There are skill merchants in creating additional dimensions to sort a

java - How to test that a Jar is in a classpath in windows? -

मेरे पास क्लासिक है: java.lang.NoClassDefFoundError: org / python / util / Jython यहां तक ​​कि अगर जार jython.jar मेरे उपयोगकर्ता और प्रणाली के व्यापक पथ के लिए पर्यावरण चर PATH में मौजूद है। कैसे कर सकते हैं मैं जल्दी से परीक्षण करता हूं कि मैं पागल नहीं हूं और यह वास्तव में पथ में है? जावा का उपयोग नहीं करता है PATH चर एक जावा प्रोग्राम चलाने के दौरान -cp पैरामीटर का उपयोग java कमांड के लिए क्लासपाथ को निर्दिष्ट करने के लिए करें। अपनी बैच फ़ाइल (.cmd फ़ाइल) के अंदर java कमांड ढूंढें और आवश्यक जार फ़ाइल जोड़ें: java -cp somefile जार; \ पथ \ to \ jython.jar someclass.MainMethod कृपया बहिष्कृत CLASSPATH का उपयोग न करें अधिक जानकारी के लिए, कृपया जावा दस्तावेज़ीकरण देखें:

javascript - cordova navigator.app.close() is keeping app in background -

I'm trying to close my Android app by calling Cordova Navigator.ap.close (), the app is off Goes, but still is running background and I can see it in app manager. I tried to solve this problem as described in: & lt; Priority name = "Maintenance" value = "wrong" /> In config.xml, but it does not work for me Is there some other way to solve this problem? There is not a function called navigator.app.close () Are there. What navigator.app.exitApp () ? Calling means you have a list of all the functions available from navigator.app : Navigator. backHistory (); navigator.app.cancelLoadUrl (); Navigator.app.clearCache (); Navigator.app.clearHistory (); Navigator.app.exitApp (); Navigator.app.loadUrl (URL, Prop); navigator.app.overrideBackbutton (override);

how to set matplotlib bar graph width when there is only one data -

I am using matplotlib to generate a graph. There is a problem in creating the bar graph, if the same data exists as shown below, the width of the graph is covering the entire area, even if the width is set. Example: x = [3] y = [10] times (x, y, width = 0.2, align = 'center') width controls the width of the bar in 'data' units. Graph ranges by default are automatically scaled on your data limits, in which case this is the width of your single bar. You just need axes limitations x = [3] y = [10] fig, ax = plt.subplots (1, 1) ax.bar (x, y, width = 0.2) ax.set_xlim (0, 5) plt.show ()

what is the distance function used by the Function Voronoi in scipy.spatial? -

I would like to know the approximate metric i.e. Euclidean or Manhattan distance which divided a given area into different areas Is Voronex used by Voronio to do this function Is it possible to use my own custom metric that decided to proximity to Voroneyo Center? I tried to look into the source package but the source code was not found behind the definition of the function class scipy.spatial.voronoi (number, furthest_site = false, any The help will be appreciated !!. Distance = sqrt (x ^ 2 + y ^ 2 + z ^ 2 + ... + nth_dim ^ 2) If you want to use the weighted function for example, then in Poissen Voroneau 3D (with the radius of every point You can also use an expanded 4D vector for each Voronio point: points = np.rere (([[x_1, y_1, z_1, sqrt (also known as voroneous voronei). c ^ 2-rad_1 ^ 2)] ... ... [x_i, y_i, z_i, sqrt (c ^ 2-rad_i ^ 2)], ... [x_n, y_n, z_n, sqrt (c ^ 2-rad_n ^ 2)]; Where there is an arbitrary large number, none of the fourth dimension el

objective c - LLVM loop optimization bug? -

Image
मेरे आवेदन में मेरे पास निम्न उद्देश्य-सी कोड है: - (शून्य) लेआउटपृष्ठ {NSMutableArray * वर्गों = [NSMutableArray सरणी]; [वर्गों addObject: [[NSAttributedString alloc] initWithString: @ "हैलो वर्ल्ड"]]; के लिए (एनएसएटीविद्रिवित स्ट्रिंग * कंटेंट्स में अनुभाग) {एनएसएलॉग (@ "% @", कंटेंटसाईट); }} कंसोल आउटपुट: 2014-04-22 14: 11: 01.505 मेरा ऐप [24784: 830 बी] हैलो वर्ल्ड {} अगर मैं x86_64 आर्किटेक्चर का उपयोग करके ऑप्टिमाइज़ेशन, एलएलवीएम का उपयोग करता हूं चुपचाप लूप चर 'contentSection' का अनुकूलन करता है जब मैं -00 का उपयोग करता हूं, बग गायब हो जाता है यह सामग्री है जब मैं सामग्री का विवरण मुद्रित करने का प्रयास करता हूं: (lldb) po सामग्री विषय त्रुटि: संरचना को अमल नहीं कर सका: चर 'contentSection' का कोई स्थान नहीं है, ऐसा हो सकता है बाहर अनुकूलित किया गया है निष्पादित में बाहर की ओर इशारा किया गया, तैयार नहीं हो सकता है TeoExecuteJITExpression यह कैसे संभव है? लूप के अंदर उपयोग किए जाने पर मेरी दृष्टि से एक लूप चर को कभी भी अनु

How can i convert a string in a python method? -

इस सवाल का पहले से ही एक उत्तर है: < / P> 10 उत्तर मुझे एक स्ट्रिंग मिली, के लिए उदाहरण "सहेजें" और मेरे पास पैरामीटर के साथ एक विधि बचा है I मैं कैसे तार को सहेजने के लिए कॉल में सहेज सकता हूं () मैंने eval और exec के साथ प्रयास किया। संपादित करें: यहां हल - & gt; def some_method (स्वयं): save_method = getattr (स्वयं, 'सहेजें') save_method ( ) # सेव ()

asp.net - Contact form not working when published -

Image
My contact form works on my computer locally, but when I was published on the purchased domain , Then the web hosting provider that I am using is HostGator. My site is in asp.net 4 and I am using Hotmail as a host. Here's my web. Config Content: < P> Issue with ports you need to open whatever ports your hosting provider is going to use or you have to see whether you can already use an open port with hot mail.

c# - Moving file from folder to folder -

Reading instant messages from : 20: S10734539 / 940 Folder, and in the row: 20: I want to know whether the file and readings are valid or not. In this case if line: 20: There is 940, then the windows service is read and it successfully moves to the folder, but an invalid file will not have 940 on the line: 20:, the meaning of the service of the window is at the invalid file location Have to go I have written a code to do this, but it is not able to transfer the file. I get an error message 'Use File', find the snippets below my code. if (Directory.Exists (@ CBN_INFLOW940)) DirectoryInfo dr = new DirectoryInfo (CBN_INFLOW940); Fileinfo [] fi = dr Gatefile (); String [] files = directory. Gate Files (CBN_INFLOW940); int lengthchk = 0; if (files.Length & lt; 1) check = false; While (files.Length & gt; Lemic) {StringBuilder sb = New StringBuilder (); Logger.Info (fi [lengthchk] .name + ": read from folder"); String narrationgen = ""; bool

javascript - Highcharts area with data labels on others data labels -

I am creating a chart like this: Value "????" The beginning of the series is very close series: [{name: 'Asia', data: [502, 635, 80 9, 947, 1402, 3634, 5268]}, {name: 'Africa', data: [106, 107, 111, 133, 221, 767, 1766]}, {name: 'Europe', data: [163, 203, 276, 408, 547, 729, 628]}, [ Name: 'America', data: [18, 31, 54, 156, 33 9, 818, 1201]}, {name: 'Oceania', data: [2, 2, 2, 6, 13, 30, 46] } But values ​​can not stay at the values ​​of others, how can I fix it? Normally this solution is not supported, but you optimize this solution. load: function () {stager data labels (this series); },

image - bxslider zooms in when changing page (url) -

I have an issue with bxslider sometimes if you change the page on the website, Biaksslider image zoom ins. It should not be so, it should be normal. Link to website: rumdimension.ch BXSlider established the following: Actiteepi://rundimensionkc/ Actiteepi://rundimensionkc/visualisierungenkhtml http: //rundimensionkc/visualisierungen/arcitekhurvisualisingenkhtml Actiteepi://rundimensionkc/visualisierungen/prodktavisualisierungenkhtml I have had the same problem if have only one child element is So Bxslider just wants to wrap the content you have within a simple div element to see it where the bxslider you want to behave as The Su.

php - Redirect site from https to http using htaccess or any other way -

I tried all the answers mentioned on a search engine to redirect the site from https to http but it worked for me Are not. I tried: And here all the methods Let me explain something more here: My site (combustiondepot.com) is a separate site and SSL Are you there before it is established? Everything is working fine at that time. After that we removed the main combustion.com Dis.com site and made it the Aden domain for our main domain, IndustrialStor.com. Now the site is working fine except for https. Whatever I change, I am making in HTACAC or PHP, these are no use. Examples of work above you if you have If you want to use the code, then you can do something like that using your PHP. & lt ;? Php if ($ _SERVER ['HTTPS']) {$ Host = $ _SERVER ['HTTP_HOST']; $ Request_uri = $ _SERVER ['REQUEST_URI']; $ good_url = "http: //" $ host $ REQUEST_URI; Header ("HTTP / 1.1 301 Permanently Progressed"); Header ("location: $

java - How do i set up a DelayQueue's Delay -

I'm just starting coding in Java, I'm struggling with a delay setting, I wanted to do this much, Delayqu Q = New Delayu (); If (counter & amp; ;;) {queue.offer (integer, * a custom delay *)} other {queue.offer (integer, * a different custom delay *)} I am just trying to learn all basic things and have been read on the API and do not seem to understand it. In advance thanks delayu of a certain delay Keeps internal elements until the time limit expires. Elements the interface java.util.concurrent.Delayed . For example, I have extended a class DelayedTest delayed interface. It will compare and obtain () method public class A {public static zero main (string ... args) {DELUQUEUE DUKE = NEW DELIVE (); DeleyedTest ob1 = New DeleyedTest (10); DeleyedTest ob2 = New DeleyedTest (5); DeleyedTest ob3 = New DeleyedTest (15); Dq.offer (OB1); Dq.offer (ob2); Dq.offer (ob3); Iterator IRR = decontroller (); While (IRHISEXEx) {DealEdest Test DT = (Delayed Test)

ios - use CocoaPods install ZBarSDK (1.3.1) error -

उपयोगकर्ता कोकोपोड्स स्थापित करें ZBarSDK में त्रुटि त्रुटि है: विकल्प '-एल / ​​प्रयोक्ता / टैंक / डेस्कटॉप / ººº® के लिए नहीं मिला है? ? æ ?? ¸ ए आधा ?? § § æ ???? / मेट्रो न्यूज / मेट्रो न्यूज / जेबीआरएसडीके 'मुझे मदद की ज़रूरत है मुझे आईओएस 6.0 और बाद में QRCode स्कैनिंग की आवश्यकता है। मुझे armv7s की आवश्यकता है क्योंकि मैं AFNetworking को स्थापित करता हूं। यह आवश्यक है कि armv7s इसलिए armv7s को नष्ट नहीं करें। डाउनलोड करें 64-बी से recompiled libzbar.a फ़ाइल का संस्करण

sql server - CURRENTMEMBER not covering a set of dates -

मुझे इस लिपि में MDX : सदस्य के साथ है [मेजरस]। [फर्स्ट डे) के रूप में हेड (डेसेंडेन्ट्स ([दिनांक]। [दिनांक - कैलेंडर महीना] .रार्तमंबर, [दिनांक]। [दिनांक - कैलेंडर महीना]। [कैलेंडर दिवस]), 1) .ITEM (0)। सदस्य [तिथि - कैलेंडर महीना]। [कैलेंडर दिवस]), 1) .ITEM (0) ) .मेम्बर_वल्यू का चयन {[उपायों]। [फर्स्टडे], [उपाय]। [आखिरी]} पर से कॉलमों [हमारा क्यूब] WHERE ({[दिनांक]। [तिथि - कैलेंडर महीना]। [कैलेंडर वर्ष]। & Amp; [2012 ], [तिथि] [दिनांक - कैलेंडर महीने]। [कैलेंडर वर्ष]। & Amp; [2013]}) समस्या यह है कि मैं 2012 और 2013 में गठबंधन करने की कोशिश कर रहा हूं एक सेट के रूप में WHERE खंड: यह तब कस्टम उपायों में current_mber फ़ंक्शन के मूल्यांकन के संदर्भ के रूप में इस्तेमाल किया जा रहा है - लेकिन इस फ़ंक्शन को एक सदस्य की अपेक्षा है और एक सेट नहीं। मैं स्क्रिप्ट को कैसे बदल सकता हूं जिससे कि > <31> 2013 बिना किसी पंक्ति या कॉलम पर आयाम [तिथि] को शामिल किए बिना 01 जनवरी 2012 और वापस काम करता है [प्रथम दिनांक] के रूप में (मौजूदा [दिनांक]। सदस्य

sql - Pivot single column with into multiple columns -

I need help with a query to help me do the following: I Format: Sales order number start the position of numbering Crew name 29002 Turner, Linda closed 2014-01-22 2014-01-24 Espinoza, H. 29002 Turner, Linda Clod 2014-01-22 2014-01-24 Chevrolet, c. 29002 Turner, Linda Clod 2014-01-22 2014-01-24 Valdness, R and change it to: Sales order number status of numbers Start CrewName1 CrewName2 CrewName3 29002 Turner, Linda Close 2014-01-22 2014-01-24 Espinoza, H Severt, C. Valladars, R. Thank you all in advance! You can use PIVOT to get the results, but you can SalesOrderNumber Would you like to use a windowing function like row_number () to create a unique value for each line in code> code. Then these unique numbers will then be used to create your new columns: select sales number, custom name, position, start, [end], crew 1 = [1], crew 2 = [2], Crew 3 = [3] Classification ([1]) (from Sevesterordan, custom name, status, start, [End], kremenum, row_number (), [2

django - Reducing queries overhead when fetching related fields -

मेरे पास टैग के साथ एक सरल ब्लॉग ऐप है। वर्ग AbstractDate (models.Model) : निर्मित = मॉडल.डेटाइमफिल्ड (auto_now_add = true) वर्ग मेटा: सार = सच वर्ग abstractTitleData (AbstractDate): title = models.CharField (max_length = 200) वर्ग मेटा: abstract = True class Post (AbstractTitleData): body = models.TextField () = मॉडल .इंटरफेरफिल्ड (डिफ़ॉल्ट = 0) पसंद = मॉडल.इटेगरफिल्ड (डिफ़ॉल्ट = 0) तस्वीर = मॉडल। आईजेफ़ेल्ड (अपलोड_to = 'प्रोफाइल_इम्स', रिक्त = सत्य) वर्ग मेटा: ऑर्डरिंग = ["-कितचित"] def __unicode __ (स्व): रिटर्न स्व टाइटेल क्लास टैग (मॉडल। मॉडेल): स्लग = मॉडल। स्लगफिल्ड (अधिकतम_लांबी = 15) पोस्ट = मॉडल। फ़िरनाइक (पोस्ट, संबंधित_नाम = "टैग") def __unicode __ (स्वयं): रिटर्न स्व स्लग उदाहरण के लिए, मेरे डीबी में दो पोस्ट हैं। क्रमशः 'ए', 'बी', 'सी' और 'डी', 'ई', 'एफ' के साथ पोस्ट ए और पोस्ट बी हैं। डेटाबेस को क्वेरी को कम करने के लिए, मैं विधि का उपयोग करने की कोशिश कर रहा हूं। condition = 'bl

codenameone XML from device -

How do I go about reading XML from a file on the device? Can you add XML to a .res file? I know that XML parser is expecting a reader, but can you use a reader to read the .res file? Regards, Delan Yes, you You can of course open the theme.res file with a codenamed Designer and add your XML file from the data section on the left. Now you can load the file using the topic object as follows: InputStream = theme.getData ("yourFile.xml"); Alternatively, you can insert your XML class path (like the Java Source Directory) and load it as follows: InputStream = Display.getInstance () .getResourceAsStream (empty, "/yourFile.xml"); Once you receive a InputStream , then it will be a reader XMLParser XmlParser = new XMLParser (); XmlParser.parse (New InputStreamReader ("UTF-8");

java - Xpath OR syntax -

एक html पृष्ठ के लिए मेरा xpath निम्नानुसार है: // div [@ id = 'contenttext'] / फ़ॉर्म / तालिका / टीडी [11] / टीडी [स्थिति () = 1 या स्थिति () = 2] अब मैं एक स्ट्रिंग की जांच कर रहा हूं जो वास्तव में तालिका के दूसरे स्तंभ में है। I.e. टीडी [2] । इसके साथ साथ यह td [1] पर हो सकता है इसलिए दोनों के लिए मुझे सच के रूप में मूल्यांकन करने की आवश्यकता है I परन्तु स्थिति () फ़ंक्शन के साथ में या स्थिति किसी भी तरह से काम नहीं कर रही है क्या आप कृपया तालिका स्तंभ के दोनों पदों पर स्ट्रिंग को चेक करने का सुझाव दे सकते हैं? अग्रिम धन्यवाद मुझे जो जाँचने की ज़रूरत है वह स्ट्रिंग कहती है" राज्य "जिसे मुझे उम्मीद है कि उस व्यक्ति ने td [1] या td [2] , दोनों को सही समाधान के रूप में लिया जाना चाहिए।

javascript - How to automatically manipulate an html5 video? -

I am testing automation for an html5 video related project. Target: When I run my script, embedded video starts automatically, stops and jumps to a specific point. & lt; Video control = "control" id = "asset-element" class = "video-asset" preload = "auto" allowed screen = "" & gt; & Lt; Source src = "sample.mp4" type = "video / mp34" & gt; Your browser does not support the video tag. & Lt; / Video & gt; I'm only able to start the video because the video landing page has a 'Start button' image, which triggers an event: & Lt; Img id = "playbutton" class = "play-button" src = "sample.png" onclick = "showvideo endplay ()" \ & gt; and the following code 'Start' will work: driver.findElement (webdriver.By.id ('playButton')). Click ( ); However, I do not know how to stop this video or look for any po

html - Background-color have a strange behavior -

मेरे पास एक टेबल है: & lt; टेबल id = "TableCorpsDetails" runat = " सर्वर "सेलपैडिंग =" 20 "बीजी रंगोर =" & lt;% = BgColor% & gt; " सीमा = "1" संरेखित करें = "केंद्र" चौड़ाई = "50%" & gt; और मेरे vb कोड में, मैं एक नीला रंग (जिसमें से एक एसक्यूएल अनुरोध) बाँध: BgColor = myDS.Tables (0) .Rows (0) एटम ("क्युएलर")। टॉस्ट्रिंग और जब मैं उस कोड को निष्पादित करता हूं तो पृष्ठभूमि का रंग ग्रीन होता है और मुझे नहीं पता कि क्यों ... मैंने नहीं किया इससे पहले कि मैं runat = "server" संपत्ति को जोड़ने से पहले यह व्यवहार करता हूं मैंने Bgcolor पैरामीटर को निकालने और केवल वीबी कोड के साथ काम करके इस समस्या को तय किया है: टेबलकॉप्स विवरण। स्टाइल। जोड़ें ("पृष्ठभूमि-रंग", एटम ("युपल पर runat = "server" प्रभाव क्यों

javascript - Click event on a button which was created dynamically -

इस सवाल का पहले से ही एक उत्तर है: < / P> 18 उत्तर मैं का उपयोग कर एक बटन का निर्माण कर रहा हूँ Javascipt नीचे की तरह: "div वर्ग = 'पंक्ति' & gt; & lt; बटन आईडी = 'rkeys' & gt; संबंधित & lt; बटन & gt; & lt; / div & gt; & lt; / div & gt; $ ('# Search_results') .जोड़ें (html_result) और नीचे मेरे पास '#rkeys' आईडी पर एक क्लिक ईवेंट की प्रतीक्षा कर रहे कार्यों के अलावा, लेकिन जब मैं प्रेस उस बटन। संबंधित_कीज = - & gt; पर क्लिक करें, संबंधित_कीज मैं यह काम करने के लिए क्या कर सकता हूं। आपको इवेंट डिलीजन की आवश्यकता है: इवेंट डेलिगेशन हमें एक इवेंट श्रोता को संलग्न करने की अनुमति देता है, एक अभिभावक तत्व, जो कि चयनकर्ता से मेल खाते वाले सभी वंशजों के लिए आग लगाएगा, चाहे वे वंश अब मौजूद हों या भविष्य में जोड़े जाएं। $ ('# search_results')। ',' # Rkeys ', फ़ंक्शन () {// क्लिक करें इवेंट कोड।});

Change view after make ajax call AngularJS -

I am developing a single page application with the help of AngularJS and I'm new to it, maybe my question is so primitive But at the moment I do not know how to handle it. After logging in to the user's name and password, why do I need an ID to open a pop-up menu then an AJAX call on the server And if the user is certified that an un The scene (profile) is displayed. This is my AJAX call formApp.controller ('main controller', function formCtrl ($ scope, $ http) {$ scope.processForm = function () { $ Http ({method: 'POST', url: 'login', data: $ .premium ($ scope.formData), header: {'Content-type': 'application / x-www-form-urlencoded'}} ) .success (function (data) {console.log (data);})}} and it has router and visual config: FormApp = angular.module ('formApp', ['ngRoute']); formApp.config (function ($ migration provider) {$ routeProvider. When ('/', {templateUrl: 'main', administrator: '

git - which fuelphp folder should I add to my own version control? -

I am using fuelphp and felt that the fuel EPF comes with its own .git folder. I want to use my own GIT repo, I think this is the best way when I only add fuel to my VCS folder? But I've lost the framework code and the composer file and some other stuff. I am really confused how it should work. Maybe someone can give me a point of which parts are important or if there is any strategy or a good practice thank you! The best approach adds a new origin to your project. Oil making [project_name] cd [project_name] git remote rename original fuelphp git branch master git checkout master git remote add original [your_git_repo_address] git config branch.master.remote original git configuration branch.master .merge refs / heads / master GIT clone - beer [your_git_repo_address] git push git remote add origin [your_git_repo_address] git push -u origin --all git push -u origin -tags

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

Image
I have a requirement whenever I run my own kettle, dynamically took database connection parameters from an excel source Every run should go. I have an Excel column names: hostname, username, database, password. I want to pass these connection parameters to my table input stage dynamically whenever it runs the job. This is what I was trying to do. You can get it Connection parameters from the DB reading source (for example Excel or a CSV file in my example) < / Li> Store the parameters in the variable Using the variable in your connection's settings. Setting Variables Create another conversion for (you can not do it in the same conversion Uses): set variables element variable: The element that reads / writes your data creates a new connection and sets the connection parameter using $ {variable name_} Note that you will need to type in the field field in the field $ {password} Also keep in mind that this can be a security problem as the

arm - Handling gpio Interrupts in u-boot -

How do I know that support for my architecture comes in the middle? If this supports, how can we interrupt some GPIO pin? In my case another board is interrupting the GPIO pin. Can I see this boot in the U-boot level and process it in handling? I am using hand architecture A short answer, indeed there are no interrupts in U-Boot. Normally you do not need interrupts in U-Boot. U-Boot strictly has a single function from nature and design. All external devices are implemented in the nurtured mode. is voted by U-Boot design (Simplicity). More good info here

mysql - php - Insert doesn't enter values to form -

Image
Hi guys, I do not know what is doing wrong but my tables are correct, php error is on and not included Let me name both Email can be repetitive {$ Html_escape = htmlspecialchars ($ html_escape, ENT_QUOTES | ENT_HTML5, 'UTF-8'); Return $ Html_escape; } $ Name = html_escape ($ _ POST ['name']); $ Email = html_escape ($ _ post ['email']); If empty ($ name) || empty ($ email)) {resonant "and ";}}}}" Gt; First of all, are you connected to mysql before running your query? $ conn = mysql_connect ('localhost', 'your_db_username', 'your_db_password'); If (! $ Conn) {dead ('can not be connected to mysql'); } Mysql_select_db ('your_db_name'); Then, when you are certain that you are connected to DB and your query is still not working, then add or die (mysql_error ()) This kind of query will help you to understand what is going wrong in your putting: mysql_query ("INSERT's subs (first_n

Android downloading bitmap from url -

I have one more minor problem, I have a link to my picture in the standard format, but by the end of the entry Auth Token is the image needed, so whenever I type it in my webbrowser with the correct auth token image, it is automatically downloaded. And here's my question, how do I support playing this kind of image in Bitmap on Android? Because using the final URL bitmapUrl = new URL (imageUrl); Bitmap = bitmapfile SingleStream (Bitmap URL. Open Connection). GetInputStream ()); does not work ... private Bitmap GetBitmap (string url) {file f = fileCache.getFile (url); // bitmap b = decodfile (s) from SD cache; If (b! = Null) return b; // Try the Web {bitmap bitmap = null; URL imageUrl = New URL (url); HttpURLConnection conn = (HttpURLConnection) imageUrl.openConnection (); Conn.setConnectTimeout (70000); Conn.setReadTimeout (70000); Conn.setRequestProperty ("Auth_keyName", "Value"); // If required authentication conn.setInstanceFollowRedirects (tr

How To Do OpenSCAD Stack-Like Operations? -

I'm very new to OpenCAD, but it's got the most down below. However, I'm not sure how I can perform a stack-like operation. It really does not matter how the data structure is used, as long as I can push and pop the numbers is it possible? I worked extensively with the pile while applying. The size of the trick is to use the nested correct associative lists of 2 = eg if you want to push in some stacks: function push (stack, item) = "Foo", ["Bar", []]]. [item, stack]; If you want to pop the stack: function pop (stack) = stack [1]; And if you want to undo the value that was popped up: function peak = stack [0]; You can also apply a map / under work using recursion: function map (stack) = push (map (pop (stack) ), F (peek (stack))); Reduce function (stack) = f (peak (stack))? Push (stack), f (peak (stack)): reduce (pop (stack)); Of course, this version is now 2015.03, you can list Think of the use of understanding, suppose

linux - C code for non-standard baud rate on Debian/Raspberry Pi -

I am working with a hardware device running only with 625000 non-standard baud rates. I need to connect and read and write this device via USB port. That's why I'm trying to develop a small program that will allow me to do this. However, this code needs to work in Linux environment (/) and unfortunately my Linux skills are only preliminary. So, I was hoping something could explain to me in a simplest form (code example would be great!) How I founded a non-standard baud rate of 625000 Linux, from my hardware device (ttyUSB0) Connects, and backs up 7 bytes from the device (write a bit stream to 0x02 0x01) and read from it. I have seen the following stack overflow questions: And the other ... However, the holes in my Linux knowledge are just good enough to make me the necessary connection For how can I do this after stumbling over the following code on a little more searching : Below, there is a copy of the code given above Area is called down