Wired - nothing to do
Wireless - wifi-menu
/boot - fat32, 200MB ref
#!/bin/bash | |
curl 'https://www.archlinux.org/mirrorlist/?country=TW&protocol=http&ip_version=4&use_mirror_status=on' | cut -c 2- | tee /etc/pacman.d/mirrorlist |
import socket | |
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
s.bind(('', 5556)) | |
s.connect(('192.168.1.1', 5556)) | |
s.send(b'first') | |
s.send(b'second') |
Wired - nothing to do
Wireless - wifi-menu
/boot - fat32, 200MB ref
#include <iostream> | |
class OstreamWrapper { | |
private: | |
std::ostream& os; | |
public: | |
std::string sep; | |
std::string end; |
# %.o: %.cc | |
# Pattern rule: https://www.gnu.org/software/make/manual/html_node/Pattern-Rules.html | |
# $@ target name | |
# $^ all prerequisites | |
# $< first prerequisite | |
# Automatic variables: https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html | |
# .PHONY | |
# the target is not really a file |
#!/usr/bin/env python3 | |
import argparse | |
import sys | |
parser = argparse.ArgumentParser() | |
parser.add_argument('vertices', type=int) | |
N = parser.parse_args().vertices | |
left = 1 |
#!/usr/bin/env python2 | |
import sys | |
import re | |
import subprocess | |
import itertools | |
_find_unsafe = re.compile(r'[^\w@%+=:,./-]').search |
from PyQt5.Enginio import Enginio | |
from PyQt5.Enginio import EnginioClient | |
from PyQt5.Enginio import EnginioClientConnection | |
from PyQt5.Enginio import EnginioIdentity | |
from PyQt5.Enginio import EnginioModel | |
from PyQt5.Enginio import EnginioOAuth2Authentication | |
from PyQt5.Enginio import EnginioReply | |
from PyQt5.QtCore import QAbstractAnimation | |
from PyQt5.QtWidgets import QAbstractButton | |
from PyQt5.QtCore import QAbstractEventDispatcher |
[afg@vbox ~]$ ~/go/bin/yay -S --noconfirm numix-circle-icon-theme-git | |
==> Installing numix-circle-icon-theme-git | |
=> Run Dependencies: | |
==> AUR dependencies: numix-icon-theme-git | |
==> Installing numix-icon-theme-git | |
=> Run Dependencies: | |
==> Repository dependencies: gtk-update-icon-cache | |
resolving dependencies... | |
looking for conflicting packages... |