- The original Kubernetes multi-tenancy project
- Limiting access to Kubernetes resources with RBAC
- Resource quotas
- Limit ranges
- Kubernetes network policies recipes
- coredns/policy
- API Priority and Fairness
- Exploiting applications using liveness probes in Kubernetes
- open-policy-agent/gatekeeper-library
- What vulnerabilities? Live hacking of containers and orchestrators
Currently concourse does not support moving pipelines between teams via fly CLI. There is an issue for that here
The only way to do this is to make a few changes in the DB.
If you run the statement below you will see that 6 tables have the team_id
column.
concourse=> select table_name from INFORMATION_SCHEMA.COLUMNS
#!ruby | |
# Requirements: | |
# brew install trash | |
casks_path = '/opt/homebrew-cask/Caskroom' | |
class Version < Array | |
def initialize s | |
super(s.split('.').map { |e| e.to_i }) |
#!/bin/bash | |
# before you can use this, you need to run (as root): | |
# git clone https://github.com/tt/stack-images.git /root/stack-images | |
# git clone https://github.com/gliderlabs/herokuish.git /root/herokuish | |
# First, we need to get our base ubuntu images up to date | |
docker pull ubuntu-debootstrap:14.04 | |
docker pull ubuntu:trusty # for postgresql |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
I wanted to figure out the fastest way to load non-critical CSS so that the impact on initial page drawing is minimal.
TL;DR: Here's the solution I ended up with: https://github.com/filamentgroup/loadCSS/
For async JavaScript file requests, we have the async
attribute to make this easy, but CSS file requests have no similar standard mechanism (at least, none that will still apply the CSS after loading - here are some async CSS loading conditions that do apply when CSS is inapplicable to media: https://gist.github.com/igrigorik/2935269#file-notes-md ).
Seems there are a couple ways to load and apply a CSS file in a non-blocking manner:
This configuration is not maintained anymore. You should think twice before using it, Breaking change and security issue will likely eventually happens as any abandonned project.
cheat sheets. | |
$ cheat git | |
Setup | |
----- | |
git clone <repo> | |
clone the repository specified by <repo>; this is similar to "checkout" in | |
some other version control systems such as Subversion and CVS |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
# put this at ~/.gitconfig | |
[alias] | |
# I'm lazy, so two letters will always trump the full command | |
co = checkout | |
ci = commit | |
cp = cherry-pick | |
st = status | |
br = branch |