Some "testing" of Github's parser.
#!/bin/bash | |
rtmpdump -r 'rtmp://wolf.tv.macrophile.com/oflaDemo/wolftv' -v -q | \ | |
ffmpeg -i pipe: -bsf h264_mp4toannexb -codec copy -map 0 -f ssegment \ | |
-segment_list test.m3u8 -segment_time 4 -segment_wrap 24 \ | |
-segment_format mpegts -segment_list_type hls stream%05d.ts |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("picarto.tv") { | |
#msgs li { | |
font-size: 12px !important; | |
padding: 1px 1px 1px 1px !important; | |
line-height: 1.2em !important; | |
} | |
.msgAdminContent,.msgContent { | |
line-height: 1em !important; |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("furstre.am") { | |
#comunica-chat-pane .msg { | |
margin: 2px !important; | |
} | |
#comunica-chat-pane .msg .content .details { | |
font-size: 8pt !important; | |
margin: 2px !important; |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("hackaday.com") { | |
h1,h2,h3,a { | |
text-transform: none !important; | |
} | |
} |
[2014-12-13 11:43:09] 1 miner threads started, using 'scrypt' algorithm. | |
[2014-12-13 11:43:09] Starting Stratum on stratum+tcp://us1.coinking.io:8888 | |
[2014-12-13 11:43:09] JSON-RPC call failed: [ | |
-1, | |
"'vertcoin'", | |
"Traceback: <type 'exceptions.KeyError'>: 'vertcoin'\n/usr/local/lib/python2.7/dist-packages/stratum/protocol.py:192:dataReceived\n/usr/local/lib/python2.7/dist-packages/stratum/protocol.py:238:lineReceived\n/usr/local/lib/python2.7/dist-packages/stratum/services.py:13:_handle_event\n/usr/local/lib/python2.7/dist-packages/stratum/services.py:81:call\n--- <exception caught here> ---\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:139:maybeDeferred\n/usr/local/lib/python2.7/dist-packages/stratum/services.py:78:_run\n/root/custom-stratum-scryptn/mining/service.py:143:subscribe\n" | |
] | |
[2014-12-13 11:43:09] ...retry after 15 seconds | |
^C |
Like many people, I would like my podcasts delivered to my iPhone before I go to work. While there are many ways of doing it, Apple seems to screw things up every time they release a new MacOS X version.
With me, that version was Yosemite. They essentially broke cron.
So? Lets throw some hardware at it. While I use a Cubietruck, a Raspberry Pi will do just as good! Just make sure it's connected to the network and has ntpd keeping it's clock up to date (Rasbian does this for you).
On the Mac:
- Go into your System Preferences (read: Control Panel), hit the Sharing panel, and turn on "Remote Login". This starts the Mac's SSH server and gives you the command to use to access the Mac. You need the "[email protected]" part.
- Save the two Applescripts below into your ~/Library/Scripts folder using the Script Editor (located in Applications >> Utilities).
sandra ~ # emerge --info '=dev-python/PyQt4-4.11.4-r1::gentoo' | |
Portage 2.3.0 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.4, glibc-2.22-r4, 4.8.15-sandra x86_64) | |
================================================================= | |
System Settings | |
================================================================= | |
System uname: Linux-4.8.15-sandra-x86_64-Intel-R-_Core-TM-_i5-4670K_CPU_@_3.40GHz-with-gentoo-2.3 | |
KiB Mem: 32905212 total, 8341308 free | |
KiB Swap: 4194300 total, 4194300 free | |
Timestamp of repository gentoo: Sat, 31 Dec 2016 14:00:01 +0000 | |
sh bash 4.3_p48-r1 |
A bit of a Pi Zero cluster setup I'm getting together, with some setup notes in case I have to rebuild it.
Four Pi Zero's connected to a Pi 2, which is connected to the network via Ethernet or Wifi.
The below script should leave the Pi Zero's mounted to verify things.
#/usr/bin/perl | |
#use Digest::FarmHash qw(farmhash64); | |
use File::Find; | |
use DBI; | |
use Digest::SHA qw(sha256_hex); | |
#use bigint; | |
$|=1; |