Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# Stop script on NZEC
set -e
# Stop script if unbound variable found (use ${var:-} if intentional)
set -u
print_err() {
printf "%b\n" "Error: $1" >&2
mandric / test.js
Last active May 2, 2019
start a service and test it example from heroku
View test.js
const { spawn } = require('child_process');
const request = require('request');
const test = require('tape');
// Start the app
const env = Object.assign({}, process.env, {PORT: 5000});
const child = spawn('node', ['index.js'], {env});
test('responds to requests', (t) => {
View driver.js
"use script";
const webdriver = require('selenium-webdriver');
const chrome = require('selenium-webdriver/chrome');
const firefox = require('selenium-webdriver/firefox');
const edge = require('selenium-webdriver/edge');
const Command = require("selenium-webdriver/lib/command").Command;
const { logging } = webdriver
View gist:fee6c718eb76e8e6c775b00cc2489537
Verifying my Blockstack ID is secured with the address 17VfKHLgWyeiWpRpmSBaZiSLvrdcBS2777
mandric /
Created Oct 14, 2016
Trying to get chromium command line switches to work with crosswalk-21.51.546.6
// Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.medicmobile.testcrosswalk;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
View bulk-update
# Do bulk edit request.
SELF=`basename $0`
if [ -z "$DOCS" ]; then
View make-album
#!/usr/bin/env bash
ALBUM_TITLE="${ALBUM_TITLE-`basename "$PWD"`}"
View manage result


This document expands on some of the technical details of SMSSync Issue 120 and proposes a solution for managing result data of outgoing SMS messages sent by SMSSync.


No new settings should be required for this feature.

View Integrating SMS

Is your phone rooted? I wonder what the value is on your phone for these settings?

sqlite3 /data/data/ Selet * from gservices where name = 'sms_outgoing_check_max_count';

SMS Portals project that can be integrated with SMSSync:

The idea is that SMSSync has a setting to enable SMS Portals and when the portals are installed it uses them/cycles between them. Each portal has the 100/150 sms/hr limit so to get around it we install multiple portals that are registered as separate apps by Android.