https://chiranjeevigk.wordpress.com/2017/08/01/install-lsi-megariad-storage-manger-on-proxmox/
1: Install MegaRaid CLI
Add repo
edit /etc/apt/sources.list add the entry
deb http://hwraid.le-vert.net/debian jessie main
Short (72 chars or less) summary
More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).
Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//compile this file with gcc 6.2 or greater | |
#include <iostream> | |
#include <string> | |
#include <locale> | |
#include <vector> | |
#include <cassert> | |
#include <list> | |
using namespace std::literals; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Base code taken from | |
// https://github.com/mfontanini/Programs-Scripts/blob/master/constexpr_hashes/md5.h | |
// and expanded to include a main function | |
#ifndef CONSTEXPR_HASH_MD5_H | |
#define CONSTEXPR_HASH_MD5_H | |
#include <array> | |
#include <iostream> | |
#include <cstdint> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Convars: | |
app_info_http_min = "0" : | |
app_info_http_num_sockets = "8" : | |
AsyncFileIODisableWrite = "0" : | |
AsyncFileIOExpectOutstandingIO = "16" : | |
AsyncFileIOForceGenericIO = "0" : | |
AsyncFileIOMaxPending = "128" : | |
AsyncFileIOReadHandleCache = "32" : | |
AsyncFileIOWriteHandleCache = "128" : | |
batterypercent = "0" : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
/Users/zscott/.rubies/ruby-trunk/bin/ruby extconf.rb | |
checking for sqlite3.h... yes | |
checking for sqlite3_libversion_number() in -lsqlite3... yes | |
checking for rb_proc_arity()... yes | |
checking for sqlite3_initialize()... yes | |
checking for sqlite3_backup_init()... yes | |
checking for sqlite3_column_database_name()... no | |
checking for sqlite3_enable_load_extension()... no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/bin/bash | |
startCommit=$2 | |
initialCommit=`git rev-parse HEAD` # commit of the repository before we start the work | |
file='cloc-stats.csv' | |
# use sed to remove duplicate lines with commit ID, git-rev-list not fully accepting my format, arrrgh | |
if [[ $1 = "--help" || $1 = "-h" ]]; then | |
echo "Generate 'cloc per commit' stats from a GIT repository by following the parent links from the given commit." |
It is possible to compile Go programs for a different OS, even though go build
says otherwise.
You'll need:
- a valid toolchain for the platform/os you're targetting
- Go Tip (works on 1.1 and 1.2rc1 but you might as well be on tip)
golang-crosscompile
helper script https://github.com/davecheney/golang-crosscompile- the patch provided