This file contains hidden or 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
| P U S H B U L L E T I S C O O L |
This file contains hidden or 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
| diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm | |
| index 9066e2f..1cc22da 100644 | |
| --- a/content/browser/renderer_host/render_widget_host_view_mac.mm | |
| +++ b/content/browser/renderer_host/render_widget_host_view_mac.mm | |
| @@ -97,6 +97,10 @@ using blink::WebMouseEvent; | |
| using blink::WebMouseWheelEvent; | |
| using blink::WebGestureEvent; | |
| +namespace content { | |
| + extern bool g_support_transparency; |
This file contains hidden or 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/sh | |
| #/ Usage: clean-merged-branches [-f] | |
| #/ Delete merged branches from the origin remote. | |
| #/ | |
| #/ Options: | |
| #/ -f Really delete the branches. Without this branches are shown | |
| #/ but nothing is deleted. | |
| set -e |
This file contains hidden or 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
| using System; | |
| using Xamarin.Forms; | |
| using Splat; | |
| using ReactiveUI; | |
| using System.Reactive.Linq; | |
| using System.Reactive.Threading.Tasks; | |
| using System.Diagnostics; | |
| namespace ReactiveUI.XamForms | |
| { |
This file contains hidden or 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
| _.extend(HTMLElement.prototype, { | |
| animateObservable: function(effect, timing) { | |
| element = this | |
| return Rx.Observable.create(function(subj) { | |
| var player = element.animate(effect, timing) | |
| player.onfinish = function() { | |
| subj.onNext(true) | |
| subj.onCompleted() |
This file contains hidden or 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 async IObservable<int> takeStream(IObservable<int> enum, int count) | |
| { | |
| int i = 0; | |
| return Observable.Create<int>(subj => | |
| { | |
| foreach (int x in enum) | |
| { | |
| Task<int> task = somethingAsync(x); | |
| int y = await task; |
This file contains hidden or 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
| fs = require 'fs' | |
| path = require 'path' | |
| rx = require 'rx' | |
| module.exports = (grunt) -> | |
| {cp, mkdir, rm, spawn} = require('./task-helpers')(grunt) | |
| spawnObservable = (options={}) -> | |
| rx.Observable.create (subj) -> | |
| grunt.verbose.ok "Running: #{options.cmd} #{options.args.join ' '}" |
This file contains hidden or 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
| # Auto detect text files and perform LF normalization | |
| * text=auto | |
| # Custom for Visual Studio | |
| *.cs diff=csharp |
This file contains hidden or 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
| fs = require 'fs' | |
| remote = require 'remote' | |
| require 'fs-plus' | |
| Notify = require 'fs.notify' | |
| rx = require 'rx' | |
| module.exports = | |
| class LiveReload | |
| constructor: (dirs...) -> |
This file contains hidden or 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
| path = require 'path' | |
| module.exports = (grunt) -> | |
| spawn = (options, callback) -> | |
| childProcess = require 'child_process' | |
| stdout = [] | |
| stderr = [] | |
| error = null | |
| proc = childProcess.spawn options.cmd, options.args, options.opts | |
| proc.stdout.on 'data', (data) -> stdout.push data.toString() |