For your Ruby, you'll must install this gems:
sudo gem install passenger
sudo passenger-install-apache2-module
At this moment, you'll asked to install some Apache2's deps (three deps):
sudo apt-get install apache2-prefork-dev
| data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> |
| [Unit] | |
| Description=Gitlab Resque Worker | |
| Requires=redis.service | |
| After=redis.service | |
| Wants=postfix.service mysqld.service | |
| [Service] | |
| Type=forking | |
| User=git | |
| WorkingDirectory=/home/git/gitlab |
For your Ruby, you'll must install this gems:
sudo gem install passenger
sudo passenger-install-apache2-module
At this moment, you'll asked to install some Apache2's deps (three deps):
sudo apt-get install apache2-prefork-dev
| #!/bin/bash | |
| ## Install Gitlab 5.2 on OpenSUSE 12.3 32Bits | |
| ## Project http://gitlab.org/ | |
| ## Base https://github.com/gitlabhq/gitlabhq/blob/5-0-stable/doc/install/installation.md | |
| ## Autor: Nilton OS -- Version 0.9 14-06-2013 -- http://wwww.linuxpro.com.br/blog | |
| ## Change Vars !!! | |
| SERVER_IP="10.0.2.15" | |
| SERVER_FQDN="gitlab.linuxpro.com.br" | |
| DOMIAN="linuxpro.com.br" |
| #!/usr/bin/ruby | |
| # Fedora Gemfile Checker | |
| # Print out Gemfile dependencies, highlighting | |
| # missing dependencies and those that are remotely | |
| # available in Fedora. | |
| # | |
| # Licensed under the MIT license | |
| # Copyright (C) 2013 Red Hat, Inc. | |
| # Written By Mo Morsi <[email protected]> | |
| ########################################################### |
| /* Side notes for calling out things | |
| -------------------------------------------------- */ | |
| /* Base styles (regardless of theme) */ | |
| .bs-callout { | |
| margin: 20px 0; | |
| padding: 15px 30px 15px 15px; | |
| border-left: 5px solid #eee; |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| --- | |
| # This has been tested with ansible 1.3 with these commands: | |
| # ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=false" | |
| # ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=true" | |
| # ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts" | |
| # NB: The type of the variable is crucial! | |
| - name: Ansible Conditionals Examples | |
| hosts: $hosts | |
| vars_files: |
GitLab is open source software to collaborate on code (a GitHub clone to run on your own server). Clicking a blob (a file in a repository) in GitLab shows a nice rendering if GitLab supports the file type (e.g., images, Markdown documents), or its content as plain text otherwise. The patch described here adds support to GitLab for rendering IPython notebooks (.ipynb files).
| set -g prefix C-a # Make C-a the prefix instead of default | |
| bind C-a send-prefix # Send to application | |
| unbind C-b # Unbind C-b | |
| set -sg escape-time 1 # Remove delay for keystrokes | |
| setw -g mode-keys vi # Use vi mode | |
| ### Mouse mode ### | |
| setw -g mode-mouse on # Toggle mouse mode globally | |
| set -g mouse-select-pane on # Select pane using mouse |