This file contains hidden or 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
String getBuildTime() throws NameNotFoundException, IOException { | |
ApplicationInfo ai = getPackageManager().getApplicationInfo(getPackageName(), 0); | |
ZipFile zf = new ZipFile(ai.sourceDir); | |
long time = zf.getEntry("classes.dex").getTime(); | |
zf.close(); | |
return new SimpleDateFormat("yyyy-MM-dd h:mm:ss a zzz").format(new Date(time)); | |
} |
This file contains hidden or 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/bash | |
# Use this to do things like sending audio from a single application (e.g. Jackbox games) to the input of another application (e.g. Google Hangouts) while still being able to hear the audio. | |
# The source and recording applications must be selected in Pulseaudio volume control. | |
# Source of solution: https://askubuntu.com/a/724964 | |
DEFAULT_OUTPUT=$(pacmd list-sinks | grep -A1 "* index" | grep -oP "<\K[^ >]+") | |
pactl load-module module-combine-sink sink_name=record-n-play slaves=$DEFAULT_OUTPUT sink_properties=device.description="Record-and-Play" |
This file contains hidden or 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
name: "There" | |
description: "Install There (Edge version) and ThereIM" | |
game_slug: there | |
version: ThereEdge | |
slug: there-edge | |
runner: wine | |
year: 2003 | |
notes: | | |
Additional required software to be installed: | |
- Microsoft Edge |