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
require 'rspec' | |
# Returns a new array with the rotated positions | |
# when the count is major to one I'm going to call the divmod method | |
# | |
# Finally the result has summed the elements with different positions based on divmod method. | |
# | |
# | |
# @param ary [Array<Integer>] | |
# @param count [Integer] |
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
return ( | |
<Form form={form} name="horizontal_login" layout="inline" onFinish={onFinish}> | |
<Form.Item | |
name="username" | |
rules={[{ required: true, message: 'Please input your username!' }]} | |
> | |
<Input prefix={<UserOutlined className="site-form-item-icon" />} placeholder="Username" /> | |
</Form.Item> | |
<Form.Item | |
name="password" |
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
<Table dataSource={data}> | |
<ColumnGroup title="Name"> | |
<Column title="First Name" dataIndex="firstName" key="firstName" /> | |
<Column title="Last Name" dataIndex="lastName" key="lastName" /> | |
</ColumnGroup> | |
<Column title="Age" dataIndex="age" key="age" /> | |
<Column title="Address" dataIndex="address" key="address" /> | |
<Column | |
title="Tags" | |
dataIndex="tags" |
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
Top level ::CompositeIO is deprecated, require 'multipart/post' and use `Multipart::Post::CompositeReadIO` instead! | |
Top level ::Parts is deprecated, require 'multipart/post' and use `Multipart::Post::Parts` instead! | |
/Users/alexismansilla/.asdf/installs/ruby/2.6.8/lib/ruby/gems/2.6.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart/file_part.rb:54: warning: constant ::UploadIO is deprecated | |
/Users/alexismansilla/.asdf/installs/ruby/2.6.8/lib/ruby/gems/2.6.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart/file_part.rb:56: warning: constant ::Parts is deprecated | |
/Users/alexismansilla/.asdf/installs/ruby/2.6.8/lib/ruby/gems/2.6.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart.rb:19: warning: constant ::UploadIO is deprecated | |
/Users/alexismansilla/.asdf/installs/ruby/2.6.8/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require': dlopen(/Users/alexismansilla/.asdf/installs/ruby/2.6.8/lib/ruby/gems/2.6.0/gems/pg-1.2.3/lib/pg_ext.bundle, 0x0009): Librar |