This file has been truncated, but you can view the full file.
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
<!DOCTYPE html> | |
<html lang='en'> | |
<head> | |
<meta content='text/html; charset=utf-8' http-equiv='content-type'> | |
<script src="http://www.apptweak.dev//assets/application-pdf.js" type="text/javascript"></script> | |
<script type='text/javascript'> | |
</script> | |
<title> |
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
{% codeblock Javascript 'hello world' lang:js https://gist.github.com/cedricbousmanne/29451cb977bf772f8122 Code source %} | |
var hello = "Hello, world"; | |
alert(hello); | |
{% endcodeblock %} |
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
{% codeblock lang:ruby %} | |
firstname = "John" | |
lastname = "Doe" | |
echo "#{firstname} #{lastname}" | |
{% endcodeblock %} |
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
--- | |
layout: page | |
title: "index" | |
date: 2015-10-04 23:30 | |
comments: true | |
sharing: true | |
footer: true | |
--- |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
RAILS_ENV=staging bundle exec rake 'assets:precompile' | |
WARNING: Use strings for Figaro configuration. 647730745310662 was converted to "647730745310662". | |
WARNING: Use strings for Figaro configuration. 22225 was converted to "22225". | |
/Users/cedric/.rvm/rubies/ruby-2.0.0-p451/bin/ruby /Users/cedric/.rvm/gems/ruby-2.0.0-p451@apptweak/bin/rake assets:precompile:all RAILS_ENV=staging RAILS_GROUPS=assets | |
WARNING: Use strings for Figaro configuration. 647730745310662 was converted to "647730745310662". | |
WARNING: Use strings for Figaro configuration. 22225 was converted to "22225". | |
AssetSync: using /Users/cedric/Code/apptweak/config/initializers/asset_sync.rb | |
AssetSync: Syncing. | |
rake aborted! | |
Excon::Errors::SocketError: XML declaration allowed only at the start of the document (Nokogiri::XML::SyntaxError) |
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
{% extends 'parent' %} | |
<h1>{{ page.title }}</h1> | |
{% if search_results.size == 0 %} | |
<p><strong>There is no result</strong></p> | |
{% endif %} | |
{% for result in search_results %} | |
{% case locale %} | |
{% when "fr" %} | |
{% capture url %}/index/{{result._permalink}}{% endcapture %} | |
{% else %} |
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
#topSearch.right | |
%form#searchform{:action => "/#{locale}/search", :method => "get", :role => "search"} | |
%label.assistive-text{:for => "search"}= I18n.t("common.header.search_label") | |
%input#search{:name => "search", :placeholder => I18n.t("common.header.search_placeholder"), :type => "search", :value => ""}/ | |
%input#searchSubmit{:type => "submit", :value => "Search"}/ |