I hereby claim:
- I am xbb on github.
- I am xbb (https://keybase.io/xbb) on keybase.
- I have a public key ASDQg47vqNFwNV0BOjy4d8CzYACqoAKRE99davVVEoD4dAo
To claim this, I am signing this object:
if ( ! Modernizr.input.placeholder) { | |
var phId = 0; | |
$('[placeholder]').each(function(){ | |
var $input = $(this), | |
label = document.createElement('label'); | |
this.id = this.id || 'input-placeholder-' + (++phId); | |
label.innerHTML = $input.attr('placeholder'); | |
label.htmlFor = this.id; | |
$('[placeholder]').focus(function() { | |
var input = $(this); | |
if (input.hasClass('placeholder')) { | |
input.val('') | |
.removeClass('placeholder') | |
.attr('autocomplete', 'on'); | |
} | |
}).blur(function() { | |
var input = $(this); | |
if (input.val().length === 0) { |
var Gscrape = function(domain) { | |
var domain = domain || 'com', | |
searchURL = 'http://www.google.' + domain + '/search?q=', | |
searchInProgress = false, | |
cache = { | |
error: '', | |
success: true, | |
pages: 0, | |
urls: {} | |
}; |
<?php | |
class AbstractLogger extends AbstractLoggerCore {} | |
class Address extends AddressCore {} | |
class AddressFormat extends AddressFormatCore {} | |
class AdminTab extends AdminTabCore {} | |
class Alias extends AliasCore {} | |
class Attachment extends AttachmentCore {} | |
class Attribute extends AttributeCore {} | |
class AttributeGroup extends AttributeGroupCore {} |
autoload -U add-zsh-hook | |
autoload -Uz vcs_info | |
zstyle ':vcs_info:*' actionformats \ | |
'%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f ' | |
zstyle ':vcs_info:*' formats \ | |
'%F{2}%s%F{7}:%F{2}(%F{1}%b%F{2})%f ' | |
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r' | |
zstyle ':vcs_info:*' enable git |
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface. | |
You can use the user and password that you use for the web interface. | |
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS. | |
You don't need to install it, just extract it or copy the files in "jre" folder. | |
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor. | |
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture. | |
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs. |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
set -e | |
NAMES="xterm,xterm-256color,screen,screen-256color,tmux,tmux-256color,xterm-ghostty,ghostty,Ghostty" | |
if [ "$(uname -s)" = "FreeBSD" ]; then | |
curl -o /tmp/termcap.src https://raw.githubusercontent.com/freebsd/freebsd-src/main/share/termcap/termcap | |
# Add ghostty termcap | |
cat << 'EOF' >> /tmp/termcap.src |
# | |
# OPNsense filterlog GROK patterns | |
# Based on: https://github.com/opnsense/ports/blob/b221352/opnsense/filterlog/files/description.txt | |
# | |
# Entrypoint: %{OPNSENSE_FILTERLOG} | |
# | |
# TODO: OPNSENSE_CARP | |
# | |
OPNSENSE_DIRECTION \bin(?:/out)?|out\b | |
OPNSENSE_WORD \b[\w-]+\b |
// ==UserScript== | |
// @name TF Guitar Wisdom video speed control | |
// @description Injects a video speed controller in the embedded video frames at TF Guitar Wisdom, visible on mouse over, easily adaptable for other sites | |
// @version 1.1.0 | |
// @author xbb | |
// @match https://embed.vhx.tv/* | |
// @allFrames true | |
// ==/UserScript== | |
(() => { |