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
| <!DOCTYPE html> | |
| <html> | |
| <!-- | |
| Created using jsbin.com | |
| Source can be edited via http://jsbin.com/dusuhoju/3/edit | |
| --> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <title>Yet Another DataTables Column Filter (Yadcf) Showcase</title> |
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
| Block Load (0.5ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."project_id" = 33 ORDER BY name | |
| Unit Load (5.8ms) SELECT "units".* FROM "units" WHERE "units"."project_id" = 33 ORDER BY id | |
| PriceList Load (0.8ms) SELECT "price_lists".* FROM "price_lists" WHERE "price_lists"."project_id" = 33 AND (price_list_status = 'approved') ORDER BY created_at DESC LIMIT 1 | |
| UnitPrice Load (1.6ms) SELECT "unit_prices".* FROM "unit_prices" WHERE "unit_prices"."price_list_id" = 145 | |
| Rendered price_lists/new.html.haml within layouts/application (1417.6ms) |
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
| // | |
| // ViewController.swift | |
| // | |
| // Created by Angelito Rojas on 25/10/14. | |
| // Copyright (c) 2014 Angelito Rojas. All rights reserved. | |
| // | |
| import UIKit |
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
| // | |
| // ViewController.swift | |
| // spiner-alert | |
| // | |
| // Created by Angelito Rojas on 25/10/14. | |
| // Copyright (c) 2014 Angelito Rojas. All rights reserved. | |
| // | |
| import UIKit |
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
| // | |
| // ViewController.swift | |
| // spiner-alert | |
| // | |
| // Created by Angelito Rojas on 25/10/14. | |
| // Copyright (c) 2014 Angelito Rojas. All rights reserved. | |
| // | |
| import UIKit |
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
| import UIKit | |
| class ViewController: UIViewController { | |
| override func touchesBegan(touches: NSSet, withEvent event: UIEvent) { | |
| self.view.endEditing(true) | |
| } | |
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
| import UIKit | |
| class ViewController: UIViewController, UITextFieldDelegate { | |
| @IBOutlet var password: UITextField! //create a delegate in storyboard with viewcontroller and textfield | |
| func textFieldShouldReturn(textField: UITextField) -> Bool { | |
| password.resignFirstResponder() | |
| return true | |
| } |
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 SumarDigitos | |
| def sumar_numbers(number) | |
| sum = 0 | |
| number.to_s.each_char do |n| | |
| sum = sum + (n.to_i) | |
| end | |
| sum | |
| 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
| require 'rails_helper' | |
| RSpec.describe 'creating_seller_profile', type: :feature do | |
| context 'create a new seller profile', js: true do | |
| let!(:seller) { create(:seller) } | |
| before do | |
| log_in_as_seller(seller) | |
| end | |
| it 'should create a seller profile' do | |
| visit new_seller_seller_profile_path(seller) |
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
| a { | |
| colour: brand-colour(blue); | |
| &:hover { | |
| colour: brand-colour(blue, dark); | |
| } | |
| } |