Skip to content

Instantly share code, notes, and snippets.

@redneb
redneb / aux.css
Last active April 9, 2022 17:25
jsdom-css-import-bug
.test2 {
display: none;
}
@redneb
redneb / gist:ab5130e06f950109f69b
Created March 5, 2016 00:59
failed installation of fltkhs
Resolving dependencies...
Notice: installing into a sandbox located at /tmp/fltkhs/.cabal-sandbox
Configuring fltkhs-0.4.0.6...
Building fltkhs-0.4.0.6...
Failed to install fltkhs-0.4.0.6
Build log ( /tmp/fltkhs/.cabal-sandbox/logs/fltkhs-0.4.0.6.log ):
[1 of 1] Compiling Main ( /tmp/cabal-tmp-14333/fltkhs-0.4.0.6/dist/dist-sandbox-4223f251/setup/setup.hs, /tmp/cabal-tmp-14333/fltkhs-0.4.0.6/dist/dist-sandbox-4223f251/setup/Main.o )
Linking /tmp/cabal-tmp-14333/fltkhs-0.4.0.6/dist/dist-sandbox-4223f251/setup/setup ...
Running autoconf ...
Warning: defaultUserHooks in Setup script is deprecated.
#!/usr/bin/perl
use strict;
use warnings;
use EV;
use AnyEvent::Handle;
use AnyEvent::Socket;
my @remebered;
tcp_server 'unix/', '/tmp/stop_read_test', sub {
#!/usr/bin/perl
use strict;
use warnings;
use URI;
use IO::Socket::INET;
sub chunk {
my $data = shift;
$data = '' unless defined $data;
my $output = sprintf '%x', length($data);
diff --git a/lib/Starman/InputStream.pm b/lib/Starman/InputStream.pm
new file mode 100644
index 0000000..e0cfc38
--- /dev/null
+++ b/lib/Starman/InputStream.pm
@@ -0,0 +1,121 @@
+use strict;
+use warnings;
+
+# -----------------------------------