public interface IService
{
Customer GetCustomerById(int id);
Customer[] GetCustomerByIds(int[] id);
Customer GetCustomerByUserName(string userName);
Customer[] GetCustomerByUserNames(string[] userNames);
Customer GetCustomerByEmail(string email);
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
// Asynchronous Client Socket Example | |
// http://msdn.microsoft.com/en-us/library/bew39x2a.aspx | |
using System; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Threading; | |
using System.Text; | |
// State object for receiving data from remote device. |
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 rules = [ | |
[/[aehiouy]/g, ''], | |
[/[йуеёыахоэяиюьъ]/g, ''], | |
[/[с]?тч/g, 'щ'], | |
[/rl/g, 'r'], | |
[/[bfpvw]/g, '1'], | |
[/[бфпв]/g, '1'], | |
[/[cgjkqsxz]/g, '2'], | |
[/[цжкзсг]/g, '2'], | |
[/[dt]/g, '3'], |
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
/* | |
* Copyright (c) 2013 Calvin Rien | |
* | |
* Based on the JSON parser by Patrick van Bergen | |
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html | |
* | |
* Simplified it so that it doesn't throw exceptions | |
* and can be used in Unity iPhone with maximum code stripping. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining |
Base URL: https://www.google.com/speech-api/v1/recognize
It accepts POST
requests with voice file encoded in FLAC format, and query parameters for control.
client
The client's name you're connecting from. For spoofing purposes, let's use chromium
lang
Speech language, for example, ar-QA
for Qatari Arabic, or en-US
for U.S. English
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
[Test] | |
public void Extensible_the_command_line_should_be_yes() | |
{ | |
bool isSuperfly = false; | |
Host host = HostFactory.New(x => | |
{ | |
x.Service<MyService>(); | |
x.AddCommandLineSwitch("superfly", v => isSuperfly = v); |
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
#!/bin/bash | |
# Projects which rely on npm modules which are normally installed using "npm install -g" | |
# can make those dependencies available on OpenShift by including this file in their project source. | |
# Add this content to your project as ".openshift/action_hooks/pre_build_nodejs" | |
# Then, save your npm dependencies locally (without the '-g' flag): | |
# > npm install module_name --save | |
# Finally, add and commit your changes: |
#GoPro HERO4 (A tale of firmware leaks and marketing)
Written by /u/konrad-iturbe (Konrad Iturbe) and with help of /u/OverByThere's leaked firmware.
The GoPro HERO4 Black Adventure edition is 4x times more powerful than ever.
HERO4 cameras:
- HERO4 Black (BANZAI)
#HERO4 Black Wifi hacking, ep 1
URL for streaming: http://10.5.5.9/gp/gpExec?p1=gpTsFeeder&a1=%22%22&c1=restart&p2=gpStream&a2=%22%22&c2=restart
###Android decopilation APK
- AUDIO_INPUT_MODE: http://10.5.5.9/camera/AI
- AUTO_POWER_OFF: http://10.5.5.9/camera/AO
- BACPAC_BATTERY_LEVEL: http://10.5.5.9/bacpac/blx
- BACPAC_CV: http://10.5.5.9/bacpac/cv
OlderNewer