This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
# https://github.com/orgzly/orgzly-android/issues/8 | |
orgzly_sync() { | |
# if you are using orgzly-revived use the following instead: | |
# am broadcast -n com.orgzlyrevived/com.orgzly.android.ActionReceiver -a com.orgzly.intent.action.SYNC_START | |
am broadcast -n com.orgzly/com.orgzly.android.ActionReceiver -a com.orgzly.intent.action.SYNC_START | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
import sys | |
inputFile = open(sys.argv[1], 'r') # file to read data from | |
def sortAndRemoveNonAlpha(s): | |
return ''.join(sorted(list(''.join(filter(str.isalnum, s))))) | |
resultSizeMap = {} | |
selectivityMap = {} |