Skip to content

Instantly share code, notes, and snippets.

View bkutlu's full-sized avatar
🧿
Focusing

Burak Kutlu bkutlu

🧿
Focusing
View GitHub Profile
@gitaarik
gitaarik / git_submodules.md
Last active July 23, 2024 12:21
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.
@mojaveazure
mojaveazure / subsample.sh
Last active June 8, 2023 22:12
A script to subsample Fasta/FastQ files using Seqtk
#!/bin/bash
set -e
set -u
set -o pipefail
# A script to subsample Fasta/FastQ files using Seqtk
if ! `command -v seqtk > /dev/null 2> /dev/null`
then
echo "Failed to find seqtk!"
@DaniSancas
DaniSancas / neo4j_cypher_cheatsheet.md
Created June 14, 2016 23:52
Neo4j's Cypher queries cheatsheet

Neo4j Tutorial

Fundamentals

Store any kind of data using the following graph concepts:

  • Node: Graph data records
  • Relationship: Connect nodes (has direction and a type)
  • Property: Stores data in key-value pair in nodes and relationships
  • Label: Groups nodes and relationships (optional)
@WillKoehrsen
WillKoehrsen / visualize_decision_tree.py
Last active May 24, 2024 23:59
How to visualize a single decision tree in Python
from sklearn.datasets import load_iris
iris = load_iris()
# Model (can also use single decision tree)
from sklearn.ensemble import RandomForestClassifier
model = RandomForestClassifier(n_estimators=10)
# Train
model.fit(iris.data, iris.target)
# Extract single tree

App Install Plan

Critical