Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am chowdhary on github.
  • I am chowdhary (https://keybase.io/chowdhary) on keybase.
  • I have a public key ASBu41mI6-tBG8f0kTcfSOrdJywLsb1fzy53qrs_4Pufdwo

To claim this, I am signing this object:

@chowdhary
chowdhary / how-to-upgrade-nvmw-ssd-firmware-on-linux.md
Created October 6, 2018 16:53 — forked from klingtnet/how-to-upgrade-nvmw-ssd-firmware-on-linux.md
How to upgrade [Lenovo] NVMe SSD firmware on Linux

The instructions were tested on a Lenovo X1 Carbon 5th Gen (X1C5) on Arch Linux but should be applicable to other Lenovo models and Linux distributions.

BACKUP YOUR DATA! I created a bootable Ubuntu Image like this:

$ sudo sh -c 'curl --location --silent --fail "http://releases.ubuntu.com/18.04/ubuntu-18.04.1-desktop-amd64.iso" | pv > /dev/<your-usb-drive>'
# note that pv is only there to show progress, it is perfectly fine to redirect curl to the usb drive directly.

then I booted from this drive by pressing F12 on reboot and dumped my NVMe disk to an external hard drive like this:

@chowdhary
chowdhary / arch-linux
Created June 19, 2018 02:15 — forked from njam/arch-linux
Install Arch Linux on XPS 13 9360
# Installation on Dell XPS
# Please also consult official documentation:
# https://wiki.archlinux.org/index.php/Installation_Guide
# https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)
# https://wiki.archlinux.org/index.php/Dell_XPS_15_(9550)
# Enter BIOS with F2 and configure:
# - "System Configuration" > "SATA Operation": "AHCI"
# - "Secure Boot" > "Secure Boot Enable": "Disabled"
// Unity C# Cheat Sheet
// I made these examples for students with prior exerience working with C# and Unity.
// Too much? Try Unity's very good tutorials to get up to speed: https://unity3d.com/learn/tutorials/topics/scripting
@chowdhary
chowdhary / arch-linux-install.md
Last active August 29, 2015 14:27 — forked from Thrilleratplay/arch-linux-install.md
Installing Arch Linux on an LUKS Encrpyted root and booting from UEFI