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 | |
# AMD Ryzen 7 4800H processor profiler CLI tool for Slimbook computers | |
# If you use different AND processor, please review the params here https://shorturl.at/jHJ35 | |
COLOR_OFF='\033[0m' # Text Reset | |
GREEN='\033[0;32m' # Green | |
YELLOW='\033[0;33m' # Yellow | |
CPU=$(cat /proc/cpuinfo | grep name | uniq | cut -d ':' -f2 | sed -r "s/^\s+//g") |
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
# nix-env -p /nix/var/nix/profiles/system --delete-generations old | |
# nix-collect-garbage -d | |
# nix-env -p /nix/var/nix/profiles/system --list-generations | |
## Remove entries from /boot/loader/entries: | |
# sudo bash -c "cd /boot/loader/entries; ls | grep -v <current-generation-name> | xargs rm" |
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 | |
CC_TOOL_DIR="$HOME/cc-tool" | |
packages=("autoconf" "automake" "libusb" "boost" "pkgconfig" "libtool") | |
function innstall_packages() { | |
echo "👉 adding homebrew packages" | |
brew services stop --all | |
installed_packages=() | |
for i in "$@"; do |
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 Vue from 'vue' | |
import * as Sentry from '@sentry/electron' | |
import * as SentryIntegrations from '@sentry/integrations' | |
import { sentryDSN, eviorement, releaseVersion } from '@/config/env' | |
export const ElectronCrashReporter = () => | |
Sentry.init({ | |
dsn: sentryDSN, | |
environment: eviorement, | |
release: releaseVersion, |