Skip to content

Instantly share code, notes, and snippets.

View darkain's full-sized avatar
🕹️
Doing Nerdy Things

Vincent Milum Jr darkain

🕹️
Doing Nerdy Things
View GitHub Profile
root@pinebook-pro /var/db/mysql# truss mysqld_safe
mmap(0x0,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1076486144 (0x4029e000)
mprotect(0x4028c000,4096,PROT_READ) = 0 (0x0)
issetugid() = 0 (0x0)
sigfastblock(0x1,0x4029d940) = 0 (0x0)
open("/etc/libmap.conf",O_RDONLY|O_CLOEXEC,01) = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=85581,size=115,blksize=32768 }) = 0 (0x0)
read(3,"# $FreeBSD: head/libexec/rtld-el"...,115) = 115 (0x73)
close(3) = 0 (0x0)
open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0145) ERR#2 'No such file or directory'
[2020/01/06 16:54:07] (WARNING) middlewared.__periodic_task_wrapper():849 - Exception while calling periodic task
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 847, in __periodic_task_wrapper
await self._call(method_name, service_obj, method)
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1061, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zettarepl.py", line 726, in flush_state
{"repl_state": ejson.dumps(state)})
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1122, in call
app=app, pipes=pipes, job_on_progress_cb=job_on_progress_cb, io_thread=True,
@darkain
darkain / update.failed
Created December 21, 2019 22:18
FreeNAS 11.3-RC1 update.failed
Operations to perform:
Apply all migrations: account, auth, contenttypes, directoryservice, jails, network, plugins, services, sessions, sharing, storage, system, tasks, vm
Running migrations:
Applying account.0010_auto_20190221_0824... OK
Applying account.0011_remove_netdata_user... OK
Applying directoryservice.0006_certificate_model... OK
Applying directoryservice.0007_migrate_to_nslcd... OK
Applying directoryservice.0008__alter_kerberos_principal... OK
Applying directoryservice.0009__add_createcomputer_to_ad... OK
Applying directoryservice.0010_encrypt_keytabs... OK
@darkain
darkain / nano-freebsd-armv6.txt
Created September 14, 2018 02:42
Build history for nano 3.0 on Raspberry Pi Zero
===> License GPLv3 accepted by the user
===> nano-3.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by nano-3.0 for building
===> Extracting for nano-3.0
=> SHA256 Checksum OK for nano-3.0.tar.gz.
===> Patching for nano-3.0
===> nano-3.0 depends on executable: msgfmt - found
===> nano-3.0 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===> Configuring for nano-3.0
===> FreeBSD 10 autotools fix applied to /usr/ports/editors/nano/work/nano-3.0/config.rpath
@darkain
darkain / urlDecode.cpp
Created June 18, 2018 04:25
Converting C++ into C for memory efficiency (with a side effect of increased performance too!)
//OLD C++ STYLE
String ESP8266WebServer::urlDecode(const String& text)
{
String decoded = "";
char temp[] = "0x00";
unsigned int len = text.length();
unsigned int i = 0;
while (i < len)
{
@darkain
darkain / darkain.github.md
Last active January 14, 2022 17:41
Vince's list of open-source software contributions

Hi, my name is Vince, and I'm a stong advocate of Open Source software. Over the years, I've contributed to the discussions, submitted bug reports, and where possible, submitted bug fixes to various open source projects. Over time, I lost track of where all I had contributed, so I've created this gist to help keep an organized list of what I've done for each of these projects.

Besides other's open source projects that I contribute to, there are also several that I personally manage as well. You can see all of these projects over at: https://github.com/darkain

Quick Reference: