Skip to content

Instantly share code, notes, and snippets.

View aleohl's full-sized avatar

Alexander O aleohl

View GitHub Profile
@aleohl
aleohl / gist:6734527
Created September 27, 2013 20:13
irssi one-liner for closing all queries.
/script exec foreach my $w ( Irssi::windows() ) {my $act = $w->{active};next unless defined $act->{type};$w->command("window close") if $act->{type} eq 'QUERY';}
module.exports = function(grunt) {
//Initializing the configuration object
grunt.initConfig({
// Task configuration
less: {
development: {
options: {
compress: true
},

Keybase proof

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:

//uwYAAP8AAAaQAAAAgAAA0gAAABAAABpAAAACAAADSAAAAETEFNRTMuOTguMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/+7JgAA/wAABpAAAACAAADSAAAAEAAAGkAAAAIAAANIAAAARMQU1FMy45OC4yAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@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
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]

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:

<?php
// Used for signature
$name = 'Test Smith';
// As much data about your account as possible
$data = [
'Full Name: Test Smith',
'Citizenship: Sweden',
];
@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