Models | Examples |
---|---|
Display ads | Yahoo! |
Search ads |
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
+------+---------------------+---------------------+-----------+--------------+-------------------------------------------------+----------------------------------+ | |
| id | starts_at | ends_at | companion | mechanic | challenge_url | challenge_md5sum | | |
+------+---------------------+---------------------+-----------+--------------+-------------------------------------------------+----------------------------------+ | |
| 626 | 2016-12-01 19:37:46 | 2016-12-01 19:45:46 | Penguin | ClassicDot | http://www.mocky.io/v2/582f76692600009a1c65f138 | 0aecb2adf620e90adaa29b7d7b26cbe2 | | |
| 627 | 2016-12-01 19:47:46 | 2016-12-01 19:55:46 | Emilio | ClassicDot | http://www.mocky.io/v2/582f76692600009a1c65f138 | 0aecb2adf620e90adaa29b7d7b26cbe2 | | |
| 628 | 2016-12-01 19:57:46 | 2016-12-01 20:05:46 | Captain | ClassicDot | http://www.mocky.io/v2/582f76692600009a1c65f138 | 0aecb2adf620e90adaa29b7d7b26cbe2 | | |
| 629 | 2016-12-01 20:07:46 | 201 |
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
{ | |
"challenge": { | |
"id": null, | |
"startsAt": "2016-12-01T14:00:00", | |
"endsAt": "2016-12-07T14:00:00", | |
"companion": "Captain", | |
"mechanic": "ClassicDot", | |
"challenge_url": "", | |
"challenge_md5sum": "", | |
"s3_bucket": "", |
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
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
set t_Co=256 | |
colorscheme Tomorrow-Night | |
set runtimepath^=~/.vim/bundle/ctrlp.vim | |
set number |
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 Localization | |
extend ActiveSupport::Concern | |
included do | |
# Returns an array of locales in order of preference, so that | |
# we know how to fall back gracefully if the requested locale is | |
# the requested data does not exist for the requested locale. | |
# Example: [pt-pt, pt, en] | |
# | |
def self.get_locale_list(locale) |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
# This is a skeleton for testing models including examples of validations, callbacks, | |
# scopes, instance & class methods, associations, and more. | |
# Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
# | |
# I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
# so if you have any, please share! | |
# | |
# @kyletcarlson | |
# | |
# This skeleton also assumes you're using the following gems: |