Skip to content

Instantly share code, notes, and snippets.

View realtimeprojects's full-sized avatar

Claudio Klingler realtimeprojects

View GitHub Profile
test
@realtimeprojects
realtimeprojects / ysilence.sh
Last active September 5, 2017 11:14
reduce yousician sound effects volume on Mac OS X / Linux
#!/bin/bash
# Purpose: Silence down yousician sound effects on Mac OS X
# Usage: ./ysilence.sh
# Requirements: ffmpeg installed (brew install ffmpeg)
# USE AT YOUR OWN RISK!
# However, you can fixed damaged installations by just removing the Yousician.app folder
# inside /Applications/Yousician Launcher.app
#include <stdio.h>
int main (void)
{
printf("Hello world");
}
@realtimeprojects
realtimeprojects / git-loglive
Last active June 20, 2018 06:08
a live tree view of my current git repository
#!/bin/bash
# usage: git loglive 20
while :
do
tput clear
git --no-pager log -$1 --graph --full-history --all --color --date=short --pretty=format:"%Cred%x09%h %Creset%ad%Cblue%d %Creset %s %C(bold)(%an)%Creset"
sleep 1
done
@realtimeprojects
realtimeprojects / 003-login.feature
Created November 3, 2013 21:56
BDD rules in testing :-)
Feature: Login to quixplorer
In order to have sophisticated access control to quixplorer
I login to quixplorer to see if authentication procedures work
Scenario: Perparation
Given I have the reference configuration
Scenario: Login basic mask
When I run login function on quixplorer
Then I expect success and result containing "Login"
@realtimeprojects
realtimeprojects / git_svn_bash_prompt.sh
Created February 12, 2012 14:38 — forked from woods/git_svn_bash_prompt.sh
Set color bash prompt according to git/svn branch, and return status of last command.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the branch/status of the current git repository
# * the branch of the current subversion repository
# * the return value of the previous command
#
# USAGE: