Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<title>Tribuna MS</title>
<script language="javascript" src="AC_RunActiveContent.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
@import url("../css/style_new.css");
</style>
</head>
<body>
#a (k,l) = (summ of X from i to L) division by module M
x = [1,2,3,4,5,6]
run "rm public/index.html"
run "touch log/.gitignore"
run "touch tmp/.gitignore"
run "touch vendor/.gitignore"
file ".gitignore" <<-CODE
log/*.log
tmp/**/*
db/*.sqlite3
db/schema.rb
$ git bundle create master
Rails CMS alternatives
======================
Active projects:
---------------
adva-cms
repo: http://github.com/svenfuchs/adva_cms/
site: http://adva-cms.org/
Last update: 11/24/09
"the cutting edge Rails CMS platform"
ActionView::TemplateError in '/admin/links/show.html.erb should render'
admin_link_url failed to generate from {:action=>"show", :controller=>"admin/links", :id=>#<Link id: nil, name: "A name", url: "http://some_url.com", enabled: true, created_at: nil, updated_at: nil>}, expected: {:controller=>"admin/links", :action=>"show"}, diff: {:id=>#<Link id: nil, name: "A name", url: "http://some_url.com", enabled: true, created_at: nil, updated_at: nil>}
git clone --bare current_repo new_repo.git
cd new_repo.git && touch git-daemon-export-ok
git-daemon --base-path=.. (parent) --enable=upload-pack --enable=receive-pack
#####
no cliente:
# instalando bibliotecas necessárias para compilar
sudo apt-get install build-essential libssl-dev zlib1g-dev libcurl4-openssl-dev libexpat-dev tk8.5-dev
# baixando o git atual
wget http://kernel.org/pub/software/scm/git/git-1.6.6.tar.bz2
#descompacta
tar -jxvf git-1.6.6.tar.bz2
cd git-1.6.6
$ sudo apt-get install zlib1g-dev libexpat1-dev libcurl4-gnutls-dev tk8.5-dev libssl-dev
$ sudo dpkg -i git_1.6.6.1-1_amd64.deb
:~/install/git-1.6.6.1$ sudo cp contrib/completion/git-completion.bash /etc/bash_completion.d/git
$ rsync -aPz acampelo@10.198.52.25:~/java/jetty-6.1.14/ jetty-6.1.14/
$ rsync -aPz root@10.198.52.7:/var/lib/SpcJava/ libs/