References:
From man page: man apt_preferences
References:
From man page: man apt_preferences
| package com.example.retrofit.loader; | |
| import retrofit.Response; | |
| /** | |
| * A wrapper around the Retrofit {@link Response} that will | |
| * throw any loading errors upon retrieval. | |
| * | |
| * @param <T> The data type that was loaded. | |
| */ |
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
# Namespace for classes and modules that handle serving documentation over HTTP
# @since 0.6.0
| # Config for GNU GRand Unified Bootloader (GRUB) (2) | |
| # /boot/grub2/grub.cfg | |
| # or | |
| # /boot/grub/grub.cfg | |
| # Mostly only 'legacy' CSM/BIOS boot methods currently. | |
| # Unable to boot loop entries with Secure Boot | |
| # Notes: | |
| # Description: | |
| # This grub.cfg file was created by Lance http://www.pendrivelinux.com |
| ActiveSupport::Concern.module_eval do | |
| WARNINGS = [ | |
| "Are you sure you want to this?", | |
| "Come on, now, really?", | |
| "Time to refactor?", | |
| "Read http://blog.coreyhaines.com/2012/12/why-i-dont-use-activesupportconcern.html ?", | |
| "Please don't do this without a good reason.", | |
| "No, chunking your mega-class is not a good reason.", | |
| "What objects are you trying to hide?", |
| # Quick summary of the function | |
| # | |
| # {ObjectName#method Optional Title} | |
| # {Class::CONSTANT Optional Title} | |
| # {#method_inside_current_namespace} | |
| # | |
| # @see #method | |
| # | |
| # @param one [Fixnum] First parameter | |
| # @param two [Fixnum] Second parameter |
| You can use these settings on your RubyMine [http://rubymine.org]. Here are some RubyMine Live Templates. |
| module Mongoid | |
| module Unvalidate | |
| extend ActiveSupport::Concern | |
| module ClassMethods | |
| # Removes specified validations from existing models for a given field | |
| # | |
| # @param [Symbol] field the field to remove validations from | |
| # @param [Array<Symbol> | Symbol] validations validations to remove from field |
| module JSHelpers | |
| module JQueryUI | |
| # type inside an autocomplete field and pick a value. | |
| # | |
| # @param [String] field selector of the autocomplete field | |
| # @param [Hash] options details about what to search and what to select | |
| # @param options [String] :with the text to type in the autocomplete field | |
| # @param options [String] :select the text value of the autocomplete resuilt you | |
| # want to pick. If this option is not present, the first result will be picked. |