I hereby claim:
- I am xarg on github.
- I am xarg (https://keybase.io/xarg) on keybase.
- I have a public key ASBdN39el6YVZcbsgWyDLAW6PyZQycWoIrv38VR-YQ0otQo
To claim this, I am signing this object:
#!/bin/bash | |
echo -e "\nbenchmark.sh -n<number of requests> -c<number of concurrency> <URL1> <URL2> ..." | |
echo -e "\nEx: benchmark.sh -n100 -c10 http://www.google.com/ http://www.bing.com/ \n" | |
## Gnuplot settings | |
echo "# Let's output to a jpeg file | |
set terminal jpeg size 1280,720 | |
# This sets the aspect ratio of the graph |
//change table variables below according to your case and you should get a nice JSON at the end | |
var db = "db"; | |
var table = "your_table"; | |
var db = openDatabase(db, '1.0.0', '', 2 * 1024 * 1024); | |
db.transaction(function (tx) { | |
var l = []; | |
tx.executeSql('select * from ' + table, null, function(tx, res){ | |
for (var i = 0; i < res.rows.length; i++) { | |
l.push(res.rows.item(i)); | |
} |
import email | |
def get_decoded_email_body(message_body): | |
""" Decode email body. | |
Detect character set if the header is not set. | |
We try to get text/plain, but if there is not one then fallback to text/html. | |
:param message_body: Raw 7-bit message body input e.g. from imaplib. Double encoded in quoted-printable and latin-1 |
FROM ubuntu:14.04 | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN echo 'APT::Install-Recommends "0"; \n\ | |
APT::Get::Assume-Yes "true"; \n\ | |
APT::Get::force-yes "true"; \n\ | |
APT::Install-Suggests "0";' > /etc/apt/apt.conf.d/01buildconfig | |
# Add files. | |
COPY ./bin/rabbitmq.sh /usr/local/bin/ |
FROM ubuntu:14.04 | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN echo 'APT::Install-Recommends "0"; \n\ | |
APT::Get::Assume-Yes "true"; \n\ | |
APT::Get::force-yes "true"; \n\ | |
APT::Install-Suggests "0";' > /etc/apt/apt.conf.d/01buildconfig | |
# Add files. | |
COPY ./bin/rabbitmq.sh /usr/local/bin/ |
<script src="https://gorgias-assets.global.ssl.fastly.net/static/public/js/gorgias-chat.js"></script> | |
<script> | |
document.addEventListener("DOMContentLoaded", function() { | |
GorgiasChat.init({ | |
"icon": "https://gorgias-uploads.global.ssl.fastly.net/Sans%20titre-1-3ac0278e-fc92-4ec5-8c22-d842c86dcc4a.png", | |
"headerColor": "#eb144c", | |
"chatIconColor": "#eb144c", | |
"conversationColor": "#0693e3", | |
"smooch": { | |
"appToken": "8z8htxf16diglhv7kb6sowq74", |
I hereby claim:
To claim this, I am signing this object: