Skip to content

Instantly share code, notes, and snippets.

@saghul
saghul / pyqt_opencv.py
Created June 29, 2011 22:22
Render OpenCV video on a PyQt widget
# coding=utf8
# Copyright (C) 2011 Saúl Ibarra Corretgé <saghul@gmail.com>
#
# Some inspiration taken from: http://www.morethantechnical.com/2009/03/05/qt-opencv-combined-for-face-detecting-qwidgets/
import cv
import sys
@radmen
radmen / README.md
Created September 10, 2012 08:15
Apache vhost config for gitlab

unicorn config file

Edit file /home/gitlab/gitlab/config/unicorn.rb

Find line listen "#{app_dir}/tmp/sockets/gitlab.socket" and comment it. Uncomment line listen "127.0.0.1:8080"

required modules for apache

  • sudo a2enmod proxy
  • sudo a2enmod proxy_balancer
@likr
likr / gaussian.py
Created September 17, 2012 06:02
PyOpenCL image2d exapmle
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: filetype=pyopencl.python
import sys
import time
from PyQt4 import QtCore
from PyQt4 import QtGui
import pyopencl as cl
import numpy
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active June 30, 2024 04:50
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@IonutBajescu
IonutBajescu / musicality-resources.md
Last active May 22, 2024 16:38
List of Musicality Resources for Swing Dancers

List of Musicality Resources for Swing Dancers

If you are a swing dancer and ever wanted to delve into musicality, you know how painful it can be. Google and YouTube searches tend to result in only a couple of results, and half of those are little relevant to what you are looking for.

Reading List on Interpreting Swing Music

  • What is this thing called swing? Adaptation of Dan's class “musical structures” for dancers.
  • Swing this Music Comprehensive series of articles on musicality. Covers topics such as Having Swing, Basic Terminology, Identifying and Following the Beat, Recognising the 1, Recognising the Structure and Accent-Based Musicality. This resource will prove immensely useful if you also watch and listen to all the audio and videos files embedded into the articles.
  • Artistry in Rhythm 70