↓ Skip to main content
号码助手

号码助手

彩票开奖号码分析助手

Recent

upgrade go binary

·1 min
https://gist.github.com/nikhita/432436d570b89cab172dcf2894465753 https://github.com/eduncan911/dotfiles/blob/master/bin/upgrade-go.sh #!/bin/bash set -o errexit function _upgrade_go_binary { go_latest_version=$(curl --silent https://go.dev/doc/devel/release | grep -Eo 'go[0-9]+(\.[0-9]+)+' | sort -V | uniq | tail -1) # go_latest_version="go1.20rc3" if [[ $go_latest_version == "" ]]; then echo "Skipping Go binary upgrade (no version found)." return fi if [ -d ~/Sdk/go/$go_latest_version ]; then echo "Lastest version of Go already installed, skipping upgrade." return fi [[ $(hash go 2>/dev/null) ]] && go version echo "Upgrading to $go_latest_version" # compatible with Linux and Darwin (maybe windows too) local GO_LATEST_FILENAME="$go_latest_version.$(uname -s | \ tr '[:upper:]' '[:lower:]')-amd64.tar.gz" echo "Downloading $GO_LATEST_FILENAME to ~/.bin/go/$GO_LATEST_FILENAME" wget https://dl.google.com/go/$GO_LATEST_FILENAME -O /tmp/$GO_LATEST_FILENAME echo "Installing $GO_LATEST_FILENAME" cd ~/Sdk/go tar zxf /tmp/$GO_LATEST_FILENAME rm /tmp/$GO_LATEST_FILENAME mv go $go_latest_version ln -sfn ~/Sdk/go/$go_latest_version ~/Sdk/go/current go version } if [[ -d ~/Sdk/go ]]; then _upgrade_go_binary echo "Skipped upgrading binary. source is now paged." else echo "No custom ~/Sdk/go/ detected. Using system installed version." fi unset _upgrade_go_binary if [[ ! -x "$(which go)" ]]; then echo "Go is not installed. Exiting." exit 3 fi

Thermalright FAN PWM

·1 min
TL-C12 PRO # http://thermalright.com/product/tl-c12-pro/ PWM 255 FAN 1901 PWM 240 FAN 1854 PWM 225 FAN 1757 PWM 210 FAN 1668 PWM 195 FAN 1595 PWM 180 FAN 1523 PWM 165 FAN 1454 PWM 150 FAN 1393 PWM 135 FAN 1313 PWM 120 FAN 1236 PWM 105 FAN 1160 PWM 90 FAN 1068 PWM 75 FAN 962 PWM 60 FAN 893 PWM 45 FAN 774 PWM 30 FAN 653 PWM 28 FAN 634 PWM 26 FAN 615 PWM 24 FAN 599 PWM 22 FAN 587 PWM 20 FAN 571 PWM 18 FAN 553 PWM 16 FAN 544 PWM 14 FAN 521 PWM 12 FAN 508 PWM 10 FAN 489 PWM 8 FAN 474 PWM 6 FAN 459 PWM 4 FAN 439 PWM 2 FAN 427 PWM 0 FAN 417 TL-C14X # http://thermalright.com/product/tl-c14x/

·1 min
https://gist.github.com/thesubtlety/be6e7ec9c19083473bed4cae11c8160d https://medium.com/geekculture/offensive-go-creating-malicious-dlls-8c797bcdd290 https://zchee.github.io/golang-wiki/WindowsDLLs/ https://zhuanlan.zhihu.com/p/46721768

·1 min
https://wiki.archlinux.org/title/intel_graphics https://bioslevel.com/articles/2022/intel-arc-dedicated-gpus-linux-kernel-60-and-latest-mesa-on-ubuntu-2204 https://github.com/intel/media-driver https://www.intel.com/content/www/us/en/download/747008/intel-arc-graphics-driver-ubuntu.html https://hobo.house/2018/05/18/fix-for-intel-i915-gpu-freeze-on-recent-linux-kernels/ https://ask.fedoraproject.org/t/intel-graphics-best-practices-and-settings-for-hardware-acceleration/21119 https://github.com/intel/media-driver cd media-driver git pull cd .. yes | rm /tmp/build_media -R mkdir /tmp/build_media cd /tmp/build_media cmake /mnt/tmp/tmp/intel-driver/media-driver make -j"$(nproc)" sudo make install

·1 min
MCE # https://bbs.archlinux.org/viewtopic.php?id=268720 https://wiki.gentoo.org/wiki/Ryzen#Random_reboots_with_mce_events https://mlog.club/article/5816066 https://bugzilla.kernel.org/show_bug.cgi?id=206903 https://github.com/DimitriFourny/MCE-Ryzen-Decoder https://www.reddit.com/r/AMDHelp/comments/nh7dlo/i_just_rmaed_my_cpu_to_get_the_same_mce_hardware/ https://bbs.archlinux.org/viewtopic.php?id=233304 https://www.reddit.com/r/linuxhardware/comments/jcr9gl/need_help_diagnosing_potential_hardware_failure/ github.com/qrwteyrutiyoup/ryzen-stabilizator https://www.reddit.com/r/linuxhardware/comments/nsqz2l/amd_ryzen_9_5900x_mce_hardware_error/ https://www.reddit.com/r/AMDHelp/comments/pcp4fs/what_is_power_supply_idle_control_and_other_bios/ https://bugzilla.kernel.org/show_bug.cgi?id=206903#c135 https://www.chiphell.com/forum.php?mod=viewthread&tid=2322849&extra=&mobile=1 http://machbbs.com/chiphell/370444 https://bugzilla.kernel.org/show_bug.cgi?id=212087 https://www.overclock.net/threads/replaced-3950x-with-5950x-whea-and-reboots.1774627/ https://rog.asus.com/forum/showthread.php?121917-Rog-crosshair-viii-dark-hero-5950x-constant-reboots https://www.reddit.com/r/ryzen/comments/kc3m6f/rog_crosshair_viii_dark_hero_5950x_constant/ 1、OC→高级CPU配置→AMD CBS→Global C-State Control→禁止 2、OC→高级CPU配置→PSS Support→禁止 3、OC→高级CPU配置→Power Supply Idle Control→Typical Current Idle