Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View guseppiguliano's full-sized avatar
🎯
Focusing

Abdullah Ayub guseppiguliano

🎯
Focusing
View GitHub Profile
@guseppiguliano
guseppiguliano / sieveSegmented.cpp
Created May 18, 2016 17:43
Sieve of Eratosthene
#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.

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:

@guseppiguliano
guseppiguliano / huawei_e8372_config.md
Last active February 13, 2024 11:55
Huawei E8372 Linux Configuration and Setup

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 two values using the following command (while the dongle is plugged in): As an elevated user:

    # lsusb | grep Huawei

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 / keybase.md
Created September 14, 2019 10:48
Keybase Proof

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: