Skip to content

Instantly share code, notes, and snippets.

View romulof's full-sized avatar

Rômulo Ruas romulof

  • Amsterdam
  • 03:15 (UTC +02:00)
View GitHub Profile
@romulof
romulof / index.html
Last active February 10, 2021 11:52
Array manipulation #jsbench #jsperf (http://jsbench.github.io/#b7d41bd1a0d21362ebe247d6ac19505e) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Array manipulation #jsbench #jsperf</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Array caching</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
@romulof
romulof / droid-db-copy.sh
Created May 16, 2015 05:46
Simple shell script to download Android SQLite database to your computer using a few `adb` commands. Based on: https://stackoverflow.com/a/12914297/314055
#!/bin/bash
REQUIRED_ARGS=2
PULL_DIR="./"
if [ $# -ne $REQUIRED_ARGS ]
then
echo "Usage: $0 [package_name] [db_name]"
echo ""
exit 1