Skip to content

Instantly share code, notes, and snippets.

View jacobtomlinson's full-sized avatar

Jacob Tomlinson jacobtomlinson

View GitHub Profile
@jacobtomlinson
jacobtomlinson / cpu.ipynb
Created September 21, 2019 14:02
High Performance Python Processing on a consumer Gaming Lapgtop
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jacobtomlinson
jacobtomlinson / notebook.ipynb
Created October 18, 2019 09:09
My awful notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# example/Chart.yaml
apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: example
version: 0.1.0
# Let's use the Kubernetes logo from wikipedia for our example chart. You will want to use your own logo in yours.
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/Kubernetes_logo_without_workmark.svg/1280px-Kubernetes_logo_without_workmark.svg.png
# .travis.yml
sudo: required
language: python
python:
- "3.6"
install:
- curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
- helm init --client-only
---
# This little section with the `---` fences is called frontmatter.
# Don't worry about this for now, it'll become clear when we get on to Jekyll.
---
# Hello GitHub Pages
# chartpress.yaml
charts:
- name: example
repo: # This should be your GitHub repo name and the url where our GitHub Pages site is being published
git: jacobtomlinson/helm-repo-example
published: https://helm-repo-example.jacobtomlinson.dev/
# Gemfile
source "https://rubygems.org"
gem "jekyll", "~> 3.8.5"
gem "minima", "~> 2.0"
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
end
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem "wdm", "~> 0.1.0" if Gem.win_platform?
# _config.yaml
title: Our example Helm chart repo
description: A chart repo for storing charts.
theme: minima
url: "https://helm-repo-example.jacobtomlinson.dev/"
repo_name: helm-repo-example
exclude:
- Gemfile
- Gemfile.lock
---
layout: default
---
## Getting Started
{{ site.description }}
You can add this repository to your local helm configuration as follows :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>jupyter-startup</string>
<key>ProgramArguments</key>
<array><string>/path/to/my/jupyter/startup/script.sh</string></array>
<key>RunAtLoad</key>
<true/>