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
# Final binary | |
BIN = $(shell basename $$(pwd)) | |
ifeq ($(OS),Windows_NT) | |
EXE+=.exe | |
endif | |
# Default to build with multiple instances for speed | |
MAKEFLAGS =+ -j | |
# VERSION = 0.1 |
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
" save all the completions | |
let s:completions = [] | |
function! asyncomni#omnifunc(findstart, base) | |
if a:findstart | |
let l:line_string = getline('.') | |
let l:line = line('.') | |
let l:col = col('.') | |
" locate start of the word | |
let l:start = l:col -1 |
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
package com.example.rx_okhttp; | |
import com.squareup.okhttp.OkHttpClient; | |
import org.apache.http.*; | |
import org.apache.http.entity.InputStreamEntity; | |
import org.apache.http.message.BasicHeader; | |
import org.apache.http.message.BasicHttpResponse; | |
import rx.Observable; | |
import rx.Observer; | |
import rx.Scheduler; |
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
{ | |
"name": "a", | |
"version": "0.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"postinstall": "./node_modules/bower/bin/bower install" | |
}, | |
"author": "", |
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
public class Bootstrapper : DefaultNancyBootstrapper | |
{ | |
protected override void RequestStartup(TinyIoCContainer container, IPipelines pipelines, NancyContext context) | |
{ | |
base.RequestStartup(container, pipelines, context); | |
var react = new ReactEnvironment( | |
new JavaScriptEngineFactory(), | |
new ReactSiteConfiguration(), | |
new NullReactCache(), |
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
#region Hide System.Object inherited methods | |
/// <summary> | |
/// Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>. | |
/// </summary> | |
/// <returns> | |
/// true if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>; otherwise, false. | |
/// </returns> | |
/// <param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:System.Object"/>. </param><filterpriority>2</filterpriority> | |
[EditorBrowsable(EditorBrowsableState.Never)] |
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
package rx.concurrency; | |
import android.os.Handler; | |
import android.os.Looper; | |
import rx.Scheduler; | |
import rx.Subscription; | |
import rx.concurrency.ExecutorScheduler; | |
import rx.util.AtomicObservableSubscription; | |
import rx.util.functions.Func2; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<!-- Stage A: | |
A(enabled) B(enabled,negate) | |
Stage B: | |
A(enabled,negate) B(enabled) |
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
# brew install --HEAD https://gist.github.com/prabirshrestha/5432041/raw/buck.rb | |
require 'formula' | |
class Buck < Formula | |
homepage 'http://facebook.github.io/buck/' | |
head 'https://github.com/facebook/buck.git' | |
def install | |
system "ant" |
This file has been truncated, but you can view the full file.
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
DEBUG --> { method: 'initialize', | |
jsonrpc: '2.0', | |
id: 1, | |
params: | |
{ rootUri: 'file:///D:/tmp/flow-helloworld', | |
capabilities: {}, | |
rootPath: 'file:///D:/tmp/flow-helloworld' } } | |
DEBUG <-- { jsonrpc: '2.0', | |
method: '$/partialResult', | |
params: |