Posts

Showing posts from April, 2015

iphone - UITableView Drawing Problems When ReloadData Is Called -

I have a very large list of 'items' (up to 250 entries) that constantly change. I have a polling thread that will download some new entries and put them in a SQLite DB. When new entries arrive, I call my table to update the data source object to its data set, which runs a SQL query and returns a new array of entries. After this is complete, I call - reddit the call view. When this happens, in 7 of the 10 cases, the table view becomes empty (no cells are displayed and only the background color of the table is visible) unless a later-reddata call is made . It will show again in the table view (scrolling, selecting cell, anything that will force any redraw). The table view, its IBlotet pointer and it currently displays the cells, which I see all the time, the blank drawing bug, so I have full confidence that they are not being released. I'm trying to debug this for a few days and it is actually starting to run me on the wall < P> Any help on this wil

java - include directive -

Head First Book says that to be included in the form of instructions, as in the JSP file from any other file at translation time. The code can be changed dynamically. However, I also include a JSP file in the included command, which generates a number randomly, whenever I include the page that contains the instruction instructions. And every time a new number produces only one time instead of the servlet code during translation. Why is it like this? Thank you in advance 1 code of the second JSP file at the translate time in the JSP file Includes. The random number you are seeing is after the execution. If you change your second JSP now, then you will not see any change when you reach 1 GSP.

Can I have object with the same name as class in javascript? -

