Skip to content

Instantly share code, notes, and snippets.

View alexthemitchell's full-sized avatar
:octocat:

Alex Mitchell alexthemitchell

:octocat:
View GitHub Profile
@alexthemitchell
alexthemitchell / init.el
Created December 29, 2020 21:58
Bare Minimum emacs Configuration File
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/"))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
@alexthemitchell
alexthemitchell / 4\3\17.swift
Created April 4, 2017 02:01
Fibonacci in Swift
func fib(num:Int) -> Int {
if num == 0 || num == 1 {
return 1
} else {
return fib(num: num-1) + fib(num: num-2)
}
}
func anotherFib(num:Int) -> Int {
func countFib(prev: Int, prevprev: Int, count:Int) -> Int {

Swifter Swift Virtual Machine

Requirements

  • VirtualBox
    • VirtualBox is a system virtualizer
    • It is a program that allows us to run an operating system inside our operating system.
    • There are VirtualBox clients for Windows, Mac, and Linux
    • Download Link
  • Swifter.ova
  • This is an image of an Ubuntu 16.04 Desktop machine I set up with Swift.

Keybase proof

I hereby claim:

  • I am alexthemitchell on github.
  • I am alexmitchell (https://keybase.io/alexmitchell) on keybase.
  • I have a public key whose fingerprint is 8BD9 5854 1132 EFDD 6AF8 8DCA 09AF FF17 F12D 5B8B

To claim this, I am signing this object: