Skip to content

Instantly share code, notes, and snippets.

View danielkaczmarczyk's full-sized avatar
🌻

Daniel Kaczmarczyk danielkaczmarczyk

🌻
View GitHub Profile
@danielkaczmarczyk
danielkaczmarczyk / guess_number_recursive.js
Created April 18, 2017 07:12
error while checking for ===
function guessNumber(number) {
guess = prompt("Guess a number between 1 and 100");
console.log("guess after prompt:", guess);
guess = +guess;
console.log("guess after +guess", guess);
if (guess === number) {
return console.log("You got it! The number was", number);
}
http://mirror.netcologne.de/savannah/wined3d/1.1.38/
Copy ddraw.dll, libwine.dll and wined3d.dll from extracted $SYSDIR folder into the root folder of your JA2 installation
#!/usr/bin/env bash
commit_regex='(ED\-\d+)|(QUICKFIX)\s.+'
error_msg="Aborting commit. Your commit message must start with a ED-<JIRA ticket number> prefix, or with the word QUICKFIX. Regex: (ED\-\d+)|(QUICKFIX)\s.+ "
if ! grep -iqE "$commit_regex" "$1"; then
echo "$error_msg" >&2
exit 1
fi
@danielkaczmarczyk
danielkaczmarczyk / sonic-pi-tutorial.md
Created November 19, 2017 16:22 — forked from jwinder/sonic-pi-tutorial.md
Sonic Pi in-app tutorials concatenated - last updated from master on 2017/10/15 - https://github.com/samaaron/sonic-pi

1 Welcome to Sonic Pi

Welcome friend :-)

Welcome to Sonic Pi. Hopefully you're as excited to get started making crazy sounds as I am to show you. It's going to be a really fun ride where you'll learn all about music, synthesis, programming, composition, performance and more.

@danielkaczmarczyk
danielkaczmarczyk / sonic-pi-cheatsheets.md
Created November 19, 2017 16:22
Sonic Pi cheatsheets concatenated - last updated from master on 2017/07/30 - https://github.com/samaaron/sonic-pi

Keybase proof

I hereby claim:

  • I am danielkaczmarczyk on github.
  • I am danielk2 (https://keybase.io/danielk2) on keybase.
  • I have a public key ASB64cH6wvCrSanhLKffjm4gWw_mqRpaX_B32XL3ON-jcAo

To claim this, I am signing this object:

Lesson 1 SUMMARY
1. The cursor is moved using either the arrow keys or the hjkl keys.
h (left) j (down) k (up) l (right)
2. To start Vim from the shell prompt type: vim FILENAME <ENTER>
3. To exit Vim type: <ESC> :q! <ENTER> to trash all changes.
OR type: <ESC> :wq <ENTER> to save the changes.
# Badges and Schedules
## Objectives
1. Define methods that use iteration and control the return values of those methods.
2. Define methods that call other methods.
## Introduction
In this lab you'll iterate through an array and output the results in different ways.

Badges and Schedules

Objectives

  1. Define methods that use iteration and control the return values of those methods.
  2. Define methods that call other methods.

Introduction

In this lab you'll iterate through an array and output the results in different ways.

http://releases.ubuntu.com/16.04/ubuntu-16.04.6-desktop-amd64.iso