Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kytulendu
kytulendu / install-opencl-amd.sh
Last active January 15, 2024 09:08
A shell script to install AMDGPU-PRO OpenCL driver.
#!/bin/bash
# This script will install AMDGPU-PRO OpenCL and Vulkan support.
#
# For Ubuntu and it's flavor, just install the package using this command
# in extracted driver directory instread.
#
# ./amdgpu-pro-install --opencl=legacy,pal --headless --no-dkms
#
# For Arch Linux or Manjaro, use the opencl-amd or rocm-opencl-runtime on AUR instread.
@ArturT
ArturT / Fix OpenSSL Padding Oracle vulnerability (CVE-2016-2107) - Ubuntu 14.04
Last active June 20, 2018 11:46
Fix OpenSSL Padding Oracle vulnerability (CVE-2016-2107) - Ubuntu 14.04
# Based on http://fearby.com/article/update-openssl-on-a-digital-ocean-vm/
$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ wget ftp://ftp.openssl.org/source/openssl-1.0.2h.tar.gz
$ tar -xvzf openssl-1.0.2h.tar.gz
$ cd openssl-1.0.2h
$ ./config --prefix=/usr/
$ make depend
@drwasho
drwasho / openbazaar-go-ubuntu.md
Last active November 18, 2020 22:50
Install OpenBazaar-Go on a Linux Digital Ocean Droplet

Install OpenBazaar-Go on Linux Digital Ocean Droplet

First off I'm going to assume you have created a user with sudo permissions, and that you're not running from root. I'm also assuming you have a satisfactory knowledge of the Linux terminal/bash commands.

If you have any trouble, join our OpenBazaar Slack group, and pop into the #openbazaar-ipfs channel.

Step 1: Create the install script

  • In your terminal, type: sudo nano install.sh
  • Paste in the following script: