Skip to content

Instantly share code, notes, and snippets.

View aleohl's full-sized avatar

Alexander O aleohl

View GitHub Profile
@aleohl
aleohl / avada_wtf.php
Created February 22, 2022 18:02
#avada
/**
* Re-add the third party changes of the_content filter.
*
* @access public
* @since 2.2
* @param object|bool $override The override or false.
* @return void
*/
public function readd_third_party_the_content_changes( $override = false ) {
global $avada_events_calender;
@aleohl
aleohl / media-keyboard.user.js
Created October 29, 2021 21:48 — forked from fcannizzaro/media-keyboard.user.js
use media key to play/pause HTML5 video
// ==UserScript==
// @name Media Keyboard
// @version 0.1
// @description try to take over the world!
// @author Francesco Cannizzaro
// @match *://*/*
// ==/UserScript==
(function() {
'use strict';
@aleohl
aleohl / chia-harvester.service
Created July 7, 2021 04:23
Chiadog + Chia Harvester Systemd Units
[Unit]
Description=Chia Harvester
After=network.target
[Service]
Type=simple
User=chia
ExecStart=/home/chia/chia-blockchain/venv/bin/chia_harvester
Restart=on-failure
<?php
// Used for signature
$name = 'Test Smith';
// As much data about your account as possible
$data = [
'Full Name: Test Smith',
'Citizenship: Sweden',
];

Keybase proof

I hereby claim:

  • I am aleohl on github.
  • I am aleohl (https://keybase.io/aleohl) on keybase.
  • I have a public key ASBzT8_KtmagrTweoIdIgXzYXXhqhJw34xepONAxZHJ1OQo

To claim this, I am signing this object:

chia.exe configure -h
Usage: chia.exe configure [OPTIONS]
Options:
--set-node-introducer TEXT Set the introducer for node - IP:Port
--set-farmer-peer TEXT Set the farmer peer for harvester - IP:Port
--set-fullnode-port TEXT Set the port to use for the fullnode, useful
for testing
-log-level, --set-log-level, --log-level [CRITICAL|ERROR|WARNING|INFO|DEBUG|NOTSET]
@aleohl
aleohl / hosts.txt
Last active May 7, 2021 08:35
aleohl filter list, used with ublock etc.
127.0.0.1 intercom.io
127.0.0.1 intercomcdn.com
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc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

I hereby claim:

  • I am aleohl on github.
  • I am aleohl (https://keybase.io/aleohl) on keybase.
  • I have a public key ASBcAupZvxuwHxbcHDoA7URrRKcaEceKpw2s2m1A8zf5vwo

To claim this, I am signing this object: