Skip to content

Instantly share code, notes, and snippets.

summary: Remove unused EC2 key pairs
workflow-loop:
- set: prod
parameters:
- aws-connection: aws-prod-cac
awsRegion: ca-central-1
- aws-connection: aws-prod-euc
awsRegion: eu-central-1
- aws-connection: aws-prod-euw1
// Initialize the world
var world = anima.js();
// Define items to animate
// Signs
var perf = world.add(document.querySelector(".performance-sign .sign"));
var perflight = world.add(document.querySelector(".performance-sign img.sign-on"));
var costs = world.add(document.querySelector(".costs-sign .sign"));
.player
button.play data-toggle="off" play
button.repeat data-toggle="on" repeat
.timeline
.load_progress
.play_progress
.playhead
.date
span.start
i.icon.icon-16.calendar
SLIM
section.content
#hero
.col1
.ad.dark
== markdown I18n.t(:welcome_ad)
img.bg src="/images/homepage/bg_ad-big-charts.png"
EN.YML
require "redcarpet"
Object.send(:remove_const, :RedcarpetCompat) if defined? ::RedcarpetCompat
set :markdown_engine, :redcarpet
set :redcarpet, :autolink => true, :no_intra_emphasis => true, :fenced_code_blocks => true, :strikethrough => true, :smartypants => true
<div class="tbl-box" id="subscribers-data">
<div class="tbl-header">
<div class="inner">
<table>
<tbody>
<tr>
<td rel="Name" class="sorter"> Subscriber </td>
<td rel="DateStarted" class="shortCol sorter"> Started</td>
<td rel="NextRenewal" class="shortCol sorter"> Renewal</td>
<td rel="SubscriptionPrice" class="shortCol sorter"> Price </td>
<script type="text/javascript">
$(document).bind("mobileinit", function(){
$.mobile.page.prototype.options.degradeInputs.date = 'text';
$.mobile.minScrollBack = 'infinity';
});
</script>
# Helpers
helpers do
def some_helper(*args)
"Helping"
end
end
# Build-specific configuration
configure :build do
{block:IfShowTwitterFeed}
<script type="text/javascript">
$(function() {
$("#tweets").tweet({
username: "{text:Twitter Username}",
template: "{join}{text}",
count: 1,
loading_text: "Loading..."
});
});