Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| -- MySQL dump 10.13 Distrib 5.5.47, for debian-linux-gnu (x86_64) | |
| -- | |
| -- Host: localhost Database: project2 | |
| -- ------------------------------------------------------ | |
| -- Server version 5.5.47-0ubuntu0.14.04.1 | |
| /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
| /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
| /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
| /*!40101 SET NAMES utf8 */; |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| using System; | |
| using System.Linq; | |
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| namespace BowlingScores.Tests | |
| { | |
| [TestClass] | |
| public class UnitTest1 | |
| { | |
| [TestMethod] |
| // For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: | |
| // https://github.com/microsoft/vscode-dev-containers/tree/v0.128.0/containers/ubuntu | |
| { | |
| "name": "VUCS Assignments Workspace", | |
| "build": { | |
| "dockerfile": "Dockerfile", | |
| // Update 'VARIANT' to pick an Ubuntu version. Rebuild the container if it already | |
| // exists to update. Available variants: focal (or ubuntu-20.04), bionic (or ubuntu-18.04) | |
| "args": { "VARIANT": "focal" } | |
| }, |
| FROM ubuntu:bionic | |
| ARG USER_ID=1000 | |
| ARG GROUP_ID=1000 | |
| RUN apt update -y \ | |
| && apt install openssh-server sudo curl -y | |
| # Download and install Go | |
| WORKDIR /tmp |
| //var testMatrix = new string[][]{ | |
| // new string[]{"s", "pp", "s"}, | |
| // new string[]{"pp", "pp", "s"}, | |
| // new string[]{"pp", "qq", "s"} | |
| //}; | |
| var testMatrix = new string[][]{ | |
| new string[]{"ha", "fifi", "ho", "hi"}, | |
| new string[]{"fo", "ha", "hi", "xx"}, | |
| new string[]{"xxx", "ho", "ha", "xx"} |
| # Update the VARIANT arg in docker-compose.yml to pick an Elixir version: 1.9, 1.10, 1.10.4 | |
| ARG VARIANT=latest | |
| FROM docker.io/elixir:${VARIANT} | |
| # This Dockerfile adds a non-root user with sudo access. Update the “remoteUser” property in | |
| # devcontainer.json to use it. More info: https://aka.ms/vscode-remote/containers/non-root-user. | |
| ARG USERNAME=vscode | |
| ARG USER_UID=1000 | |
| ARG USER_GID=$USER_UID |
| [user] | |
| email = <email here> | |
| name = <Name Here> | |
| [submodule] | |
| recurse = true | |
| [fetch] | |
| prune = true | |
| [rebase] | |
| autoSquash = true | |
| [init] |