Skip to content

Instantly share code, notes, and snippets.

@leandrocp
leandrocp / viva.xml
Created May 19, 2012 21:09
viva.xml
<stream>
<title> <![CDATA[ Viva ]]> </title>
<info resolution="" bitrate=""/>
<swfUrl> <![CDATA[ http://www.cdnbr.biz/swf/player.swf ]]> </swfUrl>
<link> <![CDATA[ rtmp://109.200.202.90:1935/live ]]> </link>
<pageUrl> <![CDATA[ http://www.tvonlinegratis.tv/canais/viva.php ]]> </pageUrl>
<playpath> <![CDATA[ master21.flv ]]> </playpath>
<language> <![CDATA[ ptBR ]]> </language>
<advanced> <![CDATA[ ]]> </advanced>
</stream>
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<streams>
<stream>
<title> <![CDATA[ Viva ]]> </title>
<info resolution="" bitrate=""/>
<swfUrl> <![CDATA[ http://www.cdnbr.biz/swf/player.swf ]]> </swfUrl>
<link> <![CDATA[ rtmp://109.200.202.90:1935/live ]]> </link>
<pageUrl> <![CDATA[ http://www.cdnbr.biz/mastertv/Viva.html ]]> </pageUrl>
<playpath> <![CDATA[ master21 ]]> </playpath>
<language> <![CDATA[ ptBR ]]> </language>
@leandrocp
leandrocp / rails3_bootstrap.rb
Created August 5, 2012 22:26
Rails 3 bootstrap
# rails3_bootstrap.rb
#
# rails new project --skip-test-unit -m rails3_bootstrap.rb
require 'rbconfig'
HOST_OS = RbConfig::CONFIG['host_os']
# Limpeza
#-------------------------------------------------------------------------------
say("Limpando arquivos", :yellow)
@leandrocp
leandrocp / gist:3667394
Created September 7, 2012 15:58
simple_form test
div class="row"
div class="four columns"
= simple_form_for(@cliente) do |f|
= f.error_notification
.form-inputs
= f.input :nome
.form-actions
= f.button :submit
@leandrocp
leandrocp / gist:3734077
Created September 16, 2012 19:44
vagrant output
[~/code/vagrant-box-servers]$ vagrant up [master][ruby-1.9.3-p194]
[default] Box preciseserver32 was not found. Fetching box from specified URL...
[vagrant] Downloading with Vagrant::Downloaders::HTTP...
[vagrant] Downloading box: https://dl.dropbox.com/s/108uhsfwdiy5obc/serverprecise32minimal.box?dl=1
[vagrant] Extracting box...
[vagrant] Verifying box...
[vagrant] Cleaning up downloaded box...
[default] Importing base box 'preciseserver32'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared

Contrato Arrasador 3

Revisão: 02/05/2013

Entre nós [company name] e você [customer name]

Sumário:

Nós sempre faremos o melhor para cumprir suas necessidades e atender suas expectativas, mas é importante registrar tudo por escrito para ambos saberem quem deve fazer o quê e quando, e o que acontece se algo dá errado. Neste contrato você não encontrará nenhum termo jurídico complicado ou longas passagens de textos incompreensíveis. Não temos interesse em te enganar a assinar algo que você se arrependa depois. O que queremos é o melhor para ambas as partes, agora e no futuro.

@leandrocp
leandrocp / .gitattributes
Created May 24, 2013 11:16
Default .gitattributes
* text=auto
@leandrocp
leandrocp / 0_reuse_code.js
Created October 1, 2013 01:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
teste
@leandrocp
leandrocp / osx-apps-list
Created February 1, 2014 02:33
Lista de aplicativos osx (brew e brew cask)
android-ndk
android-sdk
ant
apple-gcc42
autoconf
automake
awk
brew-cask
cscope
ctags