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
<?xml version="1.0" encoding="UTF-8"?> | |
<produtos> | |
<produto> | |
<id>10</id> | |
<nome>Ecailles de La Lune</nome> | |
<marca></marca> | |
<resumo>Alcest</resumo> | |
<descricao>First Alcest Album</descricao> | |
<categoria>Music</categoria> | |
<destaque_home></destaque_home> |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
19;Ecailles de La Lune;EMI;Alcest;Second Alcest Studio Album;Music;1;1; | |
20;Les Voyages De L'Âme;EMI;Alcest;Latest Alcest Studio Album;Music;1;1; | |
21;Souvenirs D'un Autre Monde;EMI;Alcest;First Alcest Studio Album;Music;1;1; |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
ID;SKU;Estoque;Custo;Preço;Sku Padrão;Status;Peso;Altura;Largura;Profundidade;Estoque Mínimo | |
19;ALCEST001;10.0;55.0;11.0;1;E;10.0;10.0;100.0;200.0;10 | |
19;ALCEST002;10.0;55.5;11.1;1;E;10.1;10.0;100.0;300.0;10 | |
20;ALCEST003;11.0;60.0;12.0;1;E;50.0;60.0;100.0;400.0;10 | |
21;ALCEST004;15.0;90.0;50.0;1;E;10.0;65.0;150.0;200.0;10 |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
Id SKU;Quantidade Inicial;Quantidade Final;Preço Unitário; | |
19;1;10;50.0 | |
19;11;50;45.0 |
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
require "bundler/capistrano" | |
set :application, "stressmeter" | |
set :scm, :subversion | |
role :app, "stressmeter.urieljuliatti.com" | |
role :web, "stressmeter.urieljuliatti.com" | |
role :db, "stressmeter.urieljuliatti.com", :primary => true |
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 80; | |
server_name stressmeter.urieljuliatti.com; | |
access_log /var/log/nginx/production.stressmeter.access.log; | |
root /home/uriel/stressmeter/current/public; | |
# Passenger | |
passenger_enabled on; |
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
(ruby-1.9.2-p290@stressmeter) urieljuliatti@Uriel-Juliattis-MacBook-Pro ~/Projects/stressmeter (master) | |
$ cap deploy | |
* executing `deploy' | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
executing locally: "git ls-remote git@github.com:urieljuliatti/stressmeter.git master" | |
command finished in 3932ms | |
* executing "git clone -q git@github.com:urieljuliatti/stressmeter.git /home/uriel/stressmeter/releases/20120217153451 && cd /home/uriel/stressmeter/releases/20120217153451 && git checkout -q -b deploy 8b0bf3195004df14e9cdd3ae4a37de4d7eaaaf5b && (echo 8b0bf3195004df14e9cdd3ae4a37de4d7eaaaf5b > /home/uriel/stressmeter/releases/20120217153451/REVISION)" | |
servers: ["stressmeter.urieljuliatti.com"] |
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
source 'https://rubygems.org' | |
gem 'rails', '3.2.0' | |
gem 'mysql2' | |
gem 'devise', "~>2.0.0" | |
gem 'cancan' | |
gem 'jquery-rails' | |
gem 'capistrano' | |
gem 'omniauth' | |
gem 'omniauth-facebook' |
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
// Sistemas distribuidos | |
Servidor.main{ | |
ServerSocket servidor = new ServerSocket(int porta); | |
ArrayList<Socket> clientes = new ArrayList<Socket>(); // Só cria para a conexão | |
while(true){ | |
Socket cliente = servidor.accept(); | |
clientes.add(cliente); | |
Observador observador = new Observador(cliente, clientes); // runnable | |
Thread processo = new Thread(observador); | |
processo.start(); |
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
SELECT *, | |
( 3959 * acos( cos( radians('#{latitude}') ) * | |
cos( radians( latitude ) ) * | |
cos( radians( longitude ) - | |
radians('#{longitude}') ) + | |
sin( radians('#{latitude}') ) * | |
sin( radians( latitude ) ) ) ) | |
AS distance, a_b.name as neighbourhood_name FROM address_neighbourhood_users INNER JOIN address_neighbourhoods AS a_b ON a_b.neighbour_code = address_neighbourhood_users.address_neighbourhood_code AND ( 3959 * acos( cos( radians('#{latitude}') ) * | |
cos( radians( latitude ) ) * | |
cos( radians( longitude ) - |
OlderNewer