- install.sh
- docker.sh
- rails.sh
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
| ZSH=$HOME/.oh-my-zsh | |
| ZSH_THEME="robbyrussell" | |
| plugins=(git gitfast last-working-dir common-aliases zsh-syntax-highlighting history-substring-search) | |
| # Disable warning about insecure completion-dependent directories | |
| ZSH_DISABLE_COMPFIX=true | |
| # Actually load Oh-My-Zsh | |
| source "${ZSH}/oh-my-zsh.sh" | |
| unalias rm # No interactive rm by default (brought by plugins/common-aliases) |
/ your_view.html.slim
div#something data-api-key=(ENV['API_KEY'])// your_file.js
const apiKey = document.getElementById('something').dataset.apiKey
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
| const select = document.querySelector('select'); | |
| const valueFromSelectedOption = select.options[select.selectedIndex].value; | |
| console.log(valueFromSelectedOption); // => "2" |
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
| .max-w-sm.rounded.overflow-hidden.shadow-lg | |
| = image_tag image_url, class:"w-full" | |
| .px-6.py-4 | |
| .font-bold.text-xl.mb-2 = title | |
| p.text-gray-700.text-base = content | |
| .px-6.py-4 | |
| - tags.each do |tag| | |
| span.inline-block.bg-gray-200.rounded-full.px-3.py-1.text-sm.font-semibold.text-gray-700.mr-2 | |
| = tag |
NewerOlder
