- Github: https://github.com/UX-Society
- Github Education: https://education.github.com/pack
- Webstorm: https://www.jetbrains.com/webstorm/
- fish (recommended): https://fishshell.com/
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
error: error creating self-signed certificates: error reading /var/run/kubernetes/apiserver.key, certificate and key must be supplied as a pair | |
kube-apiserver –tls-cert-file server-key.pem | |
kube-apiserver --cert-dir /home/demo/server/cert/ --etcd-servers http://127.0.0.1:2379 |
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
version: '2' | |
services: | |
portainer: | |
image: portainer/portainer | |
ports: | |
- "9000:9000" | |
command: -H unix:///var/run/docker.sock | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock |
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
{ config, pkgs, ... }: | |
{ | |
imports = [ <nixpkgs/nixos/modules/installer/virtualbox-demo.nix> | |
]; | |
programs.fish.enable = true; | |
users.extraUsers.demo = { |
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
{ config, pkgs, ... }: | |
{ | |
imports = [ <nixpkgs/nixos/modules/installer/virtualbox-demo.nix> | |
]; | |
programs.fish.enable = true; | |
environment.systemPackages = [ |
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
function jcar | |
javac $argv.java -d built; java -cp built/ $argv | |
end |
The purpose of this guide is to show how to authenticate to GitHub while sshing into another computer.
- Follow this guide locally, verify that you can authenticate to GitHub normally.
- Add a file
config
to~/.ssh/
and save the following content to it:
Host icd.chapman.edu
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
#!/usr/bin/env bash | |
while read -rep "Enter input path location: " in_dir; do | |
if [ -d "${in_dir}" ]; then | |
echo "${in_dir} already exists - please enter a valid directory path." | |
else | |
break | |
fi | |
done |
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
// A minimal reimplementation if mizzle's typechecker in CSharp | |
// https://github.com/jhburns/mizzle/blob/master/src/type_check.rs | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
// Whats the point of this type? | |
// For use in other generic types, like say `Result<Unit, string>` or `Outcome<Unit>` | |
public struct Unit {} |
OlderNewer