Skip to content

Instantly share code, notes, and snippets.

View YasuakiHonda's full-sized avatar

Yasuaki Honda YasuakiHonda

View GitHub Profile
@YasuakiHonda
YasuakiHonda / gist:7b8d6947265df162e3477b5bd075189a
Created January 25, 2023 14:38
How to compile sasquatch tool in Kali Linux
git clone https://github.com/devttys0/sasquatch.git
cd sasquatch
sudo apt-get install build-essential liblzma-dev liblzo2-dev zlib1g-dev
CFLAGS='-Wno-misleading-indentation -fcommon' ./build.sh
The above procedure has been tested on the following environments:
Kali Linux 2022.4 ("Kali GNU/Linux Rolling") arm64 architecture in VMware Fusion Player 13 on macOS 13.2 on M1 iMac
Kali Linux 2022.4 ("Kali GNU/Linux Rolling") amd64 architecture in docker image Kalilinux/Kali-rolling on macOS 13.2 on M1 iMac
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@YasuakiHonda
YasuakiHonda / Maxima jupyter and asdf Docker container
Last active June 13, 2020 06:05
How to use Docker container of Maxima with Jupyter note book and asdf
This memo describes how to use the Docker container for Maxima, Jupyter notebook, and asdf.
## Installation
First, you need to install Docker. Platforms that supports Docker are: Mac OS X, Windows 10 home and above, Linux such as Debian and Ubuntu.
Then you can run the docker image:
docker run -it --rm --name maxima-jupyter-asdf-sbcl -p 8888:8888 yasuakihonda/maxima-jupyter-asdf-sbcl jupyter notebook --ip 0.0.0.0 --allow-root
You will see the following message:
To access the notebook, open this file in a browser:
@YasuakiHonda
YasuakiHonda / How to cross compile Maxima for Android.txt
Last active April 30, 2020 14:05
How to cross-compile Maxima for Android using ECL20.4.24 (Embeddable Common Lisp)
Tested environment: Debian 10 Linux, ecl-20.4.24.tgz, android-ndk-r21-linux-x86_64.zip, maxima-5.43.2.tar.gz.
Shell is bash.
Save NDK-setup.sh and maxima-cross.lisp in ~ directory. Both are available in this Gist.
Expand ecl-20.4.24.tgz into ~/ecl-20.4.24 directory.
Expand android-ndk-r21-linux-x86_64.zip into ~/android-ndk-r21 directory.
1. Build the host ECL, as specified in ~/ecl-20.4.24/INSTALL file.
2. Configure the toolchain, by using NDK-setup.sh saved in ~ downloaded from this Gist:
% source ~/NDK-setup.sh
3. Build and install the target library, as specified in ~/ecl-20.4.24/INSTALL file.