Skip to content

Instantly share code, notes, and snippets.

D W requinix

Block or report user

Report or block requinix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@requinix
requinix / freenas-error-while-trying-to-open-the-web-shell.md
Last active Oct 20, 2015
FreeNAS: Error while trying to open the web shell
View freenas-error-while-trying-to-open-the-web-shell.md

FreeNAS-9.3-STABLE-201509282017

[date] [hostname] kernel: sonewconn: pcb 0x[hex]: Listen queue overflow: [#] already in queue awaiting acceptance ([#] occurrences)

Seen some people talk about the web shell being a bit finicky. I had opened it up many times since it rebooted last, and had the console messages in the footer enabled (System > Advanced > Show console messages in the footer). After some time, attempting to start the shell would show the "Loading" message for a few seconds before the window disappeared and the error message appeared in the footer.

Couple people said to restart FreeNAS. That wasn't an option for me.

View regex-email.php
<?php
// This code/file/output has no license, though attribution would be appreciated.
// Output at http://pastebin.com/2ZLehM5N
if ($_SERVER["QUERY_STRING"] == "source") {
highlight_file(__FILE__);
return;
}
@requinix
requinix / gist:1375e605838e67dde10f
Created Nov 24, 2014
Why reverse-inheritance of namespaces would suck (part 2)
View gist:1375e605838e67dde10f
<?php
// https://bugs.php.net/bug.php?id=68485
namespace Math {
class Calculator {
public static function calculate($operator, $operand1, $operand2) {
switch ($operator) {
@requinix
requinix / gist:57f5fe27945ee5ae8324
Created Nov 24, 2014
Why reverse-inheritance of namespaces would suck (part 1)
View gist:57f5fe27945ee5ae8324
<?php
// https://bugs.php.net/bug.php?id=68485
namespace Math {
class Calculator {
public static function calculate($operator, $operand1, $operand2) {
switch ($operator) {
You can’t perform that action at this time.