Github is where we will store all our code and collaborate on it with others. Make an account here: https://github.com/
git is a way to keep track of your projects as they change.
| Change a devise app from scratch | |
| video link here: https://drive.google.com/file/d/1S59pmFe-Cp_s8aJLMax296x4AN0x0naK/view?usp=sharing | |
| Add these Gems to your Gemfile | |
| gem 'omniauth-oktaoauth' | |
| gem 'activerecord-session_store' |
Github is where we will store all our code and collaborate on it with others. Make an account here: https://github.com/
git is a way to keep track of your projects as they change.
| #cloud-config | |
| coreos: | |
| units: | |
| - name: fleet.socket | |
| command: start | |
| drop-ins: | |
| - name: 30-ListenStream.conf | |
| content: | | |
| [Socket] | |
| ListenStream=127.0.0.1:49153 |
| # this forces dpkg not to call sync() after package extraction and speeds up install | |
| RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup | |
| # we don't need and apt cache in a container | |
| RUN echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache |
| var os = require("os"); | |
| //Create function to get CPU information | |
| function cpuAverage() { | |
| //Initialise sum of idle and time of cores and fetch CPU info | |
| var totalIdle = 0, totalTick = 0; | |
| var cpus = os.cpus(); | |
| //Loop through CPU cores |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
| /*! | |
| * Simple jQuery (1.5+) AJAX Mocking - v0.1.1 - 2012-08-17 | |
| * http://benalman.com/ | |
| * | |
| * Copyright (c) 2012 "Cowboy" Ben Alman | |
| * Dual licensed under the MIT and GPL licenses. | |
| * http://benalman.com/about/license/ | |
| */ | |
| (function($) { |