Skip to content

Instantly share code, notes, and snippets.

View FinlayDaG33k's full-sized avatar

Aroop 'FinlayDaG33k' Roelofs FinlayDaG33k

View GitHub Profile
@FinlayDaG33k
FinlayDaG33k / USAGE.md
Created February 6, 2021 08:57
Matrix Synapse stack with Docker stack compose and Docker Swarm
  1. Change docker-stack-compose.yml line 37 to have a secure password.
  2. Change matrix-202004202244.yml line 621 to the password set in step 1
  3. Change matrix-202004202244.yml line 1024 to have a secure secret (or leave empty).
  4. Generate a signing key and add it in a config/secret (see docker-stack-compose.yml line 62), I forgot how to do this
@FinlayDaG33k
FinlayDaG33k / gist:23a6134b1ad3e5f867a64219a374406e
Last active February 12, 2024 19:30
Minergate-cli ubuntu installation
Run this command to install MG-CLI:
sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb
to start miner (4 cores for BCN) use this command:
minergate-cli -user <YOUR@EMAIL.KAPPA> -bcn 4
Feel free to send some of your earnings to me:
BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j
@FinlayDaG33k
FinlayDaG33k / Deno-WoL.ts
Created June 4, 2021 09:57
Just a quick WoL sender for Deno I wrote a while ago (may be broken nowadays)
/**
* Author: Aroop Roelofs <me@finlaydag33k.nl>
* License: Do Whatever You Want With it
*/
import { Buffer } from "https://deno.land/std/io/mod.ts";
interface IWolOptions {
recipient?: IRecipient;
}
package finlaydag33k.swing.gui;
import java.awt.EventQueue;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.stream.Stream;
import javax.swing.JFrame;
import javax.swing.JPanel;
<?php
//error displaying wen something wrong
ini_set('display_errors', true);
error_reporting(E_ALL);
session_start(); // start the session
//for the pages
$disallowed_paths = array('header', 'footer');
if(!empty($_GET['page'])){
<!DOCTYPE html>
<html>
<head>
<title>Button</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="http://bootswatch.com/united/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<title>Button</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="http://bootswatch.com/united/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
@FinlayDaG33k
FinlayDaG33k / index.html
Created March 26, 2017 18:47
MissAudi1999's Countdown fix
<!DOCTYPE html>
<html>
<head>
<title>Button</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="main.js"></script>
</head>
<body>
<!--opdracht met input field number-->
Run this command to install MG-GUI:
sudo apt-get update && wget https://minergate.com/download/ubuntu -O minergate-gui.deb && sudo dpkg -i minergate-gui.deb
then run minergate from the start menu
Feel free to send some of your earnings to me:
BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j
for BCN: