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
<!-- for the autocomplete on arrivals departues and search box --> | |
<script> | |
$(function() { | |
var guest = [ | |
"Peter Venkman", | |
"Ray Stantz", | |
"Dana Barrett", | |
"Egön Spengler", | |
"Louis Tullu", | |
"Janine Milnitz", |
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
Started POST "/login/login" for 216.36.113.246 at 2012-07-19 03:11:46 +0000 | |
Processing by LoginController#login as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ax1A9APK3MLxxwEnWByh6IHwEqQdqxyTfoU92VwDB7Q=", "username"=>"chris", "password"=>"[FILTERED]", "commit"=>"Login"} | |
\n\n/user/login | |
\n\n--------------------\n Requesting: POST ipa.hostelhub.me /api/user/login {"username"=>"chris", "password"=>"kirklandsnowcones"} json | |
\nresponse: 200 {"sessid"=>"PJy3XyBp_l7HTXV1zWnAvkN7UaY6XuoUYxi4n1SuhfE", "session_name"=>"SESS32a831bc13ee4bdfe4ca6310c283b894", "user"=>{"uid"=>"7876", "name"=>"chris", "mail"=>"chris_a5338559a0dac4c6fe750d82d832163f@example.com", "theme"=>"", "signature"=>"", "signature_format"=>"filtered_html", "created"=>"1342035556", "access"=>"1342667438", "login"=>1342667506, "status"=>"1", "timezone"=>"America/Los_Angeles", "language"=>"", "picture"=>nil, "init"=>"chris_a5338559a0dac4c6fe750d82d832163f@example.com", "data"=>false, "uuid"=>"ae59bd41-ef58-27a4-6905-6bbfe453ee3c", "roles"=>{ |
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
class screen { | |
package { screen: | |
ensure => present, | |
} | |
file { "/root/.screenrc": | |
owner => "root", | |
group => "root", | |
mode => 0440, | |
source => "puppet://$puppetserver/modules/screen/root/.screenrc", |
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
# make bash our shell | |
shell /bin/bash | |
# detach on hangup | |
autodetach on | |
# don't display copyright page | |
startup_message off | |
#should resolve some "can't find display" issues |
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 nginx; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
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
server { | |
listen 8140 ssl; | |
server_name puppet pmaster.gamilon.com; | |
passenger_enabled on; | |
passenger_set_cgi_param HTTP_X_CLIENT_DN $ssl_client_s_dn; | |
passenger_set_cgi_param HTTP_X_CLIENT_VERIFY $ssl_client_verify; | |
access_log /var/log/nginx/puppet_access.log; | |
error_log /var/log/nginx/puppet_error.log; |
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/sh | |
# | |
# nginx - this script starts and stops the nginx daemon | |
# | |
# chkconfig: - 85 15 | |
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \ | |
# proxy and IMAP/POP3 proxy server | |
# processname: nginx | |
# config: /etc/nginx/nginx.conf | |
# config: /etc/sysconfig/nginx |
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
# Configuration file for the nginx service. | |
NGINX=/opt/nginx/sbin/nginx | |
CONFFILE=/etc/nginx/nginx.conf | |
LOCKFILE=/var/lock/subsys/nginx |
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
# Aliases | |
alias la='ls -alhFG' | |
alias c='clear' | |
alias c.='cd ../' | |
alias c..='cd ../../' | |
alias c~='cd ~' | |
alias f='mdfind -name' | |
alias gh='history |grep' | |
alias gp='ps -aux |grep' | |
alias p='pwd' |
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
<section class="panel panel-default"> | |
<div class="panel-heading"> | |
<h3 class="panel-title">Categories</h3> | |
</div> | |
<div class="list-group"> | |
{% for category in site.categories %} | |
{% capture category_url %}{{ site.category_dir }}/{{ category | first | slugize | downcase | replace:' ','-' | append:'/index.html'}}{% endcapture %} | |
<a class="list-group-item {% if category_url == page.url %}active{% endif %}" href="{{ root_url | append:'/' | append:category_url }}"> | |
<span class="badge">{{ category | last | size }}</span> | |
{{ category | first }} |
OlderNewer