| title | tags | |||
|---|---|---|---|---|
The Best Cloud GPU Providers for Artificial Intelligence & Machine Learning |
|
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
| <script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js' type='text/javascript'> | |
| MathJax.Hub.Config({ | |
| HTML: ["input/TeX","output/HTML-CSS"], | |
| TeX: { extensions: ["AMSmath.js","AMSsymbols.js"], | |
| equationNumbers: { autoNumber: "AMS" } }, | |
| extensions: ["tex2jax.js"], | |
| jax: ["input/TeX","output/HTML-CSS"], | |
| tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ], | |
| displayMath: [ ['$$','$$'], ["\\[","\\]"] ], | |
| processEscapes: 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
| # ----- PROMPT ----- | |
| ## PROMPT | |
| PROMPT=$'[%*] → ' | |
| ## RPROMPT | |
| RPROMPT=$'`branch-status-check` %~' # %~はpwd | |
| setopt prompt_subst #表示毎にPROMPTで設定されている文字列を評価する | |
| # {{{ methods for RPROMPT | |
| # fg[color]表記と$reset_colorを使いたい | |
| # @see https://wiki.archlinux.org/index.php/zsh |
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
| ; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32 | |
| global start | |
| section .text | |
| start: | |
| push dword msg.len | |
| push dword msg | |
| push dword 1 | |
| mov eax, 4 |
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
| FactoryGirl.define do | |
| factory :user do | |
| after(:create) do |user| | |
| FactoryGirl.create_list(:task, 10, user_id: user.id) | |
| end | |
| end | |
| factory :task do | |
| trait :with_user do | |
| user |
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
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
