From d604618a5e77de62d95e032fbed9aff83a820514 Mon Sep 17 00:00:00 2001 From: Nemo Date: Tue, 9 Feb 2021 13:17:09 +0530 Subject: [PATCH] New ruby stuff --- files/bash/.bashrc | 3 +++ files/i3/.config/i3blocks/config | 3 ++- files/ruby/.bundle/config | 6 ++++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/files/bash/.bashrc b/files/bash/.bashrc index d435a18..f7ba439 100644 --- a/files/bash/.bashrc +++ b/files/bash/.bashrc @@ -22,6 +22,9 @@ pathadd /home/nemo/.local/share/junest/bin export GPG_TTY="$(tty)" export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +function gemls(){ + tar --to-stdout -xf "$1" data.tar.gz | tar -zt +} alias adb.run='apktool build src/ -o patched.apk && java -jar ~/apps/uber-apk-signer-1.1.0.jar -a patched.apk && adb install -r -d patched-aligned-debugSigned.apk && adb shell monkey -p '$1' -v 1' alias mk='microk8s.kubectl' alias settings='env XDG_CURRENT_DESKTOP=GNOME gnome-control-center' diff --git a/files/i3/.config/i3blocks/config b/files/i3/.config/i3blocks/config index a4ee8b8..5cfc691 100644 --- a/files/i3/.config/i3blocks/config +++ b/files/i3/.config/i3blocks/config @@ -36,7 +36,8 @@ markup=none [weather] command=curl -Ss 'https://wttr.in/Bangalore?0&T&Q' | cut -c 16- | head -2 | xargs echo -interval=3600 +# Every 5 minutes, gets stale otherwise +interval=300 color=#A4C2F4 [ip] diff --git a/files/ruby/.bundle/config b/files/ruby/.bundle/config index c81bf02..ba1c854 100644 --- a/files/ruby/.bundle/config +++ b/files/ruby/.bundle/config @@ -1,7 +1,7 @@ --- BUNDLE_PATH: "vendor/bundle" BUNDLE_GLOBAL_GEM_CACHE: "true" -BUNDLE_FORCE_RUBY_PLATFORM: true +BUNDLE_FORCE_RUBY_PLATFORM: "true" BUNDLE_DEFAULT_INSTALL_USES_PATH: "true" BUNDLE_ALLOW_OFFLINE_INSTALL: "true" BUNDLE_CACHE_ALL: "true" @@ -10,4 +10,6 @@ BUNDLE_DISABLE_SHARED_GEMS: "true" BUNDLE_GEM__COC: "true" BUNDLE_GEM__TEST: "false" BUNDLE_GEM__MIT: "false" -BUNDLE_JOBS: "8" \ No newline at end of file +BUNDLE_JOBS: "8" +BUNDLE_GEM__CI: "github" +BUNDLE_GEM__RUBOCOP: "true"