Skip to content

Instantly share code, notes, and snippets.

View hossainlab's full-sized avatar
😎
Probably Learning!

Jubayer Hossain hossainlab

😎
Probably Learning!
View GitHub Profile
@avrilcoghlan
avrilcoghlan / haemophilus1.py
Last active October 22, 2020 01:43
Python module to carry out simple bioinformatics analyses
import os
import sys
from Bio import Entrez
from Bio import SeqIO
import matplotlib.pyplot as plt
#====================================================================#
# Checked and seems to work fine.
# Takes the GenBank accession number (GI number) as input.
# First checks to see if the sequence has been stored locally as a file.
@mwaskom
mwaskom / titanic_seaborn.ipynb
Last active February 8, 2024 13:25
Exploring the Kaggle Titanic dataset with seaborn.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@junzis
junzis / install_basemap_commands
Last active December 4, 2021 01:22
install basemap quickly on ubuntu
sudo apt-get install libgeos-3.X.X
sudo apt-get install libgeos-dev
pip install --user https://github.com/matplotlib/basemap/archive/master.zip
@odanga94
odanga94 / Exercise28.py
Last active October 25, 2019 16:15
PracticePython/Exercise28
numbers = [70, 55, 100.5]
def max_(numbers):
greatest = numbers[0]
for x in numbers:
if x > greatest:
greatest = x
print(greatest)
max_(numbers)
@bradtraversy
bradtraversy / django_cheat_sheet.md
Last active July 12, 2024 13:46
Django command cheat sheet

Django 2.x Cheat Sheet

Creating a virtual environment

We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder

python -m venv ./venv
@bradtraversy
bradtraversy / django_deploy.md
Last active July 18, 2024 16:48
Django Deployment - Digital Ocean

Django Deployment to Ubuntu 18.04

In this guide I will go through all the steps to create a VPS, secure it and deploy a Django application. This is a summarized document from this digital ocean doc

Any commands with "$" at the beginning run on your local machine and any "#" run when logged into the server

Create A Digital Ocean Droplet

Use this link and get $10 free. Just select the $5 plan unless this a production app.

@bradtraversy
bradtraversy / pipenv_cheat_sheet.md
Last active July 7, 2024 20:34
Pipenv cheat sheet for common commands

Pipenv Cheat Sheet

Install pipenv

pip3 install pipenv

Activate

pipenv shell

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@berkorbay
berkorbay / github_desktop_ubuntu.md
Last active July 25, 2024 10:23
To install Github Desktop for Ubuntu

IMPORTANT

See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)

For the sake of "maintaining the tradition" here is the updated version.