Skip to content

Instantly share code, notes, and snippets.

View andersx's full-sized avatar
🤓
LFG

Anders Steen Christensen andersx

🤓
LFG
View GitHub Profile
@andersx
andersx / gpr_md.py
Created September 22, 2020 06:35
GPR MD ASE example
#!/usr/bin/env python3
import sys
from copy import deepcopy
import numpy as np
import scipy.linalg
from scipy.linalg import norm
@andersx
andersx / xyz2gif.sh
Created October 15, 2020 14:35
XYZ to GIF
#!/usr/bin/env bash
# mcgif.pml
# # load opt.xyz
# show sticks, all
# bg_color white
# color grey05, elem c
# preset.ball_and_stick(selection='all', mode=1)
# set ray_trace_mode, 1
# viewport 1024, 768
@andersx
andersx / libfakeintel.c
Last active February 16, 2026 09:18
libfakeintel.c
// #include <stdio.h>
// uncomment include statement and printf calls
// to enable debug output
// LD_PRELOAD hacck to use MKL on AMD CPUs
//
// compiling:
// icx -shared -fPIC -o libfakeintel.so libfakeintel.c
//
// useage: