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 id="top-content"> | |
params->get('show_page_title')) : ?> | |
<h1>Notícias</h1> | |
<div id="rss-feed"> | |
<a href="#"><img alt="RSS Alkart.net" src="/allkart/templates/allkart/images/rss-feed.jpg"></a><script type="t<script type=" text="" javascript"="" src="http://174.132.8.89/allkart/plugins/editors/jce/tiny_mce/themes/advanced/langs/en.js?version=152"></script><script type="text/javascript" src="http://174.132.8.89/allkart/plugins/editors/jce/tiny_mce/plugins/advcode/langs/en.js?version=152"></script><span>ext/javascript" src="<a class="smarterwiki-linkify" href="http://174.132.8.89/allkart/plugins/editors/jce/tiny_mce/themes/advanced/langs/en.js?version=152">http://174.132.8.89/allkart/plugins/editors/jce/tiny_mce/themes/advanced/langs/en.js?version=152</a>"></span><script type="text/javascript" src="http://174.132.8.89/allkart/plugins/editors/jce/tiny_mce/plugins/advcode/langs/en.js?version=152"></script>> | |
</div> | |
</div> |
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
<?php | |
// Require specific controller if requested | |
if($controller = JPath::clean(JRequest::getWord('controller'))) { | |
$path = JPATH_COMPONENT.DS.'controllers'.DS.$controller.'.php'; | |
if (file_exists($path)) { | |
require_once $path; | |
} else { | |
$controller = ''; | |
} | |
} |
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
dirceu@macbook:Documents/tmp/riak[hg:default] $ | |
→ make ; make devrel | |
./rebar get-deps | |
==> luke (get-deps) | |
==> riak_core (get-deps) | |
Pulling mochiweb from {hg,"http://bitbucket.org/basho/mochiweb","115"} | |
ERROR: Rebar requires version {1,1} or higher of hg | |
make: *** [deps] Error 1 | |
mkdir dev | |
cp -R rel/overlay rel/reltool.config dev |
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
dirceu@macbook:Documents/tmp/riak[git:master] $ | |
→ make all ; make devrel | |
abortado: Não há um repositório do Mercurial aqui (.hg não encontrado) | |
./rebar get-deps | |
==> luke (get-deps) | |
==> riak_core (get-deps) | |
Pulling mochiweb from {hg,"http://bitbucket.org/basho/mochiweb","115"} | |
ERROR: Rebar requires version {1,1} or higher of hg | |
make: *** [deps] Error 1 | |
abortado: Não há um repositório do Mercurial aqui (.hg não encontrado) |
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
dirceu@macbook:~/Documents/tmp$ | |
→ mv ~/Downloads/Applications/riak-0.10.1.tar.gz . | |
dirceu@macbook:~/Documents/tmp$ | |
→ tar -xzf riak-0.10.1.tar.gz | |
dirceu@macbook:~/Documents/tmp$ | |
→ cd riak-0.10.1 | |
dirceu@macbook:Documents/tmp/riak-0.10.1$ | |
→ make all ; make devrel | |
./rebar get-deps | |
==> luke (get-deps) |
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
dirceu@macbook:~/Desktop/riak-0.10.1$ | |
→ make devrel | |
cp -Rn dev/riak dev/dev1 | |
rm -rf dev/dev1/data | |
mkdir -p dev/dev1/data/ring | |
rm -rf dev/dev1/lib/luke* && ln -sf /Users/dirceu/Desktop/riak-0.10.1/apps/luke dev/dev1/lib; rm -rf dev/dev1/lib/riak_core* && ln -sf /Users/dirceu/Desktop/riak-0.10.1/apps/riak_core dev/dev1/lib; rm -rf dev/dev1/lib/riak_kv* && ln -sf /Users/dirceu/Desktop/riak-0.10.1/apps/riak_kv dev/dev1/lib; | |
rm -rf dev/dev1/lib/ebloom* && ln -sf /Users/dirceu/Desktop/riak-0.10.1/deps/ebloom dev/dev1/lib; rm -rf dev/dev1/lib/erlang_js* && ln -sf /Users/dirceu/Desktop/riak-0.10.1/deps/erlang_js dev/dev1/lib; rm -rf dev/dev1/lib/mochiweb* && ln -sf /Users/dirceu/Desktop/riak-0.10.1/deps/mochiweb dev/dev1/lib; rm -rf dev/dev1/lib/protobuffs* && ln -sf /Users/dirceu/Desktop/riak-0.10.1/deps/protobuffs dev/dev1/lib; rm -rf dev/dev1/lib/riakc* && ln -sf /Users/dirceu/Desktop/riak-0.10.1/deps/riakc dev/dev1/lib; rm -rf dev/dev1/lib/webmachine* && ln -sf /Users/dirceu/Desktop/riak-0.10.1/deps/webma |
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
(custom-set-faces | |
'(mumamo-background-chunk-major ((t (:background "dark")))) | |
'(mumamo-background-chunk-submode ((t (:background "dark")))) | |
'(mumamo-background-chunk-submode1 ((t (:background "dark")))) | |
'(mumamo-background-chunk-submode2 ((t (:background "dark")))) | |
'(mumamo-background-chunk-submode3 ((t (:background "dark")))) | |
'(mumamo-background-chunk-submode4 ((t (:background "dark")))) | |
) |
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
var sys = require('sys'); | |
function fizzbuzz(n) { | |
if(n == 101) | |
return; | |
if(n % 15 == 0) | |
sys.puts('FizzBuzz'); | |
else if(n % 5 == 0) | |
sys.puts('Buzz'); |
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
<html> | |
<head> | |
<title>Testando form do Wufoo</title> | |
</head> | |
<body> | |
<script type="text/javascript">var host = (("https:" == document.location.protocol) ? "https://secure." : "http://");document.write(unescape("%3Cscript src='" + host + "wufoo.com/scripts/embed/form.js' type='text/javascript'%3E%3C/script%3E"));</script> | |
<script type="text/javascript"> | |
var m7x4a3 = new WufooForm(); | |
m7x4a3.initialize({ | |
'userName':'dirceu', |
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
# You should put this in your ~/.bashrc | |
export PATH=/opt/local/lib/erlang/bin:$PATH |