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
configurations.all { | |
resolutionStrategy { | |
force("androidx.compose.ui:ui-tooling:1.0.0-beta09") | |
force("androidx.compose.ui:ui-tooling-data:1.0.0-beta09") | |
force("androidx.compose.ui:ui-tooling-preview:1.0.0-beta09") | |
} | |
} |
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
data class Event(val title: String, val day: String) | |
fun main() { | |
// Create a list of our events | |
val events = listOf<Event>( | |
Event("New StoicallyTyped Newsletter", "Monday"), | |
Event("Workout", "Monday"), | |
Event("Conference", "Tuesday"), | |
Event("@AdamMc331 Streams", "Wednesday"), | |
Event("Car Wash", "Thursday"), |
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
data class Foo(val i: Int) | |
fun main() { | |
val map = mapOf( | |
1 to Foo(1), | |
2 to Foo(2), | |
3 to Foo(3), | |
) | |
println("map = $map") |
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 | |
for i in *.mp4 | |
do | |
#ffmpeg -i "$i" "${i%mp4}mp3" # Convert mp4 to mp3 | |
ffmpeg -i "$i" -af silenceremove=stop_periods=-1:stop_duration=1:stop_threshold=-55dB "removed_silence_${i%mp4}mp3" | |
done |
OlderNewer