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 cats.Applicative | |
import cats.effect.std.Random | |
import cats.syntax.all._ | |
def randomChars[F[_]: Applicative: Random](num: Int): F[List[Char]] = | |
List.fill(num)(Random[F].nextAlphaNumeric).sequence |
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
git fetch -p && for branch in $(git for-each-ref --format '%(refname) %(upstream:track)' refs/heads | awk '$2 == "[gone]" {sub("refs/heads/", "", $1); print $1}'); do git branch -D $branch; 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
dconf write /org/gnome/gnome-flashback/desktop/show-icons false | |
dconf write /org/gnome/gnome-flashback/desktop/draw-background false | |
dconf write /org/gnome/gnome-flashback/root-background true |
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 cats._ | |
import cats.data._ | |
import cats.instances.list._ | |
import cats.instances.parallel._ | |
import cats.mtl._ | |
import cats.mtl.implicits._ | |
import cats.syntax.all._ | |
import scala.language.higherKinds |
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
GIT_PS1_SHOWDIRTYSTATE="true" | |
GIT_PS1_SHOWUNTRACKEDFILES="true" | |
#GIT_PS1_SHOWUPSTREAM="auto" | |
if [ "$color_prompt" = yes ]; then | |
GIT_PS1_SHOWCOLORHINTS="true" | |
PROMPT_COMMAND='__git_ps1 "${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]" "\\\$ "' | |
else | |
PROMPT_COMMAND='__git_ps1 "\u@\h:\w" "\\\$ "' | |
fi |