A Pen by Aniket Pant on CodePen.
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
# If you are running more than one instances of graylog2-server you have to select one of these | |
# instances as master. The master will perform some periodical tasks that non-masters won't perform. | |
is_master = true | |
# The auto-generated node ID will be stored in this file and read after restarts. It is a good idea | |
# to use an absolute file path here if you are starting graylog2-server from init scripts or similar. | |
node_id_file = /etc/graylog2-server-node-id | |
# You MUST set a secret to secure/pepper the stored user passwords here. Use at least 64 characters. | |
# Generate one by using for example: pwgen -s 96 |
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
##################### ElasticSearch Configuration Example ##################### | |
# This file contains an overview of various configuration settings, | |
# targeted at operations staff. Application developers should | |
# consult the guide at <http://elasticsearch.org/guide>. | |
# | |
# The installation procedure is covered at | |
# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html>. | |
# | |
# ElasticSearch comes with reasonable defaults for most settings, |
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
# graylog2-server REST URIs (one or more, comma separated) For example: "http://127.0.0.1:12900/,http://127.0.0.1:12910/" | |
graylog2-server.uris="http://[the ip address of your graylog2 server]:12900/" | |
# Learn how to configure custom logging in the documentation: | |
# http://support.torch.sh/help/kb/graylog2-web-interface/configuring-web-interface-logging | |
# Secret key | |
# ~~~~~ | |
# The secret key is used to secure cryptographics functions. Set this to a long and randomly generated string. | |
# If you deploy your application to several instances be sure to use the same key! |
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="container"> | |
<div class="row"> | |
<div class="col-sm-6 col-md-4 col-md-offset-4"> | |
<h1 class="text-center login-title">Sign in to continue to Bootsnipp</h1> | |
<div class="account-wall"> | |
<img class="profile-img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=120" | |
alt=""> | |
<form class="form-signin"> | |
<input type="text" class="form-control" placeholder="Email" required autofocus> | |
<input type="password" class="form-control" placeholder="Password" required> |
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
#!/bin/bash -xe | |
# Run this script from machine with the credintials and the latest api tools installed | |
EBS_DEVICE='/dev/sdh' | |
INSTANCE_ID=$1 | |
AKI=${2:-'aki-5f15f636'} | |
ARI=${3:-'ari-0915f660'} | |
ARCH=${4:-'i386'} | |
SIZE=${5:-10} |
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
<% form_tag :search, :url => asdf, :html => { :id => 'search_form' } do %> | |
<%= text_field_tag :search %> | |
<%= submit_tag 'zoeken' %> | |
<% end %> | |
<div id="search_results"></div> | |
$('#search_form').live('submit', function(event) { | |
event.preventDefault(); | |
$.post($(this).attr('action'), $(this).serialize(), null, 'script'); | |
}); |
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
!!! 5 | |
%html | |
%head | |
%title= 'Zetetic - ' + yield_for(:title, 'Blog') | |
%meta{:name => 'description', :content => yield_for(:description, "blarf blarf dorf dorf dorf, hooray it's our blog!")}/ | |
... |
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
!!! 5 | |
%html | |
%head | |
%title= 'Zetetic - ' + yield_for(:title, 'Blog') | |
%meta{:name => 'description', :content => yield_for(:description, "blarf blarf dorf dorf dorf, hooray it's our blog!")}/ | |
... |
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
!!! 5 | |
%html | |
%head | |
%title= 'Zetetic - ' + yield_for(:title, 'Blog') | |
%meta{:name => 'description', :content => yield_for(:description, "blarf blarf dorf dorf dorf, hooray it's our blog!")}/ | |
... |
OlderNewer