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
package tw.tobias.reviveandsurvive; | |
import android.content.Context; | |
import android.content.SharedPreferences; | |
import android.preference.PreferenceManager; | |
import android.util.Log; | |
import com.google.android.gms.location.ActivityRecognitionResult; | |
import com.google.android.gms.location.DetectedActivity; |
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
from Uni import * | |
import time | |
servers = CSEM.loadServers(["lofty"]) | |
def notify(title, subtitle, message): | |
sh.Command("terminal-notifier")("-title", title, "-subtitle", subtitle, "-message", message) | |
# Get all users on every server |
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
from Uni import * | |
import time | |
servers = CSEM.loadServers(["lofty"]) | |
def notify(title, subtitle, message): | |
sh.Command("terminal-notifier")("-title", title, "-subtitle", subtitle, "-message", message) | |
# Get all users on every server |
NewerOlder