Skip to content

Instantly share code, notes, and snippets.

View hellboy81's full-sized avatar
🌴
On vacation

hellboy81

🌴
On vacation
  • FondsDepot Bank
  • Germany
View GitHub Profile
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)
},
// 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.
@hellboy81
hellboy81 / IWLANAdapter.cs
Created December 11, 2012 10:18
Try to load module and access service
namespace DeviceControlContacts
{
public interface IWLANAdapter
{
bool getSignalQuality();
}
}
/*Windows '98 source code.*/
/*
TOP SECRET Microsoft(c) Code
Project: Chicago(tm)
Projected release-date: Summer 1998
*/
#include "win31.h"
#include "win95.h"
@hellboy81
hellboy81 / gist:1242014
Created September 26, 2011 11:00
Пример парсинга телефонных номеров
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"]) {