I hereby claim:
- I am dehli on github.
- I am dehli (https://keybase.io/dehli) on keybase.
- I have a public key ASB3qt6zc3I_vDZ_M9w52M5hcaS3UD1ZBosKlITaiPJNGQo
To claim this, I am signing this object:
| # This function finds all the prime numbers that are less than a certain value | |
| # getPrimes(10) would return [2, 3, 5, 7] | |
| def getPrimes (n): | |
| primes = [] | |
| for i in range(2, n): | |
| isPrime = True | |
| for primeVal in primes: | |
| # Has a factor | |
| if i % primeVal == 0: |
| #!/bin/bash | |
| # A script that automatically compiles and runs Haskell files | |
| # First paramter is the Haskell file | |
| # Temporary file location | |
| temp=~/../../tmp | |
| # Compile Haskell file |
| ############################################################################ | |
| # Christian Paul Dehli | |
| # | |
| # This .py file demonstrates functionality that can be used to determine | |
| # how much of a scene is visible to a robot (where certain obstacles block | |
| # its line of sight). The functionality was needed for a game, so pinpoint | |
| # accuracy was not required. | |
| # | |
| # The algorithm works by shooting rays out of the robot into the scene. | |
| # Whenever a ray strikes an obstacle, the ray is deleted and the robot's |
| {:user {:plugins [[cider/cider-nrepl "0.13.0"]] | |
| :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}} |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
| #!/bin/bash | |
| # Check if xcode command line tools are installed | |
| if ! [ "$(xcode-select -p)" ]; then | |
| xcode-select --install | |
| exit 1 | |
| fi | |
| # Install brew | |
| if ! [ -x "$(command -v brew)" ]; then |
I hereby claim:
To claim this, I am signing this object:
aws s3 sync s3://source s3://source-backup
| { | |
| "Working Directory" : "\/Users\/dehli", | |
| "Prompt Before Closing 2" : 2, | |
| "Selected Text Color" : { | |
| "Green Component" : 0, | |
| "Blue Component" : 0, | |
| "Red Component" : 0 | |
| }, | |
| "Rows" : 25, | |
| "Ansi 11 Color" : { |