Skip to content

Instantly share code, notes, and snippets.

@f5io
f5io / ab.rb
Last active August 30, 2016 11:53
require 'formula'
class Ab < Formula
homepage 'http://httpd.apache.org/docs/trunk/programs/ab.html'
url 'http://www.apache.org/dist/httpd/httpd-2.4.23.tar.bz2'
sha1 '5101be34ac4a509b245adb70a56690a84fcc4e7f'
def patches
{
# The ab tool of the latest stable httpd (2.4.2) does not work
require 'formula'
class Ab < Formula
homepage 'http://httpd.apache.org/docs/trunk/programs/ab.html'
url 'http://www.apache.org/dist/httpd/httpd-2.4.23.tar.bz2'
sha1 '5101be34ac4a509b245adb70a56690a84fcc4e7f'
def patches
{
# The ab tool of the latest stable httpd (2.4.2) does not work
extern crate actix;
extern crate actix_web;
extern crate bytes;
extern crate derive_more;
extern crate futures;
extern crate flatbuffers;
use derive_more::Display;
use flatbuffers::{get_root, Follow, Table};
use bytes::{BytesMut};
@f5io
f5io / README.md
Created January 3, 2020 13:54
qjs vs qjsc

Currently experiencing issues with qjsc.

With qjs index.js, I receive the expected output:

$ qjs index.js
🎾  Ball hit 1 time(s), wiff!
🎾  Ball hit 2 time(s), waff!
🎾  Ball hit 3 time(s), wiff!
🎾  Ball hit 4 time(s), waff!