Posts

Showing posts from July, 2012

python - Parallelizing a Numpy vector operation -

का उपयोग करें, उदाहरण के लिए, numpy.sin () निम्नलिखित कोड सरणी के प्रत्येक मान के लिए मूल्य वापस करेगा a : आयात करें numpy a = numpy.arange (1000000) परिणाम = numpy.sin ( ए) लेकिन मेरी मशीन में 32 कोर हैं, इसलिए मैं उनका उपयोग करना चाहता हूं। (ओवरहेड, numpy.sin () जैसे कुछ के लिए सार्थक नहीं हो सकता है, लेकिन जो फ़ंक्शन मैं वास्तव में उपयोग करना चाहता हूं वह काफी अधिक जटिल है, और मैं बहुत अधिक डेटा के साथ काम करूँगा।) क्या यह सबसे अच्छा है (पढ़ें: सबसे तेज या सबसे तेज) विधि: मल्टीप्रोसेसिंग आयात से पूल अगर __name__ == '__main__': पूल = पूल () परिणाम = पूल .map (numpy.sin, a) या ऐसा करने का एक बेहतर तरीका है? वहां एक बेहतर तरीका है उनके मुख्य पृष्ठ से थोड़ा सा शब्द बदल गया: यह एक बहु-थ्रेडेड वीएम लिखित है सी में जो अभिव्यक्तियों का विश्लेषण करता है, उन्हें अधिक कुशलता से दोबारा लिखता है, और उन्हें मक्खी पर कोड में जो कि दोनों स्मृति और सीपीयू बाध्य परिचालनों के लिए इष्टतम समानांतर प्रदर्शन के निकट बनाता है। उदाहरण के लिए, मेरी 4 कोर मशीन में...

Converting PHP String having a unix timestamp value to a MySQL Timestamp value -

I am setting a database value with a PHP file. In the php file I have a string variable that stores the Unix timestamp value. I have a schema in my SQL table, where I must put these timestamp values ​​in the log field, which is the timestamp datatype. I tried to send date ('Y-M-DG: I: S', stratomet ($ user login)); My database contains but this store is 0000-00-00 00:00:00 The purpose of strotom () is to convert stars to unix timestamps in different date formats. If the string is already a timestamp, then it does not appear to be a meaningful formatted date / time for stratotem () and it will fail. If the string is already a timestamp, then you do not need to do more than just round it (strictly saying that this step should also not be necessary, but casting someone Non-numeric characters will also exit the type, so it generally does not hurt the artists) Additionally, MySQL is able to parse Unix timestamps (with FROM_UNIXTIME () , I think, make sure I ...

javascript - Mouse over zoom up effect on individual letters of text -

Will a webpage be affected with CSS / Javascript / jquery etc? Let's show the letters of the text and each individual letter at a time, it would be good to create a 'zoom-up' effect, ideally it would be nice to display a little differentiation on each letter, but it would not be important. What I am trying to achieve is changing the style of each individual letter, as you are the mouse on them, this text is not a link, it is also not dynamic which means There is a static paragraph of the text and I want to apply this effect to each letter. Any help is appreciated. Thank you. / P> You can try the plugin. Alternatively, you span each letter and then enliven it: $ ("selector"). ({FontSize: "22"}, 300);}, function () {$ (this) .mate ({fontSize: "16"}, 300);})

node.js - Storing some small (under 1MB) files with MongoDB in NodeJS WITHOUT GridFS -

I run a website that runs on the backend of NodesJS + Mongodb Right now, I stored some icons (small image files) To implement a system, which should be in the database. In my opinion, it does not make much sense to use the gridfase, because it seems to be large files or large numbers of files, because I need to save every file, so I would be fine under the BSN maximum file size, so I should be able to save them in regular documents. I have 2 questions: 1) Is my argument correct? Is it okay to save the image files in a regular Mongo archive along with Gridfix? Am I not considering here that I should be? 2) If my thinking process is correct, how do I want to go about doing this? Can I do something like: // Assume that 'things' is a mongodibi collection created correctly using a node-monogode-driver fs.readFile ( PathToIconImage, function (err, image) {things .inert ({'image': image}, function (err, doc) {if (err) console.log ('you have an error!' + ...

- Where Developers Learn, Share, & Build Careers

I am trying to remove some things from a block of text using regex. I have all my patterns ready, but I think the overlapping can not be able to remove two (or more). For example: import r1 = r'i am 'r2 = r'am foo' text = 'I am foo' re.sub (r1, '', Text) # Returns' foo 're.sub (r2,' ', text) # Returns' How do I change both records together and end with an empty string? I have finished using a slightly modified version: def clean (self, text): pattern Mask for Pattern = Baitier (LAN): To match in the Rifidator (pattern, text): r = Category (match, start), match.and () Mask [R] = 'X' * Lane (R) returns ''. (Character for character, bit in bit (text, mask) in zip) You can always call it re.sub Shown can not form. You can use re.finditer to find them all. Each match will give you a match object, in which .start and .end indicate their posts. You can collect them all together, and then finally...

winforms - How to display .swf flash files in C# Windows Forms desktop application? -

My app is for classifying and describing .swf files stored on my disk, so my main functionality is to preview files should be there. How can I play a flash file in my Windows application desktop app? I'm using Visual Studio 2010 Premium I will see if I can get complete documentation and examples here one The other link is:

app store - What is Apple's policy with regards to disabling old versions of an application? -

In ITunesConnect my employer has a free iOS app that was originally released a few years ago and has received many updates over time. They now want to stop supporting earlier versions of the app (1.x) and disable these older versions of the app. My questions are: Do we prevent users from re-installing older versions of the app? if so, how? How can I disable / remove older versions of the app in iTunesConnect? What is Apple's policy about disabling / deleting older versions of the application? I am not an iOS developer and I am unfamiliar with the entire Apple Application Development process. I have searched the web as well as the Apple Developer Center and I have read through the terms and conditions of the Apple Developer Program, but I have not been able to answer any of my questions. I have managed to get information about removing an application from a sale but it only removes the whole application instead of specific versions. () David Smith's article on th...

- Where Developers Learn, Share, & Build Careers

I use Python xml.etree.ElementTree to parsing some XML on a file I am doing However, I get this error through the document: xml.parsers.expat.ExpatError: not well (invalid token): line X, column Y So I go to line X, column Y, and I see an ampersand (& amp;) with highlighting on red background. what does this mean? Its preceding two letters are & gt; & Gt; , so that the & gt; & Gt; & Amp; Is something special about ? How does anyone decide on this? The & amp; There is a special character in XML, which is used for character organizations. If your XML contains & amp; & amp; Amp; Amp; or & amp; # 1104; or not as part of an entity like the choice, the XML is invalid.

python - Why isn't my webapp2 import / Google App Engine "Hello, World" working? -