Can I get the object in JavaScript with the same name as the square? There are no squares in javascript, only methods for creating objects. To answer your question directly, yes and no. You can create a function that keeps your object, but as soon as you have a variable with the same name, the function is destroyed. function bob () {// code goes here. Name = "bob"; } and var bob = function () {// code goes here. Name = "bob"; } What if you have declared a variable name like Bob: var bob = new bob (); In this case, the function will call Bob, the object will be created, and the function bob will be blocked by the new variable Bob. If you want to create a singleton, then you can also close it as: var bob = new (function () { // code here.name = "bob";}) ();

php - finding and storing values from string -

I have a string that looks something like this: $ fetched = Name = myName zip = 420424 country = myCountry; I only want zip = 8732 9 (only numbers), this is not an array . Then I use it: $ $ $ The function that is returned above is the output of the function given below $ fetched = file_get_contents ("http: // example. Com "); In this way I can fetch the content and match it with this code $ zip = preg_match ('/ zip = [0-9] ] + / ', Received $); But I want to store it in the variable, what is the function to match the result? You need to point to the part that you want to capture with the parentheses, then these To select, provide an extra parameter for preg_match: $ matches = array (); If (preg_match ('/ zip = ([0-9] +) /', $ obtained, $ match) {$ zip = $ matches [1];}

c++ exceptions, can what() be NULL? -

Can any time () be taped in the std :: exception? Is E.Vot () being checked downwards? // ...} hold (const std :: exception & e) {std :: string error; If (E. (he ()) error = e.what (); } The content of the string is defined as executing, so I think the answer is yes. Edit: Not so standard says: virtual const char * what () const throw (); 5 Returns: An implementation-defined NTBS so it must return the string, not just an indicator and a string NULL . As others have pointed out that getting an exception is easy, whose returns back NULL , but I'm not sure these things should be in line with standards . Of course, if you are implementing () in your own exception class, then I will consider it very bad behavior that it will allow it to return. More: Another question is whether the what () faucet, and such exciting issues back Please, please see

javascript - loading image before switching div background in jquery -

I have a web page where I want to change the background image of a div in response to user interaction. What I've been doing so far: Function Update IMG () {imgurl = buildImgURL (); // Various form values ​​generate url based on $ ('# main image') CSS ("background-image", "url (" + imgurl + ")"); } This works perfectly well as I want to leave it one thing because of the combination of relatively large background images and a relatively slow server (which is not easily fixed The image can take some time to load. Therefore when the updateImg () function is called then the divis is white for one second or before the new background image is loaded. I want the image of the old background to be as long as the new image is not loading and then switch quickly. Is this possible? Background image is generated on the server, so any type of client side caching or preloading is not possible. What about setting the image in an empty element?

apache - Run PHP code from .htaccess? -

"postprint" itemprop = "text"> I pass the url to a PHP function of a value in a rewrite order and need to be retrieved whether the new To say is to say the destination should be? Is there a way to do this? Thank you. Update: Thank you so far..I am still having trouble but I will show you my code: < P> .htaccess # I got the file path by echoing DOCUMENT_ROOT and the rest have been added RewriteMap fixurl PRG: /var/www/vhosts/mydomain.com/httpsdocs/domain_prototype on RewriteRule /code_base/url_handler.php RewriteEngine $ {fixurl: $ 1} (*.) [PT] PHP: set_time_limit (0); # Forever program! $ Keyboard = fopen ("php: // stdin", "r"); While (1) {$ line = trim (fgets ($ keyboard)); Print "www.google.com \ n"; # & Lt; - Test to see what works. } Although I'm getting a 500 internal server error , I'm not sure whether there is any error in my .htaccess or in my PHP? There is something called a R

jquery - How can I measure the time between click and release in javascript? -

I want to start a timer when the user clicks on the object, and then pausing it when the user releases the click The following should start with you using all javascript / jquery Var start_time; Start function () {start_time = new date (); } Function End () {var now = new date (); Warning (now start_time); } $ ('# Element_id'). Mosudown (Start); $ ('# Element_id') mouseup (end). The Masudown event will run the start function which sets the start time. The mouseup event will reduce the start time from the current time. The result is in millisecond

How can I check if a Perl module is installed on my system from the command line? -

I tried to check whether the XML :: Simple is installed in my system or not. Pearl-E 'while (& lt; @ INC & gt;) {while ( The above one-liner was used to list all the modules installed in my system. However, this XML module does not list. However, the following are okay. perl -e "XML :: Simple Use" What could be the problem? You can check the following for a module's installation path:

c# - How might I call a JavaScript Function in a Page Viewed by a WebBrowser Control from the Application Hosting the WebBrowser Control? -

I have created a C # desktop application that depends on the web crawler idea. I applied my application to open a website using web browser control and log in to the program and redirect to a specific page, which has Gridview with all the user's data that I want to collect ... But the problem here is that I know its name by the javascript function removed in Username in Gridview, but it's a desktop app How to call in Ikeshn. What are namespaces or DLLs that can allow me to do this? I think this should help you with: Edit: Depending on that link, here's a small sample application, add a button and webbrowser control to a Windows project and add this code: < Code> Public Partial Forms Form 1: Form {Public Form 1 () {Initialization (); this. Web browser 1. Document text = @ " gt; body & gt; & lt; script type =" text / javascript "" & gt; Function show message (text) {warning (text);} & Lt; / Body & gt; &

sql - Are there any security vulnerabilities in this PHP registration code? -

Can you give some texts on this code? Do I miss some security holes? Can you see any danger? Can I do something better? I'm still learning :) Thanks gt; {$ reg_error [] = 0; } // Make sure the user name is less than 3 letters, numbers or _ - if (! Preg_match ('/ ^ [a-zA-Z0-9 _-] {3,} $ /', $ username) Cosist only) {$ Reg_error [] = 4; } // Check the blank field if (empty ($ user name) || empty ($ password) || empty ($ password2)) {$ reg_error [] = 2; } // Check that if the password is found ($ password! = $ Password2) {$ reg_error [] = 3; } // save if the error is set (! Isset ($ reg_error)) {mysql_query ("username (username, password, registered, registration_ip) VALUES ('$ username', '$ encryptedpassword', '". Time (IN)). '', ''. $ _ SERVER ['SERVER_ADDR']. "')"); $ _SESSION ['id'] = mysql_insert_id (); Header ('Refresh: 3; url = / house'); }}? & Gt; Login. Php if (is

asp.net - Storing data for client-side export. I've got a mess -

Here's my position. I am developing ASP.NET (2.0) app for internal use. In it, I have several pages of GridView. I've included the option to export data from Excel to GridView (using client-side JavaScript) Excel tabs have 2 tabs - one tab is formatted like a gridview, the other The tab contains raw data. Everything works great and looks good from the client's point of view. The issue is that JavaScript is very ugly. When I fill my dataset with data, gridview is bound, I also create a delimited string used for export, I store the delimited string in Hiddenfield, and When the export button is pressed, then retrieve the value of the stored code. I have many different delimiters, and generally it was felt together together. Is there a better way to store data for export and is there a more standard way of storing it instead of its own delimited string? I have not dug in JSON yet. Is this the right way to go down? JSON is an excellent solution and very fast, although the

ms access 2007 - How do I set a query result equal to a variable in VBA? -

मेरे पास MIUInfo शीर्षक वाला एक टेबल है। इसमें तीन स्तंभ हैं; एमआईयूआईडी , अक्षांश , और देशांतर । इसमें मैं निम्नलिखित प्रश्न चला रहा हूं जो कि MIUID < / Code> s मान मानदंड में। चयन संख्या (MIUInfo.MIUID) MIUInfo WHERE से ((MIUInfo.Latitude "& amp; amp; मिनट" & amp;; & amp; & amp; ) और ("एमआईयूइन्फ़ो।" और "और मीनोलॉन्ग एंड एंड" और "और मैक्सलॉन्ग एंड") के बीच में) मुझे इस क्वेरी के परिणाम को वीबीए में एक चर के समान सेट करना होगा ताकि मैं इसे लूप के लिए एक शर्त के रूप में इस्तेमाल कर सकूं। इसके अलावा, जब मैं DoCmd.RunSQL कमांड का उपयोग करने की कोशिश करता हूं मुझे एक त्रुटि मिलती है: < P> रन-टाइम त्रुटि '2342': एक रन एसक्यूएल क्रिया के लिए एक एसक्यूएल बयान का तर्क आवश्यक है। इस प्रश्न के बीच में और फर्क सिर्फ इतना है कि मैं DoCmd.RunSQL के साथ चल रहा हूं यह है कि अन्य सभी चुनिंदा प्रश्न एक नई तालिका का निर्माण कर रहे हैं। / P> पहुंच में यह करने का सबसे आसान तरीका फ़ंक्शन के साथ है

asp.net - How to get JSON back from HTTP POST Request (to another domain) -

I am trying to use an API on a website, here is part of the manual: Authenticated Sessions (taken from) To create an authenticated session, you must request a authToken from the '/ authentication' API resource. URL: (This is not my domain) Method: Post Request format: Application / x- Www form- urlencoded Feedback format: application / xml, application / json Feedback code: 200 OK Response body:. Authenticated user details, including API version Additional data:. The "authToken" cookie and header containing the authentication token that should be used for incoming calls parameter: username / password example < / H2> request accepting post / certification HTTP / 1.1: application / xml content type: application / x-www form-urlencoded users Name = my_username and password = my_password Response HTTP / 1.1 200 OK Set Cookies: authToken = 1KVARbypAjxLGViZ0Cg + UskZEHmqVkhx / PM ...; authToken: 1KVARbypAjxLGViZ0Cg + UskZEH

Fluent interfaces and inheritance in C++ -

I want to create a base (abstract) (let's call it type :: base ) With the usual FonseyaNanti and a fluent interface, the problem I am facing is the return type of all the methods class base {public: base (); Virtual ~ (base); In the base & amp; With_foo (); In the base & amp; With_bar (); Protected: // whatever ...}; I can now subtype, e.g.: pre- class my_type: public base {public: myType (); // more methods ...}; The problem is that while using these subtypes: my_type build_my_type () {my_type (). Return_foo (). With_bar (); } This will not compile because we are returning the base instead of my_type. I know that I only: my_type build_my_type () {my_type ret; . Ret.with_foo () with_bar (); Return writ; } But I was wondering how can I apply it, and I have not got any reasonable ideas, some suggestions? This type of "losing type" problem can be resolved with templates - but it is more complex . Example. class pizza {string to

ruby on rails - Create a new user with new openid login authlogic -

I have implemented authlogic in a railway site, and I am trying to work with OpenID properly. So far, you can login properly until you have an existing account, but not so much, if you do not. If I do not already have the identity_url database, then I want to be able to automatically create a new account. The problem is that I also need to store some extra information if the user is entering the first time with their OpenID, then I would like to ask them to fill in basic information (name, email) Before the account is created. I have played around in some ways, but nothing is working. Thanks in advance for any input! Maybe you try to put additional information into some sort of temporary table and the user Keep track of sessions. Once authenticated, connect the OpenID information to make the previous entries genuine.

c# - Parse <br> to plain text new paragraph -

I am currently in the process of deleting html tags from fields within an internal database I Winning: Spain stalled 35-game unbeaten strikes, Spanish were handed over with their first defeat since November 2006. The Americans are now proceeding to face the winner of the World Cup winner five times in the semi-final between South Africa and Brazil on Thursday to advance to the final Sunday. Brazil defeated Americans 3-0 in their last meeting in this tournament. & Lt; Br> & Lt; Br> In the final, however, the United States would be without midfielder Michael Bradley, who received a red card to handle hard in the 87th minute, this was the third such prohibition for Americans in the tournament. This was the only careless flaw on an otherwise nearly perfect evening. In: This win halts Spain's 35-player unbeaten strike, which was the first defeat of Spanish since November 2006. The final was won by South Africa and Brazil on Thursday's semi-final winner, fiv

python - Get a dict of all variables currently in scope and their values -

इस स्निपेट पर विचार करें: globalVar = 25 def myfunc (paramervar): localVar = 30 प्रिंट "वार्स: {globalVar}, {paramVar}, {localVar}!" प्रारूप (** VARS_IN_SCOPE) myfunc (123) जहां VARS_IN_SCOPE है इसके बाद मैं अन्य चीजों के बीच globalver , paramvar और localver होता है। मुझे पसंद है मूल रूप से उन सभी चर को संदर्भित करने में सक्षम हो सकते हैं जो वर्तमान में स्ट्रिंग के दायरे में हैं। इसलिए अपेक्षित आउटपुट होगा: वार्स: 25, 123, 30 मैं इसे ** dict (globals ) .इटम () + स्थानीय ()। आइटम ()) से प्रारूप () । क्या यह हमेशा सही है या क्या कुछ कोने वाले मामलों में यह अभिव्यक्ति गलत तरीके से संभाल सकती है? प्रश्न को स्पष्ट करने के लिए फिर से लिखा। आप दो डिक्टिक्स मर्ज करने का सर्वोत्तम तरीका है (स्थानीय लोगों को ओवरराइड करते हुए) dict (ग्लोबल्स), ** स्थानीय ()) < / कोड>। ग्लोबल्स और स्थानीय लोगों के विलय के दृष्टिकोण क्या गायब हैं (ए) बिल्डिन (मैं कल्पना करता हूं कि यह जानबूझकर है, अर्थात आप बिल्टिन को "वैरिएबल" के रूप में नहीं मानते

audio - Error converting wav to caf for the iPhone using afconvert -

यहाँ टर्मिनल विंडो में टाइप कर रहा हूं: afconvert -f caff -डी LEI16 @ 44100 -c 1 बजर। वाव बजर। त्रुटि: ExtAudioFile ओपनURL विफल ('डीटीए?') ध्यान दें कि बजर। वाव मेरी ध्वनि फ़ाइल है। < P> गलत क्या है? मैं रूपांतरण कैसे करूं? सभी लहर (। वाव) फ़ाइलें समान नहीं हैं I कुछ वास्तव में कुछ अपरिचित फ़ाइल स्वरूप हैं। मेरे लिए यह तय करना था कि फाइल को ऑडेसिटी में खोलना और फिर लहर प्रारूप में ध्वनि निर्यात करना; तो एफ़कॉर्फ़ का उपयोग करें।

How to reset a timer in C#? -

वहाँ तीन टाइमर वर्ग हैं जिनके बारे में मुझे पता है, System.Threading.Timer , System.Timers.Timer , और System.Windows.Forms.Timer , लेकिन इनमें से कोई भी एक नहीं है। रीसेट () फ़ंक्शन जो वर्तमान बीत गए समय को 0 पर रीसेट कर देगा। क्या इसमें कोई बीसीएल वर्ग है जिसकी इस कार्यक्षमता है? क्या ऐसा करने का एक गैर-हैक तरीका है? (मैंने सोचा था कि शायद समय सीमा को बदलने पर इसे रीसेट हो सकता है) सोचा कि कितना मुश्किल यह टाइमर वर्ग को इस कार्यशीलता को पुनःपूर्ति करना होगा या यह कैसे बीसीएल कक्षाओं में से किसी एक के साथ भरोसेमंद तरीके से करना है ? मैं हमेशा ... myTimer.Stop ( ); myTimer.Start (); ... यह हैक है? :) Threading.Timer पर टिप्पणी के लिए, यह है ... कारण समय प्रकार: System.Int32 करने के लिए समय की मात्रा टाइमर का निर्माण किया गया था, जब मिलीसेकंड में निर्दिष्ट कॉलबैक विधि को लागू करने से पहले विलंब टाइमर को पुनरारंभ करने से रोकने के लिए टाइमआउट। अनन्त निर्दिष्ट करें टाइमर को तुरंत पुन: प्रारंभ करने के लिए शून्य (0) निर्दिष्ट करें।

winapi - How can I send a command to a running Java program? -

I have a Java program and I want to send commands from my Win32 application. Normally I use the WM_COPYDATA but what options do I have with Java? There are some ways to interoperate between Java and Windows, given the power and difficulty: To handle window messages, you can use the gyoune - it's one- or something similar. Of course, if you're tie your Java program in a library like Javin, then it will never run on a non-Windows machine For simple conversations between Win32 and Java, to listen only on localhost The preferred socket will be my preferred choice protocol, but I like the plain text protocol for easy debugging. Keep in mind that the user can break the socket connection if the user terminates a program. You can use (local) web services here, like on both sides suggested in other posts, to make sure that you use your website service / XML libraries for creating and parsing messages. Use, if you do string containment, then it is very easy. You use y

Using Google Maps API to get travel time data -

All the examples using the Google Map API seem to show some kind of map. I would like to include data about the time of the train journey by you, when you ask the ABC for the road details on the site. And only this data is possible without loading the map for the last visitor? Yes, it's definitely possible the API. You can create a GDirections object without a map or directions DIV. You can request A to B load and then call the method to get total travel time. First you need to create an object: // No map or result is required to be removed because we are only interested in travel time. Var Directions = New GDirection (); Then request your load to resolve the directions (I have used two latitude and underlines as my starting and end points, but you can also use the address here ): var wp = new array (); Wp [0] = new GLTLNG (32.742149,11 9.337218); Wp [1] = new GLTLNG (32.735347,11 9.328485); Directions.loadFromWaypoints (WP); Then you need to listen for the

c++ - writing directly to std::string internal buffers -

I was looking for a way to stuff some data across a string across the DLL border, as we have different compilers All of our DLL interfaces are easy to use. * Is there any correct way to pass a pointer in the dell function, as it is capable of filling the string buffer directly? string stringoffin (100, '\ 0'); FunctionInDLL (stringToFillIn.c_str), stringToFillIn.size ()); // Definitely wrong! FunctionInDLL (CONST-START & lt; char * & gt; (stringToFillIn.data ()), StringToFill Insise ()); // wrong? FunctionInDLL (and stringfoline [0], stringToFillIn.size ()); // wrong? StringToFillIn.resize (strlen (stringToFillIn.c_str ())); The most promising one is the one & string is the right way to do this on [0], given that you think string :: data () == & Amp; ; String [0]? It appears to be inconsistent. Or it is better to swallow an additional allocation and avoid the question: vector & lt; Char & gt; VectorToFillIn (100); FunctionInDLL (& ve

