You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🎯
Always here to help.
Jim Schubert
jimschubert
🎯
Always here to help.
Trust me, I'm a pro.
Things I know a little about: Go, Java, JavaScript, Scala, Kotlin, Frontend/Backend, Other things
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
Display log messages for commits in a given branch
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
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
A take a gzip compression for JavaScript and CSS in Finatra
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
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
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
on{x} script: Between 11:00 PM and 7:00 AM, 50% ringer for known contacts and 5% other audio
on{x} script: Between 11:00 PM and 7:00 AM, 50% ringer for known contacts and 5% other audio
on{x} is an application developed by Microsoft for Android phones. It exposes a pretty large amount of the Android API to be scripted using JavaScript. This allows you to script actions like "Disable the wringer when I flip the phone over" or "Display a weather notification at 7:50am" or any number of other things.
This script automates something I think should be a part of Android: disabling/lowering ringer and notification sounds during bedtime while allowing calls from your contacts to be heard. I'd previously used an application called 'Bedside' or something, but I had to remember to enable it at night and disable it in the morning. Other applications either don't provide a whitelist of allowed contact phone numbers.
TODO
When I'm able to query contact groups, I'd like to apply a filter to the contacts loop to allow only calls from my 'Favorites' to be heard.
Visual Studio snippet to surround xml select with CDATA tags
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