Posts

Showing posts from May, 2015

jquery - Alternative color class after first elements -

I have to add a class that will list the style list differently because I have more than one list on one page And I need to restart the style for each list, but I have decided to look at each list. $ ('ul.myList'). Each (function) {$ ('Li: visible: even: no (.red, .green)'). AddClass ('newStyle');}); Some items are hidden and need to drop the top two items in each list. & lt; Ul & gt; & Lt; Li class = "red" & gt; ... & lt; / li & gt; & Lt; Li class = "blue" & gt; ... & lt; / li & gt; & Lt; Li & gt; ... & lt; / li & gt; & Lt; Li & gt; ... & lt; / li & gt; & Lt; li class = "hidden" & gt; ... & lt; / li & gt; & Lt; Li & gt; ... & lt; / li & gt; & Lt; / Ul & gt; & Lt; Ul & gt; & Lt; Li class = "red" & gt; ... & lt; / li & gt; & Lt; Li class = "blue" & gt; ... ...

CheckboxList item text CSS -

Below is the My Checkbox I text showing below the checkbox. How can I keep text in line? Here is my view source code & lt; Tr & gt; & Lt; TD & gt; & Lt; Input ID = "ContentPlaceHolder1_cblReason_16" type = "checkbox" name = "ctl00 $ ContentPlaceHolder1 $ cblReason $ 16" value = "02 Product order / purchase form (Status with immediate delivery, delay delivery, status with mail order, phone Order, internet order) "/> & lt; label = "ContentPlaceHolder1_cblReason_16" & gt; 02 / label & gt; & Lt; / TD & gt; Order for Purchase / Order & Purchase of LT (POS with immediate delivery, delay delivery, mail order, phone order, position with Internet order); & Lt; / TR & gt; & Lt; TR & gt; & Lt; td style = "text-align: left;" Colspan = "2" & gt; & Lt; ASP: CheckBoxList ID = "cblReason" runat = "Server" RepeatColumns = "1...

Convert Excel to CSV without Excel installed in ASP.NET -

I have a task of creating a class that can take an XLS file and convert it to a CSV file, but A grip, I can not install anything on the server like Excel or Jet drivers, and for this time. Must be 2.0 I thought of doing this with a filestream and stream reader, looking at the obstacles. The code does not give me any error, it uploads the excel file and even creates a CSV file for it, but when I open the file there's no rows (and excel in it) There are rows in the file). All the data I see is always on 2 worksheet and I am wondering if the issue where my problem lies is that I am removing this code, any help would be greatly appreciated. : '' '& lt; Summary & gt; To change the XLS or XLSX file in CSV format, without the need to install any third party 'like' Excel or ACE / JAT drivers '' method '' & lt; / summary & gt; '' '& lt; Returns & gt; & Lt; / Returns & gt; '' '& Lt; Comme...

android - How to take screenshot for scroll view ? -

