- Install fish via Brew
- Optionally install Oh My Fish!
- Add fish to known shells
- Set default shell to fish
brew install fish
curl -L https://get.oh-my.fish | fish| // from the talk https://www.youtube.com/watch?v=PTE4VJIdHPg | |
| // futures | |
| future := make(chan int, 1) | |
| go func() {future <- process() }() | |
| result := <-future | |
| // async await | |
| c := make(chan int, 1) | |
| go func() { c <- process() }() // async | |
| v := <-c // await |
| const N_WORKERS = 5 | |
| class Content | |
| class Location | |
| class Reference { | |
| fun resolveLocation(): Location = TODO() | |
| } | |
| data class LocContent(val location: Location, val content: Content) |
| apiVersion: v1 | |
| kind: ServiceAccount | |
| metadata: | |
| name: admin-user | |
| namespace: kube-system | |
| --- | |
| apiVersion: rbac.authorization.k8s.io/v1beta1 | |
| kind: ClusterRoleBinding | |
| metadata: | |
| name: admin-user |
brew install fish
curl -L https://get.oh-my.fish | fish| <div id="list"></div> |
This pen is forked from: https://codepen.io/mikemang/pen/46b3f43f299a61e3584a7d1b77384b8c?editors=0110
A Pen by Samir ELSHARKAWY on CodePen.
| import { createStore, combineReducers, applyMiddleware } from 'redux' | |
| import { createLogger } from 'redux-logger' | |
| const mathReducer = (state = { | |
| result: 1, | |
| lastValues: [] | |
| }, action) => { | |
| switch (action.type) { | |
| case "ADD": | |
| state = { |
| rundll32 sysdm.cpl,EditEnvironmentVariables |
| set __COMPAT_LAYER=RunAsInvoker | |
| start appName |