I hereby claim:
- I am glauco on github.
- I am glaucovinicius (https://keybase.io/glaucovinicius) on keybase.
- I have a public key ASAnNJCakFIqKJapp_8Rnw88H5psH9f5T-ZYOKExpoHfCQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require 'set' | |
class Lottery | |
@max = 0 | |
def generate_lottery_cards(amount, numbers_per_game) | |
games = [] | |
randoms = Random.new |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Data.SqlClient; | |
namespace MT.SmsNavigationFactory.Tests | |
{ | |
public abstract class BaseTest | |
{ |
Ao executar o Jekyll estava recebendo o seguinte erro:
/Users/glauco/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
Configuration from /Users/glauco/Github/glauco.github.com/_config.yml
Building site: . -> ./_site
/Users/glauco/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.11.2/lib/jekyll/convertible.rb:29:in `read_yaml': invalid byte sequence in US-ASCII (ArgumentError)
from /Users/glauco/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.11.2/lib/jekyll/layout.rb:31:in `initialize'
from /Users/glauco/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.11.2/lib/jekyll/site.rb:113:in `new'
from /Users/glauco/.rvm/gems/ruby-1.9.3-p194/gems/jekyll-0.11.2/lib/jekyll/site.rb:113:in `block in read_layouts'
public string TirarAcentos(string texto) { | |
string textor = ""; | |
for (int i = 0; i < texto.Length; i++) { | |
if (texto[i].ToString() == "ã") textor += "a"; | |
else if (texto[i].ToString() == "á") textor += "a"; | |
else if (texto[i].ToString() == "à") textor += "a"; | |
else if (texto[i].ToString() == "â") textor += "a"; | |
else if (texto[i].ToString() == "ä") textor += "a"; | |
else if (texto[i].ToString() == "é") textor += "e"; |
Highlander := Object clone | |
Highlander clone := Highlander |
SELECT t.test_id, t.run_count, t.success, t.failure, t.run_time | |
FROM tests t | |
JOIN test_runs tr | |
ON t.id = tr.test_id | |
JOIN run_metadata rm | |
ON rm.run_id = tr.run_id | |
AND rm.key = 'build_name' | |
AND rm.value = 'gate-tempest-dsvm-postgres-full' | |
GROUP BY t.test_id, t.run_count, t.success, t.failure, t.run_time |
#!/usr/bin/python | |
import random | |
for k in range(10): | |
r = random.randint(1,3) | |
print r, |
#!/bin/bash | |
apt-get update | |
apt-get upgrade -y | |
apt-get install git -y | |
git clone https://git.openstack.org/openstack-infra/system-config /opt/system-config/production | |
/opt/system-config/production/install_puppet.sh | |
export REAL_HOSTNAME=puppetdb.openstack.org | |
bash /opt/system-config/production/install_modules.sh |