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
{ | |
"Afghanistan": "en.af#[email protected]", | |
"Albania": "en.al#[email protected]", | |
"Algeria": "en.dz#[email protected]", | |
"American Samoa": "en.as#[email protected]", | |
"Andorra": "en.ad#[email protected]", | |
"Angola": "en.ao#[email protected]", | |
"Anguilla": "en.ai#[email protected]", | |
"Antigua and Barbuda": "en.ag#[email protected]", | |
"Argentina": "en.ar#[email protected]", |
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
# db/schema.rb | |
create_table "webhooks", force: :cascade do |t| | |
t.integer "webhook_type", null: false | |
t.string "event_type", null: false | |
t.string "resource_type", null: false | |
t.jsonb "event_data", default: {}, null: false | |
t.boolean "processed", default: false, null: false | |
t.datetime "created_at", precision: 6, null: false | |
t.datetime "updated_at", precision: 6, null: false | |
end |
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
<!-- Uses group-hover for demo but could be toggled with an .active class, :group-active, or inline using your favorite js flavor --> | |
<button class="group text-white w-10 h-10 relative focus:outline-none bg-blue-500 rounded-md"> | |
<div class="block w-7 absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"> | |
<hr aria-hidden="true" class="block absolute h-0.5 w-7 bg-current transform transition duration-500 ease-in-out -translate-y-2 group-hover:rotate-45 group-hover:-translate-y-0"> | |
<hr aria-hidden="true" class="block absolute h-0.5 w-7 bg-current transform transition duration-500 ease-in-out group-hover:opacity-0"> | |
<hr aria-hidden="true" class="block absolute h-0.5 w-7 bg-current transform transition duration-500 ease-in-out translate-y-2 group-hover:-rotate-45 group-hover:-translate-y-0"> | |
</div> | |
</button> |
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
<!-- Demo https://codepen.io/moladukes/pen/jZKRrJ --> | |
<ul> | |
<li><a href="#" class="accordian-toggle">Toggle</a> | |
<li class="accordian-description">Description</li> | |
<li><a href="#" class="accordian-toggle">Toggle</a> | |
<li class="accordian-description">Description</li> | |
<li><a href="#" class="accordian-toggle">Toggle</a> | |
<li class="accordian-description">Description</li> | |
</ul> |
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
.sexy-box-shadow { | |
box-shadow: 0 50px 100px rgba(50,50,93,.1), 0 15px 35px rgba(50,50,93,.15), 0 5px 15px rgba(0,0,0,.1); | |
} |
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
$gutter-width: 1rem; | |
$outer-margin: 2rem; | |
$gutter-compensation: -0.5rem; | |
$half-gutter-width: 0.5rem; | |
.row { | |
display: inline-block; | |
display: -ms-flexbox; | |
display: -webkit-flex; |
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
<!-- CSS --> | |
<style> | |
.tab-content { | |
display: none; | |
} | |
.tab-content.active { | |
display: block; | |
} | |
</style> | |
<!-- JS // Requires Jquery --> |
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
<script src="http://www.youtube.com/player_api"></script> | |
<div id="player"></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
.video { | |
position: fixed; | |
right: 0; | |
bottom: 0; | |
min-width: 100%; | |
min-height: 100%; | |
width: auto; | |
height: auto; | |
z-index: -100; | |
transition: 1s opacity; |
NewerOlder