java - org.xml.sax.SAXParseException: The character reference must end with the ';' delimiter. Workaround Needed -

I am trying to parse a small XML file to use DOM parser in Java, error semicolon missing Complaint about Here is the link 108: ... document document = DocumentBuilderFactory.newInstance () newDocumentBuilder () parsing ("url_to_the_xml_file.xml"); Here's the error: [severe error] A01.xml: 6: 53: Character reference ';' Delimiter Exception in thread "main" org.xml.sax.SAXParseException: character reference ';' Should be ending with the delimiter. At org.apache.xerces.jaxp.DocumentBuilderImpl.parse on org.apache.xerces.parsers.DOMParser.parse (unknown source) at javax.xml.parsers.DocumentBuilder.parse (DocumentBuilder.java:180) at on Parser.Parse Parser.main at (Parser.java:108) (Parser.java:185) Parse this line of XML & lt ; Title & gt; & Amp; Decrease algorithm using the # 1 9 2 Trans Vowellet Transform & Lt; / Title & gt; Obviously there is a semi colon missing. Does anybody know any good and clean wor

automation - Quickly Convert (.rtf|.doc) Files to Markdown Syntax with PHP -

I'm manually changing articles in the MarkDon syntax for a few days, and it's getting very tedious Some 3 or 4 pages, italic and other words emphasize the emphasis on the text. What is a fast way to clean (.rtf | .doc) files to clean Markdown Syntax? I If you are on a Mac, then doctor, docs, textutil And works well for converting RTF into HTML, and Pandok does a good job of converting the HTML into a markdown: $ textutil -convert html file.doc -stdout | Pandoc -f html -t markdown -o file.md I have something that I had thrown a while ago, which tries to use textual, pdf2html, and pandoc Whom I put on it for Markdown.

