Skip to content

Instantly share code, notes, and snippets.

View miloszwasacz's full-sized avatar

Milosz Wasacz miloszwasacz

  • University of Bristol, InstalSoft
  • Chorzów, Poland
  • LinkedIn in/miloszwasacz
View GitHub Profile
@miloszwasacz
miloszwasacz / dual-boot-shared-bt.md
Created November 2, 2025 01:53
Windows Linux dual boot share Bluetooth device
@miloszwasacz
miloszwasacz / Dockerfile
Last active March 8, 2025 13:50
Docker setup for RISC-V compiler toolchain
FROM runtimeverificationinc/riscv-gnu-toolchain:ubuntu-jammy-2024.04.12
VOLUME ["/build"]
RUN apt-get update && apt-get install -y nano
WORKDIR /build
CMD ["/bin/bash"]
@miloszwasacz
miloszwasacz / git-repo-as-subfolder.md
Last active September 28, 2025 00:53
Put a git repo as a subfolder in another git repo

This is a short guide on how to put all files from a Git repository into a folder in another Git repository.

  1. Go the subrepo (REPO1), switch to the branch you want to merge, and make a new temporary branch.

    cd REPO1
    git checkout BRANCH_TO_MERGE
    git checkout -b TEMP_BRANCH
@miloszwasacz
miloszwasacz / LLVMWindowsBuild.md
Last active January 2, 2024 16:31
Building LLVM from source on Windows (MSVC)

Building LLVM from source on Windows (MSVC)

Prerequisites

  • Git
  • Visual Studio with C++ development toolchain installed

Steps

All these steps (maybe apart from 1.) must be run in Developer Command Prompt for VS

@miloszwasacz
miloszwasacz / anim_ic_checkbox_round.xml
Created May 14, 2022 13:19
VectorAnimatedDrawable Round Checkbox
<animated-vector
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt">
<aapt:attr name="android:drawable">
<vector
android:name="vector"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
@miloszwasacz
miloszwasacz / anim_ic_close_to_back_arrow.xml
Last active August 30, 2025 21:35
VectorAnimatedDrawable Close to Back Arrow
<animated-vector
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt">
<aapt:attr name="android:drawable">
<vector
android:name="vector"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
@miloszwasacz
miloszwasacz / tictactoe-9x9-icon.svg
Created March 24, 2020 12:48
Tic Tac Toe 9x9 icon
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.