I hereby claim:
- I am gmatheu on github.
- I am gmatheu (https://keybase.io/gmatheu) on keybase.
- I have a public key whose fingerprint is 9007 BBDE 817F 6F06 E4B8 F30F 4E13 BCD4 5B5D F905
To claim this, I am signing this object:
$('input[type=radio][checked=checked]').toArray().forEach(it => it.removeAttribute('checked')) | |
$('input[type=checkbox][checked=checked]').toArray().forEach(it => it.removeAttribute('checked')) | |
$('input[type=radio]').toArray().forEach(it => it.removeAttribute('disabled')) | |
$('label.correct-ans').toArray().forEach(it => it.classList.replace('correct-ans', 'hidden-ans')) | |
$('label.incorrect-ans').toArray().forEach(it => it.classList.remove('incorrect-ans')) | |
$('div.status').toArray().forEach(it => it.remove()) | |
$('div.user-login-profile').toArray().forEach(it => it.remove()) | |
$('div.reports').toArray().forEach(it => it.remove()) | |
$('div.domains').toArray().forEach(it => it.remove()) |
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<profiles> | |
<profile> | |
<id>sonatype-repository</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
</activation> | |
<pluginRepositories> | |
<pluginRepository> |
I hereby claim:
To claim this, I am signing this object:
FROM ubuntu:latest | |
RUN apt-get update | |
RUN apt-get install -yy wget curl | |
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - | |
RUN sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list' | |
RUN apt-get update | |
RUN apt-get install -yy xvfb firefox google-chrome-stable build-essential libssl-dev | |
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh |
# https://wiki.mikejung.biz/Benchmarking#How_to_Break_In_an_SSD_before_Benchmarking | |
#--filename=$block_dev | |
echo "FIO randwrite" | |
fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=4k --direct=0 --size=1024M \ | |
--numjobs=8 --runtime=240 --group_reporting --output-format=json > fio-randwrite.json; | |
echo "FIO randread" | |
fio --name=randread --ioengine=libaio --iodepth=16 --rw=randread --bs=4k --direct=0 --size=1024M \ | |
--numjobs=8 --runtime=240 --group_reporting --output-format=json > fio-randread.json; |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.net.URL; | |
import java.net.URLConnection; | |
import java.net.HttpURLConnection; | |
import java.util.logging.ConsoleHandler; | |
import java.util.logging.SimpleFormatter; | |
import java.util.logging.Logger; |
info() { | |
echo "INFO: $1" | |
} |
SSH_ENV="$HOME/.ssh/environment" | |
function start_agent { | |
echo "Initialising new SSH agent..." | |
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" | |
echo succeeded | |
chmod 600 "${SSH_ENV}" | |
. "${SSH_ENV}" > /dev/null | |
/usr/bin/ssh-add; | |
} |
var deferred = $.Deferred(); | |
var ajax = $.ajax({url: '/config'}). | |
done(function(data) { | |
console.log('Data: ' + data); | |
deferred.resolve(data); | |
}). | |
fail(function (xhr, status) { | |
console.log("Fail: " + xhr.status); | |
deferred.fail(); | |
}); |
FROM ubuntu:14.04 | |
MAINTAINER Gonzalo Matheu <gonzalommj@gmail.com> | |
RUN sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list | |
RUN echo 'deb http://ppa.launchpad.net/anatol/tup/ubuntu precise main' >> /etc/apt/sources.list.d/tup.list | |
RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 486D3664 | |
RUN apt-get update | |
RUN sudo apt-get install -yy build-essential tup | |