- Counter point should begin and end on a perfect consonance (perfect 4th, perfect 5th, perfect 8th)
- Perfect consonances must be approached by contrary motion or oblique motion
- Use contrary motion whenever possible
- Two parts should not be more than a 10th apart
- Avoid crossing voices whenever possible
- Avoid parallel 5ths and 8ths between parts
- Avoid moving in parallel 4ths, 3rds, 6ths for too long
- Avoid leaping with two voices in the same direction simultaneously
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prompt stuff | |
# ############################################### | |
# Import posh-git | |
Import-Module posh-git | |
# Update powershell prompt path color | |
$GitPromptSettings.DefaultPromptPath.ForegroundColor = [System.ConsoleColor]::Blue | |
# Setup starship |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create the solution directory | |
mkdir so-example | |
cd so-example | |
# Create a console project | |
dotnet new console --name ConsoleApp | |
# Create a solution file and add the web project to it | |
dotnet new sln | |
dotnet sln add ConsoleApp/ConsoleApp.csproj |
Pushing commits shows a file-picker when the local repository is not up-to-date with the remote.
Please follow the steps exactly as given below. Time required: Approx. 7-10 minutes.
- Create a new project from VS for Mac with the Use git for version control option checked.
- Make a few commits (from within VS for Mac)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = require('path') | |
var webpack = require('webpack') | |
module.exports = { | |
entry: './src/app.ts', | |
output: { | |
path: path.resolve(__dirname, './dist'), | |
publicPath: '/dist/', | |
filename: 'app.js' | |
}, |
I hereby claim:
- I am gldraphael on github.
- I am gldraphael (https://keybase.io/gldraphael) on keybase.
- I have a public key ASAcimhSAJKJzSJRRZQO3yWC6kkXJMIXLfM6sfs0nuzNOgo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.activities; | |
import android.content.res.Configuration; | |
import android.os.Bundle; | |
import android.preference.PreferenceActivity; | |
import android.support.annotation.LayoutRes; | |
import android.support.annotation.Nullable; | |
import android.support.v7.app.ActionBar; | |
import android.support.v7.app.AppCompatDelegate; | |
import android.support.v7.widget.Toolbar; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SDL.h> | |
#include <stdio.h> | |
#include <string> | |
//Screen dimension constants | |
const int SCREEN_WIDTH = 640; | |
const int SCREEN_HEIGHT = 480; | |
//Starts up SDL and creates window | |
bool init(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream.h> | |
#include <math.h> | |
#include <conio.h> | |
#include <graphics.h> | |
#include <dos.h> | |
int sign(float args) | |
{ | |
if (args < 0) | |
return -1; |