multithreading - Debugging deadlocking threads in a MT program? -

What are the possible ways of debugging deadluckling threads in an MT program other than GDB? Deadlock detection tools on some platforms have already been viewed and not yet seen < / Em> Deadlock, as well as other bugs Try Solaris, on on Linux, try or

How to mute audio in flash video clip programattically -

I have a site that has music near almost all the Flash site. I want to play a video commercial and I think It was that the video is still going on, while there is a way to create audio stops, and then when I exit the video area, I'm returning back. Imagine video player is the name of your video player and the music player is the name of your MP3 player. You will have something like this. Video Player.AdventListener (mouse Event.Frol_Over, Video PlayerOver); VideoPlayer.addEventListener (MouseEvent.ROLL_Out, videoPlayerOut); Function Video Player Over (Event: Mouse Event): Zero {musicPlayer.pause (); } Function VideoPlayerOut (Event: Mouse Event): Zero {musicPlayer.resume (); } This is just an indication of the video player break () will stop your current sound channel that you are using in the player and store the current state in a variable, and then Start with () the sound channel will run, from where it was left (already saved position variable) You want to stop

string - Algorithms to recognize misspelled names in texts -

I need to develop an application that will point to multiple text and find the names of people inside these texts Have to do. The problem is that, while the correct name of a person is "Gregory Jackson Junior", inside the text, the name can be written to me here: - Greg Jackson Jr. Jagori Jackson Junior Gregory Jackson < Br> - Gregory J. Jr. - I plan to build database index to index texts on a night basis and to speed up the search. I want to recommend good books and / or good articles on the subject. Thanks Check these related questions.

c++ - Why does boost::variant not provide operator != -

दो समान boost :: variant उदाहरण a और b , अभिव्यक्ति (a == b) की अनुमति है। हालांकि (a! = B) को अनिर्धारित लगता है। ऐसा क्यों है? मुझे लगता है कि यह सिर्फ पुस्तकालय में नहीं जोड़ा गया है बूस्ट.ऑपरेटर्स वास्तव में मदद नहीं करेंगे, क्योंकि किसी भी प्रकार को बढ़ावा :: ऑपरेटर :: इक्विटी_परिणाम से प्राप्त किया गया होता। डेविड पियरे यह कहने का सही है कि आप इसका उपयोग कर सकते हैं, लेकिन आपकी प्रतिक्रिया भी सही है, कि नए ऑपरेटर! = एडीएल द्वारा नहीं मिलेगा, तो आपको एक ऑपरेटर की आवश्यकता होगी। डी- बूस्ट-यूज़र्स मेलिंग लिस्ट पर यह पूछें। एफ़ोग्लिया की टिप्पणी से संपादित करें: सात महीने बाद, और मैं बूस्ट का अध्ययन कर रहा हूं। , और मैं इस चूक की सूचियों के बेहतर स्पष्टीकरण पर ठोकर खाई। ऑपरेटर == कॉल ऑपरेटर == के लिए मौजूदा संस्करण में वर्तमान में वास्तविक वर्ग इसी तरह कॉलिंग ऑपरेटर! = को भी कॉल करना चाहिए ऑपरेटर! = वर्ग की। (क्योंकि, सैद्धांतिक रूप से, एक वर्ग को a! = B जैसा कोई भी ! (A == b) नहीं है) परिभाषित किया जा सकता है। संस्करण में वर्ग के पा

bash - How can I re-add a unicode byte order marker in linux? -

I have a large SQL file that starts with FFFE's byte order marker. I have divided this file into 100,000 line segments using Linux division linked to Unicode. But when these windows are rolling back, it does not do anything similar to the first, because only he has an FFFE byte order marker. How can I add this two byte code to echo (or some other command command)? something like this (backup first)): Ls * .sql) in $ c "$ i" "$ i.temp" printf '\ xFF \ xFE' & gt; "$ I" cat "$ i.temp" & gt; & Gt; "$ I" rm "$ i.temp" done

database - Oracle Generic DB Link not working -

