I hereby claim:
- I am xymor on github.
- I am raphaelmiranda (https://keybase.io/raphaelmiranda) on keybase.
- I have a public key whose fingerprint is 2979 721A F0E7 D4A6 AD76 FDC1 368A 328F 76E4 DFB5
To claim this, I am signing this object:
if ($('#singleProdInfoBox #parcels-desc').html()){ | |
$('#singleProdInfoBox #parcels-desc').html($('#singleProdInfoBox #parcels-desc').html().replace('até', '')); | |
} | |
if ($('#singleProdInfoBox #parcels-desc').html()){ | |
$('#singleProdInfoBox #parcels-desc').html($('#singleProdInfoBox #parcels-desc').html().replace(' x sem', 'x sem')); | |
} | |
var x = $('#prc1').html(); | |
x = parseFloat(x); | |
x = x.toFixed(2); |
import sys | |
import time | |
x = 1 | |
start_time = time.time() | |
for l in range(100000): | |
print x | |
print time.time() - start_time |
development: | |
# Configure available database sessions. (required) | |
sessions: | |
# Defines the default session. (required) | |
default: | |
# Defines the name of the default database that Mongoid can connect to. | |
# (required). | |
database: special_blog_development | |
# Provides the hosts the default session can connect to. Must be an array | |
# of host:port pairs. (required) |
I hereby claim:
To claim this, I am signing this object:
<kanlo:categoryMenu k:product="${product}" k:category="${category}"> | |
<li class="k-nv-it ${category.name}"> | |
<a class="k-nav-sdLnk subhead ${category.name}" href="${categoryLink}">${category.name}</a> | |
<g:if test="${category.children}"> | |
<ul class="k-nav-subDpt"> | |
<g:each in="${category.children}" var="children"> | |
<li class="k-nav-sdLt ${children.name}"> | |
<a class="k-nav-sdSbLnk ${children.name}" href="${createProductCategoryLink(category: children)}">- ${children.name}</a> | |
</li> |
<g:js file="encodeBase64" /> | |
<g:js file="jquery.cookie" /> | |
<script type="text/javascript"> | |
var dataLayer = dataLayer || []; | |
var _data = {}; | |
var pageName = '${params.page}'; | |
var injectCustomer = function(obj){ | |
var userId64 = $.cookie('${kanlo.storeSymbol()}UserId'); |
require "pstore" | |
dict = PStore.new("/tmp/store") | |
dict.transaction do | |
dict["Parallel computing"] = <<-eos | |
type of computation in which many calculations are carried out simultaneously, operating on the principle that large problems can often be divided into smaller ones, which are then solved at the same time. There are several different forms of parallel computing: bit-level, instruction-level, data, and task parallelism. Parallelism has been employed for many years, mainly in high-performance computing, but interest in it has grown lately due to the physical constraints preventing frequency scaling. | |
eos |
#sudo sudo apt-get install firefox xvfb | |
#gem install watir-webdriver | |
#run with xvfb-run ruby file.rb | |
require 'watir-webdriver' | |
browser = Watir::Browser.new | |
browser.goto 'https://loja.com.br/admin/login/auth' | |
browser.text_field(:name => "j_username").set "xxx" | |
browser.text_field(:name => "j_password").set "xxx" |
@Grapes([ | |
@Grab("org.gebish:geb-core:0.12.0"), | |
//@Grab("org.seleniumhq.selenium:selenium-firefox-driver:2.50.1"), | |
//@Grab("org.seleniumhq.selenium:selenium-support:2.50.1") | |
@Grab("org.seleniumhq.selenium:selenium-chrome-driver:2.21.0") | |
]) | |
import geb.Browser | |
Browser.drive { | |
quitCachedDriverOnShutdown = false; | |
go "https://url/login" |
Verifying that +raphaelom is my blockchain ID. https://onename.com/raphaelom |