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
# Override for Opsworks as a result of bug causing postgres8 install to fail. | |
# Should be placed in the following path from the custom cookbook repository root: | |
# /opsworks_postgresql/recipes/client_install.rb | |
# | |
# Don't forget your standard metadata file in /opsworks_postgresql/metadata.rb | |
# | |
# For issue https://github.com/aws/opsworks-cookbooks/issues/347 | |
package "postgresql-devel" do | |
package_name value_for_platform( |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using UnitsExample; | |
namespace Program | |
{ | |
class Program |
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
Ingredients | |
- Chicken Prep | |
- 0.8 kg chicken breast | |
- 4 tbsp. cajun seasoning | |
- 3 tbsp. coconut oil | |
- Sauce | |
- 2 tbsp. cajun seasoning | |
- 2 tsp. tapioca starch | |
- 1 can coconut milk |
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
// Tested with Xamarin.UITest V1.3.7; | |
using System; | |
using Xamarin.UITest; | |
namespace {APPNAMEHERE}.UITests | |
{ | |
/// <summary> | |
/// This extension class extends the <see cref="IApp"/> interface to add extension methods for selecting values from the default Date/Time pickers in iOS and Android. | |
/// </summary> | |
public static class AppPickerExtensions |
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
using System; | |
using {AppName}.iOS.Renderers; | |
using UIKit; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.iOS; | |
using {AppName}.iOS.Views; | |
[assembly: ExportRenderer(typeof(TabbedPage), typeof(ExtendedTabbedPageRenderer))] | |
namespace {AppName}.iOS.Renderers | |
{ |
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
# This OverrideDriver class is used to override the +open_timeout+ property Selenium's default HTTP driver. | |
# This is necessary to support debugging in Rubymine because when the process is stopped on the breakpoint, | |
# any new threads are not scheduled. | |
# This is an issue in Ruby 2.3+ because the Net::HTTP#initialize method now defaults the open_timeout property | |
# to 60 (seconds), as opposed to 0 previously. A non-zero/nil value executes the connection in a new thread | |
# (see +Net::HTTP#connect+). | |
# === Change Notes | |
# | |
# * Setting timeout directly does not work, the read_timeout period needs to remain at its current setting. | |
# A setting of 0 prevented pages from opening successfully. |
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
declare namespace parsley { | |
type RequirementValues = 'string' | 'integer' | 'number' | 'regexp' | 'boolean'; | |
/** | |
* A ValidatorReturn should be one of the following: | |
* | |
* - True - is valid. | |
* - False - is not valid. | |
* - Error string or any other value - is not valid. | |
* - JQueryPromise returning one of the above. |
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
namespace Twilio { | |
Device = { | |
setup: function () { }, | |
ready: function () { }, | |
offline: function () { }, | |
incoming: function () { }, | |
connect: function (params): Twilio.Connection { return null }, | |
error: function () { } | |
} | |
} |
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
Ingredients | |
* Crust | |
* 1 1/4 cups graham cracker crumbs | |
* 1/4 cup white sugar | |
* 1 teaspoon ground cinnamon | |
* 1/3 cup butter, melted | |
* Sauce | |
* 20 oz packages pitted dark sweet cherries. | |
* 3 tbsp cornstarch | |
* 2 cup sugar. |
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
module ActionView | |
class Digestor | |
class << self | |
def tree(name, finder, partial = false, seen = {}) | |
logical_name = name.gsub(%r|/_|, "/") | |
options = {} | |
options[:formats] = [finder.rendered_format] if finder.rendered_format | |
options[:format].push(:html, :json) if finder.rendered_format == :js |
OlderNewer