T490 Fan Speed Configuration With Thinkfan

T490 Fan Speed Configuration With Thinkfan

Tuesday, May 24, 2022

I love Thinkpads. They are robust and durable. And no need to mention about their world class keyboards! It works like a charm, but we need to configure it a bit for silence. Let’s start! 1. Install the necessary package sudo apt install thinkfan 2. Create the configuration file After installing the package we need to create a config file in the following directory: /etc/thinkfan.conf This file requires three main items:
@ rushi
2 minutes read

Colab Equivalent Pytorch Docker With GPU

Sunday, Mar 27, 2022

Dockerfile FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-devel WORKDIR /root RUN pip install jupyter jupyterlab EXPOSE 8888 COPY . . CMD jupyter notebook --port=8888 --no-browser --ip=0.0.0.0 --allow-root docker-compose.yml version: "3" services: main: build: . volumes: - .:/root ports: - 8888:8888 network_mode: "host" privileged: true deploy: resources: reservations: devices: - driver: nvidia count: 1 capabilities: [gpu] Run docker-compose build docker-compose run --rm main Reason? Colab equivalent Pytorch version 1.10.0 torchtext works torchdata works
@ rushi
1 minutes read

Enable Secure Boot on Dualboot

Monday, Nov 1, 2021

Repo to https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#Using_a_signed_boot_loader Tips preloader-signed works with systemd boot If you have grub and want to move to systemd-boot refer this
@ rushi
1 minutes read

Switch to Systemd From Grub

Monday, Nov 1, 2021

I have two efi partitions, p1 for windows and p4 for Arch sudo fdisk -l Add the efi entry in /etc/fstab get the UUID from sudo blkid Mount the /efi sudo mount /efi && ls /efi The structure would look something like Install ucode for my amd machine it is sudo pacman -S amd-ucode Reinstall linux kernel sudo pacman -S linux linux-headers mkinitcpio -P Add the following in sudo nano /efi/loader/entries/arch.
@ rushi
1 minutes read

关于我

g1eny0ung 的 ❤️ 博客

记录一些 🌈 生活上,技术上的事

一名大四学生

马上(已经)毕业于 🏫 大连东软信息学院

职业是前端工程师

业余时间会做开源和 Apple App (OSX & iOS)

主要的技术栈是:

  • JavaScript & TypeScript
  • React.js
  • Electron
  • Rust

写着玩(写过):

  • Java & Clojure & CLJS
  • OCaml & Reason & ReScript
  • Dart & Swift

目前在 PingCAP 工作

– 2020 年 09 月 09 日更新

其他

如果你喜欢我的开源项目或者它们可以给你带来帮助,可以赏一杯咖啡 ☕ 给我。~

If you like my open source projects or they can help you. You can buy me a coffee ☕.~

PayPal

https://paypal.me/g1eny0ung

Patreon:

Become a Patron!

微信赞赏码

wechat

最好附加一下信息或者留言,方便我可以将捐助记录 📝 下来,十分感谢 🙏。

It is better to attach some information or leave a message so that I can record the donation 📝, thank you very much 🙏.