- Configure git.
# ~/.config/git/config
[sendemail]
confirm = auto
smtpServer = smtp.gmail.com
smtpServerPort = 587
smtpEncryption = tls
smtpUser = <gmail email address># ~/.config/git/config
[sendemail]
confirm = auto
smtpServer = smtp.gmail.com
smtpServerPort = 587
smtpEncryption = tls
smtpUser = <gmail email address>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:
| IPv4 Addr | IPv6 Addr | ASn | Loc | Svc | Org |
|---|---|---|---|---|---|
| 8.8.8.8 | 2001:4860:4860::8888 | AS15169 | Worldwide (Anycast) | Google Public DNS | |
| 8.8.4.4 | 2001:4860:4860::8844 | AS15169 | Worldwide (Anycast) | Google Public DNS | |
| 77.88.8.8 | 2a02:6b8::feed:0ff | AS13238 | Worldwide (Anycast) | Yandex.DNS | Yandex |
| 77.88.8.1 | 2a02:6b8:0:1::feed:0ff | AS13238 | Worldwide (Anycast) | Yandex.DNS | Yandex |
| 1.1.1.1 | 2606:4700:4700::1111 | AS13335 | Worldwide (Anycast) | Cloudflare-DNS | Cloudflare/APNIC |
| 1.0.0.1 | 2606:4700:4700::1001 | AS13335 | Worldwide (Anycast) | Cloudflare-DNS | Clou |
| use std::fs::File; | |
| use std::io::prelude::*; | |
| use std::mem; | |
| fn layernorm_forward(output: &mut [f32], mean: &mut [f32], rstd: &mut [f32], | |
| input: &[f32], weight: &[f32], bias: &[f32], | |
| batch_size: usize, time_steps: usize, channels: usize) { | |
| let epsilon = 1e-5; | |
| for b in 0..batch_size { | |
| for t in 0..time_steps { |
| #!/bin/bash | |
| ###AUTHOR### | |
| #Harry Dove-Robinson 5/8/2017 | |
| #harry@doverobinson.me | |
| #https://gist.github.com/hdoverobinson | |
| #https://github.com/hdoverobinson | |
| ###USAGE### | |
| #This is a script used to configure u-blox GPS/GNSS modules from a text file generated by u-center. |