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/sh | |
| curl https://get.docker.com | sh | |
| sudo curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose | |
| sudo chmod +x /usr/local/bin/docker-compose | |
| sudo usermod -aG docker $USER | |
| echo "****************" | |
| echo "* Docker and docker-compose have been installed" | |
| echo "* The current user has been added to the docker group" | |
| echo "* Close and restart this session or run 'su - $USER' to refresh your active groups" | |
| echo "****************" |
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
| version: '2' | |
| services: | |
| nodered: | |
| image: nodered/node-red-docker:0.17.5 | |
| restart: always | |
| environment: | |
| - TZ=America/Montreal | |
| logging: | |
| driver: syslog | |
| options: |
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
| // g++ -lstdc++ -Wno-write-strings fetch.cpp -o fetch | |
| #ifdef _WIN32 // Windows | |
| #include <winsock2.h> | |
| #include <ws2tcpip.h> | |
| #define MSG_NOSIGNAL 0 | |
| #else // Linux + Mac | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| #include <netinet/in.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
| --- | |
| - name: Add required dependencies. | |
| apt: | |
| name: | |
| - apt-transport-https | |
| - gnupg2 | |
| state: present | |
| - name: Add Elasticsearch apt key. | |
| apt_key: |
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
| import os, sys, subprocess | |
| try: | |
| from wand.image import Image | |
| except ImportError: | |
| os.system('python -m pip install wand') | |
| from wand.image import Image | |
| def main(args): | |
| if len(args) < 1: | |
| print('Usage: upscaler.py <input_image> [output_image]') |
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
| #pragma once | |
| #include <any> | |
| #include <functional> | |
| #include <optional> | |
| #include <type_traits> | |
| #include <utility> | |
| #include <thread> | |
| #include <future> | |
| #include <iostream> | |
| #include <array> |
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
| volumes: | |
| etc_wireguard: | |
| services: | |
| wg-easy: | |
| environment: | |
| # Change Language: | |
| # (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it, th, hi, ja, si) | |
| - LANG=en |
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
| // ==UserScript== | |
| // @name IPSv4 Cloudflare infinite loop fix | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Fixes Cloudflare's infinite captcha loading loop on IPS Board v4 forums by patching service worker registration | |
| // @match https://metin2.dev/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |
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
| name: build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| bsd: | |
| runs-on: ubuntu-latest |
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
| #include <iostream> | |
| #include <vector> | |
| #include <string> | |
| #include <asio.hpp> | |
| #include <stdexcept> | |
| #include <optional> | |
| #include <xorstr.hpp> | |
| namespace CloudflareChecker | |
| { |