How to take a screenshot for a specific layout This code takes screenshots for activity without the status bar I want to take a screen for scroll view view view = matching (). GetDecorView (); View.setDrawingCacheEnabled (true); View.buildDrawingCache (true); Bitmap b1 = view.gradingcash (); Rect Frame = New Rect (); . This.getWindow () getDecorView () getWindowVisibleDisplayFrame (frame). Int Position BarHeight = frame.top; Int width = this.getWindowManager (). GetDefaultDisplay () GetWidth (); Int height = this.getWindowManager (). GetDefaultDisplay () .getHeight (); Bitmap bm = bitmap Bitmap (B1, 0, status barough, width, height - position barough); I want to take a screenshot for scroll view - I have searched a lot here but I do not know anything that anyone can help Are you able to take screenshots with the title bar? Then get title bar height using this performance metric = new performance metrics (); . GetWindowManager () getDefaultDisplay () getMetrics (ma...

c - How to delete a file in Linux where all I have is the file descriptor -

मेरे पास एक int फ़ाइल डिस्क्रिप्टर है जो पहले खोला गया था ( open ) और मुझे उस फ़ाइल को हटाना होगा। क्या मुझे पहले फ़ाइल का नाम और कॉल निकालें प्राप्त करना है? (उदाहरण के लिए तकनीक का उपयोग करके) या क्या कुछ अन्य (लिनक्स विशिष्ट ओके) फाइल डिस्क्रिप्टर के आधार पर पूरी तरह से करने का तरीका है? मैंने खोज की है और सबसे अच्छा I मिल सकता है उपरोक्त उत्तर। आप / proc का उपयोग कर देख सकते हैं जो एक खुला एफडी पथ से जुड़ा हुआ है, और सिमलिंक का पूरा पथ प्राप्त करता है। # ls -l / proc / 8701 / fd कुल 0 lr-x ------ 1 जड़ रूट 64 अप्रैल 23 22:44 0 - & gt; / Dev / null lrwx ------ 1 रूट रूट 64 अप्रैल 23 22:44 1 - & gt; / Dev / null lrwx ------ 1 रूट रूट 64 अप्रैल 23 22:44 2 - & gt; / Dev / null lrwx ------ 1 रूट रूट 64 अप्रैल 23 23:19 20 - & gt; सॉकेट: [16204] lrwx ------ 1 रूट रूट 64 अप्रैल 23 23:19 21 - & gt; सॉकेट: [16205] lrwx ------ 1 रूट रूट 64 अप्रैल 23 22:44 3 - & gt; सॉकेट: [18743] एल-वाक्स ------ 1 रूट रूट 64 अप्रैल 23 22:44 4 - & gt; /var/l...

.htaccess - change native function name from php -

I would like to create a function xxxx which will be similar to shell_exec because it is disabling shell_exec in my server So no one will be able to use it. Although some users need to use it, I will tell them not to use shell_exec, but the second function named "xxxx" prevented me from attacking so many attacks due to my server. I can only know the alternate name of my client's function. I know that this user can give the name of the function to other people, but this is not my concern at the moment. I am asking for this reason. Once I block the function in disable_function on php.ini, then I can not re-enable it on specific websites. You can not do this without doing anything, like proc, op_open, etc. That if you are trying to secure your server then everyone should be disabled. If you are disabling only , then you can use it instead.

java - Shell execution of existing shortcuts works, but execution of new shortcuts fails. Why? -

Execution of existing shortcuts works in no time with Java (and possibly .NET and other platforms) while executing Windows shortcuts, For reference, the code is in question as follows, though the scope of the problem is broader and strangular than this specific code: // replace This may be the reason for this incompatibility and how can I fix it? Windows 7 and Windows XP appear to generate slightly incompatible file shortcuts. Set aside for a moment for both the shell execution (any type of) and programmatic execution of Windows shortcuts. P> After some troubleshooting, it has been learned that the execution of Windows XP-built shortcut was successful while Windows 7 (possibly Vista and other versions) modified or one "Path not found" error occurred. / P> The binary content of both shortcuts is different, although these differences were not widely analyzed. Quick solution is to create necessary shortcuts in Windows XP I am curious about any info...

r - How do I make custom scales on a scatter plot in ggplot2? -

I am using a diamond data set to do some analysis for a project. I need to understand how to change X and Y scale. When I use: Library (ggplot2) ggplot (diamonds, AES (x = carat, y = value)) + geom_point () + ylab ("diamond price") + xlab ("Diamond Cut") The X scale is 0-5 and the y scale is 1000-5000. Use xlim or ylim : ggplot (diamonds, aes (x = carat, y = value)) + geom_point () + ylab ("diamond cut") + xlab ("diamond cut") + yelim (0, 5000 ) + Exclamation (0,2)

jquery - javascript image path forward slash removed -

Image
I am trying to get the right path, from which I can set the image URL in javascript. I am trying with this approach: & lt; IMG BORDER = "0" width = "100" height = "50" style = "margin-right: 5px;" ALIGN = "left" SRC = '+ decoderIconcontent (data.logofilename) +' & gt; This is what I'm getting for the price: and the value is coming from the database like this: \ images \ logos \ a08a9656-9a0f-414d-8bcd-f8515e1260a3_logocolortextbelow.jpg Any ideas how can I deal with this? Thanks in advance, Lajial What kind of server is sending you data? You need to send the data back to the server, such as avoiding those characters - \\ Images \\ Logo \\ a08a9656-9a0f-414d-8bcd-f8515e1260a3_logocolortextbelow.jpg

iOS app not launched after upgrade to xcode 5 - black screen -

I just upgraded OS X to Mavericks and to xcode 5. Now I can not launch my app, which was running fine on the iOS 6.1 simulator, now I only tried simulator (I tried 6.0, 6.1 and 7.1) and black screen on only one actual device I see. I have the main point in my main.m function and it is not called. How can I debug it further? I went to it and suggested to reset the simulator, reset the encoder, delete / library / app support / iPhone simulator / * do not help anything. In addition, if I start a new app from scratch in Ax then it runs fine. The problem was that the debugger was not connected to the process, so I did not know what was going on (the console did not show anything), and the app Stopped launching in my code due to some exception Double click on the simulator icon on the dock (many times if necessary), sometimes this simulator Does not attach the process well. If it still does not work, go back to the home screen (cmd + shift + h), and then touch your app: XC...

sublimetext2 - sublime Text 2 bring back unsaved files on osx -

In splendid I know that if you do not save the changes in a file later, then where are you left off? Before saving my file, I opened a great tab and stopped the application. Save a temporary file somewhere in the computer (using Mac OSX) sublime text 2 store files located in ~ / library / application support / sublime text 2 / settings , .sublime_session The contents of those files are a large JSON blob that has individual tab content, search the file for a key word in the file name / tab name / document, and you should be able to get that thing Which you need.

node.js - Plain file logging in winston -

I just do not want to log in one data and log level, timestamp etc. var logger = new (winston.Logger) ({transports: [new (winston.transports.File) ({filename: '/tmp/data.log', json: wrong, timestamp : Function () {return '';}}}]}); Logger.log ('info', 'a') This removes the timestamp from the line, but the log level still appears. Currently, the file has "info: a", I just want to log in "one", is it possible to specify the output format in Worthone? Unfortunately, this formatting is fundamentally in Winston; You can see the logic for this in the log function in common.js , which is used by most default transport. The way this will write your own custom transport does not depend on common.log () . On one side: You only have to disable timestamp logging in a timestamp: false option default transport.

node.js - JavaScript callback vs return -

I have a JavaScript (node) function to handle the content of a Web page and handle it with callback: 'Strict use'; Var http = Required ('http'); Function download (url, callback) {http.get (url, function (rij) {var content = ''; res.on ('data', function (chuck) {content + = chunk;}); res.on 'End', function () {callback (content);});}) ('error', function () {callback (tap);}); } I do not understand why I can not just return results at 'end'. Clearly, when the 'end' event is emitted, the 'content' variable contains a string with the content of a web page, otherwise it can not be submitted to the callback function, so why not I return it like this Can: function download2 (url) {http.get (url, function) {var content = ''; res.on ('data', function (part) { Content (+);); res.on ('end', function () {return content;})}}. ('Error', function () {return null;});} d Why download...

html - Setting a jQuery dialog semi-transparent -

