A list of performance-enhancing mods for 1.12.x versions.
Any suggestions/complaints?
Join our discord or use the gist comments.
Mods marked as "Dangerous" might be unstable, and cause some unexpected behaviour.
// Copyright (C) 2017 Basile Fraboni | |
// Copyright (C) 2014 Ivan Kutskir | |
// All Rights Reserved | |
// You may use, distribute and modify this code under the | |
// terms of the MIT license. For further details please refer | |
// to : https://mit-license.org/ | |
// | |
//! | |
//! \file blur.cpp |
/* | |
Name: Choose Table Columns (CHOOSETABLECOLUMNS) | |
Description: Similar to CHOOSECOLUMNS but can accept an array of column header names or | |
array of column indexes. If column headers are used, assumes first row of Table is | |
header row. | |
Author: Excel Robot (@ExcelRobot) | |
Category: Table | |
*/ | |
CHOOSETABLECOLUMNS = LAMBDA(Table, ColumnsToSelect, LET( | |
FirstColumnToSelect, INDEX(ColumnsToSelect,1,1), |
A list of performance-enhancing mods for 1.12.x versions.
Any suggestions/complaints?
Join our discord or use the gist comments.
Mods marked as "Dangerous" might be unstable, and cause some unexpected behaviour.
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
this gist is part of this series
This fixes issues i bugged with the thunderbolt / thunderbolt-net maintainers (i will take everyones thanks now, lol)
apt install lldpd
/* | |
GROUPAGGREGATE | |
Creates summary tables of data similar to SQL's GROUP BY queries | |
Inputs | |
- dat: a range or array of data with at least two columns, | |
one of which's control value must be "group" and one not "group" | |
- control: a single-row array, where COLUMNS(control)=COLUMNS(dat), of values from this list: | |
group - the values in this column will be output as row headers |
exec - Returns last line of commands output
passthru - Passes commands output directly to the browser
system - Passes commands output directly to the browser and returns last line
shell_exec - Returns commands output
\`\` (backticks) - Same as shell_exec()
popen - Opens read or write pipe to process of a command
proc_open - Similar to popen() but greater degree of control
pcntl_exec - Executes a program
So, to get something like /etc/rc.local
you can use the custom SMF import facility. (See the source
for more information about how this actually works.)
/opt
is mounted out of zones/opt
by default. You can create a directory /opt/custom/smf
and populate it with SMF manifests. Any manifests you put in there will be imported by SmartOS when it boots. Below is an example SMF manifest that simply starts /opt/custom/bin/postboot
, a self-explanatory shell script that you can use like /etc/rc.local
.
Note that it would likely be better to customise and respin your own images, as putting a bunch of platform state in the zones pool undoes some of the benefits of the ramdisk platform architecture that SmartOS has.