- Daily Droid feat. Rx and AppCompat #1
- Daily Droid feat. Rx and AppCompat #2
- Daily Droid feat. Rx and AppCompat #3
- Daily Droid feat. Rx and AppCompat #4
- Daily Droid feat. Rx and AppCompat #5
- Daily Droid feat. Rx and AppCompat #6
- Daily Droid feat. Rx and AppCompat #7
- Daily Droid feat. Rx and AppCompat #8
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
| /*! | |
| * jQuery throttle / debounce - v1.1 - 3/7/2010 | |
| * http://benalman.com/projects/jquery-throttle-debounce-plugin/ | |
| * | |
| * Copyright (c) 2010 "Cowboy" Ben Alman | |
| * Dual licensed under the MIT and GPL licenses. | |
| * http://benalman.com/about/license/ | |
| */ | |
| // Script: jQuery throttle / debounce: Sometimes, less is more! |
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
| source 'https://rubygems.org' | |
| gem 'rambling-trie' | |
| ### end gemfile | |
| require 'rubygems' | |
| require 'bundler/setup' | |
| require 'rambling-trie' | |
| require 'optparse' |
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
| <!-- Add to homescreen for Chrome on Android --> | |
| <meta name="mobile-web-app-capable" content="yes"> | |
| <link rel="icon" sizes="192x192" href="<!-- a touch icon -->"> | |
| <meta name="theme-color" content="<!-- status bar color -->"> | |
| <!-- Add to homescreen for Safari on iOS --> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="<!-- status bar color -->"> | |
| <meta name="apple-mobile-web-app-title" content="<!-- application name short -->"> |
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
| class EmptyMyModel < Delegator | |
| def initialize | |
| super @_delegated_object = MyModel.new( | |
| #mydefaultparamters, | |
| id: 0 | |
| ) | |
| end | |
| def __getobj__ |
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
| module Namespace | |
| module API | |
| extend ActiveSupport::Concern | |
| included do | |
| format :xml | |
| prefix :api | |
| formatter :xml, xml_formatter | |
| rescue_from :all do |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
| class MyBaseEntity < Grape::Entity | |
| include GrapeRouteHelpers::NamedRouteMatcher | |
| end |
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
| class XmlEntity < Grape::Entity | |
| protected | |
| def self.key_for( attribute ) | |
| ( exposures[ attribute.to_sym ][ :as ] || name_for( attribute ) ).to_s.camelize | |
| end | |
| end |
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
| File propFile = file('signing.properties'); | |
| if (propFile.exists()) { | |
| def Properties props = new Properties() | |
| props.load(new FileInputStream(propFile)) | |
| if (props.containsKey('STORE_FILE') && | |
| props.containsKey('STORE_PASSWORD') && | |
| props.containsKey('KEY_ALIAS') && | |
| props.containsKey('KEY_PASSWORD')) { |