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
[ | |
{ | |
"city": "New York", | |
"description": "Cozy apartment in the heart of the city", | |
"headline": "Modern apartment with stunning views", | |
"name": "City View Apartment", | |
"room": "living room" | |
}, | |
{ | |
"city": "Los Angeles", |
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
defmodule Mix.Tasks.ConvertToVerifiedRoutes do | |
@shortdoc "Fix routes" | |
use Mix.Task | |
@regex ~r/(Routes\.)(.*)_(path|url)\(.*?\)/ | |
@web_module MyAppWeb | |
def run(_) do | |
Path.wildcard("lib/**/*.*ex") |
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
<.dropdown> | |
<:toggle> | |
<svg class="flex-shrink-0 w-6 h-6" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> | |
<path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd" /> | |
</svg> | |
</:toggle> | |
<ul class="border shadow-xl menu bg-base-100 border-base-200 rounded-box w-52"> | |
<li> | |
<%= live_redirect "Settings", to: Routes.admin_setting_edit_path(@conn, :edit) %> | |
</li> |
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
<div class="relative"> | |
<button class="inline-block font-normal text-center px-3 py-2 leading-normal text-base rounded cursor-pointer text-white bg-gray-600 hover:bg-gray-700 dropdown-toggle" type="button" data-toggle="dropdown"> | |
Dropdown button | |
</button> | |
<div class="dropdown-menu hidden z-20 float-left py-2 mt-1 text-base text-gray-900 list-none text-left border border-gray-300 bg-white rounded shadow"> | |
<a class="block w-full py-1 px-6 font-normal text-gray-900 bg-transparent border-0 hover:text-gray-900 hover:bg-gray-100" href="#">Action</a> | |
<a class="block w-full py-1 px-6 font-normal text-gray-900 bg-transparent border-0 hover:text-gray-900 hover:bg-gray-100" href="#">Another action</a> | |
<a class="block w-full py-1 px-6 font-normal text-gray-900 bg-transparent border-0 hover:text-gray-900 hover:bg-gray-100" href="#">Something else here</a> | |
</div> | |
</div> |
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
<!-- Button trigger modal --> | |
<button type="button" class="inline-block font-normal text-center px-3 py-2 leading-normal text-base rounded cursor-pointer text-white bg-blue-600" data-toggle="modal" data-target="#exampleModalTwo"> | |
Launch modal two | |
</button> | |
<!-- Modal --> | |
<div class="modal hidden fixed top-0 left-0 w-full h-full outline-none fade" id="exampleModalTwo" tabindex="-1" role="dialog"> | |
<div class="modal-dialog relative w-auto pointer-events-none max-w-lg my-8 mx-auto px-4 sm:px-0" role="document"> | |
<div class="relative flex flex-col w-full pointer-events-auto bg-white border border-gray-300 rounded-lg"> | |
<div class="flex items-start justify-between p-4 border-b border-gray-300 rounded-t"> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<browserconfig> | |
<msapplication> | |
<tile> | |
<square150x150logo src="/images/mstile-150x150.png"/> | |
<TileColor>#0068ac</TileColor> | |
</tile> | |
</msapplication> | |
</browserconfig> |
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
User | |
|> where([u], not ^device_id in u.match_history) | |
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
remote: Installing thin 1.6.4 with native extensions | |
remote: Bundle complete! 25 Gemfile dependencies, 96 gems now installed. | |
remote: Gems in the groups development and test were not installed. | |
remote: Bundled gems are installed into ./vendor/bundle. | |
remote: Post-install message from rdoc: | |
remote: Depending on your version of ruby, you may need to install ruby rdoc/ri data: | |
remote: <= 1.8.6 : unsupported | |
remote: = 1.8.7 : gem install rdoc-data; rdoc-data --install | |
remote: = 1.9.1 : gem install rdoc-data; rdoc-data --install | |
remote: >= 1.9.2 : nothing to do! Yay! |
NewerOlder