marp | theme |
---|---|
true |
uncover |
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
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+cmd+numpad1", | |
"command": "workbench.action.terminal.sendSequence", | |
"description": "run rspec in current file", | |
"args": { | |
"text": "rt ${relativeFile}\u000D" | |
} | |
}, |
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
code --install-extension adamwalzer.string-converter | |
code --install-extension akamud.vscode-theme-onelight | |
code --install-extension aliariff.vscode-erb-beautify | |
code --install-extension allergan-bt.auto-collapse-blocks | |
code --install-extension bradlc.vscode-tailwindcss | |
code --install-extension christian-kohler.path-intellisense | |
code --install-extension Cjay.ruby-and-rails-snippets | |
code --install-extension CoenraadS.bracket-pair-colorizer-2 | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension dracula-theme.theme-dracula |
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 'roo' | |
require 'csv' | |
full_path = ->(f) { File.join('data', f) } | |
remove_options = %w[(TEST PRACTICE) (Form) (Responses) .xlsx] | |
format_form_name = ->(form) do | |
form.gsub(Regexp.union(remove_options), '') | |
end | |
paths = Dir.entries('data').select { |f| File.file? full_path.call(f) } |
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
PHONE_WORDS = [ | |
%w[A B C], | |
%w[D E F], | |
%w[G H I], | |
%w[J K L], | |
%w[M N O], | |
%w[P Q R S], | |
%w[T U V], | |
%w[W X Y Z], |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
source /usr/local/opt/chruby/share/chruby/chruby.sh | |
source /usr/local/opt/chruby/share/chruby/auto.sh | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/condef5/.oh-my-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
code --install-extension AbhijoyBasak.nestjs-files | |
code --install-extension adamwalzer.string-converter | |
code --install-extension akamud.vscode-theme-onelight | |
code --install-extension allergan-bt.auto-collapse-blocks | |
code --install-extension beastdestroyer.firefox-quantum-themes | |
code --install-extension bradlc.vscode-tailwindcss | |
code --install-extension castwide.solargraph | |
code --install-extension christian-kohler.path-intellisense | |
code --install-extension Cjay.ruby-and-rails-snippets | |
code --install-extension clinyong.vscode-css-modules |
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
# Temary | |
# ------------------------ | |
# Explain about how works: | |
# > class method self ✅ | |
# > method_missing ✅ | |
# > blocks as parameter ✅ | |
# > instance_eval ✅ | |
# What are we going to build? |
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 'socket' | |
module MyServer | |
@@routes = { | |
"/" => "Hello World!\n" | |
} | |
def response(socket, content) | |
socket.print "HTTP/1.1 200 OK\r\n" + | |
"Content-Type: text/plain\r\n" + |
NewerOlder