Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Abdullah Ayub guseppiguliano

🎯
Focusing
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am guseppiguliano on github.
  • I am guseppiguliano (https://keybase.io/guseppiguliano) on keybase.
  • I have a public key ASCmBu8QRvEigQZ3M-sP3Ti2eiWZ0wU58adI0622oFDzhwo

To claim this, I am signing this object:

View setup-windows.md

Save list of all files on drive:

dir /S /B /OGN > C:\files-S.txt

Find out what last woke the computer:

powercfg -lastwake

Startup dir:

Win+R → shell:startup

Install Windows without a Microsoft account:

@guseppiguliano
guseppiguliano / huawei_e8372_config.md
Last active Dec 2, 2020
Huawei E8372 Linux Configuration and Setup
View huawei_e8372_config.md

Dependencies

  1. usb_modeswitch, usb_modeswitch-data
  2. libusb1
  3. libusb-devel(Fedora), libusb-dev(Debian based)

Configuration

By default, your linux box would register your Huawei E8372 as a Mass Storage device and not (somehow) as a modem. First, make sure you have the exace same device we're talking about. This can be confirmed by looking at 2 values. Give the following command (while the dongle is plugged in):

    sudo su
    lsusb | grep Huawei
View keybase.md

Keybase proof

I hereby claim:

  • I am guseppiguliano on github.
  • I am guseppiguliano (https://keybase.io/guseppiguliano) on keybase.
  • I have a public key whose fingerprint is 953D 2B6B C148 88EF ECC6 97B0 DF1D 4721 4AC5 55EE

To claim this, I am signing this object:

View sieveSegmented.cpp
#include <iostream>
#include <algorithm>
#include <cmath>
#include <vector>
#include <cstdlib>
#include <stdint.h>
const int L1D_CACHE_SIZE = 32768;
/// Generate primes using the segmented sieve of Eratosthenes.