Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| #!/bin/bash | |
| #brew install eigen3 | |
| EIGEN_PATH=/opt/local/include/eigen3 | |
| # build for device | |
| cmake . -DCMAKE_TOOLCHAIN_FILE=./cmake/iOS.cmake -DEIGEN_INCLUDE_DIR=${EIGEN_PATH} -DIOS_PLATFORM=OS -DEIGENSPARSE=ON | |
| make -j8 | |
| # install headers in .. | |
| make install |
| // | |
| // GradientView.swift | |
| // Aura | |
| // | |
| // Created by Egor Sakhabaev on 23.07.17. | |
| // Copyright © 2017 Egor Sakhabaev. All rights reserved. | |
| // | |
| import UIKit |
| ### Keybase proof | |
| I hereby claim: | |
| * I am emmasteimann on github. | |
| * I am emmadirtygoose (https://keybase.io/emmadirtygoose) on keybase. | |
| * I have a public key ASBbj-_li83X_PCvQucSthqBDSjsk-HhMhcBMVKkDo2-Wgo | |
| To claim this, I am signing this object: |
This basic guide supports Ubuntu Xenial Xerus 16.04 and will enable several external encoding and decoding libraries: libfaac (AAC encoder), libfdk-aac (AAC encoder), libmp3lame (MP3 encoder), libopencore-amr (AMR encoder/decoder), librtmp (for additional RTMP protocols), libtheora (Theora encoder), libvorbis (Vorbis encoder), libvpx (VP8 encoder/decoder), and libx264 (H.264 encoder). These are optional and may be omitted if desired. This guide will also install many filters (see the filter list in the [Filtering Guide][1].
Note: Copy and paste the whole code box for each step.
I hereby claim:
To claim this, I am signing this object:
| class MinHeap { | |
| var harr:[Int] = Array<Int>() | |
| init() { | |
| } | |
| func getMin() -> Int { | |
| return harr[0] | |
| } |
| #include "Model.hpp" | |
| bool core::ModelLoader::loadModel(const char* fp, Model* m) | |
| { | |
| core::log("Loading " + (std::string)fp, core::green); | |
| Assimp::Importer importer; // used to import the model | |
| const aiScene* scene = importer.ReadFile(fp, | |
| aiProcess_Triangulate | |
| - (void)controllerWillChangeContent:(NSFetchedResultsController *)controller { | |
| _sectionChanges = [[NSMutableArray alloc] init]; | |
| _itemChanges = [[NSMutableArray alloc] init]; | |
| } | |
| - (void)controller:(NSFetchedResultsController *)controller | |
| didChangeSection:(id <NSFetchedResultsSectionInfo>)sectionInfo | |
| atIndex:(NSUInteger)sectionIndex | |
| forChangeType:(NSFetchedResultsChangeType)type { | |
| NSMutableDictionary *change = [[NSMutableDictionary alloc] init]; |
| @interface MergeSort : NSObject | |
| + (NSArray *)mergeSort:(NSArray *)mergeList; | |
| @end | |
| @implementation MergeSort | |
| + (NSArray *)mergeSort:(NSArray *)mergeList { | |
| if([mergeList count] <= 1) { | |
| return mergeList; | |
| } | |
| int midIndex = [mergeList count] / 2; |