short url: caseywatts.com/selfpublish
my book is out! an applied psychology / self-help book targeted at developers: Debugging Your Brain
Markdown --> PDF (as a booklet!)
Markdown --> EPUB and MOBI
| cmake_minimum_required(VERSION 3.19) | |
| project(OpenMPdemo LANGUAGES C) | |
| find_package(OpenMP COMPONENTS C REQUIRED) | |
| add_executable(hello hello_openmp.c) | |
| target_link_libraries(hello PRIVATE OpenMP::OpenMP_C) |
| //Adapted from: https://wiki.unity3d.com/index.php/MouseOrbitImproved | |
| //License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) | |
| //https://creativecommons.org/licenses/by-sa/3.0/ | |
| //Link to demo: https://youtu.be/I_7PyyzziTY | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class CameraOrbit : MonoBehaviour |
| To install chruby and ruby-install: | |
| brew install chruby ruby-install | |
| To install Ruby using ruby-install: | |
| ruby-install ruby 2.7.1 | |
| NOTE: You can find latest stable version of Ruby here: https://www.ruby-lang.org/en/downloads/ | |
| If you have issues installing Ruby then try the following: | |
| brew install openssl@3 | |
| ruby-install 3.2.2 -- --with-openssl-dir=$(brew --prefix openssl@3) |
short url: caseywatts.com/selfpublish
my book is out! an applied psychology / self-help book targeted at developers: Debugging Your Brain
Markdown --> PDF (as a booklet!)
Markdown --> EPUB and MOBI
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using System.Net.WebSockets; | |
| using UnityEngine; |
| #!/usr/bin/env python | |
| # -*- coding:UTF-8 -*- | |
| # File Name : face_morphing.py | |
| # Creation Date : 04-04-2018 | |
| # Created By : Jeasine Ma [jeasinema[at]gmail[dot]com] | |
| import cv2 | |
| import json | |
| import numpy as np |
| import numpy as np | |
| from scipy.io.wavfile import write | |
| # Samples per second | |
| sps = 44100 | |
| # Frequency / pitch of the sine wave | |
| freq_hz = 440.0 | |
| # Duration |