Main idea - this is a tiny webserver, that displays buttons in accordance with config, receives and sends events to and from web iface and then execute commands on server side. Or monitors state and shows it on corresponding widget
This file contains 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/perl | |
use 5.028; | |
use Win32::GuiTest qw(MouseMoveAbsPix SendMouse SendKeys IsKeyPressed GetCursorPos); | |
use Time::HiRes; | |
my $work = 0; | |
my $clicker = new MagicClicker; | |
if(0) { | |
while(1) { |
This file contains 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
perl -e 'for (1..100) { my $p; print $p="Fizz" unless $_ % 3; print $p = "Buzz" unless $_ % 5; print $_ unless $p; print "\n" }' |
This file contains 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
FROM debian | |
ENV RUSTUP_HOME=/usr/local/rustup \ | |
CARGO_HOME=/usr/local/cargo \ | |
PATH=/usr/local/cargo/bin:$PATH | |
RUN apt-get update && \ | |
apt-get install -y wget git build-essential python3 | |
RUN set -eux; \ |
I hereby claim:
- I am vany on github.
- I am vany (https://keybase.io/vany) on keybase.
- I have a public key ASAjVJUxIRJXC_fTuyvwYdyfENLm2dKf_gem0L5NJVLq8Qo
To claim this, I am signing this object:
This file contains 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/perl | |
# sudo apt install libanyevent-httpd-perl libanyevent-forkobject-perl | |
use 5.014; | |
use lib qw(.); | |
use AnyEvent::HTTPD; | |
use AnyEvent::ForkObject; | |
use Getopt::Long; | |
use AnyEvent::Log; |
This file contains 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
// GPL | |
// go run merger.go "tokentokentoken" insolar/insolar/<prnum> | |
package main | |
import ( | |
"context" |
This file contains 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
use 5.030; | |
use Data::Dumper; | |
use Getopt::Long; | |
use XML::SAX; | |
my $infile = shift @ARGV; | |
die "Unexistent file" unless -f $infile; | |
my $parser = XML::SAX::ParserFactory->parser( Handler => FB2SAXHandler->new ); |
This file contains 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
N4Ig5gNg9gRghhEAuUBnALgJwJYDswBqAppqtlLsiAKwB0AHLQIwgA0IAbiWRcgCy0AnEz7tsqAEJF0cZADMEqIuxjS4BZAAZ2Aa2wQIAZThdJRaAHctzAMzsArrmwBHe0QCSAEypMAbL81qQT4AdhD/Gxs+KJtfPnpBACYWdgAHCDgATxIAcTh0AAsSPDAqAFs1RDSM7MwAWShPbDlsEmQmJmpEpM7NPgDfelDNEe0QGHt9JvxUAEU3N2QAbRAAFUw4VOYQAF12dGwKgBkiOXQAeVwAYQ2z5Gp2AGNbg/wqdc22EAPj04vcD6pZAAWiY7AsUEwEG8SCYiTGjmwXFIRGQiXYYBwngAgpgNpllqAIEQuIhYewynAAB4ACSICEK7SEcOoNjhfD4mkS1CYkXoRAA1NR6OwigyClp2PkZI8dGjaPCQolIlElbE2VzBdQHiBUKkiI9sAgqF90EQqegTexcHAKlQAAqYIhkMqpS0ORJ1ewyA68JBLPacMrvHCuymoQy4KBWAC+rCJJPMaIp1Lp4qZwUScUEQ183RsiX6vi1IpAYogjKQY2lcFl8u5ws0BZCfCYSV8TECWp1eoNRrJ4EwUEcniO9jKqkwpvNlqQIAAPHq4LgAAQHdDEgC8AB0QAB1KCNXcrx4ZVCoHfgCCZVIFbCPCgryA3u8P3DArBEIjAzx9zz2YdUBXXcAD55wAeiXXAQK+G07TnR1nUON0vnsT1vXychKH9QMOGDOd1mQ8NI2jL5zgAaQfRxZyYOME1JZA7BASlaXpCsJVhWgQk0QQQgLXxtVbHMOT4EtRTYytq3QGU5U4+h6FZQQ80EhTQkSRJu3YXtDWNOc6k+fYZyoRdUmXNdsA3IhL301IVwAMQ2MAKlwdBUGPU84HPS9n1ve9Hx818KA/ApgJAMDINM6DYNtVECPsTAN2Q1D0J9LDllw/C1lDVJiKjKx2AoqiXPaOiQGJBikFEZjUwkjjEloEZEnk7jqE0ehulCJgxLLWrJRAGs6yQereUEJsk |
NewerOlder