Skip to content

Instantly share code, notes, and snippets.

View bearx3f's full-sized avatar

X3STeNLiTE bearx3f

  • Smart Office co. ltd.,
  • Bangkok, Thailand
View GitHub Profile
@bearx3f
bearx3f / gcc-cross-compile.md
Last active November 8, 2017 11:35
GCC Cross Compile for sun-solaris-sparc64

Skip retrives sysroot part.

sudo dnf -y groupinstall 'Development Tools'
sudo dnf -y install gcc-c++
sudo dnf -y install texinfo
export PREFIX=/opt/cross/

Install go-oci8 on Windows 64

Extract

  • Extract instantclient into C:\oracle\instantclient_12_1
  • Install TDM-GCC into C:\TDM-GCC-64
@bearx3f
bearx3f / mount.veracrypt
Last active November 9, 2018 02:59
Mount script for VeraCrypt volumes mounted from /etc/fstab
#!/usr/bin/env sh
# Mount script for VeraCrypt volumes mounted from /etc/fstab
#
# Based on
# http://en.gentoo-wiki.com/wiki/TrueCrypt#Mount_volume_via_fstab
#
# Copyright (c) 2011, Florian Rathgeber
# This file is released under the
# Creative Commons Attribution-Noncommercial-Share Alike 3.0