Skip to content

Instantly share code, notes, and snippets.

@mariotacke
mariotacke / README.md
Last active February 4, 2025 06:43
Spotify AutoHotkey Script

Spotify AutoHotkey Script

This script makes use of the Numpad to control media players and volume on your system.

Usage

  • Install AutoHotkey
  • Right-click .ahk script
  • Compile Script
  • Start executable

Hotkeys

@TestSubjector
TestSubjector / Blockchain.jl
Last active August 12, 2024 06:27
A very basic implementation of a blockchain in Julia.
using SHA
using Dates
"""
An individual block structure
"""
struct Block
index::Int
timestamp::DateTime
data::String
previous_hash::String
@salim-b
salim-b / export_plotly2SVG.R
Last active October 19, 2022 16:20
R function to export Plotly graphs as static SVG (and optionally PDF and PNG) images.
# Remarks:
#
# The export is done using the automated testing framework [Selenium](https://
# de.wikipedia.org/wiki/Selenium) which results in opening a browser window
# (Google Chrome) that might has to be closed by hand. Other than Plotly's
# own `export()` function this one also allows to set the `width` and `height`
# of the exported plot (in the former it's hardcoded to 800x600 pixels). If
# `incl_PDF_copy`/`incl_PNG_copy` is set to `TRUE`, the exported SVG additionally
# gets converted to a PDF/PNG using the R package [`rsvg`](https://github.com/
# jeroen/rsvg/tree/40576ac326621b40224db344b09158f4ff717433) which relies on
@pangyuteng
pangyuteng / Dockerfile
Last active September 25, 2024 16:52
docker miniconda ubuntu
#
# ref https://github.com/tebeka/pythonwise/blob/master/docker-miniconda/Dockerfile
#
# miniconda vers: http://repo.continuum.io/miniconda
# sample variations:
# Miniconda3-latest-Linux-armv7l.sh
# Miniconda3-latest-Linux-x86_64.sh
# Miniconda3-py38_4.10.3-Linux-x86_64.sh
# Miniconda3-py37_4.10.3-Linux-x86_64.sh
#
@ih2502mk
ih2502mk / list.md
Last active April 24, 2025 19:26
Quantopian Lectures Saved
@daniel0x00
daniel0x00 / ConvertFrom-XLSB.ps1
Created March 17, 2021 10:00
PowerShell function to convert Excel .xlsb files to .csv
##
# Convert .xlsb to .csv - PowerShell function.
##
## USAGE:
# Open Windows PowerShell, change your paths on below one liner and paste it in Windows PowerShell:
# Set-ExecutionPolicy Bypass -Scope Process -Force; $username = $env:username; . "C:\Users\$username\Documents\ConvertFrom-XLSB.ps1"; Get-ChildItem "C:\Users\$username\Desktop\*xlsb' | Sort-Object LastWriteTime -Descending | Select-Object -First 1 -ExpandProperty Fullname | ConvertFrom-XLSB -OutputPath 'C:\Users\$username\Desktop\'
##
function ConvertFrom-XLSB {
param(