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
#!/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 |
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
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 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 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") | |
} | |
} |
I hereby claim:
- I am matthewcmckenna on github.
- I am mattmck (https://keybase.io/mattmck) on keybase.
- I have a public key ASBSUPeXRxGTrcK8V61EIuOniQLOwUghjngM4SEGLYOKjQo
To claim this, I am signing this object:
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
<?xml version="1.0" encoding="utf-8"?> | |
<bitmap xmlns:android="http://schemas.android.com/apk/res/android" | |
android:src="@drawable/ic_your_notification_icon" /> | |
<!-- Default Cast v3 notification icon --> | |
<!-- android:src="@drawable/quantum_ic_cast_connected_white_24" --> |
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
splits { | |
abi { | |
enable true | |
reset() | |
include 'armeabi', 'x86' | |
universalApk false | |
} | |
} |
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
# ------- | |
# Aliases | |
# ------- | |
alias ll="ls -al" | |
alias la="ls -a" | |
alias ldir="ls -al | grep ^d" | |
alias ip="curl icanhazip.com" |
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
gsettings set org.gnome.desktop.background show-desktop-icons false |
NewerOlder