This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG | |
# PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT. | |
# | |
# | |
# Libraries and infrastructure | |
sudo apt update -y | |
sudo apt install -y \ | |
docker.io docker-buildx \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ |
I couldn't find instructions that were 100% complete, so I put this together.
These instructions worked fine for me. Follow each step carefully.
DO NOT create the VM by choosing Quick Create in Hyper-V Manager. Follow these instructions exactly.
Moved to Shopify/graphql-design-tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get upgrade | |
ln -s "/mnt/c/Users/Daniel/Documents/homeflow" ~/homeflow | |
ln -s "/mnt/c/Users/Daniel/Documents" ~/documents | |
mkdir .ssh | |
cp documents/id* .ssh/ | |
sudo chmod 600 .ssh/* | |
cd homeflow/attis | |
git pull |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
module ModelSupportsBulkUpdates | |
extend ActiveSupport::Concern | |
module ClassMethods | |
# Performs a bulk update with an efficient single query for all the records in the list. | |
# Note that the records are not reloaded form the database. | |
# This means that ActiveRecord will still see these records as dirty after the bulk_update. | |
def bulk_update(records) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instructions for 4.14 and cuda 9.1 | |
# If upgrading from 4.13 and cuda 9.0 | |
$ sudo apt-get purge --auto-remove libcud* | |
$ sudo apt-get purge --auto-remove cuda* | |
$ sudo apt-get purge --auto-remove nvidia* | |
# also remove the container directory direcotory at /usr/local/cuda-9.0/ | |
# Important libs required with 4.14.x with Cuda 9.X | |
$ sudo apt install libelf1 libelf-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// `adapters/application.js` | |
import Ember from 'ember'; | |
import DS from 'ember-data'; | |
import DataAdapterMixin from 'ember-simple-auth/mixins/data-adapter-mixin'; | |
const { service } = Ember.inject; | |
import config from '../config/environment'; | |
export default DS.JSONAPIAdapter.extend(DataAdapterMixin, { | |
authorizer: 'authorizer:devise', |
NewerOlder