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
import android.os.Bundle | |
import android.speech.tts.TextToSpeech | |
import android.speech.tts.TextToSpeech.* | |
import android.widget.Toast | |
import android.widget.Toast.LENGTH_LONG | |
import androidx.appcompat.app.AppCompatActivity | |
import com.example.ttsdemo.databinding.ActivityMainBinding | |
import java.util.* | |
class MainActivity : AppCompatActivity() { |
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
BindingScoped.kt | |
@Scope | |
@Retention(AnnotationRetention.BINARY) | |
annotation class BindingScoped | |
------------------------------------------------------- | |
CustomBindingComponent.kt |
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
The year is 20XX. | |
Everyone plays Fox at TAS levels of perfection. | |
Because of this, the winner of a match depends solely on port priority. | |
The RPS metagame has evolved to ridiculous levels due to it being the only remaining factor to decide matches. |
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
🎉 Merged PR #196 in nuhkoca/scenic_hiking | |
🎉 Merged PR #197 in nuhkoca/scenic_hiking | |
🎉 Merged PR #195 in nuhkoca/scenic_hiking | |
🎉 Merged PR #194 in nuhkoca/scenic_hiking | |
🎉 Merged PR #193 in nuhkoca/scenic_hiking |
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
JENKINS_HOMEDIR="/Users/Shared/Jenkins" | |
DEFAULTS_PLIST="/Library/Preferences/org.jenkins-ci.plist" | |
if dscl . -list /Users/jenkins; then | |
echo 'jenkins user already exists, attempting to change the shell to /bin/bash' | |
# Will fail if UserShell is not /usr/bin/false, but that's ok. | |
# Then we will assume an admin has changed it. | |
dscl . -change /Users/jenkins UserShell /usr/bin/false /bin/bash | |
else | |
echo 'No jenkins user found, creating jenkins user and group' |
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
#!/usr/bin/bash | |
for commit in $(git --no-pager log --reverse --after="2016-10-01T10:36:00-07:00" --pretty=format:%H) | |
do | |
echo $commit | |
git checkout $commit | |
#write linguist data to a file | |
echo "" >> ~/repo-linguist-report.txt | |
echo "commit: $commit" >> ~/repo-linguist-report.txt |
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
@Binds | |
abstract fun providePrinter(networkPrinter: NetworkPrinter) = Printer |
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 [Module] that injects ExoPlayer | |
* | |
* @author nuhkoca | |
*/ | |
@Module | |
class ExoModule { | |
/** | |
* Provides the user agent for the device |
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
@Module | |
public class ExoModule { | |
/** | |
* Provides the user agent for the device | |
* | |
* @param context represents an instance of {@link Context} | |
* @return an instance of user agent | |
*/ | |
@Singleton |
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
/** | |
* Copyright Google Inc. All Rights Reserved. | |
* <p/> | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* <p/> | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* <p/> | |
* Unless required by applicable law or agreed to in writing, software |
NewerOlder