Skip to content

Instantly share code, notes, and snippets.

Avatar

Anthony Alves while-loop

View GitHub Profile
View create_ios_iap.go
package main
import (
"bytes"
"context"
"encoding/json"
"fmt"
"github.com/google/uuid"
"github.com/mhemmings/revenuecat"
"github.com/while-loop/dasbudget-api/internal/app"
@while-loop
while-loop / benchmark
Last active Oct 20, 2016 — forked from josephwegner/benchmark
Benchmark PhantomJS against cURL
View benchmark
#!/bin/bash
PREPHANTOMTIME=`date +%s%3N`
count="0"
while [ $count -lt $2 ];
do
phantomjs ./timer.js "$1" > /dev/null 2>&1
count=$[$count + 1]
done