Skip to content

Instantly share code, notes, and snippets.

@nolta
nolta / rocky9-kmod-isci.md
Created November 23, 2023 15:00
Installing/upgrading Rocky9 on an old desktop with missing driver
date
2023-11-23

Installing/upgrading Rocky9 on an old desktop with missing driver

I ran into a snag upgrading from Centos7 to Rocky9 on my decade-old desktop. Its SAS controller driver was no longer included by default:

$ lspci -nn | grep 'Serial Attached SCSI'

@nolta
nolta / README.md
Last active July 10, 2019 21:26
Trilinos test failures (2019-07-10)
Trilinos: a40168fcd61c10c4d719a4eae06912fd63d7e233
Compilers: Intel 2019u4 
MPI: Intel MPI 2019u4
Boost: 1.69.0
HDF5: 1.8.21
NetCDF: 4.6.3
Arch: Skylake Xeon

Configuration:
@nolta
nolta / trilinos-ctest-failure-output.txt
Created March 9, 2018 16:30
trilinos 12.12.1 test failures
UpdateCTestConfiguration from :/dev/shm/nolta/cleanenv.T1YS61/Trilinos-trilinos-release-12-12-1/build/DartConfiguration.tcl
Parse Config file:/dev/shm/nolta/cleanenv.T1YS61/Trilinos-trilinos-release-12-12-1/build/DartConfiguration.tcl
Add coverage exclude regular expressions.
SetCTestConfiguration:CMakeCommand:/bg01/homescinet/scinet/trickle/software/2018f/opt/base/cmake/3.10.2/bin/cmake
UpdateCTestConfiguration from :/dev/shm/nolta/cleanenv.T1YS61/Trilinos-trilinos-release-12-12-1/build/DartConfiguration.tcl
Parse Config file:/dev/shm/nolta/cleanenv.T1YS61/Trilinos-trilinos-release-12-12-1/build/DartConfiguration.tcl
Test project /dev/shm/nolta/cleanenv.T1YS61/Trilinos-trilinos-release-12-12-1/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
//
// Start server:
// $ ./simple-upload-server -port 10000 -root /path/to/upload/dir
//
// Upload file:
// $ curl -i -T a-file-name host:10000/a-file-name
//
package main
@nolta
nolta / keybase.md
Created February 10, 2017 18:01
keybase.md

Keybase proof

I hereby claim:

  • I am nolta on github.
  • I am nolta (https://keybase.io/nolta) on keybase.
  • I have a public key whose fingerprint is DA23 BFE1 4DEC EDF9 5880 36E5 AC1B 2724 7CA0 7326

To claim this, I am signing this object:

@nolta
nolta / gist:5479184
Last active December 16, 2015 18:39
Notes on installing mysql 5.6 on ubuntu 10.04, and configuring for GTID replication.

Install prerequisites:

$ sudo apt-get install libaio1

Download the DEB package from http://dev.mysql.com/downloads/mysql/, and install:

$ sudo dpkg -i mysql-5.6.12-debian6.0-x86_64.deb
$ sudo chown -R root.root /opt/mysql/server-5.6

Create mysql user:

// Test to understand what https://gist.github.com/2517475 is actually doing.
#include <stdio.h>
#define __AC(X,Y) (X##Y)
#define _AC(X,Y) __AC(X,Y)
#define BITS_PER_BYTE 8
#define PAGE_SHIFT 12
#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
#define __user