Skip to content

Instantly share code, notes, and snippets.

@IdoBar
IdoBar / setup_nectar_teaching_server.md
Last active March 7, 2024 14:32
Setting up a NECTAR Cloud multi-user teaching server using conda

Setting up a cloud-based multi-user teaching server using conda

nectarcloud

Setup steps

  1. Apply for an allocation at NECTAR-RDS
  2. Setup 2 key-pairs (one will be for 'root-designated' login and the other for 'general-user' login), download the private keys to a secure location. If you're planning to use KiTTY or PuTTY to login to the server from Windows, you'll need to convert the .pem key file to a .ppk, as explained here. You can (and should) password-protect this key (can be done in PuTTYgen when converting the key from the default .pem format to a PuTTY-supported .ppk).
  3. Setup a customised security group to allow remote access (open port 22 for ssh logins and any addi
@IdoBar
IdoBar / New_computer_setup.md
Last active February 25, 2020 03:50
Setting up a new computer for scientific and bioinformatics data analysis

Setting up a new computer for scientific and bioinformatics data analysis

Follow these instructions to setup a new computer with commonly used tools and software for scientific data analysis (with emphasis on bioinformatics)

Windows machine

Use https://ninite.com/ to install the following open source software:

  1. FileZilla - FTP file transfer
  2. Firefox - web browser, add cliget addon for easy curl/wget download links
  3. PuTTY - remote shell access
  4. Java 8
  5. .NET - framework needed for Paint.net
@Brainiarc7
Brainiarc7 / gnu-parallel-bioinformatics.md
Last active September 6, 2023 13:59
GNU Parallel usage in Bioinformatics with examples: A primer.
@lelandbatey
lelandbatey / whiteboardCleaner.md
Last active June 16, 2024 13:44
Whiteboard Picture Cleaner - Shell one-liner/script to clean up and beautify photos of whiteboards!

Description

This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"

Results