start new:
tmux
start new with session name:
tmux new -s myname
src: ddlProductCategory |eventtype: focusin |key: undefined |which: undefined | |
src: ddlProductCategory |eventtype: keypress |key: 40 |which: 0 | |
src: ddlProductCategory |eventtype: change |key: undefined |which: undefined | |
CHANGE | |
src: ddlProductCategory |eventtype: keyup |key: 40 |which: 40 | |
trigger change event from: keyup | |
src: ddlProductCategory |eventtype: change |key: undefined |which: undefined | |
CHANGE |
src: ddlProductCategory |eventtype: focusin |key: undefined |which: undefined | |
src: ddlProductCategory |eventtype: keypress |key: 40 |which: 0 | |
src: ddlProductCategory |eventtype: change |key: undefined |which: undefined | |
CHANGE | |
src: ddlProductCategory |eventtype: keyup |key: 40 |which: 40 | |
trigger change event from: keyup | |
src: ddlProductCategory |eventtype: change |key: undefined |which: undefined | |
CHANGE |
<activity android:name=".activity.IntroductionActivity" /> |
# Generated by TortoiseHg settings dialog | |
[diff] | |
git = True | |
[extensions] | |
mercurial_keyring = | |
[ui] | |
merge = sourcegeardiffmerge |
private static Encoding DetectEncoding(byte[] inputBytes, int offset, int len) | |
{ | |
var detector = new CharsetDetector(); | |
detector.Feed(inputBytes, offset, len); | |
detector.DataEnd(); | |
string result = detector.Charset; | |
Encoding encoding = Encoding.UTF8; | |
if (!string.IsNullOrEmpty(result) && detector.Confidence <= (double) DetectionConfidence.SureAnswer) | |
{ |
public static class Extensions | |
{ | |
/// <summary> | |
/// Try to get a non null instance of TOutput from TInput via a outputCreator func | |
/// </summary> | |
/// <typeparam name="TInput"></typeparam> | |
/// <typeparam name="TOutput">Type of the output param, need to have a default non-param constructor</typeparam> | |
/// <param name="input"></param> | |
/// <param name="outputCreator"></param> | |
/// <returns></returns> |
public static IObservable<TRet> ContinueAfter<T, TRet>(this IObservable<T> observable, Func<IObservable<TRet>> selector) | |
{ | |
return observable | |
.Materialize() | |
.Where(n => n.Kind == NotificationKind.OnCompleted) | |
.SelectMany(_ => selector()); | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |