Posts

Localhost port 8000 and 8888 redirect to 8080 -

I'm forcing localhost to not track down: 8000 and localhost: 8888 to redirect to the localhost: 8080 Is there anyone who has an idea? I'm on a local machine, Mac OS X is not a server, I used jacile, pove, hackcro, node, vibric, and mamp. None of them is currently running (as far as I know). Very few devices that can do this for you Find port forwarding tools ... You can also make a tunnel with the SS.

javascript how to remove every 3rd element from an array -

How do I remove every 3 elements from an array? var TheArray = ['How can I make it without creating one without saying "Hello"? New array? Try this: for (var i = 2; I & lt; = TheArray.length; i + = 2) TheArray.splice (i, 1); If you want a string at the end, then just use TheArray.join ("") .

vb.net - Replacing a .NET dll -

I have a del, which is installed with the initial installation of my app (via the MSI file). DLL has a user key and it is a 'demo' for initial installation. When a user buys the license, he is provided with another DLL in which his name is included. The second DLL is the first, has been rebuilt with a different name, so this is the same GUID and file name. It works fine on my Win7 test machine, I can replace the dll in the Dll of my apps and it runs correctly. I recently provided a user DLL to a new customer, but the replacement method does not seem to work. She is quite a IT literate, so I think she is following the email instruction (by changing userdata.dll to your AP directory with attachment) it does not seem to replace DLL. She is using Win8 (Pro). I thought of sending an ino setup to copy the user DL to API DIR, Flags: Unblocked Resource Shared File Can a suggestion or an explanation be made? Later ... I have now sent an inline setup to the updated DLL and it w...

sql server - Query to select records in one table that have a record existing in another table -

मेरे पास दो टेबल हैं: अपॉइंटमेंट्स (ग्राहक आईडी, अपॉइंटमेंटआईडी, सेल्सआरिपआईडी, स्थिति, अपॉइंटमेंट डेट ) परिणाम (ग्राहकआईडी, अपॉइंटमेंट आईडी, परिणामित) मैं नियुक्तियों में अभिलेख ढूंढ रहा हूं जहां: स्थिति का परिणाम है (लंबित के विरोध में, रद्द , खुली, आदि) ग्राहक को पहले (Resultedales में ग्राहकआईडी) को बेचा गया है नियुक्ति का परिणाम बिक्री के रूप में नहीं हुआ था (अपॉइंटमेंटआईडी नतीजे में नहीं) नियुक्ति तब पहली बार हुई जब उपभोक्ता को पहली बार (ग्राहक नियुक्ति के लिए ResultedSales में AppointmentDate & AppointmentDate के सबसे छोटी AppointmentID रिकॉर्ड) बेच दिया गया था नियुक्ति के लिए सौंपे गए विक्रय रप पहले तीन के साथ प्राप्त कर रहे हैं का चयन करें अलग नियुक्तियों से एनटीआईडी ​​ए में शामिल हो गए हैं। A.CustomerID = RS.CustomerID पर आरएसयूटीसआईडी = 'परिणाम' और ए। कस्टमरआईडी में (ग्राहक आईडी से परिणामित सेल चुनें) और A.AppointmentID नहीं है (Resultedales से AppointmentID चुनें) लेकिन मैं समझ नहीं सकता कि # 4 और # 5 कैसे प्राप्त करें कोई भी मदद ...

MVVM, MEF, Silverlight and Service Agent -

मेरे पास वर्तमान में मेरे व्यूमोल्डल में निम्नलिखित कन्स्ट्रक्टर हैं सार्वजनिक कार्टिव्यू मॉडेल (): यह ( नया PayPalCompleted ()) {} सार्वजनिक कार्टव्यू मॉडेल (IPayPalCompleted serviceAgent) {if (! IsDesignTime) {_ServiceAgent = serviceAgent; WireCommands (); }} मैं अपने आवेदन प्रिज्म और एमईएफ modularise करने के लिए कोशिश कर रहा हूँ। मेरे मॉड्यूल ठीक काम करते हैं, लेकिन मुझे अपने एक व्यू मॉडेल्स के साथ परेशानी हो रही है। मेरी समस्या यह है कि मुझे कन्स्ट्रक्टर पर EventAggregator आयात करना पड़ता है, लेकिन मुझे यह समस्या है कि मैं यह कैसे एक paramatless निर्माता और साथ ही एक आयातक निर्माता [आयातक कॉन्स्ट्रस्ट्रक्टर] सार्वजनिक कार्टव्यू मॉडेल ([आयात] IEventAggregator eventAggregator) {if (IsDesignTime) {_ServiceAgent = new PayPalCompleted (); TheEventAggregator = eventAggregator; WireCommands (); }} यानी मैं इस तरह कुछ करना चाहता हूँ सार्वजनिक CartViewModel (): इस (नया PayPalCompleted (), IEventAggregator eventAggregator) {} [ImportingConstructor ] सार्वजनिक कार्टव्यू म...

javascript - In large JS apps where do I put custom methods to libraries and plugins -

I have a very large javascript application, which mostly use ZeeK and Knockout, basically I use my folder structure app in which I have written and all the constants, views, models and views are divided into models. Then I have the seller , which is the code I do not write like jquery, knockout, plugins, etc. The problem is that where I keep the stuff which falls in the middle, I've written some custom binding for the noseout and some functionality of some jquery plugins has increased and they just got me in the root of my app dir What is the best practice or naming convention for sitting? + app - constant - model - view-models - view jquery-plugin-extras.js knockout-binding.js etc + vendor Jquery.min.js knockout.min.js jquery-plugin .min.js + app - system (or core) // There is a core or system related generic-config / single location to store your configuration in, if you have only one, then put it on the root plugins / all plugins or bindings here - constellati...

javascript - JSON object repeated string efficiency -

I have a JSON object that contains approximately 150 entries of the form [key]: [sentence] Where the sentence often contains the same text repeatedly, for example: var test = {"abc": "This is the first sentence that is in this JSON object. . " "Abd": "Red, this is the second sentence that is in this JSON object. "AB": "This is the third sentence that is in this JSON object. Hey! Yellow." "ABF": "White, this is the fourth sentence that is in this JSON object. } You can see the string "Sentence that is in this JSON object." It often repeats whether it will be more efficient to replace it with some anchors and then should I replace an anchor when I get an entry from the object? That is: var test = {"abc": "This is the first # anchor # hello!" "Abd": "This is the second # anchor # Hi!" "AB": "This is the third # anchor # O!" "ABF...