Skip to content

Instantly share code, notes, and snippets.

View davens's full-sized avatar

Daven Sanassy davens

View GitHub Profile
@fizzyade
fizzyade / deploy.py
Last active September 26, 2020 17:07
Python script to automate deployment of a Qt based application as a macOS DMG, Windows Installer and Linux AppImage
#!/usr/bin/env python3
#
# Copyright (C) 2019 Adrian Carpenter
#
# Multiplatform Qt Deployment Tool
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@rsouth
rsouth / build-qt-static-with-msvc.md
Last active March 17, 2024 18:58
Build a static version of Qt 5.15.0 with MSVC 2019.
@timschneeb
timschneeb / qt5.15-openssl-static-build.md
Created June 14, 2020 21:07
Build commands for Qt5.15-Static with OpenSSL
configure.bat -release -static -no-pch -optimize-size -opengl desktop -platform win32-msvc -prefix "C:\Qt\5.15.0-static" -skip webengine -nomake tools -nomake tests -nomake examples -openssl-linked -openssl -ssl -I "C:\OpenSSL-Win64\include" -L "C:\OpenSSL-Win64\lib\VC\static" OPENSSL_LIBS="-llibcrypto64MT -llibssl64MT"
time /t >> time.txt & jom -j8 & time /t >> time.txt
jom -j8 install
@alexanderlerch
alexanderlerch / data-sets.md
Last active July 16, 2024 16:41
list of MIR datasets
dataset meta data contents with audio
200DrumMachines 7371 one-shots yes
AAM onsets, pitches, instruments, melody instrument, keys, chords, tempo, beats 3000 (artificial) tracks yes
ACM_MIRUM tempo 1410 excerpts (60s) yes
ACPAS aligned audio and scores 2189 performances of 497 scores downloadable
AcousticBrainz-Genre 15-31 genres with 265-745 subgenres audio features for over 2000000 songs no
@thebucknerlife
thebucknerlife / authentication_with_bcrypt_in_rails_4.md
Last active July 10, 2024 00:17
Simple Authentication in Rail 4 Using Bcrypt

#Simple Authentication with Bcrypt

This tutorial is for adding authentication to a vanilla Ruby on Rails app using Bcrypt and has_secure_password.

The steps below are based on Ryan Bates's approach from Railscast #250 Authentication from Scratch (revised).

You can see the final source code here: repo. I began with a stock rails app using rails new gif_vault

##Steps

@agarciadom
agarciadom / find-color-pages
Last active January 21, 2024 18:56
Small Python 2.7+ script that lists the color pages in a PDF along with their CMYK ink mixes, as computed by the 'inkcov' device in Ghostcript 9.05+. "find-color-pages file.pdf" lists the color pages and their CMYK ink mixes, "find-color-pages -c file.pdf" prints the number of color pages in the PDF and "find-color-pages -C 0.39 -B 0.04 file.pdf…
#!/usr/bin/env python
# Simple script for finding and counting the color pages in a PDF
# Copyright (C) 2013-2019 Antonio Garcia-Dominguez
# Licensed under the GPLv3
#
# This script is based on the following thread (thanks for the tip!):
#
# http://tex.stackexchange.com/questions/53493
#