I use the oracle Hsodbc generic database link driver to use a postgresql database from my oracle 10gr2 database server I am trying to think that everything has been configured to me, but after trying the remote error I am getting this error from sqlplus promt. Select SQL> intranet from temp_user *; Error in line1: ORA-28,545: Unable to receive text of an agent network / error by connecting to NCR message 65535 ORA-02,063: 2 Lines preceding intranet If I use "isql" from the Linux command line (in other words only test the ODBC connection) the query works I use the "isql intranet" (intranet odbc connection Name is I am indicating that I select * from temp_user and I get my 157 records back on the screen. So I know that the ODBC configuration setup is right here is what I do for Oracle. % ORACLE_HOME / hs / admin / inithsodbc.ora HS_FDS_CONNECT_INFO = Intranet HS_FDS_TRACE_LEVEL = closed HS_FDS_SHAREABLE_NAME = / usr / bin / ODBCConfig % ORACLE_HOME /

Load java properties inside static initializer block -

I have a stable access class that manipulate some strings on slightly sensitive data before using this class, With some stable variables, such as the need to start a username / password, I prefer to store in the .properties file. I'm not in Java, it is very familiar, how is the work of file .properties being loaded exclusively outside the * Spring D * container. In addition: .properties The exact location of the file is unknown, but it will be on the verandah. Sort like square path: /my/folder/name/myproperties.propeties First of all, get a InputStream , from which the assets have to be loaded. It can come from many places, some of which are most likely to be: A, is created with a file name that is hard-coded or specified by name A resource file (a file on a classpath), via the call received getResourceAsStream (relative to the class file) or (relative to the root of the square path). A, which can be specified by a hard-coded or system property, j

navigation - Using SharePoint subsites and audience to target content... how? -

I would like to show different tabs in the top navigation of the SharePoint site, which depends on that user's 'audience'. I can fix this for pages but for subsites I can not find any option works around hide the Googling subsite and add a link to the subsite url. There should be a better way than this! The only way this is actually using Usergroups in SharePoint is more than a form of audience performance no none; Like in CSS If you know the URL, you can still get access SPWeb only allows access to that security object (SPUSR / SPGPP) ...

interop - Calling back to VBScript from C# -

I would love to know if it is possible to call function from C # to VBScript. Try to clarify to me I am using an application (Quick Test Professional or "QTP") which automates other applications, which mostly uses VBSPit. To extend the functionality of the test by writing an add-in in the testing application (QPP), the model has the capacity through an add, which is the .NET assemblies. The basic workflow is that VBScript automates test-testing applications, and can call methods on class in the Extensibility Aid in the assembly to do more complex things. This part works fine I would like to know that it is possible for my C # code (in the assembly in extensibility) to call back the function in VBSSP. I do not think the Test Application Framework (KTP) explicitly supports it, so I'm thinking that there is no way to do this using standard interop techniques. I used to get the reference to the VBScript function of half way from the idea of ​​using gate ruff (), to pass

lisp - How do I apply a symbol as a function in Scheme? -

Is there any way, can I apply '+ to' (1 2 3)? EDIT: The one I am trying to say is that the function I get will be the symbol. Is there a way to do this? Thank you. ((Eval '+)' (1 2 3)) Apply should do it.

cruisecontrol.net - CruiseControl Failed Build Recovery -

Sometimes the repository can not be connected and the build fails. Is there no way that I can control cruise, when something like this happens, try to automatically create it again ????? In other words, I want to continue to build cruisesstrong, until the work is successful ... thanks Java version or .NET? If using the Java version.

asp.net mvc - Contents Folder Convention in MVC -

I am wondering what the history behind the conference for the ASP.NET MVC project / content folder; Where it originated; And the logic behind it Our team is contemplating transferring / extending / out of our images and / styles to reduce folder levels in this project. It would be good to know why the conference was placed in the first place. This is an attempt to organize your files on behalf of the framework and this "Convention on the Configuration "The way in which most MVC frameworks follow this type, if you follow this conference, it will be easy to develop libraries and plugins that can use this conference for. Ex You can build a HtmlHelper call LoadAndPackScripts, which will allow your content JavaScript files complaints and s will find packaged them and add them to your project

greasemonkey - Javascript aliases -

My goal is to create a "Javascript library", if you can call it I intend to use it So that I can manipulate pages, as I have browsed the web, it is dynamically loading it as a Graysmunky script Window , " Doctor " - > document , " mapped to" win code> win.loc "-> win.location And some other Facility mapping, but you get this idea. Can you give me some examples to take the syntax, and I will extend the rest? Thank you very much. Just assign so many variables: var win = window; var doctor = document; < P> You can not specify win.loc without modifying the window object in this code. Also, the window object is special because < After specifying code> win , you will be able to get it with win.win or win.win.win . > And so on (the window is a global object.) In any case, you still specify loc Can window object: win.loc = window.location; // can now be referred to as: loc; // (window is globa

performance - Why is IE7 so slow compared to Safari? -

I have a large "grid" of data that can be generated in plain text and about 40 seconds Seem to be If I wrap the text with HTML table formatting (with fixed TD width), it takes 200 seconds to fully display in IE 7, and one minute down to appear in Safari. Either the small "grid" in the browser is displayed under 5 seconds, so I do not think this data is related to anything other than the volume. Can I do anything to speed up the IE7 display? Users do not have the option to ask to stop beating their head against the walls. Set CSS attribute table-layout: fixed on table. IE will be when the table size will be added again for each additional row / column and it will speed up dramatically. BTW, there is some good information about this. Table-layout takes one of three values: auto, fixed and heir Auto is the default browser must calculate the size and load the entire table before starting the rendering. It is very slow slow on the basis of the browser&

flash - tabIndex fails in an AS3 swf loaded into a flex app -

I think I'm really missing a lot here. I am loading an AS3 SWF to a form in a Flex app (made by our designers). SWF's tab index properties work properly, while SWF sees itself, however, once it loads into the Flex app: & lt; Mx: SWFLoader source = "form.sff" top = "20" horizontal center = "0" id = "form siff" full = "swift compiled handler (event)" /> The form stops receiving focus on the field tab. I'm looking for some sort of solution in Flex in Flex, but I can not find any examples, and I'm not sure I'm looking at the right place. Am I stopping to stop this form again in Flex? I am shutting down for the day, so it is closed without any research - sorry Please. I think what you need to do is make the tab of your SWFLoader enabled property to false and set tab child property to true .

authentication - make an http post from server using user credentials - integrated security -

I am trying to create a post using user credentials from an asp classic server side page ... I am using msxml2.ServerXMLHTTP to programmatically create posts I have tried with many configurations in the IIS 5.1 site, but there is no way I can access a specific account I can run IIS with ... I have created a small esp page with IMI 5.1 Using the IIS 5.1 with the IIS process, Mozammel uses the integrated security process: / P> my_machine \ IWAM_my_machine I disable unified security, and leave a domain account as an anonymous account, and to test the user (¿?) I do the following Personal function joami () Dim shell, CMD set sh = CreateObject ("wscript.shell") set cmd = shell.exec (server.mapPath ("whoami.exe")) Whoami = cmd.stdOut.readAll () set = shell = nothing: set cmd = nothing end function < / Code> Is it becau since I'm issuing a shell command? I want to make http post calls, another site that works with integrated security ..

Do SQL connections opened with PDO in PHP have to be closed -

When I open a MySQL connection in PHP in the underlying MySQL functions of PHP, I do the following: $ link = mysql_connect ($ server name, $ user name, $ password); Mysql_select_db ($ dbname); // queries etc. mysql_close ($ link); When I open a connection with the PDO, it looks like: $ link = new PDO ("mysql: dbname = $ dbname; Host = $ server ", $ username, $ password); // Ready statement, execute the query Do I explicitly close the connection such as I mysql_connect () and mysql_close () TIA Use $ link = null to detect PDOs , It can close the connection. On a successful connection from the database, an example of PDO class is returned to your script which is active for the lifetime of that PDO object. To turn off the connection, you must destroy the object by making sure its remaining references have been removed - you specify this with the variable with the variable that holds the object. If you do not explicitly do this, then PHP will auto

heap - Does Python's heapify() not play well with list comprehension and slicing? -

I found an interesting bug in a program that I had somewhat highlighted, and I wonder if I correct it I understand the short version is that which does not actually order a list, it just shocks the list in a pile-centric way. In particular, I was expecting heapify () as a result in an order list, which used to help ease the list of fashion respectively. Using the preference Q example, as in Python documentation: Happie, Hupp, Happp from Random Import Shuffle Class Item (object): def __init __ (self, name): self.name = name lst = [] # A random number of unique numbers for category i (class (100), 15): this = item ("% i"% i Hippus (lst, (i, it)) results in print ([i [0] for < & Gt; & Gt; & Gt; [2, 22, 7, 69, 32, 40, 10, 97, 89, 33, 45, 51, 94, 27, 67] This, we note, this is not The order of the original list, but apparently in the form of some heap-centric order. I was expecting to order completely. In order to run the list through the res

jquery - copying session values to input fields -

I do not understand why the following code is not working I save some input values ​​in sessions Next page In, I want users to copy these values ​​into the input field. (Function:) {$ ("Input # CopyShipping"). Click (function () { "Input # CopyShopping"). (': Check') ) {// checked, copy values ​​$ ("input # billingfastname"). Val ("& lt;% = $ (" input # billing: address 1 ") $ (" input # billing name "). Val ("& Lt;% = session (" shipping slang ")% $ (" input # billing address 1 ") Val (" & amp; lt;% = session ("shipment ADDRESS1")% & gt; ; "$" ("Input # Billing Address 2"). Val ("& lt;% = Session (" shipping ADDRESS2 ")%>"); $ ("(" ("& quot;% =" Session Val ("& lt;% = session (" shipping ")%> & gt;" $ ("Input # Billing County") Val (Valid.) Val ("G

authenticode - unknown publisher warning on unique downloads -

We have an exe file given by an ASP.NET application. This disk is modified on what binary is actually flying in memory Is there any way to extract modified with authenticode in memory without typing? There is probably no way to sign the original XE and even after the amendment the signature is valid. We think about using RAM discs to help on disk I / O, but if we think that there are other options the problem is actually to get rid of the unknown publisher's warning is. So if there is any other way that does not include signing or changing policy settings on the customer's computer, please tell me as well. I do not know the answer to this answer, but I have done it only by great software, they are RegexBuddy's Customized installer, and every time I downloaded it, it got its signature. Although I'm curious - why do not you want to continue the file on the disk? You do not have to leave it there - it will continue, sign it, load it back into memory and remov

priority queue - Channel input prioritization in Retlang -

How can input in the preferred fashion be controlled? Is there something similar to Scala's " reactionline (0) {... case TIMEOUT} " build? I have written a membership class which sends priority message at set intervals. This is not an ideal general case to consume the message of priority, but I will post it for the posterity. I think a custom requestline channel would be a better option for some other cases. Implementation of the priority question is left to the reader as an exercise. Class Preferences Members & lt; T & gt; : BaseSubscription & lt; T & gt; {Private Readonly Priority Quiz & lt; T & gt; Queue; Private readonly isadular scheduler; Private Readonly Action & lt; T & gt; Receiving; Private only reading interval intervals; Private Readonly Object Sync = New Object (); Private ITimerControl next = null; Public Priority Member (ICPP player & lt; T & gt; Comparator, ISC Scheduler, Action & lt; T & gt; Re

java - How do I Invoke 3 REST endpoints in parallel? -

मुझे बाकी ओवरपॉइंट ए, बी & amp; सी समानांतर में और जिसके परिणामस्वरूप JSON को प्रत्येक में एक JSON में जोड़ दिया गया। सभी बाकी समापन बिंदु अलग-अलग सर्वरों पर रहते हैं। फ्यूचर टास्क द्वारा निष्पादित 3 कॉलबल्स के लिए मेरी प्रारंभिक डिजाइन कॉल मैं फिर प्रत्येक फ्यूचरटस्क पर एक फ्यूचर.गेट (1000 एमएमएस) करूँगा जब तक कि वे एक मान वापस नहीं लौटाते। क्या यह आप इस समस्या को कैसे हल करेंगे? इसी तरह मैं यह कैसे करूँगा। मुझे वास्तव में पसंद है।

YUI Theater license -

Is a video licensed? Just want to put them on our internal network Regards Unless you do not mention it, It seems amazing that the YUI theater (and possibly some other video site) did not actually make any use rules or licenses. If there is a reasonable estimate, D is very much believed that all YUI theatrical videos are public domain but in the form of copyright media. If you are putting it into your internal network (as it is divided into a profit), I am pretty sure that the longer you are distributed, the same is the same. If there is any other suspicion that possible copyright infringement may be stepped on), it may be better to contact the YUI team directly.

CSS: Trying to use display:table and display:table-cell property -

I have recently used the display: tab and display: table-cell properties. It was like this, & lt; Div id = "main" style = "display: table" & gt; & Lt; Div id = "left-menu" style = "display: table-cell" & gt; Some menu links & lt; / Div & gt; & Lt ;! - Finish left menu - & gt; & Lt; Div id = "content" style = "display: table-cell" & gt; Original content & lt; / Div & gt; & Lt ;! - Termination content - & gt; & Lt; / Div & gt; & Lt ;! - End main - & gt; I used it because the color of the left menu background is spread to the bottom, I mean its height is equal to the content device. That's why I have to use a background IMG in my main diode, which I have to do again. But the problem is that menu links are located in the center of left menu div, not top, which is necessary Then I had to use the situation: full and above: 0 You face thi

How can I locate source code by dll offset? -

I have compiled freeimageplus in dll; DLL is used in my application but I got problem of memory leak, say the limit check: Existing programs -> Free ImagePlus DLL! Leak 0x0005CD06. I have PDB with freezangloss.doll. How can I find the source code using "free imageplus DLL! 0x0005CD06" Enter the DLL and PDB in the same directory and ildasm / LINENUM / source FreeImagePlus.dll This line number and source ( If available) should show for each IL block. . Line 12,12: 13,37 '' // 000012: string S = "a string"; IL_0001: ldstr "A string" IL_0006: stloc.0 indicates that IL offset 1 and 6 map 12 columns for the 13-37 line < / Html>

SelectedValue and jquery -

I have a button on a form and when it is clicked, Choose Elements by Using What Can Anyone Help? var selected value = $ ('select # id_of_your_select'). Val ();

html - favicon.ico cannot show on Internet explorer 7 -

I'm able to show the icon without having a problem on Firefox, but on Internet Explorer 7, the icon can not be displayed. Can anyone please paste the code and try on my Internet Explorer 7? What did i miss & lt; Html & gt; & Lt; Top & gt; & Lt; Link rel = "shortcut icon" type = "image / vnd.microsoft.icon" href = "http://yourhtmlsource.com/favicon.ico" /> & Lt; / Head & gt; & Lt; Body & gt; & Lt; / Body & gt; & Lt; / Html & gt; Try to clean the cache, the favian is cached "till the end of eternity". I usually, to make sure, upload your icon and download it from there again. Works every time!

WPF on Windows Embedded Framework question -

मैं वर्तमान में एकल बोर्ड AMD Geode Computer (टच स्क्रीन) के लिए एक WPF अनुप्रयोग विकसित कर रहा हूं। विंडोज एम्बेडेड मानक डिवाइस पर ठीक स्थापित करता है और इसमें .Net 3.5 लोड किया गया है। अधिकांश भाग के लिए आवेदन ठीक चल रहा है, लेकिन मुझे कुछ अनुचित व्यवहार मिल रहा है और मैं इसे ढांचे से आ रहा है, क्योंकि समस्याओं को मेरे विकास मशीन पर पुन: प्रस्तुत नहीं किया जा सकता। समस्या का एक संक्षिप्त वर्णन: मुझे स्क्रीन कीबोर्ड पर यह है। जैसे-जैसे आप बटन को स्पर्श करते हैं, आप स्क्रीन कीबोर्ड कीबोर्ड के शीर्ष पर इस पाठ बॉक्स के अंदर टाइप कर रहे हैं। उपयोगकर्ता कुंजी प्रेस को बटन पर ईवेंट हैंडलर के नीचे एक माउस द्वारा नियंत्रित किया जाता है। बहुत साधारण। इस हैंडलर के अंदर I: कुंजी प्रेस के लिए ध्वनि चलाएं। कुछ बदलाव और कैप्स तर्क करें निर्धारित करें कि किस कुंजी को दबाया गया था (के माध्यम से प्रेषक) कीबोर्ड टेक्स्ट अपडेट करें अब, यह मेरे विकास मशीन पर बहुत स्पष्ट रूप से काम करता है I कोई समस्या नहीं। विंडोज एम्बेडेड मानक पर मैं अपने कीबोर्ड पर यह अजीब अंतराल प्राप्त करता हूं।

process - Any better alternative to fork() and then execvp(" gcc program.c ")? -

The following code segment takes a long time (5s) when it is run for the first time and continuously running short time (250ms ) Gets applied . There is no better way to execute the GCC. int pid, status; Four * argv [] = {"gcc", "program.c", NULL}; If (! (Pid = fork ())) {execvp ("GCC", argv); } While (pid! = Wait (& amp; condition)) {// nothing} Well, I do not think so. The first time on 5 seconds is probably the time to read the memory of the disc from the compiler itself, to compile the formula, to include headers, to link against the libraries etc. It's all scattered throughout the disk, so the head of the disk will have to do a lot, it is slow. After that, you have all the data cached in the RAM, it is just parsing and compiling and maybe the CPU becomes the Bodon instead of the IPO bound.

What is the strongest encryption available in .Net 3.5 -

I am storing files in S3 and want to encrypt maximum data. I am using the ThreeSpark S3 library and it uses DESCryptoServiceProvider to encrypt the data. How strong is the DSCRPT service provider compared to other encryption? In the net? I have also seen services like mosaic that use 448-bit bloepish encryption. I have done some research and found some free libraries who offer bluffish but nothing tells what is bluffish. Net provides. I have to know what is the fastest encryption in Net 3.5. I would also like to suggest some other libraries which probably will not offer high encryption. The DES is obsolete i its 56 bit key basically by a laptop computing power in a matter of hours Forced loop can be. The best symmetric key encryption is that the net ships out of the box are AES (256). The comparison of Blophish and AES (aka Regentel) is beyond the scope of this discussion, but the AIS adopted is the way to go for NIST standard and near future. See for more information.

Write Flex 3 code in Visual Studio? -

Any ideas about how to prepare and compile Flex 3 projects in Visual Studio? I like Flex Builder 3. It was just recently announced. It is not certain how stable it is, but I am almost positive it will be your best bet.

c# - Convert Word Document to XML and back ASP.Net -

I need to convert the word document into XML and once it's returned to editing. I do not have Microsoft Office installed on my server, and I want my users to edit their documents through their web browser. I am using C # and ASP.NET Thanks Alternatively, you can see if they are tools to convert old .doc format files into .docx, as a result, you should provide an XML based word file.

visual studio - MSVC++ 6.0: Fatal error C1509 "Too many exception handler states in function" -

I am working on a project that uses many generated files for a GUI after some recent updates , I get this error if I remove some controls (new or some old people, then it does not matter), the error gets away, I have temporarily worked around the problem, but I have a more permanent solution Should I mention on the web that VSNet is fine for this in 2003, but I can not find anything for 6.0. Does anyone know of a hotfix or service pack that fixes it? This is an example of why I became a stray and developed. It does not have any of these crazy issues, it automatically makes dynamic changes on the fly, and reduces source code by a major factor.

c - Debug core file with no symbols -

I have one application that we have applied on a customer site. It was compiled and runs on HP-UX. The user has reported the accident and we have received a core dump. So far, I am unable to duplicate the crash home. As you suspect, the original file / executable is without any type of symbolic executable when I load it in GDB and do a BT, then I get the best: < / P> (gdb) bt # 0xc0199470 ?? () I can do 'strings core' on file, but my understanding is that I get all the strings in the executable, so it seems semi-impossible to track Anything below I have been compiled with the debug version of executable (-g), which is unfortunately new to a few months compared to the release version if I try to start GDB with that hub I see it, then I see it: WARNING: Exec file is new to core file. The program was generated by the core 'program_name', with signal eleven canceled the program, the segmentation fault. According to __dld_flags __dld_list is not valid.

How to add new column to asp.net gridview where columns are autogenerated? -

How to add new hyperlink columns to an asp.net gridview where the columns are autogenerated? Columns are not predefined in gridview. Simply add the part of the gridview to your column definition. Your generated generated column should be shown on the left side of this one. & asp: gridview AutoGenerateColumn = "true" ... & gt; & Lt; Columns & gt; & Lt; Asp: hyperlink ... /> & Lt; / Column & gt; & Lt; / ASP: gridview & gt;

c# - My UrlRewrite IHttpModule remove my second QueryString -

I have a custom URL rewrite job that works fine. But when I'm going to use a second quick string on my URL, which removes the second quick string. My Friendly URL: / Gallery / View-Abele /? Q = 1 I code: Page. ID = 22 & amp; Q = 1, when the revival path (...) has been removed from my previous page & q = 1 I am not going to fix it now, I can not understand it. context.RewritePath (ci.PageUrl + ta + "& q =" + q, false); What is an IsPostBack for IHttpModule? For the question, "There is an IsPostBack for IHttpModule" bool isPostBack =! String.IsNullOrEmpty (context.Request.Form ["__ViewSTATE"]) .. or introduce your own hidden area when viewstate is not used (which is probably safe anyway )

osx - A Dashcode project without a Dashcode project package -

Dash code contains source file in an ".dcproj" project file, which is actually a package for OS X, Which in turn is actually nothing more than a directory structure. I want to continue using the dashcode but without the "feature" of ".dcproj" structure Why? Check the source code in MySourceLine Use TextMate while developing non-GUI parts of the code Eventually building and common-core code platform- Deploy specific customizations (i.e., there are some common sources in many projects) I can deploy a dashcode project in a directory and then do all the above work. I do this, I can not return to the dashcode, which is quite easy for visual content. A more flexible solution enables me to tell the dashcode where the code is and it is not in the ".dcproj" package, read it / Have to write. I have not heard of anybody - but it will be cold because checking a dashcode project under source control. There is total pain in the neck (I'm the v

unix - Why do I need setuid(0) within a setuid-root C program that calls an administrative program with system()? -

I had to hack some dirty Linux for someone, so that they could have a printer with cupsenable printoname Shell command while being a non root user I did not want to fully use the cuplessable syntax as the root, so I have written a cover which is in the input < Code> argv [1] system . . I have created the program setuid root, but still, cuplessable failed "permission denied" and then I had a setuid (0) Code> system () and, take it and see, it worked. The best way to give users control over the printer is probably a better way for me to be interested in chmod u + s vs setuid (0) There are complications of versus system () . Why did this happen? to man system : Do not use system () from a program with set-user-id or set-group-id privilege, because the strange values ​​of some environment variables can be used to break the mechanism Integrity Instead of the exec (3) family of tasks, but use execlp (3) or execvp (3) . Actually, thos

Bulk update in MYSQL -

I have a table with data about some users. Many of them have updated their email system at OLDHOST.com for a new system at NEWHOST.com. All user usernames are the same, so if you had dave@oldHOST.com, then you are now dave@NEWHOST.com A better way to change all the email fields in the user table without selecting All the lines that say in PHP, then check whether the email is oldhost, then the string is being converted to NEWHOST? Is there a great SQL statement to help with this? Example of some table (simplified) id | First name Surname Email ------------------------------------------------ 1 | Dave | Smith | A21dsmith@oldHOST.com 2 | Barry | Jones | A21bjones@oldHOST.com etc. All who need to change are all emails containing OLHDHOST (not all) NEWHOST. You must replace the corresponding part of each string within a statement, @ and change it update table SET email = REPLACE (email, 'OLDHOST.com', 'newhost.com'); Note: REPLACE () is ca

regex - What is the scope of $1 through $9 in Perl? -

What is $ 9 in Pearl via $ 1 ? For example, in this code: sub bla {my $ x = shift; $ X = ~ s / (\ d *) / $ 1 $ 1 /; Return $ x; } My $ y; # Some codes that are $ y $ y = ~ / (\ w *) \ s + (\ w *) /; My $ z = & amp; Bla ($ 2); My $ w = $ 1; Print "$ 1 $ 2 \ n"; $ 1 What will happen? Will it be from the first \ w * to $ x or the first \ d * second \ w * $ X ? to numbered matching variables ($ 1, $ 2, $ 3, etc.) and related punctuation sets ($ +, $ & $ $, $ ', and $ ^ N) are dumped till the end of all dynamically engraved blocks or until the next successful match, Whichever comes first (see "Compound Statements" in "Perlsin.)" This means that for the first time you run a rijks or a replacement in a square, a new copy is made is If the binder ends, the original value is restored (& agrave; la local) but I do not use the regex variable outside, 20 after regex, 20 after regex, and 10 Then until $ 1 will be 1

sharepoint - WSS and creating externally accessible sites -

It's simple I hope :) When I create a new web application in WSS To be on Port 80, if I want to point to an external domain name on it? In the case of IIS and ports, everything is standard, that means port 80 is the only open. I guess if I allow WSS to assign a port number to the new web application, surely this can never be accessed in such a way as long as I can not access the port Open it Cheers Generally "yes" ... but you know That's the only answer to the answer: -) Disclaimer: For simplicity, I do not accept any load balancing switches, firewalls, and reverse proxies between my WSS site and the Internet. I am When you start throwing the network hardware into the equation, the configuration paramatics jump dramatically. He said, I can say that it is probably more common that the WSS site administrator actually starts expansion instead of existing applications in that way rather than the Internet. Here's what I mean: You create a web a

c# - CreateUserWizard and ContinueButton control -

1) ए) CreateUserWizard की वैकल्पिक नियंत्रण भी जारी रखें बटन नियंत्रण है यह नियंत्रण ContinueButtonClick ईवेंट (यदि CommandName को जारी रखें पर सेट किया गया है) उठाता है, लेकिन इस ईवेंट का उद्देश्य क्या है? इस प्रकार, जब ContinueButton नियंत्रण का उपयोग किया जाना चाहिए? बी) CreateUserWizardstep's पर क्लिक करके बनाना उपयोगकर्ता उपयोग ईवेंट उठाया गया है CreateUser बटन CreateUser पर क्लिक करने पर भी मान लेता है NextButtonClick ईवेंट? thanx आपकी (ए) प्रश्न के संबंध में यहाँ नमूना परिदृश्य है: मान लें कि उपयोगकर्ता बनाने से पहले, आपको यह मान्य करना होगा कि किसी विशिष्ट यूजर आईडी या किसी विशेष ईमेल पते को डेटाबेस में पहले या पंजीकृत किया गया है या नहीं। तो पहले चरण में, आप नए उपयोगकर्ता को अपना प्रयोक्ता आईडी और ईमेल पता सम्मिलित करने के लिए कह सकते हैं, और फिर आप यह जांचने के लिए सत्यापन कर सकते हैं कि यह मौजूद है या नहीं डेटाबेस में मौजूद है या नहीं। यदि यह अस्तित्व में है, तो आप इसके अनुसार एक त्रुटि संदेश प्रदर्शित कर सकते हैं, और यदि यह

php - Why do I see so many comments in this format? -

I see many PHP comments in the format: / ** * (c ) Copyright 2009 * Legal Crap * blorp * / Is it just from the conference, or is there any reason? I thought it was just a method that some people did, but now I am thinking that my syntax highlighter does this: It's the same when I started using this format And then stop using it, why has this comment been made like this? These comments are comments starting with / ** Documentation for documentation is used by the generator (by conference). Here's one.