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/sh | |
pkg upgrade | |
apt install build-essential | |
pkg install git | |
pkg install libjansson | |
pkg install libcurl | |
pkg install neovim | |
git clone https://github.com/pooler/cpuminer.git | |
cd cpuminer |
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
class BAT extends StatelessWidget { | |
final double fontSize; | |
const BAT({ | |
super.key, | |
required this.fontSize, | |
}); | |
@override | |
Widget build(BuildContext context) { |
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/env bash | |
filename=$(basename -- "$1") | |
filename="${filename%.*}" | |
ffmpeg -i $1 -vcodec libx265 -crf 30 ${filename}-min.mp4 |
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
ffmpeg -i input.xyz -vcodec libx265 -crf 30 output.mp4 |
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
FROM docker.io/library/ubuntu:22.10 | |
# distrobox stuff | |
RUN export DEBIAN_FRONTEND=noninteractive; \ | |
apt-get update; \ | |
apt upgrade -y; \ | |
apt-get install -y \ | |
bash \ | |
apt-utils \ | |
bc \ |
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
diff --git a/android/app/src/main/java/com/breez/client/plugins/breez/breezlib/GoogleAuthenticator.java b/android/app/src/main/java/com/breez/client/plugins/breez/breezlib/GoogleAuthenticator.java | |
index 52319507..0b05f5b8 100644 | |
--- a/android/app/src/main/java/com/breez/client/plugins/breez/breezlib/GoogleAuthenticator.java | |
+++ b/android/app/src/main/java/com/breez/client/plugins/breez/breezlib/GoogleAuthenticator.java | |
@@ -90,22 +90,8 @@ public class GoogleAuthenticator implements PluginRegistry.ActivityResultListene | |
} catch (Exception e) { | |
Log.w(TAG, "getAccessToken failed", e); | |
if (e instanceof UserRecoverableAuthException) { | |
- Log.w(TAG, "getAccessToken failed but it is recoverable, trying to sign in again"); | |
- GoogleSignInAccount signInResult = Tasks.await(signIn()); |
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
# podman build -f Containerfile -t radebarao | |
FROM registry.opensuse.org/opensuse/tumbleweed:latest | |
# distrobox stuff | |
RUN zypper -n install bash bc curl diffutils findutils gnupg less libvte-2* libvulkan1 libvulkan_intel libvulkan_radeon lsof Mesa-dri ncurses pinentry procps shadow sudo systemd time util-linux util-linux-systemd wget | |
# my stuff | |
RUN zypper -n install bat exa git neofetch neovim zsh | |
RUN echo "#!/usr/bin/env bash" > /bin/init-radebarao | |
RUN echo "cd ~" >> /bin/init-radebarao |
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
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
export ZSH="${HOME}/.oh-my-zsh" | |
ZSH_THEME="powerlevel10k/powerlevel10k" | |
plugins=( | |
git | |
) | |
source $ZSH/oh-my-zsh.sh |
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
# Generated by Powerlevel10k configuration wizard on 2022-08-02 at 19:38 -03. | |
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 15312. | |
# Wizard options: nerdfont-complete + powerline, large icons, rainbow, unicode, | |
# 24h time, round separators, round heads, round tails, 2 lines, dotted, full frame, | |
# dark-ornaments, sparse, many icons, concise, instant_prompt=verbose. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with powerline prompt style with colorful background. | |
# Type `p10k configure` to generate your own config based on it. | |
# |
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 'gits…/fill_view_port_column_scroll_view.dart'; | |
import 'package:flutter/material.dart'; | |
class Preview extends StatelessWidget { | |
final List<Widget> children; | |
const Preview( | |
this.children, { | |
Key? key, | |
}) : super(key: key); |
NewerOlder