This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable csrutils: | |
Startup -> Cmd + R -> terminal -> `csrutil disable;reboot` | |
Download and install mobile partner: | |
http://download-c1.huawei.com/download/downloadCenter?downloadId=90143&version=352019&siteCode=worldwide | |
Create profile and connect. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* udpserver.c - A simple UDP echo server | |
* usage: udpserver <port> | |
*/ | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <netdb.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import argparse, sys | |
import apt | |
import networkx as nx | |
parser = argparse.ArgumentParser( | |
description = "Find top-level packages of the dependency graph" | |
) | |
parser.add_argument( |