Skip to content

Instantly share code, notes, and snippets.

@stefanbschneider
stefanbschneider / networking_datasets.md
Last active February 24, 2026 03:27
List of datasets related to networking. Useful for data-driven evaluation or machine learning approaches. Feel free to comment with updates.
@estorgio
estorgio / Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS (Bionic Beaver).md
Last active December 6, 2025 02:38
Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS (Bionic Beaver)

Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS (Bionic Beaver)

This guide will walk you through the steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest.

Prerequisites

This guide assumes that you are using the following setup:

You could still make this guide work with other setups (possibly with some modifications to the commands and whatnot).

@luismts
luismts / GitCommitBestPractices.md
Last active March 13, 2026 04:06
Git Tips and Git Commit Best Practices

Git Commit Best Practices

Basic Rules

Commit Related Changes

A commit should be a wrapper for related changes. For example, fixing two different bugs should produce two separate commits. Small commits make it easier for other developers to understand the changes and roll them back if something went wrong. With tools like the staging area and the ability to stage only parts of a file, Git makes it easy to create very granular commits.

Commit Often

Committing often keeps your commits small and, again, helps you commit only related changes. Moreover, it allows you to share your code more frequently with others. That way it‘s easier for everyone to integrate changes regularly and avoid having merge conflicts. Having large commits and sharing them infrequently, in contrast, makes it hard to solve conflicts.

anonymous
anonymous / correlations.R
Created January 29, 2018 12:44
Code for correlations article
# Detecting correlation
# Defines three functions using base R to illustrate techniques for identifying correlations
# between continuous random variables, then tests against different types of data
# Pearsons r, distance correlation, Maximal Information Coefficient (approximated)
# A simple bootstrap function to estimate confidence intervals
bootstrap <- function(x,y,func,reps,alpha){
estimates <- c()

言語処理100本ノックを解き始める前に

黒い画面でこの先生きのこるために

学部の授業でターミナルを触ったことはあるけどよく分からないという人が,言語処理100本ノックを進めるにあたって黒い画面で躓かないレベルにまで到達するための資料:

書籍で体系的に学ぶのであれば,大角『新しいLinuxの教科書』が良いらしい.

@stevemclaugh
stevemclaugh / Extract_MFCCs.ipynb
Last active July 5, 2025 06:47
Using LibRosa to extract MFCCs from audio and visualize the results
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@endolith
endolith / overlaps.py
Last active October 26, 2025 11:58
Window function constant overlap-add conditions (COLA)
from __future__ import division, print_function, absolute_import
import numpy as np
import scipy
from spectral import check_COLA # https://github.com/scipy/scipy/pull/6058
windows = np.unique(scipy.signal.windows._win_equiv.values())
windows = sorted(windows, key=lambda x: x.__name__)
for window in windows:
try:
@matsuken92
matsuken92 / 01_preparation.py
Last active January 23, 2022 14:45
Describe and explain Q-Q plot
%matplotlib inline
import sys
import matplotlib.pyplot as plt
from matplotlib import animation as ani
import numpy as np
import pandas as pd
import scipy.stats as st
from scipy.special import ndtri
# Data Import
@staltz
staltz / introrx.md
Last active March 10, 2026 03:48
The introduction to Reactive Programming you've been missing
@kinnala
kinnala / gist:7775902
Created December 3, 2013 19:23
FFT w/ Hanning windowing (50% overlap of windows)
def fft_hann(t,pt,M):
"""
Perform FFT with Hanning windowing,
50% overlap of 2^M+1 windows.
The resulting spectra are averaged.
"""
# Amplitude correction of Hanning
ampl_corr = 2.
# Signal length