When I'm running my "Hello, World" program on Google App Engine (GAE), it only works When I make a version that does not rely on WebEp2 import, why is not importing work? What do I need to do to fix this? The version of Helloworld.py that works: print 'content-type: text / plain' print '' print 'hello, world !!' The version of the virtual keyboard that is not working: Import the webapp2 class manpage (webapp2.RequestHandler): def find (auto): self .response '[Content-type'] = 'text / plain' self.response.out.write ('hello, world!') App = webapp2.WSGIApplication (([/ ',' manpage]], debug = true) This second version presents an empty page. I think the problem is that webapp2 import is not working when I have a directory inside Python I get the following from the command line as my hello world program: Brians-MacBook-Air-2: app_engine_hello_world brian $ python Python 2.7.2 (V2.7.2: 8527427914) A2,...

workflow - Mercurial & Web Development: How to handle publishing/deployment? -

We are not going to any SCM from Mercurial at work. This is a bit of a learning curve, but after two days of messing with it I definitely feel more comfortable with it. There is still a big, unconfirmed question in my mind: Once the code is over, how do we handle the actual deployment? Should we run a copy of Mercurial on production (live) server? Or should we set up RCIN or something to synchronize the web directory with the riyas? What is the best practice here? If we point to Apache as Apache, then I think it's okay unless we focus on hg update a separate, non-static branch? Although it still seems a little dangerous for me. Is there any way to force it to create it in some way? Or is it just a terrible idea of ​​Repo to say Apache and should I do something else? Regarding the topic, I have heard a few things about inserting any upgrade scripts (such as schema changes for MySQL) under version control, so they can be participated when the version is deployed. But ...

regex - mIRC : $regsub not evaluating $asc on \1 -

मेरे पास निम्न कोड है। $ $: text: / ^ (! | \।) बाईपास \ b / Si: #: {set% bypass.answer $ 2-% bypass.n = $ regsub (% bypass.answer, / (।) / G, $ chr (38) $ + $ chr ( 35) $ + $ asc (\ 1) $ + $ chr (59),% bypass.answer) msg ​​$ chan% bypass.answer} असल में, मैं चाहता हूं! स्ट्रिंग के लिए HTML वर्ण प्रदर्शित करने के लिए बाईपास & lt; स्ट्रिंग & gt; , लेकिन जब मैं ! बाईपास एबीसी कोशिश करता हूं तो मुझे & amp; # 92; & amp; # 92; & amp; यदि मैं सिर्फ \ 1 का उपयोग करता हूं, तो यह & amp; दिखा रहा है; # 92; जहां 92 को \ के लिए ascii code है; # ए; और # बी; & amp; #c; लेकिन जब मैं इसे $ asc () के अंदर डालता हूं, तो यह काम नहीं कर रहा है। मैंने कोशिश की है $ asc ([\ 1]) भी, अच्छे परिणाम के बिना क्या गलत हो सकता है? मुझे समस्या का सटीक कारण नहीं पता, लेकिन यह काम करता है यदि आप $ regsub के बजाय $ regsubex का उपयोग करते हैं। पर $ *: text: / ^ (! | \।) बायपास \ बी / सी: #: {var% उत्तर $ regsubex ($ 2 -, / (।) / G, $ chr (38) $ + $ chr (...

- Where Developers Learn, Share, & Build Careers

Image
I can not compile / debug our Android app, because the localization file is not yet correct. Creates errors in my IDE verification tool: AT, BG, CA, CS New in The CadsOvervals have not been translated properly, but I would like to use their IDE to reduce debugging. Is there any way to stop this special investigation, or ideally it could make a warning instead of error? I understand that before releasing, we will need to get the localization files properly, but this is not a priority for the time because the screen itself is being modified very often. Android studio: "file" & gt; Type "missing" and "missing translation" in the search box Eclipse: Windows / Linux: in the "window" & gt; "Preferences" & gt; "Android" & gt; "Checking Lint error" Mac: "Eclipse" & gt; "Preferences" & gt; "Android" & gt; Find the "Lint error check...

- Where Developers Learn, Share, & Build Careers

I am starting to learn C and read the following code: public zero * * List_to_array (list * thiase) {int size = list_size (thiz); Zero ** Array = Molok 2 (size (zero *) * size); Int i = 0; List_rewind (thiz); For (i = 0; i I do not understand the meaning of zero ** . Can anyone explain this with some examples? Zero is an indicator indicator for zero (unspecified type). This means that there is no address for the memory space in the variable (memory location), where there is an address for another memory location, and that is not specified where it is stored. In the case of this question it is an indicator for an array of zero * pointsers. SidNote: A zero pointer can not be distinguished, but one can be zero. zero * one [100]; Zero ** AA = A; By doing this, AR must be able to do this [17] to achieve the 18th element of the array. You can use the tool to understand such announcements as well as examine any related ones.

- Where Developers Learn, Share, & Build Careers

So I have certified the forms to authenticate my web.config. I have two pieces of code in my web.config but this is a strange thing when you go to www.mysite.com, it redirects to login.aspx page but when you have www.mysite.com/default Aspx does not redirect it. Why is it doing this? I have default.aspx & lt; System.web & gt; As the default document is set. & Lt; Compilation debug = "true" targetFramework = "4.0" /> & Lt; Authentication mode = "form" & gt; & Lt; Forms loginUrl = "~ / login.aspx" timeout = "2880" defaultUrl = "account / default.aspx" /> & Lt; / Authentication & gt; & Lt; Authority & gt; & Lt; Deny users = "?" / & Gt; & Lt; / Authorization & gt; & Lt; Location path = "default.aspx" & gt; & Lt; System.web & gt; & Lt; Authority & gt; & Lt; Allow users = "*" /> & Lt; / Authorization ...

python - How can I get pyflakes to run on Windows? -

There is a problem taking piflex to run on windows Any apt on windows Install , so ... what to do? The question may be slightly outdated, because the "PIP installation pflex" Without working for me ...

OpenCV Library for Android in Eclipse Error -

After adding the OpenCV library to my workspace and designating it as a Library Project, I have an error that is bothering me. On line: mEngineService = OpenCVEngineInterface.Stub.asInterface (service); I get the following error: The stub can not be resolved or the field is not Clearly, seeing the file, org.opencv.engine.OpenCVEngineInterface is not a place that has been named Stub. So, what is a stub, where can I find one? How can I fix this? Use the aidl tool in Android sdk OpenCVEngineInterface.aidl to convert the file to OpenCVEngineInterface.java .

command line curl timeout parameter -

I am using the command line curl program and the interesting thing is that I can not find the timeout parameter for the command line curl Could I read the man page for curls and goals but still could not find one. There are timeout parameters ( CURLOPT_TIMEOUT ) in libcurl , but this is not what I'm looking for. I am looking for the command line curl timeout parameter There is a - maximum-time parameter to open the connection and keep - connect-timeout Maximum time is the connection phase of curl, but none for normal timeout Does anyone know about this parameter? option - maximum-time requires you to do the same: "transfer Maximum time for "you think about it wrong.

objective c - Shared iAD over different ViewControllers -

I have 3 view controllers that I would like to share with the same IAD. I have read the document and find the right way to implement IAD in my project to share IAD. What is the best way to accomplish this? I'm new to Objective C so that you can be appreciated. Thank you in advance, Have you tried to create a singleton class ? See it, it can be helpful ..

- Where Developers Learn, Share, & Build Careers

Then I'm trying to create an injector to inject a dll that is to hook a game client Uses detours , it's easy, but there is a problem I do not know what's wrong it works fine on Windows Vista + , but working on XP Not working ... here is my code // injector #ifndef INJECTOR_H_INCLUDED #define INJECTOR_H_INCLUDED #include & lt; Windows.h & gt; Class Injector {Private: STARTUPINFOA * Startup; PROCESS_INFORMATION * Process; Four * directory; BOOL start (four * applications); Public: Injector (four * directory); ~ Injector (zero); BOOL enclosed (four * applications, four * DLL); }; #endif // INJECTOR_H_INCLUDED #include "Injector.h" #include & lt; String & gt; # Include & lt; Cstdio & gt; using namespace std; Injector :: Injector (Four * directory) {int Size = strlen (directory) + 1; Directory = new four [size]; MoveMemory (directory, directory, size); Startup = new STARTUPINFOA (); Process = new PROCESS_INFORMATION (); } Injector: ~ In...

Apache 500 Error with PHP Fun -

So I'm running a PHP script on my godaddy (do not hate me) virtual servers that take me around Hopefully the 5-minute script keeps the pages rotating to finish the execution, but does not contain more than 1 page at a time (this is done in a loop, the same variable is reused) I have my php5 The ini file has been modified in the following: max_execution_time = 600 max_input_time = 1 20 memory_limit = 64M I have verified through phpinfo that the changes in the ini file were taken effect, although I am getting Apache 500 error after 120 seconds error for this time Logged: [Wed Jul 11 ​​22:08:52 2012] [Warning] [customer **. ** **. **. ***] mod_fcgid: Read Data Timeout in 120 Seconds [Wed Jul 11 ​​22:08:52 2012] [Error] [Customer **. **. **. ***] Premature end of script header test.php If anyone has any idea why I am getting these errors or any suggestions on things to try So I appreciate the help. I have not noticed any option in the php settings set to 120, but I'...

Binary log error in mysql -

When I'm trying to check the binary log: Show binary logs; How to solve it? Can anyone help you? Set the log-in variable in your MySQL configuration file, then MySQL Restart. An example my.cnf (on Linux / Unix) or my.ini (on Windows) will look like this: [client] ... [mysqld] ... log-bin = mysql-bin --- Once restarted, MySQL automatically opens a new binary log (It does this on every resume) You can also see the following variable: server-id = 1 expire_logs_days = 4 sync_binlog = 1 read the description. If you are after replication setup (the primary reason for using binary logs), check out.

Accessing Hidden Field Value in Jquery -

मेरा फ़ॉर्म निम्न की तरह दिखता है & lt; form class = "search_results_section" method = "पोस्ट" नेम = "मेनफॉर्म" आईडी = "मेनफॉर्म" एक्शन = "/ सर्चर्सल्ट्स। एस्प" ऑनसबमिट = "ऑन ऑनसबमिटस्चफॉर्म (इवेंट, यह) रिटर्न;" & gt; & Lt; इनपुट प्रकार = "छिपा हुआ" नाम = "खोज" मान = "" & gt; & Lt; इनपुट प्रकार = "छिपा हुआ" नाम = "बिल्ली" मान = "1856" & gt; & Lt; / प्रपत्र & gt; मुझे एक चर में छिपे हुए फ़ील्ड का "कैट" मान प्राप्त करना चाहते हैं मैंने निम्नलिखित का उपयोग करने की कोशिश की लेकिन सुनिश्चित नहीं क्यों काम नहीं कर रहा है var तत्व = $ ('# jmenuhide इनपुट [name ^ = "cat"])। Val (); चेतावनी (तत्व); Var ele = document.MainForm.getElementsByName ('बिल्ली')। मूल्य; चेतावनी (हाथी); चेतावनी "अपरिभाषित" कहता है बस इसे प्रयोग करने का प्रयास करें सुनिश्चित नहीं है कि आपको #jmenuhide की आ...

XML Schema validation using the XSD -

I have an XML that looks like the bottom in which the number of items can vary from 0 to n. There is a way to write XSD to verify the schema. & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; ShoppingItems & gt; & Lt; CUSTOMERNAME & gt; John & lt; / CUSTOMERNAME & gt; & Lt; Address & gt; Walstreet, Newyork & lt; / Address & gt; & Lt; Item 1 & gt; Milk & lt; / Item 1 & gt; & Lt; Price1 & gt; 1 $ & lt; / Price1 & gt; & Lt; ITEM2 & gt; Coolie & lt; / ITEM2 & gt; & Lt; Price2 & gt; 1 $ & lt; / Price2 & gt; & Lt; ITEM3 & gt; Bread & lt; / ITEM3 & gt; & Lt; Price3 & gt; 1 $ & lt; / Price3 & gt; & Lt; Item4 & gt; Egg & lt; / Item4 & gt; & Lt; Price4 & gt; 1 $ & lt; / Price4 & gt; & Lt; Item..n & gt; Egg & LT; /Item..n> & Lt; Price..n & gt; 1 $ & lt; /Price....

ruby on rails - gem install mysql checking for mysql.h... no -

I get this error on arc linux, though mysql.h exists in the system. Does anybody have any idea how to solve this? Here are some condemnations: $ find / usr -name mysql.h /usr/include/mysql/mysql.h $ resonance $ path / home / chrisis /. RVM / Games / Ruby- 1.8.7-p302@bogen/bin: /home/chris/.rvm/gems/ruby-1.8.7-p302@global/bin: /home/chris/.rvm/rubies/ruby- 1.8.7-p302 / bin: /home/chris/.rvm/bin/bin: / usr / bin: / usr / lib: / sbin: / usr / sbin: / home / chris / bin: / home / chris / Lib: / usr / share / eclipse: / opt / kde / bin: / usr / bin / perlbin / site: / usr / bin / perlbin / vendor: / usr / bin / perlbin / core: / opt / qt / bin : / Usr / includes: /usr/local/include:/opt/ruby1.8/bin:/usr/local/bin:/usr/local/sbin:/usr/bin/vendor_perl:/usr/bin/ Core_perl here is the exact output of mysql installed in the gem $ ruby ​​/home/chris/.rvm/ Rubies / ruby-1.8.7-p302 / bin / ruby ​​$ gem install mysql default b Creating molding may take some time ... Error: Error instal...

xaml - How to style WPF tooltip like a speech bubble? -

Image
I want to resize my WPF tooltip like the image below: How do I get it? Use this code: & lt; Window x: orbit = "wpfApplication2.MainWindow" xmlns = "http: // schemos Microsoft.com/winfx/2006/xaml/presentation" xmlns: x = "http://schemas.microsoft.com/winfx/2006/xaml "Xmlns: ed =" http://schemas.microsoft.com/expression//2010/drawing "X: name =" window "title =" main window "width =" 640 "height =" 480 "& gt; & Lt; Window.Resources & gt; & Lt; Style x: key = "{x: type tooltip}" target type = "tooltip" & gt; & Lt; Setter Property = "Override Default Style" Value = "Correct" /> & Lt; Setter Property = "HesdropShadow" value = "true" /> & Lt; Setter Estates = "Template" & gt; & Lt; Setter.Value & gt; & Lt; ControlTemplate TargetType = "ToolTip" & gt; & ...

Accessing the dom in Facebook's Like Button Popup -

I have a button that is loaded on AJAX from my page. When a user clicks on it, a popup appears with a text box that the user can fill and details of my website. I want to use a popup dom, which is in an iframe. That's because I can add text to the text box. The following works are done in the Firebug console. I use the iframe with: var x = document.getElementsByTagName ("iframe") [3] // '3' selects this specific iframe Pre> undefined Now there is something to do with it, but the firebug's dom window does not appear inside the iframe. It just shows: But, in the Elements tab under Chrome's developer tools, I can see everything in it. Any help you can give is appreciated. Take a look at this This is not possible.

Parse a String to Date in Java -

I am trying to parse a string on a date, I have it: Code> Simple Data Format SDF = New Simple Format ("EEE MMM DD Yay HH: MM: SSZZZ"); Date = new date (); Try {date = sdf.parse (time); } Hold (ParseException e) {e.printStackTrace (); } The string to pars is: Sun Jul 15 2012 12:22:00 GMT + 0300 (FLE Daylight Time) I followed it I am sure that I have done everything from the book. But it is giving me ParseException . java.text.ParseException: unused date: "Sun July 15 2012 12:22:00 GMT + 0300 (FLE Daylight Time)" I What's wrong? Pattern which I have tried: EEEMMD DD yyyy HH: mm: SS zzz EEE MMM DD yyyy HH: mm: SS zZ (zzzz) You are matching the pattern to z and Z . If you ignore (FLE daylight time) , because it has the same information as GMT + 0300 , then the problem is that SimpleDateFormat Whether it wants either GMT + 0300 or GMT + 03: 00 . The previous version can be parsed like this: string time = "Sun July...

javascript - Redirect to the same page but with a message in it -

I am creating a login page in JSP. I have a index.jsp page where the form exists and there are some JavaScript scripts. In the connectivity and database for the database, the username and password check is done in check1.jsp file My issue is that the user name And after entering the password, when I press the login button, I have linked the I code with the form check1.jsp , if the user name and password match and exist, then this welcome .jsp redirects to , but if the user name does not exist or is found If not received then I'm returning a small message below the index.jsp box that the username does not exist or does not match the password , the current I'm just redirecting the index to Jsp . How do I show the appropriate short message below the login box on the same index.jsp page? index.jsp? Message = & lt; Redirects for your custom message And then you can check if the message parameters are set and get them through the GET parameter e...

How dataframe rowname is working in R? -

मुझे नीचे की तरह एक डाटाफ्रेम रहा है। & gt; Avg_data तारीख क्षेत्र एविएप्लेस्ड टाइम 1 5/1/2012 preprod 23 2 5/2/2012 prod 76 3 5/3/2012 बीटा 34 4 5/4/2012 prod 30 5 5/5/2012 बीटा 22 6/6/2012 Preprod 32 7 5/7/2012 बीटा 21 8 5/8/2012 प्रोड 44 9 5/9/2012 preprod 45 10 5/10/2012 बीटा 23 11 5/11/2012 अंक 50 12 5/13/2012 बीटा 26 13 5/14/2012 preprod 33 14 5/15/2012 बीटा 75 15 5/16/2012 preprod 56 16 5/17/2012 बीटा 32 17 5/18/2012 preprod 67 18 5/19/2012 प्रॉड 40 जब मैं cbind का उपयोग करता हूं, यह सही पंक्ति संख्या नहीं दे रहा है .. & gt; cbind (avg_data [avg_data $ क्षेत्र == "preprod", "तारीख"], avg_data [avg_data $ क्षेत्र == "preprod", "AveElapsedTime"]) [1] [2] [1,] 3 23 [2 ,] 15 32 [3,] 18 45 [4,] 5 33 [5,] 7 56 [6,] 9 67 यह आलेख की साजिश रचने में समस्या दे रहा है। मुझे एक्स अक्ष और एविएप्लेस्ट टाइम वैल्यू के रूप में तारीख है जो Y अक्ष के रूप में है I 5/1/2012 से पहली साजिश शुरू करने के बजाय, यह 5/3/2012 से शुरू हो रहा है औ...

Codeigniter: Constants in /application/config/constant.php from DB table -

Is it possible to declare constants in /application/config/constant.php from a DB table? I am trying to do something like that. $ result = $ this-> Db- & gt; ('Atri, value') -> ('app_conf') - Choose & gt; Where ('city', 53) - & gt; Or_here ('city', -1) - & gt; Order-B ('City') - & gt; get receive (); $ App_conf = $ Result-> Result_are (); // var_dump ($ app_conf); Foreign Currency ($ app_conf as the $ line) {Define {"{{row_name ['attr']}", $ line ['value']); } But now I have to do this in making every controller, that code is being repeated and all the changes need to be done as needed, which seems unnecessary! Increase the CI controller and place it in the application / core directory as MY_Controller. The above code is in the manufacturer of the extended controller. Now you can increase it to execute the same code from your controllers. So you do not have to type this code ...

css - html attribute correct (in terms of standard)? -

I found this weird (syntax) syntax in the source of a website: & Lt; Td style & gt; & Lt; / Td> Should an attribute be placed in HTML element and not defined? APIIK WebKit will erase everything that is given in " The source is displayed example: / code>.

java - Assigning the instant values of For loop to mutablearray -

मेरे पास जावा कोड है जो कुछ ऐसा दिखता है: के लिए (int i = 0 ; I & lt; codeWord.length; i ++) {codeWord [i] = सीडब्ल्यू_बीएरे; } यहां कोडनॉर्ड NSDATA & amp; Cw_barray NSMutableArray है और उद्देश्य सी में के लिए (int i = 0; i & lt; codeword.length; i ++) {[codeword objectAtIndex: i] = [Cw_bArray mutableCopy]; } लेकिन यह इस तरह की एक त्रुटि पॉपिंग है उद्देश्य-सी संदेश की अनुमति के परिणामस्वरूप 'केवल पढ़ने के लिए' वापसी के परिणाम की अनुमति नहीं है प्रेवेन एस का समाधान ठीक काम करता है यदि आप ऑब्जेक्ट को अपनी सरणी में जोड़ना चाहते हैं। जावा कोड नए लोगों द्वारा सरणी में एक ऑब्जेक्ट की तरह दिखता है। इसे हासिल करने के लिए आपको इसका उपयोग करना चाहिए: [कोडेवॉर्ड की जगह ऑब्जेक्टअटइंडेक्स: आई विद ऑब्जेक्ट: [cw_bArray mutableCopy]]; जैसे उसने कहा, objectAtIndex एक ग्रहक विधि है इसलिए आप विधि परिणाम के लिए कोई मान निर्दिष्ट नहीं कर सकते इसमें कोई मतलब नहीं होगा असल में आपने जो लिखा है वह मुझे सरणी का मैं वस्तु देता है लेकिन आप जानते हैं क्या? मान लें क...

- Where Developers Learn, Share, & Build Careers

I'm new to jquery, someone can tell me how to display and using external jquery in my html file Image. I should clean my HTML and load the image where the image path is mentioned in the outer path. My jquery file will be like this testjquery.js and in my html file. & lt; Html & gt; & Lt; Top & gt; & Lt; Script type = "text / javascript" & gt; (Function () {var test = document.createElement ('script'); test.type = 'text / javascript'; test.async = true; test.src = 'testquery.js'; var s = document.getElementsByTagName ( 'Script') [0]; s.parentNode.insertBefore (test, s); test.onload = function () {// function to load external image}}) (); & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; / Body & gt; & Lt; / Html & gt; Thank you in advance! You can just use: HTML & lt; Div id = "divWhereYouWantAddImage" & gt; & Lt; ...

c# - How to add data to registry before installing service using windows installer -

I wrote the window service in C #, which reads some data from the registry. Then I used Visual Studio for that service 2010 By creating a Windows Installer and adding data to the registry required for the service My problem starts by installing the installer before adding data to the installer. I wanted to add data to the registry before installing the service so that it could use that data. If you use an installer such as YX (Windows Installer for XML) or InstallShield You can write your registry settings as part of installing using standard MSI instructions. Then when your service begins, the registry settings will be as expected. Coincidentally, the auto-install feature (via Instant) is easy for debugging and development, but is not recommended for production installation. Personally, I use YX for the needs of all my installer because it's both free and flexible.

c# - Create a Expression in LINQ -

मेरी LINQ क्वेरी नीचे कोड की तरह है। var data2 = data.Where ( सी = & gt; स्ट्रिंग.फ़ॉर्मेट ("{0: MM / dd / yyyy}", सी। ऑर्डर डेट) == "07/04/1996"); मुझे नीचे अभिव्यक्ति में स्वरूपित कॉलम के लिए वर्डेट को कस्टमाइज़ करने की आवश्यकता है I मुझे परिभाषा के लिए अभिव्यक्ति लिखना और स्वरूप के आधार पर डेटा को फ़िल्टर करना होगा। कृपया नीचे कोड की जांच करें। pred = अभिव्यक्ति। एक्वल (सदस्यप्रति, अभिव्यक्ति। कॉन्स्टेंट (मूल्य, प्रकार)); लैम्ब्डा = अभिव्यक्ति। लैम्ब्डा (विदग्ध, पैराएक्सप्रेस); स्रोत। कहां (पैरामी एक्सपेरशन, वर्डिकेट); धन्यवाद। यहाँ एक नमूना है जो नया डेटा {OrderDate = "07/04/1996"}, नया डेटा {0}। गतिशील रूप से। स्थिर शून्य डायनेमिकव्वेरबिल्डर () {var datas = new data [ OrderDate = "07/04/1990"}, नया डेटा {ऑर्डर डेट = "07/04/2001"}, नया डेटा {ऑर्डर डेट = "2012/04/07"}}; IQueryable & LT; डाटा & gt; QueryableData = datas.AsQueryable & lt; डेटा & gt; (); Var प्रारूप कॉन्स्टेंट = अभ...

In Bash: Can I treat the list of args in a for loop as a list? -

Can I cure the list of algens for the loop as a list? Can I access the elements in the list with list list? To run this pseudo code: #! / Bin / bash i in 1 2; The next element for the do j = loop echo current is $ i and the next is $ j The output must be first to run: the current is 1 And the next 2 is What will happen to the second iteration of the loop? Try this code instead: declare -a For data = (1 2) ((i = 0; i

- Where Developers Learn, Share, & Build Careers

I've seen some iOS applications that dynamically change the language used in the app, I mean when The app uses the user to dynamically change the language (French, English, ...); I have searched the Internet and I have found anything about it. Any thoughts? Thank you You must write your own version of NSLocalizedString macro, which selects a language bundle phone User preference instead of locale

iphone - Place name to Coordinates Quickest Way -

I have a list of 241 colleges and universities, which I need to convert to Xcode program in longitude and latitude coordinates I am working on this. What is the fastest way to do this, the way I can think, is to map the map and every one. Thanks in advance. Arian I found a solution ... This website

osx - can't set up alias for lab directory but can set up alias for phpMyAdmin in lion -

I am using Mac with OSX lion, I set my Apache to using the following settings : alias / phpMyAdmin / "/ users / jason / sites / phpMyAdmin /" & lt; Directory "/ User / Jason / Sites / phpMyAdmin" & gt; Option Follow-up Simlink Allow override Do not allow any commands, Allow all from & lt; / Directory & gt; Surname / lab 8 / "/ user / jason / site / lab 8 /" & lt; Directory "/ User / Jason / Site / Lab 8" & gt; Option Follow-up Simlink Allow override Do not allow any commands, Allow all from & lt; / Directory & gt; My Lab 8 directory and the phpMyAdmin directory are placed in the same place (/ user / json / sites) I have localhost / phpMyAdmin though phpMyAdmin Localhost / Lab 8 / This gives the following message: Forbidden You can use / Lab8 / Not allowed to reach I do not know what is wrong in my settings Localhost / Lab 8 Even I have set permissions for the lab 8 directory and all the files und...

- Where Developers Learn, Share, & Build Careers

Is there a right approach for more than one keyword metatag on the website? For example: & lt; Meta name = "keywords" content = "test1" /> & Lt; Meta name = "keyword" content = "test2" /> Or is this an error? Thanks a lot for help keyword Meta tag no longer does anything, at least as far as most search engines are concerned you are trying to solve a problem that does not exist. Nowadays search engines index based on the content, and they do this without your help. See: The search engine started abandoning the support provided to metadata in 1998, and in the early 2000s, most search engines meta Dependence on elements had completely disappeared. In July 2002, one of the last major search engines still provides assistance; finally they were stopped thinking.

MySQL Reserve keywords documentation with examples -

, but any document or link Where can any of these keywords / examples be found? For example: I want to know where we use 'with' or 'use' in the keyword MySQL query I tried google to query / example mysql reserved keyword 'with' or 'use' but Google Did this wrong and displayed incorrect results with auto suggestions list If someone has examples of the use of these keywords, please share. There are several keywords and if you get an encounter then you will be able to use it in the MySQL manual, though Course entries for this are non-reserved words too. A lot of keywords are not included in this list and you need to go to the page describing the statement or function for more information; Like If you still wonder which keywords are reserved: This happens in MySQL-manual, which is probably the reason that "reserved keyword" There is also here. If you need to link all the keywords in your respective sense, then I know...

ajax - jQuery UI dialog won't open in Internet Explorer -

मेरे पास एक jQuery UI संवाद है: $ ("# dialog")। संवाद ({Modal: true, closeOnScape: false, resizable: false, autoOpen: false, open: function () {$ (".ui-dialog-titlebar")। Hide ();}}); मैं एक AJAX कॉल के ठीक पहले इस संवाद को खोलने की कोशिश कर रहा हूं। यह फ़ायरफ़ॉक्स का उपयोग कर रहा है, लेकिन आईई के साथ यह खुला नहीं है, जब तक कि मैं एक चेतावनी डालता हूं, बस संवाद खोलने के बाद। क्या कोई मुझे बता सकता है कि समस्या क्या हो सकती है? मैं निम्नलिखित कोड का उपयोग कर रहा हूं: $ ("बटन")। क्लिक करें (फ़ंक्शन () {$ ("# dialog")। संवाद ('ओपन'); // अलर्ट (' Test '); // अगर मैं यह चेतावनी रखता हूं, तो संवाद $ .जाक्स ({प्रकार: "पोस्ट", url: "test.txt", async: false, डेटा प्रकार: "टेक्स्ट", सफलता: फ़ंक्शन (वापसी टेक्स्ट) ) ($ ("# डायलॉग")। डायलॉग ('क्लोज़'); $ ("# टेटेरेआ")। पाठ (वापसी टेक्स्ट);}, त्रुटि: फ़ंक्शन () {$ ("# डायलॉग")। संवाद ('बंद ');}}};}); ...

sql - Transactional DDL options -

I have only worked with MySQL, and it has been found that DDL performs ineffective, I believe it is in MySQL is. If MySQL can not manage it even with some hecky method, then a viable alternative is changing the SQL system. Is there anybody who makes transactions easy to install DDL with an out-of-the-box or at least MySQL? I do not think there is no way to make DDL transactions in MySQL. PostGrace SQL is fully transactional DDL and personally I just run it as a simple and simple to setup (actually I The reason MySQL seems to be more complicated to use).

regex - Check for multiple and combination patterns with PHP preg_match -

I do not want to allow multiple patterns in a string, like $ string = "Php in stack overflow"; // Multiple locations are not allowed $ string = "php in - stackoverflow"; // Multiple Hyphen $ string = "php in__stackoverflow" is not allowed; // multiple underscores are not allowed etc. So, it works with these lines, if (preg_match ('/ \ s \ S + / ', $ string)) "Only one single location is allowed"; If (preg_match ('/ \ - \ - + /', $ string)) "only one hyphen is allowed" echo; If (preg_match ('/ \ _ \ _ + /', $ string)) "Only one single underscore is allowed"; I do not want to allow the pattern of the combinations given below and the above lines do not work, $ string = "php in -stackoverflow "; // One location with a hyphen is not allowed $ string = "php in-_stackoverflow"; // An underscore hyphen is not allowed $ string = "php in_stackoverflow"; Any idea...

c# - What is the difference between .aspx and .aspx.cs? -

I'm not new to programming, but I'm not new to Visual Studio, MVC, C #, ASP.NET, and EXT.NET I'm new to, that's all the tools I'm trying to use. I am trying to create an Ext.Net 2.0 MVC4 project and in the same (functionality) Non-MVC project was given for reference. I see that this non-MVC project contains .aspx and .aspx.cs files. It seems that the .aspx file is basically the maps in "View" in MVC that I want to create ... and work in .aspx.cs file that is related to .aspx file - similar to "controller"? However there are some functions in the .aspx file that do not look completely related to view ... Can someone give me a quick overview or a place to start with this? ASPX files usually have a UI and which are usually HTML tags, some ASP Net server control embed code (which is eventually some HTML markup) will be server-side coding in the ASPX.CS file (usually called codebehind) in C #. If necessary, I can see the ASPX page an...

ios - I'm stuck with arrays -

I have objects in an array, short, and [], and each object has many relation to 0 in this array Other Objectives (Goals) How can I put this object, the balls in another array? Some objects are connected in less and 2 are rounded, some are connected to 4. (Dynamic User Editing) I do not know how many targets in advance will connect the array to an object less and? How do I solve this? Perhaps for a loop? Maybe in a 2-dimensional array? I'm actually living with it. Good 2-dimensional array is a good solution, but instead of using it for loop, Use the predictions to add objects to [and] Apply forecasts to the target array and add the resulting array to the short array.

sql - paginating table and getting row count -

The query below gives a subset of rows and a line ending at line 20, from the table starting with row 10. Also, to save a query I need to return the number of total rows in the table. This is the best solution I could think, are there any more efficient / elegant ways? Specifically, I do not like the Partition 1 section. Choose from (Count to (*) over (split 1) as [count], [row], * [product]) as 10 and 20 According to [name], [description] in line between line_number (div) = div = "post-text" itemprop = "text"> if you Do not like it, then remove it! Choose from [citation], row_number () more than [[name], [description]) as [number] to [select] from , * From [product]) as between t where between 10 and 20 However, on one side, the query is not optimal. You should count in a traditional way. Choose from [Products] as [count] as [count (*) * Select * X cross join (name of the line), [description]) as [row], * to [product]) In the form of T where ...

- Where Developers Learn, Share, & Build Careers

क्यों निम्न कोड गलत है? उप सेटफॉन्ट () Dim a1 के रूप में रेंज सेट ए 1 = रेंज ("ए 1") SetFontSize (a1) एंड सब उप सेटफॉन्टसिज़ (लक्ष्य के रूप में लक्ष्य) लक्ष्य। फोंट। आकार = 11 एंड उप मुझे "रन- समय त्रुटि 424: SetFontSize विधि को कॉल करते समय वस्तु की आवश्यकता " त्रुटि। आप एक फ़ंक्शन कॉल नहीं कर रहे हैं, आपको SetFontSize (a1) को कॉल करते समय कोष्ठकों की आवश्यकता नहीं है। बस उपयोग: SetFontSize a1

- Where Developers Learn, Share, & Build Careers

Image
मैंने कुछ समय के लिए अपने एंड्रॉइड ऐप को ट्रैक करने के लिए Google Analytics का उपयोग किया है और यह बहुत अच्छी तरह से काम किया है। हाल ही में, मैं मोबाइल ऐप के लिए नए एसडीके वी 2 में उन्नत हुआ हूं। हालांकि, मुझे कुछ भ्रमित हो पाया है: वास्तविक समय पर नज़र रखने में, सभी आगंतुकों को अब नए रूप में दिखाया गया है मैंने अपना फोन खोलने के लिए अपना स्वयं का ऐप खोलने का प्रयास किया और यह अपने आप को नए प्रयोक्ता के रूप में दिखाने पर ही रहता है जो उपयोगकर्ता नहीं लौट रहा है। वास्तव में, मैंने अपग्रेड करने के बाद दिखाए हुए एक उपयोगकर्ता को कभी नहीं देखा है। चित्र में दिखाए गए उपयोगकर्ताओं की रिपोर्ट में, मैं 86 सक्रिय उपयोगकर्ता देख सकता हूं और 54 नए सत्र / मेरे उन्नयन के पहले दिन के लिए उपयोगकर्ता वेबसाइट पर, यह दिखाता है कि सक्रिय उपयोगकर्ता ऐसे उपयोगकर्ता हैं जो हाल ही में आपके ऐप के साथ जुड़ा हुआ है। दोनों नए और लौटने वाले उपयोगकर्ता शामिल हैं चूंकि यह पहला दिन है, मुझे लगता है कि सभी उपयोगकर्ता नया होना चाहिए, लेकिन ऐसा लगता है कि संख्या समान नहीं है। किसी भी टिप्पणी के लिए ...

javascript - how can I modify or replace the directory index page in Express? -

In Express, I can do something that has a static server, with directory index pages: app.configure (function () {app.use ('/ mystuff', _express.static (__dirname + "/ whatever / stuff"); app.use ('/ mystuff', _express.directory ( __Dynaman + "/ whatever / stuff");}); I would like to modify the Directory Index page, by giving them different CSS, adding some JavaScript and making changes to HTML. If possible, I want to use more as an existing functionality, but if it is easy to replace complete directory middleware with your code, then this is an option. It is not sure where to start with this. Of course, I really do not want to edit the code in express or connected module. BTW, one of the reasons for this is that I have fixed the bug mentioned here: As you have said in your comment, express.directory comes with functionality; However, there is no way to set up a custom file. As an alternative solution, you can connect, change the ...

asp.net - MasterPage.master inheriting from another class that inherits MastPage -

I inherited my master page from a class called MasterParent. Compilation Error :: Description: During the compilation, I receive an error as the following: An error during the compilation of a resource required to serve this request Hui. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: ASPNET: Make sure that the class matches this code with the 'inherits' attribute defined in the file, and it extends to the correct base class (such as Page or UserControl) Source Error: line 8: namespace PortfolioApplication line 9: {Line 10: public partial class masterpage: MasterParent Line 11: {Line 12:} My code: MasterParent.cs Using the system; Using System.Collections.Generic; Using System.Linq; Using System.Web; Using System.Web.UI; Using System.Web.UI.WebControls; Namespace PortfolioApplication {public abstract class MasterParent: System.Web.UI.MasterPage {protected void Page_Load (object sender, Ev...

javascript - js double value range check -

var मान 1 = 50 var मान 2 = 140 समूह 1 ए, बी ए & gt; = 42 a & lt; = 126, b & gt ; = 140 बी एंड एलटी; = 213 ए, सी ए & gt; 42 = ए और एलटी; = 126, सी & gt; = 1.40 सी & lt; = 2.13 बी, एक बी & gt; = 140 बी एंड एलटी; = 213, ए & gt; = 42 ए & lt; = 126 सी, सी & gt; = 1.40 सी & lt; = 2.13, ए & gt; = 42 ए & amp; एलटी; = 126 समूह 2 डी, ई डी & gt; = 91 डी एंड एलटी; = 443, ई & gt; = 58 ई & lt; = 84 डी, एफ डी & gt; = 91 डी & एलटी; = 443 , एफ & gt; = 4.8 एफ एंड एलटी; = 7 ई, डी ई & gt; = 58 ई & lt; = 84, डी & gt; = 91 डी & lt; = 443 एफ, डी एफ & gt; = 4.8 एफ एंड एलटी; = 7, डी & gt; = 91 डी एंड एलटी; = 443 इसे जेएस में प्रोग्राम करने की आवश्यकता है ताकि दो मान एक उपयुक्त संख्या सीमा के लिए संख्याओं की श्रेणी के माध्यम से जांच सकें। मैं इसे पहले समूह के माध्यम से स्कैन करने की कोशिश कर रहा हूं, यदि वह दो श्रेणियों को सफलतापूर्वक दो श्रेणियों में नहीं खोजता है, तो वह दूसरे समूह के साथ जांच करता है। ...

How do I identify where a javascript file is currently being loaded from? -

कहें कि मेरे पास एक जावास्क्रिप्ट फाइल का एक संदर्भ है: & lt; script type = " पाठ / जावास्क्रिप्ट "src =" http://blah.com/js/count.js "& gt; & lt; / स्क्रिप्ट & gt; Count.js की सामग्री के साथ : चेतावनी ("यह स्क्रिप्ट लोड हो रहा है:" + url); मैं count.js के अंदर से यूआरएल वैरिएबल में जाने वाले मान की पहचान कैसे करूं? जब एक बाहरी लिपि निष्पादित होती है, तो उसका SCRIPT तत्व पृष्ठ में अंतिम होगा, जो कि document.scripts [document.scripts] है तो, यदि SCRIPT तत्व है: जावास्क्रिप्ट "src =" http://blah.com/js/count.js "& gt; & lt; / स्क्रिप्ट & gt; और count.js फ़ाइल सामग्री है: चेतावनी ("यह स्क्रिप्ट लोड हो रहा है:" + दस्तावेज। स्क्रिप्ट [document.scripts.length-1] .src); यह प्रदर्शित करेगा: इस स्क्रिप्ट से लोड हो रहा है: http://blah.com/js/count.js ध्यान दें कि HTML5 में SCRIPT तत्व के लिए एक परिचय है, जो संभवतः उपरोक्त विधि बेकार बनाते हैं एसिंक्रोनस के मामले में...

- Where Developers Learn, Share, & Build Careers

A lot of functions can be reduced to point to the free form - but is this true for everyone? For example, I do not think how this can be done: apply2 fx = fxx is the compositor for your apply2 function (if I'm reading things correctly): () Of (s (s (s)) (k (s (s (s))) ((SK))))) "lark", page To ( Edit-In: ) Ends 1 \ fx -> F (xx) . According to the comments of "@GearRatator" given below, it is known as "lark", whereas the function \ f x -> Fx = S (S (K (S (S (K)) (KK) SI Fx = S Q & A; request is requested in the book (aka) made before "Warbler", ( S (KB) S) (KK) SI Fx = CSI Fx = SFIX = FXA . here: (s (s (s) of s (k) (k (s (s))) ((s))))) fx = s (s (s) (k) SK K) (SK K) (SKK)) Fx = - SKK == IS (S (K) K) (K Ii) Fx = = BSB (K) of S. (K) Fx = BF (K) S) X = BF (SIi) X = F (Sii X) = F (XX)

php - Links displaying array numbers and not mySQL values -

As you can see ... when you hover over "new motorcycles", there are array numbers in it, No more labels as needed, apart from this, the categories need to be grouped in their ID. Below I have tried that. & lt;? $ Output = mysquely_query ("select * from bike, bike type bike.model_id = biketimes.model_id"); $ Result = array (); While ($ line = mysqli_fetch_array ($ output)) {$ result [] = $ line; } // var_dump ($ result); Foreign currency ($ $ $ key => $ val) {echo " li> Category area is called 'model' Thanks for any help! This is because you display the $ key instead of $ value & lt;? $ Output = mysquely_query ("select * from bike, bike type bike.model_id = biketimes.model_id"); While ($ line = mysqli_fetch_array ($ output)) {resonant "and

- Where Developers Learn, Share, & Build Careers

For the purpose of debugging I need to divide a query string in several infinitely: Output comes from Tishark and its purpose is to debug Google Analytics events so that the output looks like this: 82.387501 Humpus -> Domain.net 1261 GET /__utm.gif?utmwv=5.3.7&utms=22&utmn=1234&utmhn=domain.com&utmt=event&utme=5(x*y*z%2Fstart%2Fklipp%2F166_SS% 20example) (10) and UTMCs = UTF-8 ~ HTTP / 1.1 What I want is a more human readable version: utmhn: domain .com Utmt: Event Usage: 5 (x * y * z / start / klipp / 166_SS / example) (10) utmcs: UTF-8 or better: utmhn: domain.com utmt: Event Usage: 5 (xyz / start / klipp / 166_SS / example) (10) utmcs: UTF-8 But 'this purpose I do not get my head around SAD (or awk) ... Another way to use a Pearl: #! Use / usr / bin / perl -l strict; Use warnings; While ( strong> output utmhn: domain.com utmwv: 5.3.7 utms: 22 utmn: 1234 utmt: event usage: 5 (xyz / start / Klipp / 166_SS / example...

- Where Developers Learn, Share, & Build Careers

I'm going to start creating a SharePot attribute cAMl (xml etc) or code object model? I want to know what is the recommended approach to making lists, columns, content type etc.? Is there any major danger for any of these methods? Both required are both useful for a strong solution, neither [full Way] changes to another Needs effectively asks the most spatial data sources, such as lists non-query CAML can be used on the other hand. Directly the Om () program is very useful for updating / updating many things; Including results of various CAML questions! PowerShell CMD allows to expose the OM for easy "inspection" of the current state of the form. Scripts also need to make many things, e.g. Jala- With a little change from the common "template" In addition, there are several actions through OM that are possible with CAM not for example, timer job definitions can not be configured with just the CAML. However, writing a feature receiver ...

- Where Developers Learn, Share, & Build Careers

I am using CRF ++ as an operating system in my project running in Ubuntu 12.04. I have lots of features, so training takes days. I want to know that it is possible to stop CRF ++ and it has started running for several hours. Beginning). Can anyone help me? Thanks! Try running crf ++ with multi thread. Option-P If you have a multiprocessor system, then it will speed up your work.

- Where Developers Learn, Share, & Build Careers

That's why I'm trying to understand the ideas xCode to your registration page - something like: At any rate, I can not understand how he is using to achieve this performance. Does it look like a TextField at the top of a button? If so, give me to sit on top of the text field never find, it is always behind the button, thus making it invisible. Any suggestions or suggestions? It is not Tekstfild button. Actually it's a text box inside a table view. Set you must do the following: Make Table View on NIB Create outlets and representative data source. Then add the following code to your .m file. This is a number of rows in the table view before this set. - (UITableViewCell *) Table Views: (UITableView *) Table cellForRowAtIndexPath: (NSIndexPath *) indexPath {UITableViewCell * cell = [Table dequeueReusableCellWithIdentifier: @ "cell"]; If (cell == blue) cell = [[[UTTEWview alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier: @ ...

- Where Developers Learn, Share, & Build Careers

I have a third party Java applet that is loaded through the browser and some network activity (do not know that In fact, maybe http requests, maybe https). How will I trace that activity? I just need the header, not its content thanks. This is a basic sniffing and it is neither related to Java nor Applet for a job An ideal tool you can use (Windows only) or you can check http (s) activities with a few more things.

android - allowing user to cancel foreground service -

Apparently the code pasted below (1) sets my service as foreground service and (2) tray But my icon displays on top of the screen if the user taps my icon, today's date is quickly filtered - I think it's some kind of default behavior ContentTitle and ContentText are never visible (hence What are they good?) What do I want to do, h Icon is a dropdown or used for any type of Popvando, the user can or have any of my service to end or to terminate me that functionality can not find any examples do it? how? BTW, the only purpose of my notification is to run my service in the foreground, I do not have to ever inform about the user. Thanks, Gary Notifications Compatibility. Builder b = new notification. Builder (this); B. Setsmolix (R.drawable.ic_launcher) .setContentTitle ("PhoneStaller") .setContentText ("Hello World"); Implies whatIsThisIntentFor = new intent (Intent.ACTION_VIEW); b.setContentIntent (pending intervent gate activity (this, 0, W...

Android flash light app -

I want to make an app for Android device, which will have 2 buttons, one button for "ON" and another " Close ". I have done a pure search for an example and I have seen many examples, but they were very bad wars (for me). What I've created so far is the button and main activity code: package com.simple.flashlight; Importroid.os.Bundle; Import android App Import android.graphics.Camera; Import android.hardware.Camera.Parameters; Import android.view.Menu; Import android.view.View; Import android.widget.Button; Public class increases main activity {@ Override Public Empty on Crate (Bundled Saved Instance) {super.onCreate (savedInstanceState); SetContentView (R.layout.main_menue); Button turnOnButtOn = (button) findViewById (R.id.button1); Button TurnOnButtOff = (button) Find ViewById (R.id.button2); TurnOnButtOn.setOnClickListener (New button. OnClickListener () {click on Public Zero (see Cambridge) {}}); }} Now I want to do something (pseudo code): tu...

- Where Developers Learn, Share, & Build Careers

I have set up a bunch of pap packages so far and now nothing works anymore. with: Install pip PATH / *. Txt How to uninstall my packages? PS: I'm Running Win 7 Something in this related thread Good suggestions are: Edit: You may need to manually remove all files, and undo all other accessories that were done manually. If you do not know the list of all files, you can restore it --record options, and take a look at this list.