http://guides.rubyonrails.org/layouts_and_rendering.html
- `<%= javascript_include_tag "main" %>``
- `<%= stylesheet_link_tag "main" %>``
<%= image_tag "header.png", alt: "My Image", class: "my-class" %>- `<%= video_tag "video.mp4" %>``
http://guides.rubyonrails.org/layouts_and_rendering.html
<%= image_tag "header.png", alt: "My Image", class: "my-class" %>| #!/bin/bash | |
| # Sync Homebrew installations between Macs via Dropbox | |
| # | |
| BREW="/usr/local/bin/brew" | |
| # first get local settings | |
| echo "Reading local settings ..." | |
| rm -f /tmp/brew-sync.* |
| #!/bin/bash | |
| branch_name=$(git branch | sed -e '/^[^*]/d' -e "s/* \(.*\)/\1/") | |
| echo "Removing old cordova directory" | |
| rm -rf cordova | |
| echo "Creating cordova app to ${branch_name}..." | |
| echo "WARNING: say 'no' to the next prompts" | |
| ember generate cordova-init "my.company.${branch_name}" --platform=android |
| source 'https://rubygems.org' | |
| gem 'data_mapper' | |
| gem 'dm-sqlite-adapter' |
| <%@page import="com.liferay.portal.kernel.dao.search.RowChecker"%> | |
| <%@include file="/html/actions/init.jsp"%> | |
| <% | |
| PortletURL portletURL = renderResponse.createRenderURL(); | |
| String portletURLString = portletURL.toString(); | |
| StudentSearchContainer studentSearchContainer = new StudentSearchContainer(renderRequest, portletURL); | |
| StudentDisplayTerms displayTerms = (StudentDisplayTerms)studentSearchContainer.getDisplayTerms(); | |
| <%@page import="com.liferay.portal.kernel.dao.search.RowChecker"%> | |
| <%@include file="/html/actions/init.jsp"%> | |
| <% | |
| PortletURL portletURL = renderResponse.createRenderURL(); | |
| String portletURLString = portletURL.toString(); | |
| StudentSearchContainer studentSearchContainer = new StudentSearchContainer(renderRequest, portletURL); | |
| StudentDisplayTerms displayTerms = (StudentDisplayTerms)studentSearchContainer.getDisplayTerms(); | |
NOTE (2022-07-09): Xcode finally added this functionality in Xcode 14, please see release notes here:
New Features in Xcode 14 Beta 3
When editing code, the Edit > Duplicate menu item and its corresponding keyboard shortcut now duplicate the selected text — or the line that currently contains the insertion point, if no text is selected. (8614499) (FB5618491)
| .img-retina(@file-1x; @file-2x; @width-1x; @height-1x) { | |
| background-image: url("@{file-1x}"); | |
| @media | |
| only screen and (-webkit-min-device-pixel-ratio: 2), | |
| only screen and ( min--moz-device-pixel-ratio: 2), | |
| only screen and ( -o-min-device-pixel-ratio: 2/1), | |
| only screen and ( min-device-pixel-ratio: 2), | |
| only screen and ( min-resolution: 192dpi), | |
| only screen and ( min-resolution: 2dppx) { |
| --- ----------------- ---- | |
| Map Quick Explanation Link | |
| --- ----------------- ---- | |
| < <F1> Causes Netrw to issue help | |
| <cr> Netrw will enter the directory or read the file |netrw-cr| | |
| <del> Netrw will attempt to remove the file/directory |netrw-del| | |
| <c-h> Edit file hiding list |netrw-ctrl-h| | |
| <c-l> Causes Netrw to refresh the directory listing |netrw-ctrl-l| | |
| <c-r> Browse using a gvim server |netrw-ctrl-r| | |
| <c-tab> Shrink/expand a netrw/explore window |netrw-c-tab| |
If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:
Install Docker for Mac if you have not already.