Skip to content

Instantly share code, notes, and snippets.

TODO Dokumenty do inżynierki (W4)

  • Teczka (Do odebrania za darmo w dziekanacie)
    • Czytelne, drukowane litery napisane grubym czarnym markerem (grubość 1mm max)
    • Przy wybranej formie pracy na pierwszej stronie dopisać tryb studiów (S - Stacjonarnie, N - Zaoczne (Niestacjonarne))
  • Wydrukowana praca dyplomowa
    • Kolor dowolny, nie musi być kolorowy, może być czarno-biały
    • Strona tytułowa zgodna z wzorem (Jedyna strona w oryginalnej wielkości!)
    • Druk dwustronny, dwie strony na jednej stronie (4 strony na jednej kartce, dwie po jednej stronie, dwie po drugiej po drugiej, przewrót wzdłuż dłuższego boku)
  • Koperta (nie musi być B5, może być C5) wraz z płytą na końcu teczki (Płyta oraz koperta podpisana: imię, nazwisko i numer indeksu) - NIE ZAKLEJAMY KOPERTY
@motorailgun
motorailgun / idea.md
Last active April 11, 2025 11:36
Installing Windows and Linux into the same partition

Installing Windows and Linux into the same partition

But WHY?

There was a reddit post about installing Arch on NTFS3 partition. Since Windows and Linux doesn't have directories with same names under the /(C:\), I thought it's possible, and turned out it was actually possible.
If you are not familiar to Linux, for example you've searched on Google "how to dualboot Linux and Windos" or brbrbr... you mustn't try this. This is not practical.

Pre-requirements

  • UEFI system
  • Any Linux live-boot CD/DVD/USB... with Linux kernel newer than 5.15
  • Windows installer USB
@unixfox
unixfox / howto.md
Last active November 1, 2024 19:37
Install Alpine Linux on Oracle Cloud ARM VPS with Ubuntu pre-installed
@ctsrc
ctsrc / README.md
Last active February 1, 2025 12:12 — forked from niw/README.en.md
Guide: Run FreeBSD 13.1-RELEASE for ARM64 in QEMU on Apple Silicon Mac (MacBook Pro M1, etc) with HVF acceleration (Hypervisor.framework)
@unixfox
unixfox / README.md
Last active November 3, 2024 13:06
Install alpine linux on Scaleway stardust
@thalamus
thalamus / ArchLinuxARM-M1
Last active February 23, 2025 12:24
How to boot Arch Linux ARM in QEMU (patched for M1)
/*
* This document is provided to the public domain under the
* terms of the Creative Commons CC0 public domain license
*/
How to boot Arch Linux ARM in QEMU (patched for M1)
Prerequisites:
QEMU - patched for M1 processors - patches: https://github.com/utmapp/qemu
@willeccles
willeccles / shellandc.c
Last active November 23, 2024 17:15
A C program which is also a valid bash script, and vice versa.
#include <stdio.h>
#define $x ,x
#define $i ,i
#define eval int
#define read scanf
#define $scanfpat "%d", &
#define $(x) ,(x)
#define $open (
#define $close )
#define do {
@unixfox
unixfox / readme.md
Last active April 25, 2025 09:06
How to get IPv4 connectivity on an IPv6 only VPS

Some hosting providers like scaleway allows to remove the IPv4 from the VPS in order to save 1€/month but doing this will result in losing connectivity to the "IPv4 world".
Or you may have ordered a VPS that only has IPv6 connectivity and you want to access to a resource only accessible from the "IPv4 world".
Here is how to gain your access back to the "IPv4 world".

Change your name servers(s) to DNS64 name servers(s)

Note: You may deploy your own DNS64 & NAT64 server on a separate server by following this tutorial (untested): https://packetpushers.net/nat64-setup-using-tayga/.
Note²: You may find a explanation of what is NAT64 and DNS64 on Wikipedia.

  1. Choose a/multiple DNS64 public server(s) that has/have its own NAT64 public service from this list:
@norcalli
norcalli / yay-update-ignore-errors
Last active February 22, 2023 09:34
A wrapper script to run yay and incrementally build a list of packages to ignore if they error out.
#!/bin/sh
# Wrapper script around yay to try to ignore errors
# Copyright © 2019 Ashkan Kiani
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
@ariankordi
ariankordi / unix socket reverse proxy thing.php
Last active December 13, 2022 17:52
Reverse proxy to a UNIX socket with PHP, for when you are running Go web apps on cPanel servers or something like that LOL (complete with header and multipart POST form parsing!) Doesn't work with WebSocket though.
<?php
// This works best on Apache, and if you have enable_post_data_reading off.
// Set "php_flag enable_post_data_reading off" in your htaccess. It'll avoid having to parse multipart forms.
// enter the sock to connect to here
const SOCK_TO_CONNECT_TO = './run.sock';
// Close the session right now, because it might make everything faster, and we don't know how long the response will last for.
session_write_close();