I have seen and what I have not really received (probably due to a lack of CSS / jQuery skills), then here goes I am trying to create some support type "bubbles" which are semi-transparent using the jQuery dialogs. I . Trying to use FadeTo () and .css ("Opacity", n) , but the dialog appears with a white background, while the content actually goes out of bleach Is rather semi-transparent than the entire dialogue. Even what i have so far note: a and , where content and dialog work just fine. $ ('# width: 600, height: 420, status: "center", show: {effect: "fade", duration: 300,}, hide: {effect : "Fade", Duration: 200,}}). CSS ("Opacity", 0.5); I do not need it for all the dialogues on the page, only help "bubble" Sorry if this is a stupid question! $ ('# helpwindow'). Dialog ({...}) Parents (". UI-dialog"). CSS ("Opacity", "0.5");

c++ - File input/output and reading in a line -

So basically what my code wants to do is read in a row from the file gt; & Gt; Filename & gt; & Gt; MPA & gt; & Gt; Rating 1 & gt; & Gt; Rating 2 & gt; & Gt; Rating 3 & gt; & Gt; Rating 4 & gt; & Gt; rating5; Example input (from the first row in the file): Frozen PG 13 1 2 3 4 5 That worked well But if I want to do something like this: Peter Pan PG 1 2 3 4 5 I will get the error because it MAPA will try to put a PAN and the rating will be 1 PG and so on. How do I get that code to recognize the space? Change something else like comma to your separator, and try the following: meet (file 1, move name, ','); Gateline (file 1, mpa, ','); // etc If you need to read the line from the line and make sure that each row is correct, you first want to read the line with the getline (file1, line) , and then use the string to start the istringstream to extract the values ​​separated by commas. ...

restore all files from git repo with their respective commit's their sha1 or date appended to their filename? -

Suppose i have a git repo that looks like this commit # b97bd247a5d2530949c7acad0868e961c7777a28 Date: 2014 -04-24 Time: 07:43 file1.txt file2.txt commit # 4c1eb3b06dd4e51bf8541e67ec5dd8ad2744c695 Date: 2014-04-23 Time: 06:32 file1.txt I have all the files want to restore my ( both copies file1.exe ) and they like to restore a directory structure: file1_201404240743_b97bd247a5d2530949c7acad0868e961c7777a28.txt file2_201404240743_b97bd247a5d2530949c7acad0868e961c7777a28.txt file1_201404230632_4c1eb3b06dd4e51bf8541e67ec5dd8ad2744c695.txt "text"> Nothing has been made in GIT to do this, but doing so in a shell script Will be easy For example, suppose you have cd / tmp; MKDIR restoration; CD Restore and then for some commitments above: Export for # import_id in $ git rev-list ... GIT_DIR = / path / to / repo.git # Inserting the specs for the desired revs here is "$ $" for CDAT = $ (GIT show -s -pretty = format:% cd $ commit_id) $ $ git ls-tre...

Why won't this Mathematica code maximize? -

Image
f [n_]: = ((A * n ^ a) ^ (1 / s) + C * (B * (A * C * (B / A) ^ (1 / S) * N ^ (1 - (A / S)) (- (A * S) / (A-S)) (1 / S () ^ S + B * Log (1 - N - ((* C * (B / A) ^ (1 / S) * N ^ (1 - (A / S)) (- (D [N]) D [F [N], N] Hall (D [F [N], N] [0] [0] [0] [0] [0] [0] [0] [0] A) ^ (1 / S) CN ^ (1 - A / S) ^ (- ((As) / (A-S))) + + ((AN ^ A) ^ (1 / S) + C (B) A / A) ^ (1 / s) CN ^ (1 - A / S)) ^ (- ((As) / (A-S)) (^ (1 / S)), N] I am not getting any idea of ​​any of these works ?? Attaching a picture of the mathematical script: First of all, you are solving with a lowercase, which is just To use an undefined variable function, resolve you have to write it with a capital letter. In the same way, you have to write log with a large letter, not a lower letter letter, because it is created in the function. Second, your open brackets do not work in a bracket mathematical task, such as solution [...] , no solution () . Third, you are used to store the variables instead of = == ...

javascript - populating a dojo dijit combo box -

मेरे पास डिजीट कॉम्बो बॉक्स है जो cust.Html पृष्ठ में decalared है: & Lt; div वर्ग = "कस्टडिजित" & gt; & Lt; div class = "formContainer" & gt; & Lt; div डेटा-डोजो-टाइप = "dijit.form.form" डेटा-डूजो-संलग्न-बिंदु = "खोजफॉर्मडिजिट" & gt; & Lt; तालिका कोशिकाएं = "5" शैली = "चौड़ाई: 100%; ऊंचाई: 49px;" & gt; & LT; टीआर & gt; & LT; टीडी & gt; & Lt; डेटा का चयन करें- dojo-type = "dijit.form.ComboBox" नाम = "राज्य" डेटा- dojo-id = "comboBoxID2" id = "stateInput" डेटा- dojo- संलग्न-बिंदु = "idResultItemsCB" / & gt; & Lt; br / & gt; एट्रिब्यूट वैल्यू एंटर करें: & lt; इनपुट आईडी = "खोज टेक्स्ट" प्रकार = "टेक्स्ट" डेटा-डोजो-टाइप = "dijit.form.ValidationTextBox" डेटा-डोजो-प्रॉप्स = "नाम: 'खोज टेक्स्ट', ट्रिम करें: सत्य, आवश्यक: सत्य , शैली: 'चौड़ाई: 100%;' / / gt; ...

ios - How to create an if statement which check if text field empty? -

मेरे पास तीन टेक्स्ट फ़ील्ड हैं, उन्हें नाम दें: textField1। textField2 textField3 मैं एक if स्टेटमेंट लिखना चाहता हूं यदि textField1 के मान (पूर्णांक) को textField2 और textField3 को बराबर 0 सेट करने के लिए बदल दिया जाता है, यदि वे इसी तरह textField2 के साथ textField1 और textField3, आदि को बदलने के लिए। मैंने यह जांचने की कोशिश की है कि textField2 = शून्य; यदि textField2 = @ "" न तो काम! मैं ऐसा कैसे करूँ? यह जांचने का सबसे अच्छा तरीका है कि पाठ फ़ील्ड में कोई टेक्स्ट है: यदि (textField2.text.length == 0) { // कोई पाठ} नहीं है

node.js - Using (socket.io + RedisStore) to communicate across multiple servers -

I am working on a multiplayer online game, using Node.js and Socket.io. I hope many players are expected to join the game, so I'm hosting it on Amazon Opports. The problem is that the servers are not able to send socket events to customers connected to a different server. I am using RedisStore to manage socket.io sessions. I believed that RedisStore and socket.io took care of this inter-server communication under the hood in an intuitive way, here another reference is given to the question: But this is not the case that is so looks like. Messages do not go through other clients if they are on different servers; The app only works on one server but fails, if I am using loader multiple servers using ELB at oopsworks. This is just a quote from the whole code. Please ignore syntax errors etc. If any app.js // redis client initial time redis = require ("redis"); Redis_client = Required ('redis-url'). Connect ('redis: // xxxxx'); // settings for...

vim - Fail to set font in Macvim -

Configuring MacVM on Mac OS X Merger I type "set guifont = menlo \ 14" in both ~ / .vimrc and ~ / .gvimrc but the editor remains displayed in the courier. I insert ": set gefont?" And it reveals "GUIFONT = Menlo \ 14". I looked at the contents of .vimrc and .gvimrc, but there was no other line that overrides the gefont setting. I have examined many posts in the stack overflow but have not been able to get the solution yet Thanks for the anticipation, to get some help. The ideal way to go about doing this is to command the following command from Vim: set gefont = * This will open a font selection dialog box and you can choose whatever you want. Once you work, you should then check that this option was set using the order you mentioned: Set Gufont? Now you should produce it in your .gvimrc (not .vimrc) and in addition you will need to avoid the already empty spaces you are setting yourself up , It can be a subtle mistake, for example,...

javascript - AngularJS - TypeError: string is not a function -

I have an AngularJS controller that passes the form data from the spring controller, the Spring Controller gives a JSP page because its response is. This works fine when I call the spring controller directly with the GET method. I'm getting typeError: when I call the controller in the ng-click submit button, then the string in the Chrome console is not a function look: - & lt; Form name = "empForm" ng-controller = "insertEmpCtrl" & gt; Name: & lt; Input type = "text" class = "form-control" name = "fname" ng-model = "formData.fname" /> & Lt; / Form & gt; & Lt; Input type = "submit" value = "save" ng-click = "insertEmp ()" /> & Lt; / Form & gt; AngularJS controller: empApp.controller ('insertEmpCtrl', function ($ radius, $ http) {$ scope.insertEmp = function () {$ Scope.formData = {}; $ http Post ("http: // localhost: 8080/idia/up...

OpenCL on Xeon Phi: 2D Convolution Experience - OpenCL vs OpenMP -

ऑप्नेकल में 2 डी रूपांतरण के साथ बेंचमार्क Xeon Phi का प्रदर्शन एक ओपन एमपी कार्यान्वयन से बेहतर होता है, यहां तक ​​कि कंपाइलर-सक्षम वेक्टराइजेशन के साथ। ओपनपीपी संस्करण को पीएचआई नेटिव मोड में चलाया गया था, और टाइमिंग केवल मोज़िशन भाग मापा गया: फॉर-लूप ओपनएक्ल कार्यान्वयन के लिए, समय केवल कर्नेल कंप्यूटिंग के लिए ही था: कोई डेटा स्थानांतरण शामिल नहीं था। OpenMp-enbaled संस्करण 2,4,60,120,240 धागे के साथ परीक्षण किया गया था। - 240 थ्रेड्स ने एक संतुलित धात्विक संबंध सेटिंग के लिए सर्वश्रेष्ठ प्रदर्शन दिया। लेकिन ओपेकल, 240-थ्रेड ओपन एमपी आधाररेखा के साथ-साथ प्रोग्मा-एनबल्ड व्हेक्टरसिजेशन के साथ 17 डिग्री बेहतर था, स्रोत कोड है। इनपुट छवि का आकार 1024x1024 तक 16384x16384 तक है, और 3x3 से 17x17 तक का फिल्टर आकार। कॉल रनों में, ओपनक्ल ओपन एमएफ़ से बेहतर था क्या यह opencl की एक उम्मीद की गति है ?? सही होना अच्छा लगता है। संपादित करें: संकलन (ओपनएम) icc Convolve.cpp -fopenmp-mmic -O3 -vec- रिपोर्ट 1-ओ कन्वेंशन। कॉन्वल्वे सीपीपी (71): (कर्नल 17) टिप्पणी: लूप का अभिप्राय था स्रो...

go - io.Copy() erase the Reader content -

पैकेज मुख्य आयात ("fmt" "io" "io / ioutil" "os") func मुख्य () {File, err: = os.Open ("HelloWorld") अगर शून्य! = गलती {fmt.Println (err)} defer file.Close () fileTo, err: = os.Create ("fileTo") अगर शून्य! = त्रुटि {fmt.Println (err)} defer file.Close () _, err = io.Copy (fileTo, file) अगर शून्य! = Err {fmt.Println (err)} fileByteOne, err: = ioutil.ReadAll (फ़ाइल) ) अगर शून्य! = गलती {fmt.Println (err)} fmt.Println (fileByteOne)} io.Copy () फ़ाइल सामग्री को मिटा देगा, आउटपुट है: [] प्रतिलिपि (डीएसटी लेखक, स्रोत रीडर) प्रतिलिपि स्रोत से डीएसटी, यह src सामग्री मिटा देगा क्या मिटा देने से बचने का कोई तरीका है? io.Copy (फ़ाइल, फाइल ) फ़ाइल सामग्री मिटा देगा यह नहीं होगा लेकिन यह पढ़ने की स्थिति को EOF पर ले जाएगा, जिसका अर्थ है अगले ioutil.ReadAll () से शुरू होगा ... EOF । आप इसे बंद कर सकते हैं और अपने ioutil.ReadAll () से पहले ' फ़ाइल ' पुनः खोल सकते हैं। वैसे, आपके पास दो defer file.Cl...

c++ - Calculate size of array of character pointers -

इस सवाल का पहले से ही एक उत्तर है: 3 जवाब मेरे पास निम्न फ़ंक्शन हैं int func (char * param1 [], int param2 []) {// param1 array के आकार की गणना करना चाहते हैं} मैंने कोशिश की n = sizeof (param1) / sizeof (चार *); लेकिन यह मुझे सही उत्तर नहीं देता। नोट कि फ़ंक्शन प्रोटोटाइप int func (char * param1 [], int param2 []); के बराबर है int func (char ** param1, int * param2); इसका मतलब है कि फ़ंक्शन पैरामीटर param1 और param2 पॉइंटर्स हैं, सरण नहीं हैं पॉइंटर्स और एरेज़ विभिन्न प्रकार के होते हैं। आकारफ (परम 1) / आकारफ (चार *); // आकार के बराबर (char **) / sizeof (char *) // हमेशा 1 उपरोक्त अभिव्यक्ति हमेशा 1 के लिए मूल्यांकन करती है क्योंकि सभी सूचक का आकार प्रकार समान हैं (फ़ंक्शन पॉइंटर के लिए जिस पर sizeof ऑपरेटर लागू नहीं किया जा सकता है)। ऐसा इसलिए है क्योंकि आप किसी फ़ंक्शन में एक सरणी नहीं दे सकते। क्या वास्तव में पारित हो जाता है सरणी के पहले तत्व के लिए एक सूचक है सूचक को समारोह में पास की सरणी की कोई आकार जानकारी नहीं है इसल...

android - requires plug-in "org.eclipse.core.runtime (3.7.0)", or later version -

Let me run Android Android Android Android Tools (22.6.2 .v201403212031-1085508) plug-in org.eclipse.core.runtime (3.7.0), or later version is required. How to solve this problem? Install it in V3.7.0 or later. Hope to download plug-ins that it helps .. :)

file - PHP: Encode image Base64 local -

I want to convert an image into base 64 and insert it into my database. I know how to encode an image in base 64, but I do not know how to use a file from a user. Then the user " and type =" file "/> but how can I access that file without downloading the file and store it on my server / I can? so file I want to localize locally on your computer will Thank you BLOB datatype to store files is the best. it is very well end up this See also: MySQL are some interesting comments If you do not want to save the file in the database, but just read it, use: & lt; form method = "post" enctype = "multipart / form-data" & gt; & lt; table width = "350" border = "0" cellpadding = "1" Selspesing = " 1 "class =" box "& gt; & LT; TR & gt; & Lt; td width =" 246 "& gt; & lt; input type =" hidden "name =" MAX_FILE_SIZE "valu...

Applying css to a Web Content Display Portlet in Liferay -

I have used the web content display portlet on my page to show some text. I have to apply CSS and use them I have to put a few pictures for this. I have put the html code in the source. Can I apply CST for this? Here's a source that will go to my web content display portlet & Lt; Cufon style = "width: 73px; height: 16px;" alt = "LOCATOR" class = "cufon cufon-canvas" & gt; & Lt; Canvas style = "width: 80px; height: 16px; top: 1px; left: -1px;" Height = "16" width = "80" & gt; & Lt; / Canvas & gt; & Lt; Cufontext & gt; LOCATOR & lt; / Cufontext & gt; & Lt; / Cufon & gt; & Lt; / P & gt; & Lt; P & gt; Use our branch locator to locate the branch! & Lt; / P & gt; & Lt; / Div & gt; & Lt; A href = "http://www.t.com/quickylink/branchlocater.htm" title = "Learn More" & gt; Learn more & lt; / A & gt; & Lt;...

html - How can I create a DIV that's located in the center of my browser screen? -

मैंने निम्नलिखित की कोशिश की: & lt; body style = "height: 100%; "& gt; & Lt; div शैली = "प्रदर्शन: ब्लॉक; ऊंचाई: 30rem; चौड़ाई: 100rem; मार्जिन: ऑटो;" & gt; एक्स & lt; / div & gt; & Lt; / body & gt; ऐसा क्या होता है कि बॉक्स सही दाएं और बाएं मार्जिन के साथ केंद्रित होता है लेकिन ऊपर और नीचे में कोई मार्जिन नहीं लगता है। नोट 1rem के बारे में 10px के बराबर है, इसलिए ऊपर और नीचे पर बहुत सारे स्थान होना चाहिए। हालांकि, DIV सिर्फ स्क्रीन के शीर्ष पर बैठता है। इसी तरह: #yourdiv {स्थिति: तय; ऊंचाई: 18em; मार्जिन-टॉप: -9em; मार्जिन-बाएं: -15 एएम; सीमा: 1px ठोस # सीसीसी; पृष्ठभूमि रंग: # एफ 3 एफ 3 एफ 3; शीर्ष: 50%; बाएं: 50%; चौड़ाई: 30em; }

Interpreting SIMPLS regression results in R -

I have a SIMPLS regression in R, but I'm not sure how the result can be understood, how does this look like my function, yarn.simpls & lt; -mvr (pcubes ~ x1 + x2 + x3, data = dtj, verification = "cv", method = "simple") and this is my result Summary (yarn.simpls) x Dimensions: 33471 3 y Dimensions: 33471 1 Fit method: simpls are considered number of components: 3 Certification: RMSEP cross-vested 10 using random sections (blocking) 1 Compose 2 composse 3 Composive CV 0.572 9 0.4449 0.4263 0.4175 NJCA 0.572 9 0.4449 0.4263 0.4175 Training:% Variance Explained 1 Compos2 Composse 3 Compose X 86.77 97.67 100 Pubes 39.74 44.72 47 Or I would like to know whether my coefficient? Is this line of integrity under the ANCCW: RMSE Training:% Variance is like the importance of variables? I just want to make sure that I interpret the result correctly. The description of% Variance describes how many variables differ from each encampy, and then reaction variables...

javascript - highstock x-axis is always time -

I chose highstock instead of highcharts because I'm scrolling Required functionality and I felt that highstock only supports the time labels, but I also need to display the string. Is there any way to display string value in X axis ticks? Use the formatter for labels just on xx that you want. See this jsFiddle xAxis: {label: {formatter: function () {return 'my string'; }}},

php - PHPMyAdmin saying: The used command is not allowed with this MySQL version -

I am a Java developer who is new to MySQL I load data operation using PHPMyAdmin Want to do Load data scripts have been confirmed because it works very well on my Windows OS configuration. When I'm trying to load data from CSV, I'm getting: The command used does not have permission with this MySQL version The version details are as follows MySQL Server Edition: 5.5.34-0 OS: ubuntu0.13.04 .1 (Ubuntu) I was done with editing my.cnf : [mysql] local-infile = 1 #Non-auto-reshash: fast start of # mysql, but no tab is full of ....................... [Mysqld] # # * Basic settings # local-infile = 1 user = mysql ......................... [client] Loose-local-infile = 1 Route port = 3306 ........................ I repeat Apache and MySQL several times. Trying to start - sudo service mysql restart Sudo service apache2 restart Nothing has worked for me which helps me to do the operation using phpmyadmin. When using the command mysql -u root -p --local-infi...

php - Jquery Dialog Close not worked correctly -

Hello friends: I am trying to create popups using Jquio in Razor MVC 4, popup Corrected problem when I press on "x" off and press again to reveal a popup again, a new page has a gender return which contains the contents of the dialog when the IM refreshes the page and the dialog works again Is $ ("# dialog-edit"). Dialog Class: 'Create Class', CloseOnScope: Wrong, Width: 400, Show: {Effect: 'Drop', Direction: (Title: 'Card Type', Auto Open: Incorrect, Re-Shape: "Up"}, model: true, dragable: wrong, open: function (event, ui) {$ (".ui-dialog-titlebar-close"). Show (); $ (this) .load (url) );}}} $ ("# LnkCreate") live ("click", function (e) {//e.preventDefault (); // use it or false // url = $ (this) .attr Return ('href'); $ ("# dialog-edit"). Dialog ('open'); return false;}); barley B is a partial view that I am loaded inside this dialog P> @ *

python - Unicodedecodeerror with runserver and django -

After setting up, all the Django is required, and try the Python manage.py runerver command, I made a mistake. How to add? Or at least take a look at how the error causes? Windows 7 Python confirming the manage.py driver model ... 0 error found April 24, 2014 - 11:13:33 Django version 1.6.3, Settings' mysite.settings Exit server at http://127.0.0.1:8000/ development start server using CTRL-BREAKUnknown exception in the thread & lt; 0x02C46CB0 by function wrapper & gt; Traceback (most recent call final): File "C: \ user \ Alexandr \ .virtualenvs \ engineer \ lib \ site-packages \ django \ utils \ autoreload.py", li fn (* args, ** kwargs) file "C: \ Users \ Aleksander \ .virtualenvs \ engineer \ lib \ site-packages \ django \ core \ management \ commands 139, in inner_run self.stderr.write (" Error:% s "% error_text) UnicodeDecodeError: 'ascii' Codec can be decoded byte 0xd1 in position 14: not in serial number (128) seems to be a...

javascript - JS error on IE 9 and 10 - Unable to get property of 1 undefined or null reference -

I'm getting the error only on IE 9 and 10 (I'm not supporting anything below IE9) and the site Works fine on IE 11 and rest of browsers I am popping up timezone information and displaying it on my page but the script gives me an error on previously given browser versions. Here is my JS code populateLocalTimeInfo: function () {var days = [sun, mon, tue, wed, thu, fri, sat], weekDayNumber = ( New date) .getDay (), weekday = days [weekdays], local time = date.formfold (new date ()); // timezone var regExp = / \ (([^)] +) \) /; Local time + = '(' + regExp.exec (new date) [1] + ')'; $ ('# Local_time'). Html (Replace Preferred (LocalDatetime, [Weekday, Local Time]); }, On the line I get a script error localTime + = '(' + regExp.exec (new date) [1] + ')'; I'm not completely sure that IE 9 and 10 could not parse this line of code and the properties were unable to get the error. Because of this, my page takes forever to lo...

javascript - getting wrong target object in ng-click -

html कोड & lt; div ng- click = "sortOrder ($ event, पूर्णनाम ') "वर्ग =" कर्नल- xs-2 sortable asc "& gt; & LT; अवधि & gt; नाम से & lt; / span & gt; & Lt; / div & gt; यहां जेएस कोड है $ scope.sortOrder = function (ईवेंट, नाम) {var $ elem = $ (event.target); var c = $ elem.hasClass ('desc')? 'एसीसी': 'एड्स'; $ Elem.removeClass ('asc desc')। AddClass (सी); } टेक्स्ट "itemprop =" text "> इसके बजाय currentTarget का उपयोग करें: var $ elem = $ (event.currentTarget); वर्तमान लक्ष्य पर ईवेंट श्रोता बनने वाला तत्व है, लक्ष्य तत्व को ट्रिगर करने वाला तत्व है। इसका अर्थ है कि यदि आप अवधि लक्ष्य अवधि होगी और यदि आप div पर क्लिक करेंगे तो लक्ष्य div हो जाएगा लेकिन दोनों मामलों में currentTarget div हो जाएगा। एक और आसान समाधान के बजाय ng-class का उपयोग करना है। HTML : & lt; div ng-click = "changeSortOrder ()" class = "col-xs-2 so...

python - How to find minimum y coordinate for elliptical curve y^2 = x^3 + -

How to get the minimum y coordination for a finite field on maximum time = 120960000 p = 976324781263478623476912346213469128736427364a = 783468734639429b = 98347874287423E = alptectak (gf (p), [a, b]) length = 50 In the category I (1, maximum time): E = ZZ.random_element (99 99 99 99 99 99) If E. I_x_corder (i) == true: temp = E.lift_x (i) break i = 0 print 'p1:' print temporary length = 0 t = 50 count = 2 p2 = floating + temporary when calculating & lt; 10000000000: calculation = count + 1 p2 = p2 + temporary if (p2 [1]> gt: if (zz (p2 [1]) & ltzz (p -1): if (p2 [ 0] & gt; 0): If (ZZ (P2 [0]) Lt; ZZ (P-1): If E.Is_X_Corder (P2 [0]) == True: y2 = E.lift_x (P 2 [0]) Length = LAN (Str (y2 [1]) If length & lt; = 11: print 'p2:' print y2 print 'count:' print count if t & gt; length: t = length print 'Length: Print Print' Count: Print Print Print 'P2:' Print Print 2 Print ':' The above stated The sample code with...

Very Basic Meteor Routing To Template -

उल्का 0.8.0.1 - डॉक्स से क्या मुझे समझा गया, यह न्यूनतम ऐप & lt ; शीर्ष & gt; & Lt; शीर्षक & gt; उल्का रूटिंग टेस्ट & lt; / title & gt; & Lt; / head & gt; & LT; बॉडी & gt; {{& Gt; renderPage}} & lt; / body & gt; & lt; टेम्पलेट नाम = "हैलो" & gt; & Lt; h1 & gt; हैलो वर्ल्ड! & Lt; / h1 & gt; & Lt; / टेम्पलेट & gt; और Meteor.Router.add ({'/ hi': 'हैलो',}); localhost: 3000 / hi पर हैलो नामित टेम्पलेट को लाने और प्रस्तुत करना चाहिए। इसके बजाय, हैलो को खाली एचटीएमएल (यानी उल्का हैडर लोड नहीं किया गया है) में प्रस्तुत किया जा रहा है। मुझे क्या याद आ रहा है? लोहा-राउटर जोड़ें (-: एमआरटी लोहा-राउटर जोड़ और इसे आज़माएं: राउटर.मैप (फ़ंक्शन () {this.route ('hi', {path: '/ hi', टेम्पलेट: 'हैलो'});} और & lt; body & gt; {{& gt; उपज}} & lt; / body & gt;

c# - How to encrypt data from server side and pass it to client side(javascript) and decrypt and use it -

I have a Jason string on the server side in the MSc and I access that Jason string on the client side just by rendering it Html (plain). There are some important values ​​in this Jason String that not all should be shared. I have been thought about encrypting and decrypting, but the decrypting value on the client side that is encrypted on I server side. I find this a little weird. With whom do you want to protect? If you do not want external parties to read the information broadcast on the Internet, then you should use a TLS / HTTPS connection. If you do not want a legitimate user to access Jason's data then you are mostly out of luck. Encryption can help you with this problem, but ultimately you can make the data obscure for a while, but eventually make it difficult. The encryption key is not about the security of the data against anyone, if you have access to a key in some way in your JavaScript code, then the user can also remove it, for example seeing the JavaScr...

javascript - Codeigniter: how to access css files from different views? -

My problem is that I am unable to load my CSS and .js files onto my other views. Only one scene which My default_controller index () function can access css and .js files. There is no problem in the destination folder, as it can be accessed through the index function. I want my CSS and .js files to be accessible for all my thoughts. Add the following link to your header file & lt; Script src = "& lt ;? php echo base_url ()? & Gt; js / hallo jesus" type = "text / javascript" charset = "utf-8" & gt; & Lt; / Script & gt; & Lt; Link rel = "stylesheet" href = "& lt ;? php echo base_ url ()? & Gt; css / hello.css" type = "text / css" charset = "utf-8" /> for CSS codeigner-> css- & hello.css for js codeigner-> JS- & gt; Hello JS

Java IllegalAccessException -

I have a problem with my program IllegalAccessException This is my code Private static zero setdata (field field, object DTO, object value) is sold invalid, option, IllegalAccessException {Boolean accessible = field. This access (); If (! Accessible) field.Set disabled (true); If (value instanceof java.lang.String) {if (value! = Null) {value = String.valueOf (value) .trim (); }} Field.set (dto, value); If (accessible) field.setAccessible (false); } I added a check logic to prevent 'IllegalAccessException' Boolean accessible = area. enter (); ' But sometimes my program comes to be illegally entered. The exception was raised on the line - 'Field. Set (DTO, value); ' The exception is belows java.lang.IllegalAccessException: class com.comm.util.FileReadUtils member can not access standard com.dto.mydto With the modifier "private" First of all, I think that there may be a 'stable' problem. But as far as I know, static metho...

Setting Landing Page for Direct Pay in Paypal REST API -

What is a way to pay a PayPal landing page with a credit card, which is possible with the Express Checkout API? I know about this question - but since Paypal refers to the stack overflow to ask questions, I am hoping that their developers will look at this new question and will highlight the subject. , Because the problem is over the year old ... We have LANDINGPAGE The parameter is not in the REST API yet.

Custom colors in vim syntax highlighting? -

When you type syntax highlighting for the video, you can use the following: Highlight Foo Identifier However, can I use a custom color, say gray? Instead of linking to the existing highlight group, you specify color (and properties like bold and italic) You can. See : Highlight-ElGs for details. : Highlight fu ctermfg = gray guifg = gray

c# - Image retrieve gives error Index was outside the bounds of the array -

I am trying to get the image in IMG control from the database on pageload but I get this error. "Index was outside the bounds of the array." "Long-retrieved bits = Reader. Gates (1, Beginning INDEX, buffer, 0, chunky);" & lt; Img runat = "server" id = "image" alt = "" height = "100" width = "100" /> Protected Zero Load Image () {SqlCommand CMD = New SQL Commands ("sps_getimage", Con?); Cmd.CommandType = CommandType.StoredProcedure; Cmd.Parameters.AddWithValue ("@ ad_id", 10010); Con.Open (); SqlDataReader Reader = cmd.ExecuteReader (System.Data.CommandBehavior.SequentialAccess); If (reader.HasRows) {reader.Read (); MemoryStream Memory = New MemoryStream (); Long beginningindexx = 0; Const int chancisy = 256; While (true) {byte [buffer = new byte [chunky]]; Long-lasted Boets = Reader Getbytes (1, StartIndex, Buffer, 0, Chunky's); Memory. Write (buffer, 0, (integer were retrieved);...

sql - select element frequency over xml column -

Consider this table structure in SQL Server: ID - Unique Identifier Param - Xml and rows in the following formats: Expected production (the sum of all events in each element in the table): _______________ | Module 1 | 2 | | Module 2 | 1 | | _____________ | The number of elements in each line is module 0 ... n I was trying to create a stored procedure that was used by each XML The field returns several rows for the input and then contributes the results to the temporary table from each row, but I did not have luck with finding the right syntax. Does any reference to a relevant resource or show some small snippets how to deal with it? Thanks for any indication provided. You can also apply some exclamation to capture module names and then assign them a Group BY: SELECT ModuleName, COUNT (*) AS from NumOcurrences (SELECT Nodes.node.value ('(ModuleName) [1]', 'varchar (50)' ) As M.P. Nodes ('/ / module') in the form of Module M as N...

variables - Prolog, working with capital letter -

I am working on a database project in SWI-Prolog. The problem is that I work with the names of those players I wanted to read from the input. I need to save my names with capital letters, but interpret them as Chola. Any ideas how to fix this? I use code_type / 2 to ensure that no one The name starts with the capital letter. Since you want to allow a user to enter a name with a letter that is lower or uppercase, I do a case conversion on the code list. I read_line_to_codes / 2 I read with Since you want to store names in a database, I use dynamic / 1 to declare that I have some game name / entries, and I use the dependent / 1 to add a specific name to the database. Here's the code: : - Dynamic (play name / 1). - initialization (input) input: - Repeat, format (user_output, 'Please enter a name (or type drop' '): \ n', []), read_line_to_codes (user_input, code1), (atom_codes (left , Code 1) - & gt;!, True (code1, code2) -> atom_codes ...

php - Wild Card Subdomain rewrite rules -

I have a codeigner application where I want to use the wildcard subdomain, all setup on the server and also allow Gives, please find below what I am trying to achieve: URL: will test.domain.com execute: domain.com/user/profile/testing I do not want redirection, but I want to do it through the rules of rewriting, ie it's index.php? Will call like / user / profile / testing and that user will call the controller function. Hope that I explained it completely. / P> Please Thank you. What this is probably what you are looking for (you have to use it for the use of https) : RewriteCond% {HTTP_HOST} ^ (. +) \\ on RewriteEngine. Domain \ .com $ RewriteRule ^ (. *) $ Http://domain.com/user/profile/%1/$1 [L, QSA] Please note that if your You can always access the actual server configuration and use it instead of .htac. Sass style files you should always like that option. . Files of the Htaccess style are notorious error prone, complicate things, it is difficult to d...

ios - Pick a photo by using iPad camera and get the file name -

I have to develop an iPad app in which I have to create a form and capture a picture using an iPad camera. The output of this app should be a CSV file, in which there is a correspondence between the photo and the data. I have estimate that I have to use the filenames of the pictures. My solution is to create a CSV with the following fields: name, surname, gender, city, mail, nation, image file name The question is: Is it possible to get an image file name after carrying it with an iPad camera? It is not that the file name really matters so if the image is taken and the photo library , But if you use ALAssetsLibrary and save the image with writeImageToSavedPhotosAlbum: Orientation: Completion Block: Then you will see the Destination NSURL * assetURL , which you can split to get the filename.

c# - Giving Error String was not recognized as a valid DateTime -

ठीक है मैंने निम्नलिखित की कोशिश की है: IFormatProvider culture = new CultureInfo ("en- यूएस ", सच); दिनांक का समय दिनांक; स्ट्रिंग डेटटीसट्र = डेटटाइम.Now.ToString ("yyyy-MM-dd HH: mm: ss"); तिथिटौ = दिनांक समय.पर्स ईएक्सैक्ट (डेटटीसट्र, "य्याय-एमएम-डीडी एचएच: मिमी: एसएस", संस्कृति); इसके बाद भी निम्नलिखित प्रयास किया गया: दिनांक का समय दिनांक; स्ट्रिंग डेटटीसट्र = दिनांकटाइम.अब। टॉस्ट्रिंग ("य्याय-एमएम-डीडी"); दिनांकटौ = दिनांक समय.पर्स ईएक्सैक्ट (डेटटीसट्र, "य्याय-एमएम-डीडी", संस्कृति); और निम्नलिखित भी: दिनांक का समय दिनांक; स्ट्रिंग डेटटीसट्र = डेटटाइम.Now.ToString ("yyyy-MM-dd HH: mm: ss"); तिथिटौ = दिनांक समय। पारस ईएक्सैक्ट (डेटटीसट्र, "य्याय-एम-डीडी एचएच: मिमी: एसएस", संस्कृति); हर बार यह मुझे एक ही त्रुटि दे रहा है: स्ट्रिंग को मान्य दिनांकटाइम के रूप में पहचाना नहीं गया क्या यहां गलत हो रहा है? अग्रिम धन्यवाद। अतिरिक्त पैरामीटर के साथ इसे कॉल करने की कोशिश करें DateT...

.net - ASP.NET MVC: Accessing binded model in controller without using a form AND Ajax -

मेरे पास निम्न परिदृश्य है: @ मॉडेल IEnumerable & lt; UI.Models.Customer & gt; @ ग्रीड.गेटएचटीएमएल (कॉलम: ग्रिड। कॉलम (ग्रिड। कॉलम (प्रारूप: @ & lt; text & gt; @ html.एक्शनलिंक ("संपादन", "संपादन करें", ???) & lt; / text & gt;), ग्रिड। कॉलम ( प्रारूप: @ & lt; text & gt; @ Html.TextBox ("नाम", (स्ट्रिंग) आइटम। नाम) gt;)) मॉडल केवल 3 से मिलकर एक सूची है ग्राहक (ग्राहक केवल 2 प्रॉपर्टीज़, यानी आईडी और नाम के साथ एक डमी क्लास है) अब, मैं ग्राहक को "एडिटएक्ट" नियंत्रक की कार्रवाई में कैप्चर करना चाहता हूं, जिसे उपयोगकर्ता संपादित करना चाहते हैं ये चीजें थीं, कि मैंने सफलता के बिना सख्त कोशिश की: 1) मैंने भरने की कोशिश की ??? नया {ग्राहक: आइटम} और इसे नियंत्रक में कैप्चर करने के लिए: सार्वजनिक कार्यवाही नमूनाफार्म पैराम्स (ग्राहक ग्राहक) {...} यह दृष्टिकोण काम नहीं करता है, क्योंकि HTML एंकर लिंक जीईटी का उपयोग करता है और हम कोई वस्तु GET के साथ नहीं भेज सकते हैं। 2) इसमें भरने की कोशिश की ...

PHP Curl POSTVARS with '&' in it -

परिभाषित करें ('POSTURL', 'http://xxx.info/includes/process.php?action= अद्यतन'); परिभाषित करें ('POSTVARS', 'यू = google.com / पूर्ण / खोज? आउटपुट = टूलबार & amp; q = प्रेम'); // पोस्ट संस्करणों को $ ch $ curl_init (POSTURL) भेजा जाएगा; curl_setopt ($ CH, CURLOPT_POST, 1); Curl_setopt ($ CH, CURLOPT_POSTFIELDS, POSTVARS); Curl_setopt ($ CH, CURLOPT_FOLLOWLOCATION, 1); curl_setopt ($ CH, CURLOPT_HEADER, 0); // एचटीपीएच हेडर्स कर्ल_सेस्टॉप ($ CH, CURLOPT_RETURNTRANSFER, 1) पर वापस नहीं लौटें; // कॉल curl_setopt ($ ch, CURLOPT_COOKIEFILE, "yourcookiefile.txt") की सामग्री पर वापस जाएँ; Curl_setopt ($ CH, CURLOPT_COOKIEJAR, "yourcookiefile.txt"); $ Rec_Data = curl_exec ($ ch); curl_close ($ ch); $ Rec_Data गूंज; मैं ' google.com/complete/search?output=toolbar&q=love ' पास करने की कोशिश कर रहा हूं। मेरी समस्या यह है कि POSTVARS पहले फ़ील्ड के रूप में google.com/complete/search?output=toolbar और और amp; q = प...

c# - Get data from local DB not working -

I have created an MVC5 application and I have a local DB, currently I have entered the data in the table and I see it Server Explorer - & gt; MDF file under the data connection, now I want to read it down through the API and not working, I have provided the ID to me in the table and I get zero, I think I need to provide The connection string for the API, but it's not sure how to do this? This is a DB reference from model definition public> PersonModelDbContext {public personModelDBContax (): Base ("Connection 1") {} This is the read API Private personModelDBContact db = New PersonModelDbContext (); Public Person GetPrviderData (String ID) {Person Person = db.Person.Find (ID); Return person; } This connection string is the web conefig file Update - Apart from this I try with the following without success, I get an error: db.Database.Connection.ConnectionString = @ "Data Source = (LocalBible) \ v11.0; Attached DiffFillName = | Da...

c# - How to write text into log4net file -

I have C # application I would like to integrate a log file then I try to do it in App.config & lt; Log4net & gt; & Lt; Appender name = "file explorer" type = "log4net.epadder.php fileper" & gt; & Lt; File value = "logfile.txt" /> & Lt; appendToFile value = "true" /> & Lt; Layout type = "log4net.Layout.PatternLayout" & gt; & Lt; Conversion pattern value = "% date [% thread]% -5 level% logger [% property {NDC}} only% message% newline" & gt; & Lt; / Layout & gt; & Lt; / Appender & gt; & Lt; Appender Name = "InfoFile Apache" type = "log4net.Appender.FileAppender" & gt; & Lt; File value = "info_logfile.txt" /> & Lt; appendToFile value = "true" /> & Lt; / Appender & gt; & Lt; Epander Name = "Error File Updater" type = "log4net.Appender.FileAppender" & gt; & Lt; fi...

html5 - Fabricjs unable to set LockScallingX in path -

I was making an arrow in the fabric using the path, all is fine, except that I have x and y Unable to lock the scaling of i Locking X = true when I do this, X scaling is not locked. My code is $ ('# shipping'). Click (function () {unbind (); var path = new cloth.path ('MLLL8 -6MLL6 6J'); Lock Saving Y = True; Path .set Angel (0) .set ({left: 100, top: 100, stroke: 'black', stroke lane cap: 'round', hackedrollles: true, origin: 'center', originally: 'center'}); Lockscrollingx = true; drawer.ed (path);}); Please tell me how it works that lockingX = ture works on my lock and my arrow does not scale in the X direction. You should write it like this: path.lockScallingX = true;

Oracle SQL Update on Inner Join -

Something is stuck on the fact that I am a bit simpler this morning. I have a bit crazy with the time of readings and daylight saving. I have to set OLD = NEW in the tab1, t.t2400 as tab1, reportro.non_dst_readings as tabro reports in internal report from D Please. Dst_readings at d.cust = t.cust and to_date (d.readdate_ndst, 'dd) -mmm-yy' = (to_date (t.readdate, 'dd-mmm-yy') -1); ^^ But the above selection is not working, very few updates. I was trying to update them to: update (report d.t0100 as tab1, t.t2400 as report.non_dst_readings d inner report report Dst_readings t At d.cust = t.cust to_date (d.readdate_ndst, 'dd-mmm-yy') = (to_date (t.readdate, 'dd-mmm-yy') -1) Old set = new; Post text "itemprop =" text "> There is a keyword in Oracle, the identifier Use something else as well, fix syntax, a join can contain only one section add Yatan (d.t0100) is selected as old Val, t.t2400, newVaL.non_dst_rea...

javascript - Send a print Screen without saving it -

I want to send the server's print screen at regular intervals (say, 60ms). Right now im doing the following. Use this to capture and save a print screen & lt ;? Php $ im = imagegrabscreen (); Imagepng ($ im, "myscreenshot.jpg"); Imagedestroy ($ im); ? & Gt; then display it & lt; Img style = "border: 1px solid black" square = "pos_absolute" id = "myimage" src = "myscreenshot .jpg" alt = "image" width = "1360" height = "768" & gt; But with this method, I can only get the 1 S update rate. Maybe if I do not save images, then I will be able to get a better refresh rate. Is it possible to do this? Thanks imagepng Skip the second parameter - Output will go to browser: yourcript.php header ('content-type: image / PNG'); $ Im = imagegrabscreen (); imagepng ($ im); then display it theoutput.html It seems that you are limited to the time that t...