Taken from https://github.com/bahamas10/dotfiles/blob/master/bashrc
Show amount of billable storage spaced used in Manta
Taken from https://github.com/bahamas10/dotfiles/blob/master/bashrc
Show amount of billable storage spaced used in Manta
#!/usr/sbin/dtrace -C -s | |
#pragma D option quiet | |
#pragma D option strsize=4096 | |
#define PTR__SIZE sizeof(uint64_t) | |
struct SSL { | |
uint32_t version; | |
uint8_t pad[0x12c]; |
(as root) | |
mkdir ~/src | |
cd ~/src | |
# install ruby | |
wget http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.gz | |
tar xf ruby-2.2.1.tar.gz | |
cd ruby-2.2.1 | |
./configure --prefix=/opt/chef --with-opt-dir=/opt/local --enable-shared ac_cv_func_dl_iterate_phdr=no CFLAGS="-R -fPIC" rb_cv_have_signbit=no --disable-install-doc |
#!/usr/bin/env node | |
var util = require("util"); | |
var source = [ | |
'#!/usr/bin/env node', | |
'', | |
'var util = require("util");', | |
'', | |
'var source = [', |
#!/usr/bin/env bash | |
s=( | |
'#!/usr/bin/env bash' | |
'' | |
's=(' | |
')' | |
'' | |
'q=$(printf "\x27")' | |
'for ((i = 0; i < 3; i++ )); do' |
Useful but not complete: https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Illumos
pkgin up
pkgin in build-essential ghc
The goal of this process is to upgrade a manatee of any vintage to Manatee v2. It relies on ZFS send/recv to replicate the data, but is limited to a migration between nodes in ONWM.
Upgrading moray to a forward/backward compatible version is a prerequisite of the upgrade. The usual process is to disable one moray node, double-check the stack reconnects correctly, reprovision that node, and then repeat for other moray nodes.
If there is only one moray node deployed, deploying a second using the new image allows you to upgrade the original node as above.
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
/* | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* | |
* In jurisdictions that recognize copyright laws, the author or authors | |
* of this software dedicate any and all copyright interest in the |
MDB is unlike most debuggers you've experienced.
It is not a source level debugger like gdb or lldb or even Node's builtin debugger
Generally used for postmortem analysis.
Postmortem is for Production and Development
We operate mostly on core files, though you can attach to running processes as well.