Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rubinlinux on github.
  • I am rubin (https://keybase.io/rubin) on keybase.
  • I have a public key whose fingerprint is 297C 2D0E D2F6 52AB 4930 2181 C05D B1C3 ABA2 AA36

To claim this, I am signing this object:

[
{
"id":"ptassays_verified_plates",
"field":"ptassays_verified_plates",
"type":"string",
"input":"text",
"operator":"equal",
"value":"aoeu"
},
{
https://blargh.com:4442/staff/fish/genotype/kaspzfo/assaysLst.php?condition=AND&rules.0.id=ptassays_name&rules.0.field=ptassays_name&rules.0.type=string&rules.0.input=text&rules.0.operator=equal&rules.0.value=0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789+0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789+0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789+0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789+0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789+0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789%2F0123456789+0123456789%2F0123456789%2F0123456789%2F01234567
[root@nas] ~# zpool status pool1
pool: pool1
state: ONLINE
status: One or more devices are configured to use a non-native block size.
Expect reduced performance.
action: Replace affected devices with devices that support the
configured block size, or migrate data to a properly configured
pool.
scan: resilvered 1.21T in 5h53m with 0 errors on Sat Jun 27 05:01:28 2015
config:
@rubinlinux
rubinlinux / gist:80cf38c09f0795f5f93c
Created July 11, 2015 04:42
gnomebluetoothapplet mint 17
error t=2015-07-10T21:32:16Z Requiring GnomeBluetoothApplet, version none: Typelib file for namespace 'GnomeBluetoothApplet' (any version) not found
error t=2015-07-10T21:32:16Z [Applet "[email protected]"]: Error importing applet.js from [email protected]
error t=2015-07-10T21:32:16Z Could not load applet [email protected]
[2015-12-28 23:15:53] DEBUG [DEBUG]: SSL: read 4096 bytes of randomness
[2015-12-28 23:15:53] DEBUG [DEBUG]: Server ready...
[2015-12-28 23:15:54] DEBUG [DEBUG]: Connection check at : Mon Dec 28 23:15:54 2015
[2015-12-28 23:15:54] DEBUG [DEBUG]: Next connection check : Mon Dec 28 23:25:54 2015
[2015-12-28 23:15:54] DEBUG [DEBUG]: [1451373354] check_pings() again in 120s
[2015-12-28 23:16:04] DEBUG [DEBUG]: Beginning auth request on client 0x0000000010a4e380
[2015-12-28 23:16:04] DEBUG [DEBUG]: Requesting DNS PTR 122.134.230.173.in-addr.arpa. as 0x0000000010ab6e10
[2015-12-28 23:16:04] DEBUG [DEBUG]: find_id(32673) -> NULL
[2015-12-28 23:16:04] DEBUG [DEBUG]: Auth 0x0000000010ac7330 [20] still has flag 1
[2015-12-28 23:16:04] DEBUG [DEBUG]: SSL_accept: Internal OpenSSL error or protocol error
@rubinlinux
rubinlinux / graph.xml
Created January 11, 2016 21:24
Graph data as xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<xport>
<meta>
<start>1451943000</start>
<step>1800</step>
<end>1451943000</end>
<rows>337</rows>
<columns>3</columns>
<legend>
explain SELECT
date_trunc('week', ovscweek_start_date) as week,
to_char(ovscweek.ovscweek_start_date, 'MONYY') as start_date,
SUM(ftconsum.ftconsum_fish_cnt) as fish,
SUM(ftconsum_fish_age * ftconsum_fish_cnt) / SUM(ftconsum_fish_cnt) as days_old,
SUM(ftconsum.ftconsum_removal_watch_cnt) as watch,
SUM(ftconsum.ftconsum_removal_order_cnt) as order,
SUM(ftconsum.ftconsum_removal_retired_cnt) as retired,
SUM(ftconsum.ftconsum_removal_other_cnt) as other
FROM
#!/bin/bash
cameraName=$1
cameraUrl=$2
function usage {
echo "Usage: $0 <cameraName> <rtsp://cameraUrl>"
exit 1
}
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
<h1 style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; text-align: center; font-weight: 500; line-height: 1.1; font-size: 30px; color: rgb(51,51,51);">ZIRC Cam 1</h1>
<video id="video" style="width:100%;"></video>
<button id="button1" style="display:none;">PLAY</button>
<script>
window.addEventListener("DOMContentLoaded", function() {
var videoSource = '/stream/camera1.m3u8';
var video = document.getElementById('video');
var button = document.getElementById('button1');
//button.addEventListener('click', () => { console.log("clicked the video"); video.play(); });