Skip to content

Instantly share code, notes, and snippets.

Milan Andric mandric

Block or report user

Report or block mandric

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mandric
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) => {
t.plan(4);
View gist:fee6c718eb76e8e6c775b00cc2489537
Verifying my Blockstack ID is secured with the address 17VfKHLgWyeiWpRpmSBaZiSLvrdcBS2777 https://explorer.blockstack.org/address/17VfKHLgWyeiWpRpmSBaZiSLvrdcBS2777
@mandric
mandric / TestcrosswalkActivity.java
Created Oct 14, 2016
Trying to get chromium command line switches to work with crosswalk-21.51.546.6
View TestcrosswalkActivity.java
// 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.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
View make-album
#!/usr/bin/env bash
EXTS_PICS_RE='(\.png$|\.jpg$|\.jpeg$)'
EXTS_VIDS_RE='(\.mp4$|\.mov$|\.mpg$|\.m4v$)'
EXTS_AUDIO_RE='(\.mp3$|\.opus$|\.m4a$)'
ALBUM_SUBTITLE="${ALBUM_SUBTITLE-`date '+%B %Y'`}"
ALBUM_SORT="${ALBUM_SORT-sort}"
ALBUM_POSTER_WIDTH=${ALBUM_POSTER_WIDTH-640}
ALBUM_TITLE="${ALBUM_TITLE-`basename "$PWD"`}"
View manage result data.md

Intro

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.

Settings

No new settings should be required for this feature.

View Integrating SMS Portals.md

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

sqlite3 /data/data/com.android.providers.settings/databases/settings.db Selet * from gservices where name = 'sms_outgoing_check_max_count';

http://forum.xda-developers.com/showthread.php?p=5519546

SMS Portals project that can be integrated with SMSSync: https://github.com/vaneyck/sms-portals

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.

View sms message status.md

Intro

This document expands on some of the technical details of SMSSync Issue 11 and proposes a solution for communicating results of outgoing SMS messages processsed by SMSSync.

SMSSync has a basic HTTP client in MainHttpClient.java it should suffice for the purposes of this feature.

Prerequisites

@mandric
mandric / gist:9606333
Last active Aug 29, 2015
SMSSync Issues
View gist:9606333
View example market doc
{
"_id": "29f9ea9dd74edf1d6b72f6ad7715fd2e",
"type": "market",
"name": "Local Test Market",
"url": "http://localhost:5984/market/_design/market/_rewrite/"
}
You can’t perform that action at this time.