This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var m_secondStep = function m_secondStep(firstStepResult, myFuncParam1) { | |
// Both firstStepResult and myFuncParam1 are available | |
... | |
} | |
mod.myFunc = function (myFuncParam1, ...) { | |
async.waterfall([ | |
function firstStep() { | |
cb(null, firstStepResult) | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pre-conditions: fileName: \\Program Files\\MyAppName\\myapp_log.txt | |
// This File name | |
// Debuggging in Visual Studio 2008 with ActiveSync | |
// Log file myapp_log.txt is opened on PC with Windows Explorer | |
// Windows 7 machine | |
// An error message is available for this exception but cannot be displayed because these messages | |
// are optional and are not currently installed on this device. | |
// Please install ‘NETCFv35.Messages.EN.wm.cab’ for Windows Mobile 5.0 and above or | |
// ‘NETCFv35.Messages.EN.cab’ for other platforms. Restart the application to see the message. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace DeviceControlContacts | |
{ | |
public interface IWLANAdapter | |
{ | |
bool getSignalQuality(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Windows '98 source code.*/ | |
/* | |
TOP SECRET Microsoft(c) Code | |
Project: Chicago(tm) | |
Projected release-date: Summer 1998 | |
*/ | |
#include "win31.h" | |
#include "win95.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.i18n.phonenumbers.* | |
import com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency | |
def phone_str = 'мой телефон - 4 95/9 87- 8 90-7' | |
phone_str += 'сотовый: 8/9031605612, я сейчас в командировке' | |
phone_str += '- Мой номер в Сан-Франциско 1(415)-42 577-58' | |
def phoneUtil = PhoneNumberUtil.getInstance() | |
for (cc in ["RU", "US"]) { |