- download xmrig: https://github.com/xmrig/xmrig/releases
- copy xmrig/scripts to xmrig-proxy/scripts
$ cp -frv xmrig/scripts xmrig-proxy/
$ cd xmrig-proxy && scripts/build_deps.sh
- edit cmake/cmake.flags
- find
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++")
and add-static
to it - result:
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++ -static")
$ mkdir -p build && cd build
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
#!/bin/bash | |
hartes_welches=/usr/bin/which | |
nein() { | |
echo "Walter F. Tichy lacht über dein Versagen" | |
} | |
# $ tichyfizieren man Mann >> tichy.sh | |
# $ . tichy.sh |
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/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import select | |
from select import kqueue, kevent | |
class Watch(object): | |
SIZE_HINT = 50000 |