Skip to content

Instantly share code, notes, and snippets.

View mandric's full-sized avatar

Milan Andric mandric

View GitHub Profile
#!/usr/bin/env bash
# https://github.com/microsoft/dotnet-framework-docker/blob/master/eng/common/pull-image.sh
# 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
mandric / test.js
Last active May 2, 2019 19:36
start a service and test it example from heroku
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);
"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
@mandric
mandric / heartbeat-css-animation.markdown
Last active February 12, 2023 20:04
Heartbeat css animation
Verifying my Blockstack ID is secured with the address 17VfKHLgWyeiWpRpmSBaZiSLvrdcBS2777 https://explorer.blockstack.org/address/17VfKHLgWyeiWpRpmSBaZiSLvrdcBS2777
@mandric
mandric / TestcrosswalkActivity.java
Created October 14, 2016 02:14
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.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
#!/bin/sh
#
# Do bulk edit request.
#
SELF=`basename $0`
COUCH_URL=${COUCH_URL-http://admin:secret@localhost:5988}
DOCS="$1"
if [ -z "$DOCS" ]; then
#!/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"`}"

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.

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.